알림

내 애드센스 페이지에서 애드센스를 성공적으로 활용하는 데 도움이 될 계정 관련 맞춤 정보를 확인하세요.

GDPR 개요 및 안내

광고 개인 최적화 설정을 위한 광고 코드 예시

동의 정책의 요구사항을 충족하며 유럽 경제 지역 또는 영국에서 사이트를 방문하는 모든 사용자에게 개인 맞춤이 아닌 광고를 게재하려는 경우 광고 태그를 변경하지 않아도 됩니다. 애드센스 또는 Google Ad Manager UI에서 개인 맞춤이 아닌 광고 게재를 설정할 수 있습니다.

그러나 특정 요구사항이 있는 경우(예: 특정 사용자에게는 개인 맞춤 광고를 게재하고 다른 사용자에게는 개인 맞춤이 아닌 광고를 게재하려는 경우) 아래 예를 참고하세요.

다음 코드 샘플은 실제 작동되지 않으며 광고 개인 최적화 설정을 구현하는 방법을 보여주는 예시입니다.

개인 맞춤이 아닌 광고용 광고 코드

페이지별로 개인 맞춤이 아닌 광고를 게재하려면 아래 예를 참고하세요.

<html>
<head>
<title>Your site title</title>
</head>
<body>

<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pubxxx" crossorigin="anonymous"></script>
<script>(adsbygoogle=window.adsbygoogle||[]).requestNonPersonalizedAds=1;</script>
// The line above makes sure you are requesting non-personalized ads. It needs to come before you use <script>(adsbygoogle = window.adsbygoogle || []).push({});</script> and it suffices to have one such line per page.
<!-- One test unit for GDPR -->
<ins class="adsbygoogle"     style="display:inline-block;width:970px;height:250px"
     data-ad-client="ca-pubxxx"
    data-ad-slot="slot_id">
</ins>

<!-- Another test unit for GDPR -->
<ins class="adsbygoogle"     style="display:inline-block;width:250px;height:250px"
     data-ad-client="ca-pubxxx"
    data-ad-slot="slot_id">
</ins>
<script>(adsbygoogle = window.adsbygoogle || []).push({});</script>
// This triggers the ad request.

</body>
</html>

개인 맞춤 광고용 광고 코드

특정 사용자에게는 개인 맞춤 광고를 게재하고 다른 사용자에게는 개인 맞춤이 아닌 광고를 게재하려면 아래 예를 참조하세요.

<html>
<head>
<title>Your site title</title>
</head>
<body>

<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pubxxx" crossorigin="anonymous"></script>
<script>(adsbygoogle=window.adsbygoogle||[]).pauseAdRequests=1;</script>
// This will pause ad requests, so users have time to interact with your consent solution.

/* Set up the consent solution and act according to the user choice. 

If the user declines personalized ads, make sure to call (adsbygoogle=window.adsbygoogle||[]).requestNonPersonalizedAds=1;
Remember that you need user consent for using cookies even for non-personalized ads in countries where the EU eprivacy directive requires it.

Later, you can call (adsbygoogle=window.adsbygoogle||[]).pauseAdRequests=0 to resume sending ad requests. Without making this call, no ads will be shown.

*/

<!-- One test unit for GDPR -->
<ins class="adsbygoogle"     style="display:inline-block;width:970px;height:250px"
     data-ad-client="ca-pubxxx"
    data-ad-slot="slot_id">
</ins>

<!-- Another test unit for GDPR -->
<ins class="adsbygoogle"     style="display:inline-block;width:250px;height:250px"
     data-ad-client="ca-pubxxx"
    data-ad-slot="slot_id">
</ins>
<script>(adsbygoogle = window.adsbygoogle || []).push({});</script>
// This usually triggers the ad request, but you have paused these.

</body>
</html>
 

자동 광고: 개인 맞춤이 아닌 광고용 광고 코드

페이지별로 개인 맞춤이 아닌 자동 광고를 게재하려면 아래 예를 참고하세요.

<html>
<head>
<title>Your site title</title>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pubxxx" crossorigin="anonymous"></script>
<script>
(adsbygoogle=window.adsbygoogle||[]).requestNonPersonalizedAds=1;
(adsbygoogle=window.adsbygoogle||[]).push({google_ad_client: "ca-pubxxx", enable_page_level_ads: true});
</script>
</head>
<body>

</body>
</html>
 

자동 광고: 개인 맞춤 광고용 광고 코드

특정 사용자에게는 개인 맞춤 자동 광고를 게재하고 다른 사용자에게는 개인 맞춤이 아닌 자동 광고를 게재하려면 아래 예를 참고하세요.

<html>
<head>
<title>Your site title</title>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pubxxx" crossorigin="anonymous"></script>
<script>
(adsbygoogle=window.adsbygoogle||[]).pauseAdRequests=1;
// This will pause ad requests, so users have time to interact with your consent solution.
(adsbygoogle=window.adsbygoogle||[]).push({google_ad_client: "ca-pubxxx", enable_page_level_ads: true});
// This usually triggers the ad request, but you have paused these.
</script>
</head>
<body>

<script>
/* Set up the consent solution and act according to the user choice. 

If the user declines personalized ads, make sure to call (adsbygoogle=window.adsbygoogle||[]).requestNonPersonalizedAds=1;
Remember that you need user consent for using cookies even for non-personalized ads in countries where the EU eprivacy directive requires it.

Later, you can call (adsbygoogle=window.adsbygoogle||[]).pauseAdRequests=0 to resume sending ad requests. Without making this call, no ads will be shown.

*/
</script>

</body>
</html>

도움이 되었나요?

어떻게 하면 개선할 수 있을까요?
검색
검색어 지우기
검색 닫기
기본 메뉴
14285483879013740150
true
도움말 센터 검색
true
true
true
true
true
157
false
false