Targeting
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
RequestConfiguration
オブジェクトですべての広告リクエストのグローバル設定を収集し、そのオブジェクトを MobileAds.instance.updateRequestConfiguration()
によって適用します。
すべての広告リクエストにリクエスト構成の変更が適用されるようにするには、Mobile Ads SDK を初期化する前にリクエスト構成を更新します。
子供向けの設定
児童オンライン プライバシー保護法(COPPA)に基づき、「子供向け取り扱いタグ」という設定が用意されています。
アプリのデベロッパーは、広告リクエストの際に、コンテンツを子供向けとして取り扱うかどうかを指定できます。子供向けコンテンツとして扱うよう指定した場合、その広告リクエストでは、インタレスト ベース広告(IBA)とリマーケティング広告が無効になります。この設定は、RequestConfiguration.tagForChildDirectedTreatment()
を通じて Google Play 開発者サービス SDK のすべてのバージョンで使用できます。
- 自社コンテンツを COPPA に基づく子供向けコンテンツとして扱うように示す場合は、引数
TagForChildDirectedTreatment.yes
を使用します。
- 自社コンテンツを COPPA に基づく子供向けコンテンツとして扱わないように示す場合は、引数
TagForChildDirectedTreatment.no
を使用します。
- COPPA に関してコンテンツをどのように扱うかを広告リクエストで指定しない場合は、引数
TagForChildDirectedTreatment.unspecified
を使用するか、このタグを設定しません。
次の例では、自社コンテンツを COPPA に基づく子供向けコンテンツとして扱うよう指定しています。
final RequestConfiguration requestConfiguration = RequestConfiguration(
tagForChildDirectedTreatment: TagForChildDirectedTreatment.yes);
MobileAds.instance.updateRequestConfiguration(requestConfiguration);
同意年齢に満たないユーザー
欧州経済領域(EEA)の同意年齢に満たないユーザーについては、その広告リクエストにマークを付けることで適切な取り扱いを受けることができます。この機能は、一般データ保護規則(GDPR)に準拠するためのものです。なお、GDPR の下では他の法的義務が課せられる場合もありますので、欧州連合(EU)のガイダンスをご確認のうえ、お客様の顧問弁護士にご相談ください。Google が提供するツールの目的は、皆様の法令遵守をサポートすることであり、特定のパブリッシャー様の法的義務を軽減することではありません。GDPR がパブリッシャー様に与える影響の詳細
この機能を使用すると、広告リクエストに TFUA(Tag For Users under the Age of Consent in Europe: 同意年齢に満たない欧州ユーザーに対するタグ)パラメータが含まれるようになります。このパラメータは、その広告リクエストでリマーケティングなどによるパーソナライズド広告へのリクエストを無効にします。また、広告測定ピクセルや第三者広告サーバーなどを扱う第三者広告ベンダーへのリクエストも無効にします。
このタグは RequestConfiguration.tagForUnderAgeOfConsent()
を使用して、次のように設定します。
子供向けの設定を有効にするタグと setTagForUnderAgeOfConsent
を、同時に true
に設定しないでください。両方ともその値にすると、子供向けの設定が優先されます。
広告コンテンツのフィルタリング
広告レーティングは RequestConfiguration.maxAdContentRating()
を使用して、次のように設定できます。
こうしたリクエストに対しては、指定したレベル以下のコンテンツ レーティングを持つ AdMob 広告が返されます。このネットワーク追加パラメータで使用できる値は、デジタル コンテンツ ラベルの分類に基づいており、次の MaxAdContentRating
オブジェクトのいずれかになります。
MaxAdContentRating.g
MaxAdContentRating.pg
MaxAdContentRating.t
MaxAdContentRating.ma
次のコードは、G
以下のデジタル コンテンツ ラベルに対応する広告コンテンツを返すように、RequestConfiguration
オブジェクトを設定しています。
final RequestConfiguration requestConfiguration = RequestConfiguration(
maxAdContentRating: MaxAdContentRating.g);
MobileAds.instance.updateRequestConfiguration(requestConfiguration);
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-09-06 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-09-06 UTC。"],[[["\u003cp\u003eThis resource represents AdMob ad units and does not store persistent data.\u003c/p\u003e\n"],["\u003cp\u003eThe primary method available is to list ad units associated with a specific AdMob account.\u003c/p\u003e\n"]]],["The `RequestConfiguration` object, updated via `MobileAds.instance.updateRequestConfiguration()`, manages global ad request settings. Key actions include: setting `tagForChildDirectedTreatment` to `yes`, `no`, or `unspecified` for COPPA compliance; using `tagForUnderAgeOfConsent` to manage GDPR compliance; setting it to `yes`, `no`, or `unspecified`; and utilizing `maxAdContentRating` to filter ad content based on digital content label classifications (G, PG, T, MA). Update it before initializing the Mobile Ads SDK.\n"],null,["Select platform: [Android](/admob/android/targeting \"View this page for the Android platform docs.\") [iOS](/admob/ios/targeting \"View this page for the iOS platform docs.\") [Unity](/admob/unity/targeting \"View this page for the Unity platform docs.\") [Flutter](/admob/flutter/targeting \"View this page for the Flutter platform docs.\")\n\n\u003cbr /\u003e\n\nThe `RequestConfiguration` object collects the global configuration for every ad\nrequest and is applied by `MobileAds.instance.updateRequestConfiguration()`.\n\nTo ensure that all ad requests apply the request configuration changes, update\nthe request configuration before you\n[Initialize the Mobile Ads SDK](/admob/flutter/quick-start#initialize_the_mobile_ads_sdk).\n\nChild-directed setting\n\nFor purposes of the [Children's Online Privacy Protection Act\n(COPPA)](//www.ftc.gov/tips-advice/business-center/privacy-and-security/children%27s-privacy),\nthere is a setting called \"tag for child-directed treatment.\"\n\nAs an app developer, you can indicate whether you want Google to treat your\ncontent as child-directed when you make an ad request. If you indicate that you\nwant Google to treat your content as child-directed, we take steps to disable\nIBA and remarketing ads on that ad request. The setting can be used with all\nversions of the Google Play services SDK through\n`RequestConfiguration.tagForChildDirectedTreatment()`:\n\n- Use the argument `TagForChildDirectedTreatment.yes` to indicate that you want your content treated as child-directed for the purposes of COPPA.\n- Use the argument `TagForChildDirectedTreatment.no` to indicate that you don't want your content treated as child-directed for the purposes of COPPA.\n- Use the argument `TagForChildDirectedTreatment.unspecified` or do not set this tag if you do not wish to indicate how you would like your content treated with respect to COPPA in ad requests.\n\nThe following example indicates that you want your content treated as\nchild-directed for purposes of COPPA: \n\n final RequestConfiguration requestConfiguration = RequestConfiguration(\n tagForChildDirectedTreatment: TagForChildDirectedTreatment.yes);\n MobileAds.instance.updateRequestConfiguration(requestConfiguration);\n\nUsers under the age of consent\n\nYou can mark your ad requests to receive treatment for users in the European\nEconomic Area (EEA) under the age of consent. This feature is designed to help\nfacilitate compliance with the [General Data Protection Regulation\n(GDPR)](//eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32016R0679).\nNote that you may have other legal obligations under GDPR. Please review the\nEuropean Union's guidance and consult with your own legal counsel. Please\nremember that Google's tools are designed to facilitate compliance and do not\nrelieve any particular publisher of its obligations under the law.\n[Learn more about how the GDPR affects\npublishers](//support.google.com/admob/answer/7666366).\n\nWhen using this feature, a Tag For Users under the Age of Consent in Europe\n(TFUA) parameter will be included in the ad request. This parameter disables\npersonalized advertising, including remarketing, for that specific ad request.\nIt also disables requests to third-party ad vendors, such as ad measurement\npixels and third-party ad servers.\n\nThe tag is set using `RequestConfiguration.tagForUnderAgeOfConsent()`:\n\n- Use the argument `TagForUnderAgeOfConsent.yes` to indicate that you want the request configuration to be handled in a manner suitable for users under the age of consent.\n- Use the argument `TagForUnderAgeOfConsent.no` to indicates that you don't want the request configuration to be handled in a manner suitable for users under the age of consent.\n- Use the argument `TagForUnderAgeOfConsent.unspecified` or do not set this\n tag to indicate that you have not specified whether the ad request should\n receive treatment for users in the European Economic Area (EEA) under the\n age of consent. The following example indicates that you want TFUA included\n in your ad request:\n\n final RequestConfiguration requestConfiguration = RequestConfiguration(\n tagForUnderAgeOfConsent: TagForUnderAgeOfConsent.yes);\n MobileAds.instance.updateRequestConfiguration(requestConfiguration);\n\nThe tags to enable the Child-directed setting and `setTagForUnderAgeOfConsent`\nshould not both simultaneously be set to `true`. If they are, the child-directed\nsetting takes precedence.\n\nAd content filtering\n\nAd content ratings can be set using `RequestConfiguration.maxAdContentRating()`:\n\nAdMob ads returned for these requests have a content rating at or below that\nlevel. The possible values for this network extra are based on [digital content\nlabel classifications](//support.google.com/admob/answer/7562142) and can be one\nof the following `MaxAdContentRating` objects:\n\n- `MaxAdContentRating.g`\n- `MaxAdContentRating.pg`\n- `MaxAdContentRating.t`\n- `MaxAdContentRating.ma`\n\nThe following code configures a `RequestConfiguration` object to specify that\nthe ad content returned correspond to a digital content label designation no\nhigher than `G`: \n\n final RequestConfiguration requestConfiguration = RequestConfiguration(\n maxAdContentRating: MaxAdContentRating.g);\n MobileAds.instance.updateRequestConfiguration(requestConfiguration);"]]