Postback (S2S) Macros
Macros supported in Install postback (S2S)
An advance feature of AdGyde, post-back URL provides server to server notification for every new user installed and In-App events.
Below is the list of Macros supported in Install post back
Example Install Post back URL:
http://www.adgyde.com?idfa={idfa}&advertiserId={advertiserId}&android-id={androidId}&app-id={packageName}&install-unix-ts={install_time}&click-ts={click_time}&camapign={camapign}&country-code={country_code}&city={city}&device-brand={device_brand}&carrier={operator}&ip={ip}&device-model={device_model}&language={language}&customclickid={transaction_id}&sdk-version={sdk_ver}&app-version={app_ver}&os-version={os_ver}&app-name={app_name}&clickid={clickid}&sub1={sub1}&sub2={sub2}&sub3={sub3}&sub4={sub4}
Below is the list of Macros supported in Install post back
| Macros | Comment | Example |
| {clickid} | Unique Value sent by the partner | testdclick12 |
| {advertisingId} | Google Advertising Id of the user | e23c04c6-44aa-48fc-9781-xxxxxxxxxxxx |
| {androidId} | Android Id of the application | 35aa72a37cxxxxxx |
| {idfa} | Currently will be null as we do not capture any IDFA value | |
| {sub1} | Exact value which was set by Partner in Tracking URL macro sub1={sub1} will be returned | CutomMacro1 |
| {sub2} | Exact value which was set by Partner in Tracking URL macro sub1={sub2} will be returned | CutomMacro2 |
| {sub3} | Exact value which was set by Partner in Tracking URL macro sub1={sub3} will be returned | CutomMacro3 |
| {sub4} | Exact value which was set by Partner in Tracking URL macro sub1={sub4} will be returned | CutomMacro4 |
| {packageName} | Package Name of the application. This is available only when the campaign is via the new campaign tracking method i.e. via the API /b/1/u | com.adgyde.adgydedemo |
| {install_time} | Macro is returned in Unix Timestamp format | 1532081296 |
| {click_time} | Macro is returned in Unix Timestamp format | 1532081266 |
| {campaign} | Campaign Name | TestMacroCampaign |
| {country_code} | Should return country code but we are returning country name in this version as we do not capture country code | India |
| {city} | City name | Noida |
| {device_brand} | Brand of the device which triggered the install | Motorola |
| {operator} | Operator Name | BSNL |
| {ip} | Ip Address of the device. Sensitive information and the post back should be made available to the partner after internal discussion | 182.76.yy.xxx |
| {device_model} | Model of the device | Nexus+6.0 |
| {language} | Language of the phone | en |
| {transaction_id} | Unique id sent by AdGyde. This is available only when the campaign is via the new campaign tracking method i.e via the API /b/1/u | 1532081266741C1wRx |
| {sdk_ver} | AdGyde SDK version | 1.1.0 |
| {app_ver} | Application Version | 1.9 |
| {os_ver} | OS version of the device | 6.0.1 |
| {appName} | Application Name as saved in AdGyde. This is available only when the campaign is via the new campaign tracking method i.e via the API /b/1/u | AdGydeDemo |
Example Install Post back URL:
http://www.adgyde.com?idfa={idfa}&advertiserId={advertiserId}&android-id={androidId}&app-id={packageName}&install-unix-ts={install_time}&click-ts={click_time}&camapign={camapign}&country-code={country_code}&city={city}&device-brand={device_brand}&carrier={operator}&ip={ip}&device-model={device_model}&language={language}&customclickid={transaction_id}&sdk-version={sdk_ver}&app-version={app_ver}&os-version={os_ver}&app-name={app_name}&clickid={clickid}&sub1={sub1}&sub2={sub2}&sub3={sub3}&sub4={sub4}
Macros supported in In-app Event postback (S2S)
AdGyde through in-app events allows you to track any post-install event that you are interested in, relating to a media source and campaign.
You can track in-app events, such as:
You can also add a in-app revenue value to each event and this is available to you on your AdGyde dashboard. You can map these in-app events to your media source's defined events.
Below is the list of Macros supported in In-App Event post back
You can track in-app events, such as:
- Login
- Add to cart
- In-app purchases
- Or any other logical event
You can also add a in-app revenue value to each event and this is available to you on your AdGyde dashboard. You can map these in-app events to your media source's defined events.
Below is the list of Macros supported in In-App Event post back
| macros | Comment | Example |
| {clickid} | Unique Value sent by the partner | 1a76c87b3d49f82a |
| {eventid} | Custom Value of the event saved when attaching the event to the campaign, this value is provided by Partner as per his system (&goal=1) | 1 |
| {eventName} | Name of the Event set by Advertiser | registration |
| {advertisingId} | Google Advertising Id of the user | e23c04c6-44aa-48fc-9781-xxxxxxxxxxxx |
| {androidId} | Android Id of the application | 35aa72a37cxxxxxx |
| {idfa} | Currently will be null as we do not capture any idfa value | |
| {sub1} | Exact value which was set by Partner in Tracking URL macro sub1={sub1} will be returned | CutomMacro1 |
| {sub2} | Exact value which was set by Partner in Tracking URL macro sub1={sub2} will be returned | CutomMacro2 |
| {sub3} | Exact value which was set by Partner in Tracking URL macro sub1={sub3} will be returned | CutomMacro3 |
| {sub4} | Exact value which was set by Partner in Tracking URL macro sub1={sub4} will be returned | CutomMacro4 |
| {packageName} | Package Name of the application. This is available only when the campaign is via the new campaign tracking method i.e via the API /b/1/u | com.adgyde.adgydedemo |
| {country_code} | Should return country code but we are returning country name in this version as we do not capture country code | India |
| {city} | City name | Noida |
| {device_brand} | Brand of the device which triggered the install | Motorola |
| {operator} | Operator Name | BSNL |
| {ip} | Ip Address of the device. Sensitive information and the post back should be made available to the partner after internal discussion | 182.76.yy.xxx |
| {device_model} | Model of the device | Nexus+6.0 |
| {language} | Language of the phone | en |
| {transaction_id} | Unique id sent by AdGyde. This is available only when the campaign is via the new campaign tracking method i.e via the API /b/1/u | 1532081266741C1wRx |
| {sdk_ver} | AdGyde SDK version | 1.1.0 |
| {app_ver} | Application Version | 1.9 |
| {os_ver} | OS version of the device | 6.0.1 |
| {appName} | Application Name as saved in AdGyde. This is available only when the campaign is via the new campaign tracking method i.e via the API /b/1/u | AdGydeDemo |
| {timestamp} | Time Stamp of the log received. |