Global device ID validation global-device-id-validation
Device Advertising Identifiers (i.e. iDFA, GAID, Roku ID) have formatting standards that must be met in order to be usable in the digital advertising ecosystem. Today, customers and partners can upload IDs to our Global data sources in any format without being notified of whether the ID is properly formatted. This feature will introduce validation of device IDs sent to the Global data sources for proper formatting and will provide error messaging when IDs are incorrectly formatted. We will support validation for iDFA, Google Advertising and Roku IDs at launch.
Overview of format standards overview-of-format-standards
The following are the global Device Advertising ID pools that are currently recognized and supported by AAM. These are implemented as shared Data Sources that can be used by any customer or data partner that works with data tied to users of these platforms.
Setting an Advertising Identifier in the App 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.
-
Retrieve the ID
-
Send it into the Experience Cloud using the setAdvertisingIdentifier method in the SDK
- Information for using
setAdvertisingIdentifier
is in the documentation for both iOS and Android.
- Information for using
// iOS (Swift) example for using setAdvertisingIdentifier:
ACPCore.setAdvertisingIdentifier([AdvertisingId]) // ...where [AdvertisingId] is replaced by the actual advertising ID
DCS Error Messaging for Incorrect IDs 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.
Please see the documentation for the list of error codes.
Onboarding Global Device IDs 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: