Setting an Advertising Identifier in the App

Setting the advertiser ID in the app is really a two step process, first retrieving the advertiser ID, and then sending it to the Experience Cloud. Links are found below for performing these steps.

  1. Retrieve the ID

    1. Apple information about the advertising ID can be found HERE.
    2. Some information about setting the advertiser ID for Android developers can be found HERE.
  2. Send it into the Experience Cloud using the setAdvertisingIdentifier method in the SDK

    1. Information for using setAdvertisingIdentifier is in the documentation for both iOS and Android.

// iOS (Swift) example for using setAdvertisingIdentifier:
ACPCore.setAdvertisingIdentifier([AdvertisingId]) // ...where [AdvertisingId] is replaced by the actual advertising ID

DCS Error Messaging for Incorrect IDs

When an incorrect Global Device ID (IDFA, GAID, etc) is submitted in realtime to Audience Manager, an error code will be returned on the hit. Following is an example of an error returned because the ID is sent in as an Apple IDFA, which should only contain upper case letters, and yet there is a lower case ‘x’ in the ID.

error image

Please see the documentation for the list of error codes.

Onboarding Global Device IDs

In addition to realtime submission of Global Device IDs, you are also able to “onboard” (upload) data against the IDs as well. This process is the same as when you are onboarding data against your customer IDs (typically via key/value pairs), but you would simply use the proper Data Source IDs, so that the data is assigned to the global device ID. Documentation about the onboarding process can be found in the documentation. Just remember to use the global data source ID, depending on the platform that you are using.

If incorrect Global Device IDs are submitted through the onboarding process, the errors will show in the Onboarding Status Report.

Following is a sample of an error that would come through that report:

error image

Previous pageSet permissions with role-based access control
Next pageIAB TCF 2.2 support

Audience Manager