public enum TrafficEstimatorField extends Enum<TrafficEstimatorField> implements EntityField
Enum
to facilitate the selection of fields for TrafficEstimator
.Enum Constant and Description |
---|
AppId
A string that uniquely identifies a mobile application to AdWords API.
|
CriteriaType |
DisplayName
Title of this mobile application.
|
Id
ID of this criterion.
|
KeywordMatchType
Match type of this keyword.
|
KeywordText
Text of this keyword (at most 80 characters and ten words).
|
MobileAppCategoryId
ID of this mobile app category.
|
Path
The category to target or exclude.
|
PlacementUrl
Url of the placement.
|
UserInterestId
Id of this user interest.
|
UserInterestName
Name of this user interest.
|
UserInterestParentId
Parent Id of this user interest.
|
UserListId
Id of this user list.
|
UserListMembershipStatus |
UserListName |
VerticalId
Id of this vertical.
|
VerticalParentId
Id of the parent of this vertical.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isFilterable()
If the field is filterable.
|
static TrafficEstimatorField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrafficEstimatorField[] |
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 TrafficEstimatorField AppId
{platform}-{platform_native_id}
", where platform
is "1" for iOS apps and "2" for Android apps, and where platform_native_id
is the mobile application identifier native to the corresponding platform.
For iOS, this native identifier is the 9 digit string that appears at the end of an App Store URL (e.g., "476943146" for "Flood-It! 2" whose App Store link is http://itunes.apple.com/us/app/flood-it!-2/id476943146).
For Android, this native identifier is the application's package name (e.g., "com.labpixies.colordrips" for "Color Drips" given Google Play link https://play.google.com/store/apps/details?id=com.labpixies.colordrips).
A well formed app id for AdWords API would thus be "1-476943146" for iOS and "2-com.labpixies.colordrips" for Android.public static final TrafficEstimatorField CriteriaType
public static final TrafficEstimatorField DisplayName
public static final TrafficEstimatorField Id
public static final TrafficEstimatorField KeywordMatchType
public static final TrafficEstimatorField KeywordText
public static final TrafficEstimatorField MobileAppCategoryId
public static final TrafficEstimatorField Path
{"Pets & Animals", "Pets", "Dogs"}
represents the "Pets & Animals/Pets/Dogs" category.
A complete list of available vertical categories is available here This field is required and must not be empty.public static final TrafficEstimatorField PlacementUrl
For example, "http://www.domain.com".
public static final TrafficEstimatorField UserInterestId
public static final TrafficEstimatorField UserInterestName
public static final TrafficEstimatorField UserInterestParentId
public static final TrafficEstimatorField UserListId
public static final TrafficEstimatorField UserListMembershipStatus
public static final TrafficEstimatorField UserListName
public static final TrafficEstimatorField VerticalId
public static final TrafficEstimatorField VerticalParentId
public static TrafficEstimatorField[] values()
for (TrafficEstimatorField c : TrafficEstimatorField.values()) System.out.println(c);
public static TrafficEstimatorField 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 © 2016. All Rights Reserved.