Share your feedback and help shape the Google Mobile Ads SDK roadmap. Take the Google Mobile Ads SDK Annual Survey for 2023 before it closes on May 5th, 2023.

ConsentRequestParameters.Builder

Stay organized with collections Save and categorize content based on your preferences.
public static final class ConsentRequestParameters.Builder extends Object

Public Constructor Summary

Public Method Summary

ConsentRequestParameters
build()
ConsentRequestParameters.Builder
ConsentRequestParameters.Builder
setTagForUnderAgeOfConsent(boolean tagForUnderAgeOfConsent)
Sets whether the user is tagged for under age of consent.

Inherited Method Summary

Public Constructors

public Builder ()

Public Methods

public ConsentRequestParameters build ()

public ConsentRequestParameters.Builder setConsentDebugSettings (ConsentDebugSettings consentDebugSettings)

Sets the ConsentDebugSettings.

If null, no debug setting will be used.

Parameters
consentDebugSettings

public ConsentRequestParameters.Builder setTagForUnderAgeOfConsent (boolean tagForUnderAgeOfConsent)

Sets whether the user is tagged for under age of consent.

Default value is false.

Parameters
tagForUnderAgeOfConsent