public enum CustomerNegativeCriterionField extends Enum<CustomerNegativeCriterionField> implements EntityField
Enum
to facilitate the selection of fields for CustomerNegativeCriterion
.Enum Constant and Description |
---|
AppId
A string that uniquely identifies a mobile application to AdWords API.
|
ChannelId
The YouTube uploader channel id or the channel code of a YouTube content channel.
|
ChannelName
The public name for a YouTube user channel.
|
ContentLabelType
Content label type
|
CriteriaType |
DisplayName
Title of this mobile application.
|
Id
ID of this criterion.
|
MobileAppCategoryId
ID of this mobile app category.
|
PlacementUrl
Url of the placement.
|
VideoId
YouTube video id as it appears on the YouTube watch page.
|
VideoName
Name of the video.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isFilterable()
If the field is filterable.
|
static CustomerNegativeCriterionField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CustomerNegativeCriterionField[] |
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 CustomerNegativeCriterionField 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 CustomerNegativeCriterionField ChannelId
The uploader channel id can be obtained from the YouTube id-based URL.
For example, in https://www.youtube.com/channel/UCEN58iXQg82TXgsDCjWqIkg
the channel id is UCEN58iXQg82TXgsDCjWqIkg
For more information see: https://support.google.com/youtube/answer/6180214
public static final CustomerNegativeCriterionField ChannelName
public static final CustomerNegativeCriterionField ContentLabelType
public static final CustomerNegativeCriterionField CriteriaType
public static final CustomerNegativeCriterionField DisplayName
public static final CustomerNegativeCriterionField Id
public static final CustomerNegativeCriterionField MobileAppCategoryId
public static final CustomerNegativeCriterionField PlacementUrl
For example, "http://www.domain.com".
public static final CustomerNegativeCriterionField VideoId
public static final CustomerNegativeCriterionField VideoName
public static CustomerNegativeCriterionField[] values()
for (CustomerNegativeCriterionField c : CustomerNegativeCriterionField.values()) System.out.println(c);
public static CustomerNegativeCriterionField 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.