cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
3871members
1256posts

How to get all data for a particular Campaign or Publisher ID via API. Please give a curl example

kkush
Contributor Level 1

Hi,

I tested out the Signal API, but still wondering how do I get all the data for a particular Campaign in a given date range ?

I see the Conversion API is depreciated, Can you please help me with a curl example. 

Thanks in advance.



1 REPLY 1

kihanala
Employee
Employee

Hi @kkush 

To retrieve call data, you'll want to utilize the Transaction API. The Signal API is intended for posting back call outcomes from an external source. Here's the documentation for the Transaction API. By selecting this link, you can access examples for the following account types:
  • Network/Brand - provides call data for all calls in the network
  • Advertiser/Merchant - provides call data for calls associated with a specific Advertiser (or Profile)
  • Publisher/Affiliate - provides call data for calls associated with a specific Publisher (or Affiliate)
I would start with the Network/Brand account type and include the date range as a query parameter (from= & to=).
 
Also, here's a FAQs article regarding the Transaction API.