public enum CampaignType extends Enum<CampaignType>
Enum Constant and Description |
---|
AUDIENCE |
DYNAMIC_SEARCH_ADS |
HOTEL |
PERFORMANCE_MAX |
SEARCH |
SHOPPING |
Modifier and Type | Method and Description |
---|---|
static CampaignType |
fromValue(String v) |
String |
value() |
static CampaignType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CampaignType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CampaignType SEARCH
public static final CampaignType SHOPPING
public static final CampaignType DYNAMIC_SEARCH_ADS
public static final CampaignType AUDIENCE
public static final CampaignType HOTEL
public static final CampaignType PERFORMANCE_MAX
public static CampaignType[] values()
for (CampaignType c : CampaignType.values()) System.out.println(c);
public static CampaignType 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 CampaignType fromValue(String v)
Copyright © 2024. All rights reserved.