public enum AdGroupField extends Enum<AdGroupField> implements EntityField
Enum
to facilitate the selection of fields for AdGroup
.Enum Constant and Description |
---|
AdGroupType |
AdRotationMode |
BaseAdGroupId
ID of the base adgroup from which this draft/trial adgroup was created.
|
BaseCampaignId
ID of the base campaign from which this draft/trial adgroup was created.
|
BiddingStrategyId
Id of the bidding strategy to be associated with the campaign, ad group or ad group criteria.
|
BiddingStrategyName
Name of the bidding strategy.
|
BiddingStrategySource
Indicates where the bidding strategy is associated i.e.
|
BiddingStrategyType
The type of the bidding strategy to be attached.
|
CampaignId
ID of the campaign with which this ad group is associated.
|
CampaignName
Name of the campaign with which this ad group is associated.
|
ContentBidCriterionTypeGroup
Allows advertisers to specify a criteria dimension on which to place absolute bids.
|
CpcBid
Max CPC (cost per click) bid.
|
CpmBid
Max CPM (cost per thousand impressions) bid.
|
EnhancedCpcEnabled
The enhanced CPC bidding option for the campaign, which enables bids to be enhanced based on conversion optimizer data.
|
Id
ID of this ad group.
|
Labels
Labels that are attached to the
AdGroup . |
Name
Name of this ad group (at most 255 UTF-8 full-width characters).
|
Settings
List of settings for the AdGroup.
|
Status
Status of this ad group.
|
TargetCpa
Average cost per acquisition (CPA) target.
|
TargetCpaBid
Target cost per acquisition (CPA).
|
TargetCpaBidSource
The level (ad group, ad group strategy, or campaign strategy) at which the bid was set.
|
TargetRoasOverride
The target return on average spend (ROAS).
|
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isFilterable()
If the field is filterable.
|
static AdGroupField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdGroupField[] |
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 AdGroupField AdGroupType
public static final AdGroupField AdRotationMode
public static final AdGroupField BaseAdGroupId
public static final AdGroupField BaseCampaignId
public static final AdGroupField BiddingStrategyId
Starting with v201705, this field cannot be set at the ad group or ad group criterion level.
public static final AdGroupField BiddingStrategyName
public static final AdGroupField BiddingStrategySource
public static final AdGroupField 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 AdGroupField CampaignId
public static final AdGroupField CampaignName
public static final AdGroupField ContentBidCriterionTypeGroup
public static final AdGroupField CpcBid
public static final AdGroupField CpmBid
public static final AdGroupField EnhancedCpcEnabled
public static final AdGroupField Id
public static final AdGroupField Labels
AdGroup
.
To associate an existing Label
to an existing AdGroup
, use AdGroupService#mutateLabel
with ADD operator.
To remove an associated Label
from the AdGroup
, use AdGroupService#mutateLabel
with 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 AdGroupField Name
null
for ADD operations from v201309 version.public static final AdGroupField Settings
public static final AdGroupField Status
public static final AdGroupField TargetCpa
public static final AdGroupField TargetCpaBid
If an ad group-level target is not set and the strategy type is TARGET_CPA, the strategy level target will be used.
To set the strategy-level target, set the TargetCpaBiddingScheme#targetCpa
on the strategy's BiddingStrategyConfiguration#biddingScheme
.
public static final AdGroupField TargetCpaBidSource
public static final AdGroupField TargetRoasOverride
TARGET_ROAS
strategy attached to the campaign, then the target overrides the target roas specified in the campaign's bidding strategy.
Otherwise, this value is ignored.public static final AdGroupField TrackingUrlTemplate
On update, empty string ("") indicates to clear the field.
public static final AdGroupField UrlCustomParameters
public static AdGroupField[] values()
for (AdGroupField c : AdGroupField.values()) System.out.println(c);
public static AdGroupField 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.