public enum ReportQueryAdUnitView extends Enum<ReportQueryAdUnitView>
Java class for ReportQuery.AdUnitView.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ReportQuery.AdUnitView">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="TOP_LEVEL"/>
<enumeration value="FLAT"/>
<enumeration value="HIERARCHICAL"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
FLAT
All the ad units.
|
HIERARCHICAL
Use the ad unit hierarchy.
|
TOP_LEVEL
Only the top level ad units.
|
| Modifier and Type | Method and Description |
|---|---|
static ReportQueryAdUnitView |
fromValue(String v) |
String |
value() |
static ReportQueryAdUnitView |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReportQueryAdUnitView[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReportQueryAdUnitView TOP_LEVEL
public static final ReportQueryAdUnitView FLAT
public static final ReportQueryAdUnitView HIERARCHICAL
Dimension.AD_UNIT_NAME is replaced with columns
"Ad unit 1", "Ad unit 2", ... "Ad unit n".
If level is not applicable to a row, "N/A" is returned as the value.
Dimension.AD_UNIT_ID is replaced with columns
"Ad unit ID 1", "Ad unit ID 2", ... "Ad unit ID n".
If level is not applicable to a row, "N/A" is returned as the value.
Metrics do not include events for the descendants.
public static ReportQueryAdUnitView[] values()
for (ReportQueryAdUnitView c : ReportQueryAdUnitView.values()) System.out.println(c);
public static ReportQueryAdUnitView 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 ReportQueryAdUnitView fromValue(String v)
Copyright © 2018. All Rights Reserved.