GlobalParameters

open class GlobalParameters

Deprecated

The class will be removed in the future. Please use the updated class.

Replace with

AdRequestGlobalParameters

An Class for storing global parameters that will be applied when creating an ad request.

Some parameters of an ad request are designed to be passed in all requests, not just individual ones.

SDK provide AdService.setGlobalParameter method, which will modify these parameters:

Set parameter: AdService.setGlobalParameter(GlobalParameters::externalUID, ExternalUID(uid = "example", isStable = true))

Clear parameter: AdService.removeGlobalParameter(GlobalParameters::externalUID)

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

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.

Link copied to clipboard
var gdpr: GDPR?

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, see https://iabeurope.eu/transparency-consent-framework/

Link copied to clipboard

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.

Link copied to clipboard
Link copied to clipboard

List of identifiers for additional Extended IDs on the Identity Service. The Data type of userIds is a list of UserId.