public enum CampaignField extends Enum<CampaignField> implements EntityField
Enum
to facilitate the selection of fields for Campaign
.Enum Constant and Description |
---|
AdServingOptimizationStatus
Ad serving optimization status.
|
AdvertisingChannelSubType
Optional refinement of advertisingChannelType.
|
AdvertisingChannelType
The primary serving target for ads within this campaign.
|
Amount
Amount of budget in the local currency for the account.
|
BaseCampaignId
ID of the base campaign of the draft or trial campaign.
|
BiddingStrategyId
Id of the bidding strategy to be associated with the campaign, ad group or ad group criteria.
|
BiddingStrategyName
Name of the bidding strategy.
|
BiddingStrategyType
The type of the bidding strategy to be attached.
|
BudgetId
A Budget is created using the BudgetService ADD operation and is assigned a BudgetId.
|
BudgetName
Name of the Budget.
|
BudgetReferenceCount
Number of campaigns actively using this budget.
|
BudgetStatus |
CampaignGroupId
Id of the campaign group this campaign belongs to.
|
CampaignTrialType
Indicates if this campaign is a normal campaign, a draft campaign, or a trial campaign.
|
DeliveryMethod
Delivery method for the Budget which determines the rate at which the Budget is spent.
|
Eligible
If the campaign is eligible to enter conversion optimizer.
|
EndDate
Date the campaign ends.
|
EnhancedCpcEnabled
The enhanced CPC bidding option for the campaign, which enables bids to be enhanced based on conversion optimizer data.
|
FrequencyCapMaxImpressions
Maximum number of impressions allowed during the time range by this cap.
|
Id
ID of this campaign.
|
IsBudgetExplicitlyShared
If true, this budget was created with the purpose of sharing this budget across one or more campaigns.
|
Labels
Labels that are attached to the campaign.
|
Level
The level on which the cap is to be applied (creative/adgroup).
|
Name
Name of this campaign.
|
RejectionReasons
Reason why a campaign would be rejected for conversion optimizer.
|
SelectiveOptimization
Selective optimization setting for this campaign, which includes a set of conversion types to optimize this campaign towards.
|
ServingStatus
Serving status.
|
Settings
List of settings for the campaign.
|
StartDate
Date the campaign begins.
|
Status
Status of this campaign.
|
TargetContentNetwork
Ads will be served on specified placements in the Google Display Network.
|
TargetCpa
Average cost per acquisition (CPA) target.
|
TargetCpaMaxCpcBidCeiling
Maximum cpc bid limit that applies to all keywords managed by the strategy.
|
TargetCpaMaxCpcBidFloor
Minimum cpc bid limit that applies to all keywords managed by the strategy.
|
TargetGoogleSearch
Ads will be served with Google.com search results.
|
TargetPartnerSearchNetwork
Ads will be served on the Google Partner Network.
|
TargetRoas
The target return on average spend (ROAS).
|
TargetRoasBidCeiling
Maximum bid limit that applies to all keywords managed by the strategy.
|
TargetRoasBidFloor
Minimum bid limit that applies to all keywords managed by the strategy.
|
TargetSearchNetwork
Ads will be served on partner sites in the Google Search Network (requires
GOOGLE_SEARCH ). |
TargetSpendBidCeiling
The largest max CPC bid that can be set by the TargetSpend bidder.
|
TargetSpendEnhancedCpcEnabled
The enhanced CPC bidding option for the campaign, which enables CPC bids to be enhanced based on conversion optimizer data.
|
TargetSpendSpendTarget
A spend target under which to maximize clicks.
|
TimeUnit
Unit of time the cap is defined at.
|
TrackingUrlTemplate
URL template for constructing a tracking URL.
|
UrlCustomParameters
A list of mappings to be used for substituting URL custom parameter tags in the trackingUrlTemplate, finalUrls, and/or finalMobileUrls.
|
VanityPharmaDisplayUrlMode
The display mode for vanity pharma URLs.
|
VanityPharmaText
The text that will be displayed in display URL of the text ad when website description is the selected display mode for vanity pharma URLs.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isFilterable()
If the field is filterable.
|
static CampaignField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CampaignField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final CampaignField AdServingOptimizationStatus
public static final CampaignField AdvertisingChannelSubType
public static final CampaignField AdvertisingChannelType
null
when it is contained within Operator
s : ADDpublic static final CampaignField Amount
public static final CampaignField BaseCampaignId
public static final CampaignField BiddingStrategyId
Starting with v201705, this field cannot be set at the ad group or ad group criterion level.
public static final CampaignField BiddingStrategyName
public static final CampaignField BiddingStrategyType
For details on portfolio vs. standard availability, see the bidding guide.
Starting with v201705, this field cannot be set at the ad group or ad group criterion level to any value other than BiddingStrategyType.NONE
.
public static final CampaignField BudgetId
public static final CampaignField BudgetName
public static final CampaignField BudgetReferenceCount
public static final CampaignField BudgetStatus
public static final CampaignField CampaignGroupId
public static final CampaignField CampaignTrialType
public static final CampaignField DeliveryMethod
public static final CampaignField Eligible
public static final CampaignField EndDate
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.public static final CampaignField EnhancedCpcEnabled
public static final CampaignField FrequencyCapMaxImpressions
0
.public static final CampaignField Id
public static final CampaignField IsBudgetExplicitlyShared
If false, this budget was created with the intention to be dedicatedly used with a single campaign, and the Budget's name and status will stay in the sync with the associated Campaign's name and status. Attempting to share this budget with a second Campaign will result in an error.
public static final CampaignField Labels
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 Label
s, use one of Predicate.Operator#CONTAINS_ALL
, Predicate.Operator#CONTAINS_ANY
, Predicate.Operator#CONTAINS_NONE
operators with a list of Label
ids.public static final CampaignField Level
public static final CampaignField Name
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.public static final CampaignField RejectionReasons
public static final CampaignField SelectiveOptimization
public static final CampaignField ServingStatus
public static final CampaignField Settings
public static final CampaignField StartDate
public static final CampaignField Status
ENABLED
.public static final CampaignField TargetContentNetwork
Placement
criteria.public static final CampaignField TargetCpa
public static final CampaignField TargetCpaMaxCpcBidCeiling
public static final CampaignField TargetCpaMaxCpcBidFloor
public static final CampaignField TargetGoogleSearch
public static final CampaignField TargetPartnerSearchNetwork
public static final CampaignField TargetRoas
public static final CampaignField TargetRoasBidCeiling
public static final CampaignField TargetRoasBidFloor
public static final CampaignField TargetSearchNetwork
GOOGLE_SEARCH
).public static final CampaignField TargetSpendBidCeiling
public static final CampaignField TargetSpendEnhancedCpcEnabled
This attribute can only be set on a standard bidding strategy. Attempting to set this attribute on a portfolio bidding strategy will result in an error.
public static final CampaignField TargetSpendSpendTarget
public static final CampaignField TimeUnit
public static final CampaignField TrackingUrlTemplate
On update, empty string ("") indicates to clear the field.
public static final CampaignField UrlCustomParameters
public static final CampaignField VanityPharmaDisplayUrlMode
public static final CampaignField VanityPharmaText
public static CampaignField[] values()
for (CampaignField c : CampaignField.values()) System.out.println(c);
public static CampaignField valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isFilterable()
EntityField
isFilterable
in interface EntityField
Copyright © 2018. All Rights Reserved.