How to create & execute conversions report through API:
- Add API→How to get Affiliate API key from Partner System?
- Add Date (optional)
- To & From (Date Format: MM/DD/YYYY
- Execute
Note: By default the conversions API will only pull last 30days date, set date frame accoringly
Final API Curl:
https://partner.dcmnetwork.com/publisher/rest/conversion?api_key=YOUR_API_KEY&q.dateFrom=01%2F01%2F2022&q.dateTo=01%2F12%2F2025
Sample:
https://partner.dcmnetwork.com/publisher/rest/conversion?api_key=YOUR_API_KEY&q.dateFrom=01%2F01%2F2022&q.dateTo=01%2F12%2F2025
How to get conversions via API for a custom offer ?
Sample:
https://partner.dcmnetwork.com/publisher/rest/conversion?api_key=bd63e74a-52c5-70c8ff5eae&q.dateFrom=01%2F01%2F2022&q.dateTo=01%2F12%2F2025&q.offerId=1470
How to get conversions via API for a custom Status ?
Pending: https://partner.dcmnetwork.com/publisher/rest/conversion?api_key=API-KEY&q.dateFrom=11%2F01%2F2023&q.dateTo=12%2F31%2F2027&q.status=pending
Approved: https://partner.dcmnetwork.com/publisher/rest/conversion?api_key=API-KEY&q.dateFrom=11%2F01%2F2023&q.dateTo=12%2F31%2F2027&q.status=approved
Approved & Pending: https://partner.dcmnetwork.com/publisher/rest/conversion?api_key=API-KEY&q.dateFrom=11%2F01%2F2023&q.dateTo=12%2F31%2F2027&q.status==notrejected