public enum AdParamField extends Enum<AdParamField> implements EntityField
Enum to facilitate the selection of fields for AdParam.| Enum Constant and Description |
|---|
AdGroupId
ID of the associated ad group.
|
CriterionId
ID of the associated
Keyword criterion. |
InsertionText
Numeric value to insert into the ad text.
|
ParamIndex
Defines which parameterized snippet of ad text to replace.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFilterable()
If the field is filterable.
|
static AdParamField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdParamField[] |
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, valueOfnamepublic static final AdParamField AdGroupId
public static final AdParamField CriterionId
Keyword criterion.
The keyword must be in the same ad group as this AdParam.
Text ads triggered by this keyword will have their {paramN:default-value} snippet replaced by the contents of #insertionText.public static final AdParamField InsertionText
, or . as a separator, with an optional . or , (respectively) for fractional values.
For example, 1,000,000.00 and 2.000.000,10 are valid.$99.99 and 200£ are valid.99.99USD and EUR200 are valid.%.
For example, 1.0% and 1,0% are valid.+ or -.
For example, -10.99 and 25+ are valid./ between two numbers.
For example 4/1 and 0.95/0.45 are valid.public static final AdParamField ParamIndex
1 indicates a replacement for the {param1:default-value} token.public static AdParamField[] values()
for (AdParamField c : AdParamField.values()) System.out.println(c);
public static AdParamField 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()
EntityFieldisFilterable in interface EntityFieldCopyright © 2018. All Rights Reserved.