- ADS_ENABLED=false 플래그 추가(features.js) - 광고단위 미승인 + 데이터 안전 양식 단순화(광고 식별자 수집/제3자 공유 제거) - AdBanner showAd + App.vue showAds 양쪽 게이팅 → 앱/웹 광고 모두 미노출, 레이아웃 하단 광고 여백도 함께 제거 - 애드핏 승인 후 true 로 되돌리면 무료 회원 광고 재노출 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
<script setup>
|
||||
import { computed, onMounted, ref } from 'vue'
|
||||
import { useAuthStore } from '@/stores/auth'
|
||||
import { ADS_ENABLED } from '@/config/features'
|
||||
|
||||
// 카카오 애드핏 배너. 유료(PREMIUM) 회원에게는 표시하지 않는다.
|
||||
// 카카오 애드핏 배너. 광고 기능이 켜져 있고 유료(PREMIUM) 회원이 아닐 때만 표시한다.
|
||||
const props = defineProps({
|
||||
unit: { type: String, default: 'DAN-n0I5XRBOwAdSFbEX' },
|
||||
width: { type: Number, default: 728 },
|
||||
@@ -10,7 +11,7 @@ const props = defineProps({
|
||||
})
|
||||
|
||||
const auth = useAuthStore()
|
||||
const showAd = computed(() => !auth.isPremium)
|
||||
const showAd = computed(() => ADS_ENABLED && !auth.isPremium)
|
||||
|
||||
const host = ref(null)
|
||||
const ADFIT_SRC = '//t1.kakaocdn.net/kas/static/ba.min.js'
|
||||
|
||||
Reference in New Issue
Block a user