### Install Postback Example URL Source: https://support.appsflyer.com/hc/en-us/articles/207034146-Integrating-Meta-campaign-management-partners-with-AppsFlyer Example URL demonstrating how to include ad set name in install postbacks. ```text http://mcmp_postbackURL.........&mcmp_ADset_name ={adset_name} ``` -------------------------------- ### Example of Setting Cost Per Install Source: https://support.appsflyer.com/hc/en-us/articles/360014821438 This example demonstrates how to set a specific cost per install (CPI) value for a campaign. It includes the currency and the numeric CPI value. ```url https://go.onelink.ly/qwerty?pid=source&af_dp=greatapp%3A%2F%2F&af_ios_url=www.yoursite.com/ios-bonus &af_android_url=www.yoursite.com/android-bonus&af_cost_currency=USD&af_cost_value=0.40 ``` -------------------------------- ### Offerslook Install Postback Example Source: https://support.appsflyer.com/hc/en-us/articles/209074606-Offerslook-integration-with-AppsFlyer-for-ad-networks This is an example of an Offerslook postback URL for installs, used to send attribution data back to AppsFlyer. It includes macros for click and advertiser IDs. ```URL https://networkname.offerstrack.net/advBack.php?click_id={click_id}&adv_id={adv_id} ``` -------------------------------- ### General Install Postback Example (Android) Source: https://support.appsflyer.com/hc/en-us/articles/207273946-Postback-macros-for-Ad-Networks- A sample postback URL for tracking general installs on Android, including common parameters. ```http http://YourCompanyDomain.com?site_id=(publisher_id) &advertising_id=(advertiser_id)&android_id=(android_id) &install_time=(install_unix_ts) ``` -------------------------------- ### General Install Postback Example (iOS) Source: https://support.appsflyer.com/hc/en-us/articles/207273946 A sample general install postback URL for iOS, including common parameters. ```http http://YourCompanyDomain.com?&site_id=(publisher_id)& device_ip=(ip)&;idfa=(idfa)&install_time=(install_unix_ts) ``` -------------------------------- ### Example SKAN Install Postback Source: https://support.appsflyer.com/hc/en-us/articles/360011502657-SKAN-integration-guide-for-ad-networks This is an example of an install SKAN postback sent by AppsFlyer. It includes parameters for publisher ID, timestamps, app ID, country, campaign details, and redownload status. ```http http://YourCompanyDomain.com/event?site_id=(publisher-id)&install_time=(timestamp) &skan_ad_network_time=(timestamp) &skan_af_received_time=(timestamp) &attribution_source=skadnetwork &app_id=(id123456789)&country=(ZA)&campaign=(campaign-name) &campaign_id=(campaign-id)&SKAN_ambiguous_event=(boolean) &redownload=(boolean) &af_SKAN_nonce=(uuid) ``` -------------------------------- ### Global Install Postback Source: https://support.appsflyer.com/hc/en-us/articles/207034806 Sample URL for a global install postback. Replace `NETWORK_ID` with your TUNE domain name. This postback is used for tracking installs. ```text https://NETWORK_ID.go2cloud.org/aff_lsr?offer_id={af_c_id}&transaction_id={clickid} ``` -------------------------------- ### Get App List - Curl Request Example Source: https://support.appsflyer.com/hc/en-us/articles/360011700857-App-list-API-for-ad-networks?query=xpend Demonstrates how to make a GET request to the App List API to retrieve apps with specific capabilities and pagination. Includes an example of the Authorization header. ```curl curl --location --request GET 'https://hq1.appsflyer.com/api/mng/apps?capabilities=protect_360&limit=1000&offset=0' \ -H 'Authorization: Bearer {API V2.0 token available to the admin in the dashboard.}' \ ``` -------------------------------- ### Get Blocked Installs Report Source: https://support.appsflyer.com/hc/en-us/articles/115004745523-Protect360-for-integrated-partners Retrieve real-time data on blocked installs, including the reason for the block. ```bash curl -L "https://api.appsflyer.com/v2/blocked/blocked_installs_report?app_id=123456789&from_date=2023-01-01&to_date=2023-01-31" -H "Authorization: Bearer YOUR_TOKEN" ``` -------------------------------- ### Example Click URL with Advanced Parameters Source: https://support.appsflyer.com/hc/en-us/articles/360011316197 A GET request example demonstrating a click URL with campaign, user-agent, language, and IP parameters. Ensure query parameters are URL-encoded. ```HTTP GET https://app.appsflyer.com/id123456789?pid=YOUR_NETWORK_ID&c={CampaignName}&af_c_id={CampaignID}&af_adset={adset name}&af_adset_id={adset ID}&af_ad={ad name}&af_ad_id={ad ID} &af_ad_type={Ad type}&af_siteid={PublisherId} &af_ua=Mozilla%2F5.0%20%28iPhone%3B%20CPU%20iPhone%20OS%2012_1_4%20 like%20Mac%20OS%20X%29%20AppleWebKit%2F605.1.15%20%28KHTML%2C%20like%20Gecko%29%20Mobile%2F16D57&af_lang=en-US&af_ip=11.11.1.11 ```