AdCampaign Model

An Advertising Campaign

NameTypeDescription
account_idNullable IntegerIf the "interface" field is set to "network" this will be NULL. If the "interface" field is set to "affiliate", this will contain the ID of the Affiliate.
affiliate_accessNullable BooleanWhether or not this Ad Campaign is accessible to Affiliates in the Network
custom_weightsBooleanWhether or not to use the custom weights feature to determine how often each creative for this campaign is served. For more information, see: https://support.hasoffers.com/entries/23312738-Custom-weights-the-ad-manager-campaign
heightNullable IntegerOnly required for campaigns with the "type" field set to "banner". Specifies height used to display the ad tag. Cannot change once creatives have been assigned to this campaign.
idIntegerID of unique, auto-generated object for the campaign
This parameter is non-writable
interfaceStringIndicates whether this campaign belongs the Network or an AffiliateShow Supported Values
modifiedDatetimeThe most recent time this campaign was modified
nameStringThe name of the campaign
optimizationBooleanWhether or not to display creatives in the campaign based on their performance
optimization_fieldStringWhich metric to use when optimizing creatives contained in the campaign. For more information, see: https://support.hasoffers.com/entries/24246593-Auto-optimization-in-the-Ad-Manager-Show Supported Values
statusStringThe status of the campaignShow Supported Values
typeStringType creatives used in this campaign. Campaigns of type "text" can only contain text creatives, but can be displayed using a javascript ad tag with no specific height and width. Campaigns of type "banner" are limited to a specific height and width, but can contain images, flash banners, and third party ad tags. The type change once creatives have been added to this campaign.Show Supported Values
widthNullable IntegerOnly required for campaigns with type set to "banner". Specifies width used to display the ad tag. Cannot change once creatives have been assigned to this campaign.
Have a Question? Please contact [email protected] for technical support.