AdManager::getCampaignCode Method

Get Ad Campaign code. This is typically a brief snippet which is embedded
in the affiliate's site. It will load all the creatives / pixels / links
relevant to the ad campaign.

NameTypeDescription
NetworkId UrlNetwork ID
NetworkToken String Network token
Target String This calls action target
Method String This calls action method
campaign_id IntegerID of AdCampaign object
affiliate_id IntegerID of Affiliate object
paramsObject Any arbitrary key/value parameters that should be attached to the code. Additionally, a special "hostNameId" parameter can be passed in if one of the brand's non-default hostnames (by ID) is desired for the generated URL.
optionsObject The format of the code and e/redirect values to attach to it

GET Response Notes

Code for ad campaign.

Return response will be in the following format: array.

API Call Builder

Javascript is required to use the API Call Builder.
Have a Question? Please contact support@tune.com for technical support.