Record S2S requests with advertising IDs
All server-to-server requests should include an advertising ID click macro. This lets your ad servers populate the correct ID to send back to Adjust.
To prevent bot fraud, Adjust requires all incoming S2S clicks and impressions to contain the following information.
- Adjust S2S parameter set to 1,
s2s=1
- Any of the advertising IDs you specify in your campaign structure parameters.
Without these data points, your clicks are rejected and Adjust does not report any attributions for your campaigns.
Click URL example
Here's an example of a correct server-to-server click request using the IDFA as the required advertising ID. The placeholder is idfa
and the space for your click macros is shown as [your_idfa_macro]
.
https://s2s.adjust.com/abc123?campaign={campaign_id}&adgroup={publisher_id}&creative={creative_id}&idfa=[your_idfa_macro]&s2s=1
Impression URL example
Here's an example of a correct server-to-server impression request using the IDFA as the required advertising ID. The placeholder is idfa
and the space for your click macros is shown as [your_idfa_macro]
.
https://s2s.adjust.com/impression/abc123?campaign={campaign_id}&adgroup={publisher_id}&creative={creative_id}&idfa=[your_idfa_macro]&s2s=1
Add multiple IDs
Adjust lets you add more than one type of advertising ID to a request. Here is an example of what the link URL looks like when you add both the idfa
and gps_adid
.
https://s2s.adjust.com/abc123?campaign={campaign_id}&adgroup={publisher_id}&creative={creative_id}&idfa=[your_idfa_macro]&gps_adid=[your_gaid_macro]&s2s=1
Accepted advertising IDs
Here you can find the identifiers accepted for S2S events.
Preferred identifiers | |
---|---|
Raw IDFA (IOS only) | idfa |
Raw Google advertising ID | gps_adid |
Raw Amazon Fire advertising ID | fire_adid |
Open Advertising ID (OAID, Huawei only) | oaid |
Backup identifiers | |
---|---|
Adjust device ID | adid |
Raw IDFV | idfv |
Android ID | android_id |