Skip to content

Campaigns

Campaigns entities and endpoints of the Amplify API.

Campaigns contain many PromotedLinks and define Budget, targeting, cpc, etc. Campaign settings apply to the PromotedLinks contained in a specific Campaign.

The Campaign object has the following attributes:

PropertyTypeSemanticExample
idStringcampaign id."00f4b02153ee75f3c9dc4fc128ab041962"
nameStringcampaign name."My Campaign"
marketerIdStringmarketer id."00f4b02153ee75f3c9dc4fc128ab041963"
enabledBooleanis campaign enabled.true
cpcMoneycost per click.0.58
minimumCpcMoneythe minimal possible cost per click. read-only0.2
currencyStringThe currency of the Budget amount. read-only"USD"
autoArchivedBooleanIndicates whether this Campaign is archived.true
targetingTargeting ObjectSee Targeting object.
feedsArray of RSS feedsEach feed contains the URL of the rss feed.
autoExpirationOfPromotedLinksNumericA number specifying within how many days PromotedLinks are expired - PromotedLinks expire X days after their publication day (if known), otherwise - X days after their creation date.7
contentTypeContent TypeThe Campaign's content type."NATIVE_VIDEO"
budgetBudgetsee Budget entity. read-only
suffixTrackingCodeSuffixTrackingCodeA parameter list that will be appended to the Campaign's PromotedLink. Use the value "EMPTY_SUFFIX" to delete."utm_source=outb&utm_medium=cpc&utm_campaign=Celebrity-2-1"
prefixTrackingCodePrefixTrackingCodeA marketer's prefix for a PromotedLink. The prefixTrackingCode must be in a valid url form and must end with some parameter followed by an equals sign. Use the value "EMPTY_PREFIX" to delete."http://www.marketersServer.com?redirectTo="
lastModifiedTimeThe time when the Campaign was last modified. This field is affected by changes in the following properties only: name, enabled, cpc, archived read-only"2013-03-16 10:32:31"
creationTimeTimeThe time when the Campaign was created. read-only"2013-01-18 07:19:16"
liveStatusLive Statusholds Campaign's on air and spend information. read-only.
cpcPerAdEnabledBooleanIndicates whether or not the 'CPC Per Ad' feature is enabled for this campaign. If the feature has not been enabled, any CPC changes to the promoted link will not be taken into account.
blockedSitesCampaign Blocked SitesA property containing lists of blocked publishers and / or sections. The publishers and sections ids can be retrieved from the Publisher Performance Reporting section
startHourTime (12 hour format: 'HH:MM AM/PM')Time of the day when this Campaign should start. For this feature to work, the campaign budget type must be "DAILY" or "AUTOMATIC" it cannot be "Spend_ASAP"10:30 AM
trackingPixelsArray of Tracking PixelsDeprecated please use pixels.trackingPixels instead (will be removed in 1.7.2021). Array of tracking pixels attached to each promoted link under this campaign
bidsBidsCPC adjustments
campaignOptimizationCampaignOptimizationConversion optimization settings
volumeControlVolume ControlSection volume control adjustments
onAirTypeCampaign On Air TypeRepresents the scheduling type for the campaign to be on air"Scheduled"
schedulingCampaign Scheduling RulesThe campaign scheduling rules
objectiveCampaign ObjectiveThe campaign objective
pixelsPixelsThe campaign impression and tracking pixels
dynamicRetargetingBooleantrue if this is a dynamic retargeting campaign

Campaign

Endpoints

Campaigns

Endpoints

Campaigns Collection

Endpoints

Campaigns Collection via Budget

Endpoints

Campaigns Collection via Marketer

Collection of all campaigns for a specific Marketer.

The campaigns collection resource has the following attributes:

  • count - Number of Campaigns returned in the Campaigns array included in this response.
  • campaigns - Array of Campaigns
  • totalCount - Total number of Campaigns regardless of 'limit' and 'offset' parameters, used for pagination.
  • marketerBlockedSites - Marketer Blocked Sites.

Endpoints

Campaign Geo Location

A new endpoint has been added which returns all targeted and excluded locations of a given campaign. It can be called in order to retrieve a campaign's geotargeting.

Endpoints