API Integration

Modified on Fri, 6 Sep at 4:46 PM

First steps to add a API Integration

From your Dashboard, go to Integrations menu end click +NEW INTEGRATION button:




Name the integration (it can be changed later) and select the API Integration option then click NEXT:


API Integration




General Settings


IP Privacy

  • When enabled IP Addresses will be obfuscated in reports and exports.


Blaclist/Whitelist

  • Sources in the Blacklist will not be imported.
  • Sources in the Whitelist will only import the specific sources listed and not import any other sources.





CLICKS API URL

Map the parameters in order to generate the Click API URL Click the "Save button" before moving forward.


  • Click API example:
https://INTEGRATION_ID.clicks.24metrics.com?no_redirect=true&advertiser=ADVERTISER&publisher=PUBLISHER&offer=OFFER&sub_id=SUBID&click_time=YYYY-MM-DD hh:mm:ss&referer=REFERER_URL&click_ip=CLICK_IP&user_agent=USER_AGENT&device_id=DEVICE_ID&revenue=REVENUE&payout=PAYOUT



CONVERSION API URL

Map the parameters in order to generate the Conversion API URL Click the "Save button" before moving forward.


  • ConversionAPI example:
https://INTEGRATION_ID.postbacks.24metrics.com?advertiser=ADVERTISER&publisher=PUBLISHER&offer=OFFER&sub_id=SUBID&conversion_time=YYYY-MM-DD hh:mm:ss&conversion_ip=CONVERSION_IP&user_agent=USER_AGENT&referer=REFERER_URL&revenue=REVENUE&payout=PAYOUT&click_time=YYYY-MM-DD hh:mm:ss&external_transaction_id=PUBLISHER_CLICKID&third_party_rejected_reason=3RD_PARTY_CONVERSION_REJECTED_REASON&third_party_status=3RD_PARTY_CONVERSION_STATUS&browser_languages=BROWSER_LANGUAGES&device_id=DEVICE_ID&purchase_value=PURCHASE_VAUE&session_time=SESSION_TIME_IN_SECONDS



IMPRESSION API URL

Map the parameters in order to generate the Conversion API URL Click the "Save button" before moving forward.


  • Impression API example:
https://INTEGRATION_ID.imp.24metrics.com?advertiser=ADVERTISER&publisher=PUBLISHER&sub_id=SUBID&offer=OFFER&impression_time=YYYY-MM-DD hh:mm:ss&site_url=SITE_URL&impression_ip=IMPRESSION_IP&user_agent=USER_AGENT&payout=PAYOUT&revenue=REVENUE&device_id=DEVICE_ID&external_transaction_id=PUBLISHER_CLICKID



Remeber to setup the Filters as well in order to define the screening parameters before going live.



Recommendation:

Use the advanced endpoint to sync 24Metrics conversion status with a third party as well.

Find the options in Advanced Settings under the Conversion TAB.



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article