Service
CampaignService
MutateJobService
Dependencies
Data representing an AdWords campaign.
- Namespace
-
https://adwords.google.com/api/adwords/cm/v201506
- Fields
Field | Type | Description |
---|---|---|
id ReadOnly
|
xsd:long
|
ID of this campaign. This field is read only and will be ignored when sent to the API for the following Operators: ADD. |
name MatchesRegex
StringLength
|
xsd:string
|
Name of this campaign.
This field is required and should not be null for ADD operations.
For SET and REMOVE operations, this can be used to address the campaign
by name when the campaign is ENABLED or PAUSED. Removed campaigns cannot
be addressed by name. If you wish to rename a campaign, you must provide
the ID.
Campaign names must not contain any null (code point 0x0), NL line feed (code point 0xA) or carriage return (code point 0xD) characters. This is checked by the regular expression '[^\x00\x0A\x0D]*'.
This string must not be empty.
|
status |
CampaignStatus
|
Status of this campaign. On add, defaults to ENABLED .
Enumerations
|
servingStatus ReadOnly
|
ServingStatus
|
Serving status.
This field is read only and will be ignored when sent to the API.
Enumerations
|
startDate |
xsd:string
|
Date the campaign begins. On add, defaults to the current day in the parent account's local timezone. The date's format should be YYYYMMDD. |
endDate |
xsd:string
|
Date the campaign ends. On add, defaults to 20371230 , which means the
campaign will run indefinitely. To set an existing campaign to run indefinitely, set this
field to 20371230
. The date's format should be YYYYMMDD.
|
budget |
Budget
|
Current base budget of campaign; default if no custom budgets are enabled. |
conversionOptimizerEligibility ReadOnly
|
ConversionOptimizerEligibility
|
This field is read only and will be ignored when sent to the API. |
adServingOptimizationStatus |
AdServingOptimizationStatus
|
Ad serving optimization status.
Enumerations
|
frequencyCap CampaignType
|
FrequencyCap
|
Frequency cap for this campaign. This field may not be set for campaign channel subtype SEARCH_MOBILE_APP. |
settings | List of settings for the campaign. | |
advertisingChannelType ReadOnly
|
AdvertisingChannelType
|
The primary serving target for ads within this campaign. The targeting options can be refined
in NetworkSetting. May only be set for new campaigns.
This field is required and should not be null when it is contained within
Operators : ADD
This field is read only and will be ignored when sent to the API for the following Operators: SET.
Enumerations
|
advertisingChannelSubType ReadOnly
|
AdvertisingChannelSubType
|
Optional refinement of advertisingChannelType. Must be a valid sub-type of the parent channel
type. May only be set for new campaigns and cannot be changed once set.
This field is read only and will be ignored when sent to the API for the following Operators: SET.
Enumerations
|
networkSetting |
NetworkSetting
|
Network settings for the campaign indicating where the campaign will serve. |
labels ReadOnly
|
Labels that are attached to the campaign. To associate an existing Label to an existing Campaign, use CampaignService.mutateLabel with the ADD operator. To remove an associated Label from the Campaign, use CampaignService.mutateLabel with the REMOVE operator. To filter on Labels, use one of Predicate.Operator.CONTAINS_ALL, Predicate.Operator.CONTAINS_ANY, Predicate.Operator.CONTAINS_NONE operators with a list of Label ids. This field is read only and will be ignored when sent to the API for the following Operators: REMOVE and SET. | |
biddingStrategyConfiguration |
BiddingStrategyConfiguration
|
Bidding configuration for this campaign. To change an existing campaign's
bidding strategy, set the BiddingStrategyConfiguration.biddingStrategyType
or BiddingStrategyConfiguration.biddingScheme.
This field is required and should not be null when it is contained within
Operators : ADD
|
forwardCompatibilityMap |
String_StringMapEntry[]
|
This Map provides a place to put new features and settings in older versions of the AdWords API in the rare instance we need to introduce a new feature in an older version. It is presently unused. Do not set a value. |
trackingUrlTemplate |
xsd:string
|
URL template for constructing a tracking URL.
On update, empty string ("") indicates to clear the field. |
urlCustomParameters |
CustomParameters
|
A list of mappings to be used for substituting URL custom parameter tags in the trackingUrlTemplate, finalUrls, and/or finalMobileUrls. |