TrackingGlobalParameters
An object for storing global parameters that will be applied when creating an TagRequest and TrackingRequest.
Some parameters of an TagRequest and TrackingRequest are designed to be passed in all requests, not just individual ones. To avoid duplicating code when creating TagRequest and TrackingRequest, SDK provide AdService.setTrackingGlobalParameter method, which will modify these parameters:
// Set parameter
AdService.setTrackingGlobalParameter(
TrackingGlobalParameters::externalUID,
ExternalUID(uid = "example", isStable = true)
)
// Clear parameter:
AdService.removeTrackingGlobalParameter(TrackingGlobalParameters::externalUID)
This object serves to store these parameters within the SDK. This class inherit from BaseGlobalParameters.
See also
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 ad server.
An app can ask users if they want to opt out from process data. Use isOptOutEnabled to make the users choice visible for the ad server.
List of identifiers for additional extended IDs on the Identity Service. The data type of userIds is a list of UserIdType.