public enum FeedItemTargetType extends Enum<FeedItemTargetType>
Java class for FeedItemTargetType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="FeedItemTargetType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="UNKNOWN"/>
<enumeration value="CAMPAIGN"/>
<enumeration value="AD_GROUP"/>
<enumeration value="CRITERION"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
AD_GROUP
FeedItem targets an ad group.
|
CAMPAIGN
FeedItem targets a campaign.
|
CRITERION
FeedItem targets a criterion ID.
|
UNKNOWN
Used for return value only.
|
| Modifier and Type | Method and Description |
|---|---|
static FeedItemTargetType |
fromValue(String v) |
String |
value() |
static FeedItemTargetType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FeedItemTargetType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FeedItemTargetType UNKNOWN
public static final FeedItemTargetType CAMPAIGN
public static final FeedItemTargetType AD_GROUP
public static final FeedItemTargetType CRITERION
public static FeedItemTargetType[] values()
for (FeedItemTargetType c : FeedItemTargetType.values()) System.out.println(c);
public static FeedItemTargetType 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 String value()
public static FeedItemTargetType fromValue(String v)
Copyright © 2023. All rights reserved.