public enum RateType extends Enum<RateType>
Java class for RateType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="RateType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="CPM"/>
<enumeration value="CPC"/>
<enumeration value="CPD"/>
<enumeration value="CPU"/>
<enumeration value="FLAT_FEE"/>
<enumeration value="VCPM"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CPC
The rate applies to cost per click (CPC) revenue.
|
CPD
The rate applies to cost per day (CPD) revenue.
|
CPM
The rate applies to cost per mille (CPM) revenue.
|
CPU
The rate applies to cost per unit (CPU) revenue.
|
FLAT_FEE
The rate applies to flat fee revenue.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API
version.
|
VCPM
The rate applies to Active View viewable cost per mille (vCPM) revenue.
|
| Modifier and Type | Method and Description |
|---|---|
static RateType |
fromValue(String v) |
String |
value() |
static RateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RateType CPM
public static final RateType CPC
public static final RateType CPD
public static final RateType CPU
public static final RateType FLAT_FEE
public static final RateType VCPM
public static final RateType UNKNOWN
public static RateType[] values()
for (RateType c : RateType.values()) System.out.println(c);
public static RateType 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.