public enum CostType extends Enum<CostType>
Java class for CostType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="CostType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="CPA"/>
<enumeration value="CPC"/>
<enumeration value="CPD"/>
<enumeration value="CPM"/>
<enumeration value="VCPM"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CPA
Cost per action.
|
CPC
Cost per click.
|
CPD
Cost per day.
|
CPM
Cost per mille (cost per thousand impressions).
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
VCPM
Cost per thousand Active View viewable impressions.
|
| Modifier and Type | Method and Description |
|---|---|
static CostType |
fromValue(String v) |
String |
value() |
static CostType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CostType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CostType CPA
LineItemSummary.lineItemType must be one of:
public static final CostType CPC
LineItemSummary.lineItemType must be one of:
public static final CostType CPD
LineItemSummary.lineItemType must be one of:
public static final CostType CPM
LineItemSummary.lineItemType must be one of:
public static final CostType VCPM
LineItemSummary.lineItemType
must be LineItemType.STANDARD.public static final CostType UNKNOWN
public static CostType[] values()
for (CostType c : CostType.values()) System.out.println(c);
public static CostType 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()
Copyright © 2018. All Rights Reserved.