このページの内容
年齢に応じた取り扱いタグ(TFAT)
年齢に応じた取り扱いの設定は、一般データ保護規則(GDPR)、児童オンライン プライバシー保護法(COPPA)、Age Appropriate Design Code(AADC)、Australia Online Safety Act(AU OSA)などの適用される法律や規制の遵守を管理するのに役立つツールです。
GDPR と AADC がパブリッシャー様に与える影響の詳細
Google のツールを利用したとしても、法律上の義務が免除されるわけではないことにご注意ください。年齢に応じた取り扱いをユーザーにどのように適用するかは、法律および規制上の要件に基づき、弁護士に相談のうえ判断してください。
年齢に応じた取り扱いの設定について
次の設定では、Google がさまざまな年齢に応じた取り扱いの広告リクエストを処理する方法を指定できます。
- CHILD: 広告リクエストに子どもの取り扱いを適用する必要があることを示します。子どもの取り扱いは値 1 で指定されます。これにより、次のような広告リクエストの特定の動作が発生します。
- パーソナライズド広告とリマーケティングが無効になります。
- 第三者広告ベンダー(広告測定ピクセルや第三者広告サーバーなど)へのリクエストが無効になります。
- 子どものための広告配信保護対策が適用されます。
- TEEN: 広告リクエストに 13 歳以上の未成年者の取り扱いを適用することを示します。13 歳以上の未成年者の取り扱いは、値 2 で指定します。これにより、次のような広告リクエストの特定の動作が発生します。
- パーソナライズド広告とリマーケティングが無効になります。
- 広告配信における 13 歳以上の未成年者の保護対策が適用されます。
- UNSPECIFIED: 広告リクエストに年齢に応じた取り扱いが設定されていないことを示します。これはデフォルトの状態であり、値 0 で指定されます。
年齢に応じた取り扱いの設定と TFCD または TFUA の設定を両方とも設定した場合は、最も厳格な制限が適用されます。
JavaScript タグを使用してリクエストにタグを設定する
非同期または以前の同期の広告コードを使用している場合は、以下の例をご覧ください。
非同期広告コード(adsbygoogle.js)の例
AdSense(AFC)を通じて広告をリクエストする際に非同期広告コード(adsbygoogle.js)を使用しているページでは、すべてのタグにパラメータ data-tag-for-age-treatment を含めることで、制限付きデータ処理に適した広告をリクエストしてください。
子どもの取り扱いの例
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1234567890123456" crossorigin="anonymous">
</script>
<ins class="adsbygoogle"
style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-1234567890123456"
data-ad-slot="0123456789"
data-tag-for-age-treatment="1"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
13 歳以上の未成年者の取り扱いの例
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1234567890123456" crossorigin="anonymous">
</script>
<ins class="adsbygoogle"
style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-1234567890123456"
data-ad-slot="0123456789"
data-tag-for-age-treatment="2"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
年齢に応じた取り扱いを設定しない場合の例
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1234567890123456" crossorigin="anonymous">
</script>
<ins class="adsbygoogle"
style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-1234567890123456"
data-ad-slot="0123456789"
data-tag-for-age-treatment="0"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
以前の同期広告コード(show_ads.js)の例
以前の同期広告タグ(show_ads.js)を使用している場合は、すべての広告タグに変数 google_tag_for_age_treatment を設定します。
子どもの取り扱いの例
<script>
google_ad_client = "ca-pub-1234567890123456";
google_ad_slot = "0123456789";
google_ad_width = 125;
google_ad_height = 125;
google_tag_for_age_treatment = 1;
</script>
<script src="https://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
13 歳以上の未成年者の取り扱いの例
<script>
google_ad_client = "ca-pub-1234567890123456";
google_ad_slot = "0123456789";
google_ad_width = 125;
google_ad_height = 125;
google_tag_for_age_treatment = 2;
</script>
<script src="https://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
年齢に応じた取り扱いを設定しない場合の例
<script>
google_ad_client = "ca-pub-1234567890123456";
google_ad_slot = "0123456789";
google_ad_width = 125;
google_ad_height = 125;
google_tag_for_age_treatment = 0;
</script>
<script src="https://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<amp-ad> タグを使用してリクエストにタグを設定する
GDPR / AADC(EEA、英国、スイス向けの TFUA タグを使用)や COPPA(子ども向けコンテンツ用の TFCD タグを使用)などのグローバルなプライバシーに関する規則への準拠を管理しやすくするため、広告リクエストに制限付きデータ処理のマークを付けることができます。Google のツールを利用したとしても、法律上の義務が免除されるわけではないことにご注意ください。年齢に応じた取り扱いをユーザーにどのように適用するかは、法律および規制上の要件に基づき、弁護士に相談のうえ判断してください。
<amp-ad type="adsense"> では、amp-consent コンポーネント経由の制限付きデータ処理のリクエストがサポートされます。パブリッシャー様は、対象ページで属性 data-block-on-consent を含むコンポーネントからリクエストが送られる前に照会されるエンドポイント checkConsentHref を、そのコンポーネントで指定できます。詳しくは、amp-consent と ConsentHref レスポンスのフォーマットをご確認ください。
パブリッシャー様が指定した ConsentHref エンドポイントから「tfua」または「tfcd」のキーが返された場合、その後に送られる AdSense リクエストには、制限付きデータ処理のマークが付けられます。たとえば、同意取得コンポーネントと広告を含む AMP ページの場合を考えてみましょう。
<amp-consent layout="nodisplay" id="consent-element">
<script type="application/json">
{
"consents": {
"my-consent": {
"checkConsentHref": "https://publisher.com/api/check-consent",
"promptUI": "consent-ui"
}
}
}
</script>
</amp-consent>
<amp-ad data-block-on-consent
width=320 height=50
type="adsense"
data-slot="/4119129/mobile_ad_banner"
json='{"targeting":{"sport":["rugby","cricket"]},
"categoryExclusions":["health"]}'>
</amp-ad>
パブリッシャー様の ConsentHref(https://publisher.com/api/check-consent)からの次のレスポンスでは、AdSense 広告リクエストについて制限付きデータ処理が有効になります。
{
"promptIfUnknown": false,
"sharedData": {
"adsense-tfua": 1,
"adsense-tfcd": 0
}
}
TFUA と TFCD は <amp-ad> タグに静的に設定することも可能です。その場合は、次のようにターゲティング JSON オブジェクトを使用します。
<amp-ad data-block-on-consent
width=320 height=50
type="adsense"
data-slot="/4119129/mobile_ad_banner"
json='{"targeting":{"sport":["rugby","cricket"]},
"categoryExclusions":["health"],
"tagForChildDirectedTreatment":1,
"tagForUnderAgeTreatment":1}'>
</amp-ad>
なお、これらの要件を満たすためのヒントとして、data-block-on-consent は、第三者にリクエストを行う他の AMP コンポーネント(amp-analytics や amp-pixel など)についても設定できます。