Campaign Listing API

Must use a GET method to run the campaign listing API.  Results will display all of your campaigns if not specified or a single campaign if a single campaign is specified in the URL.  

Able to pull in XML or JSON by including the following in the headers.

  • Accept:application/xml for an xml response
  • Accept:application/json for a json response

Base URL 

https://api.linktrust.com/v2/Campaigns/Campaign

Parameters

CampaignId - Only shows data for one campaign. Must be a valid Campaign ID.

Example URLs

https://api.linktrust.com/v2/Campaigns/Campaign

https://api.linktrust.com/v2/Campaigns/Campaign?campaignid=123456

Example XML Response

<ArrayOfCampaign>
<Campaign>
<AdvertiserId>100010</AdvertiserId>
<AdvertiserName>Teppanyaki</AdvertiserName>
<CampaignId>100000</CampaignId>
<CampaignName>Supermart Mobile Deals</CampaignName>
<CampaignStatus>PublicLive</CampaignStatus>
<CampaignType>CPA</CampaignType>
<Category>** Exclusive</Category>
<DefaultAffiliatePayout>16.3300</DefaultAffiliatePayout>
<DefaultAffiliatePayoutType>Flat</DefaultAffiliatePayoutType>
<Group>Gold</Group>
<Revenue>33.0000</Revenue>
<RevenueType>Flat</RevenueType>
</Campaign>
</ArrayOfCampaign>

Example JSON Response

{
CampaignId: 100000
CampaignName: "Supermart Mobile Deals"
CampaignType: "CPA"
Category: "** Exclusive"
Group: "Gold"
CampaignStatus: "PublicLive"
AdvertiserId: 100010
AdvertiserName: "Teppanyaki"
DefaultAffiliatePayout: 16.33
DefaultAffiliatePayoutType: "Flat"
Revenue: 33
RevenueType: "Flat"
}
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.