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 StringNetwork token
Target StringThis calls action target
Method StringThis calls action method
campaign_id IntegerID of AdCampaign object
affiliate_id IntegerID of Affiliate object
paramsObjectAny 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.
optionsObjectThe 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 [email protected] for technical support.