public enum CompanyType extends Enum<CompanyType>
Java class for Company.Type.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="Company.Type">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="HOUSE_ADVERTISER"/>
<enumeration value="HOUSE_AGENCY"/>
<enumeration value="ADVERTISER"/>
<enumeration value="AGENCY"/>
<enumeration value="AD_NETWORK"/>
<enumeration value="PARTNER"/>
<enumeration value="VIEWABILITY_PROVIDER"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
AD_NETWORK
A company representing multiple advertisers and agencies.
|
ADVERTISER
A business entity that buys publisher inventory to run advertising
campaigns.
|
AGENCY
A business entity that offers services, such as advertising creation,
placement, and management, to advertisers.
|
HOUSE_ADVERTISER
The publisher's own advertiser.
|
HOUSE_AGENCY
The publisher's own agency.
|
PARTNER
A company representing a partner.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API
version.
|
VIEWABILITY_PROVIDER
A company representing a viewability provider.
|
| Modifier and Type | Method and Description |
|---|---|
static CompanyType |
fromValue(String v) |
String |
value() |
static CompanyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompanyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompanyType HOUSE_ADVERTISER
public static final CompanyType HOUSE_AGENCY
public static final CompanyType ADVERTISER
public static final CompanyType AGENCY
public static final CompanyType AD_NETWORK
public static final CompanyType PARTNER
public static final CompanyType VIEWABILITY_PROVIDER
public static final CompanyType UNKNOWN
public static CompanyType[] values()
for (CompanyType c : CompanyType.values()) System.out.println(c);
public static CompanyType 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 CompanyType fromValue(String v)
Copyright © 2018. All Rights Reserved.