Publisher Settings

The SDK provides publishers the option to specify if the user’s Advertising ID and/or the Application ID can be shared with creatives that request access to this information.

By default, the values of shareAdvertiserID and shareApplicationID are set to false so the neither Advertiser ID nor Application ID is shared with creatives. Please note that the Advertising ID is only available to the SDK if the user has enabled this in OS-specific settings.

Sharing the Advertising ID

The following allows the Advertiser ID to be shared with creatives that request this information.

VASAds.setShareAdvertiserIdEnabled(true);
VASAds.setShareAdvertiserIdEnabled(true)
[VASAds sharedInstance].shareAdvertiserId = YES;
VASAds.shareAdvertiserId = true

Sharing the Application ID

The following allows the Application ID to be shared with creatives that request this information.

VASAds.setShareApplicationIdEnabled(true);
VASAds.setShareApplicationIdEnabled(true)
[VASAds sharedInstance].shareApplicationId = YES;
VASAds.shareApplicationId = true