AdRequestGlobalParameters
An object for storing global parameters that will be applied when creating an Ad request. Some parameters of `AdRequest`
are designed to be passed in all requests, not just individual ones. To avoid duplicating code when creating AdRequest.
AdService.setAdRequestGlobalParameter use to set AdRequestGlobalParameters
// Set parameter
AdService.setAdRequestGlobalParameter(
AdRequestGlobalParameters::externalUID,
ExternalUID(uid = "example", isStable = true)
)
// Clear parameter:
AdService.removeAdRequestGlobalParameter(AdRequestGlobalParameters::externalUID)
This object serves to store these parameters within the SDK. This class inherit from BaseGlobalParameters.
Properties
If your app has means to identify a user, for example through association with an user account or an advertising ID, you can share this with the AdServer.
An app can ask users about their consent for sharing information with third parties. The SDK can forward users preferences if they follow the TCF format.
An app can ask users if they want to opt out from process data. Use isOptOutEnabled to make the users choice visible for the Adserver.
Defines, if the request should also consider the server side header bidding. Enabled if the value is 'true', disabled if the value is 'false'.