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"
}

 

You can request a demo to see LinkTrust up close and experience how it can help you, or start your free 14-day trial now.


Need help with this feature or have questions? You can contact our support team at support@linktrust.com