ユーザーが同意年齢に満たないかどうかを示すには、
setTagForUnderAgeOfConsent(TFUA)を設定します。TFUA を true に設定すると、UMP SDK はユーザーに同意を求めません。アプリのオーディエンスが混在している場合は、子供のユーザーに対してこのパラメータを設定して、同意が求められないようにします。
COPPA やその他の関連する規制に準拠するために、必要に応じてこのパラメータを設定するのはお客様の責任です。
次の例では、UMP 同意リクエストで TFUA を true に設定しています。
Java
ConsentRequestParametersparams=newConsentRequestParameters.Builder()// Indicate the user is under age of consent..setTagForUnderAgeOfConsent(true).build();
[[["わかりやすい","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"]],["最終更新日 2026-04-18 UTC。"],[],["To support US state regulations within the UMP SDK, ensure you have the latest SDK version and have completed the basic setup. Create a US states regulations message and manage its display alongside other messages. Use `setTagForUnderAgeOfConsent(true)` for users under the age of consent, and ensure that this tag is also set on ad requests, as the UMP SDK does not do it. After user selection, access their consent choice via local storage according to GPP. For testing, utilize `UMPDebugGeographyRegulatedUSState` or `UMPDebugGeographyOther`.\n"]]