public enum LineItemType extends Enum<LineItemType>
Java class for LineItemType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="LineItemType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="SPONSORSHIP"/>
<enumeration value="STANDARD"/>
<enumeration value="NETWORK"/>
<enumeration value="BULK"/>
<enumeration value="PRICE_PRIORITY"/>
<enumeration value="HOUSE"/>
<enumeration value="LEGACY_DFP"/>
<enumeration value="CLICK_TRACKING"/>
<enumeration value="ADSENSE"/>
<enumeration value="AD_EXCHANGE"/>
<enumeration value="BUMPER"/>
<enumeration value="ADMOB"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
AD_EXCHANGE
A
LineItem using dynamic allocation backed by the Doubleclick Ad Exchange. |
ADMOB
A
LineItem using dynamic allocation backed by AdMob. |
ADSENSE
A
LineItem using dynamic allocation backed by AdSense. |
BULK
|
BUMPER
Represents a non-monetizable video
LineItem that targets one or
more bumper positions, which are short house video messages used by
publishers to separate content from ad breaks. |
CLICK_TRACKING
The type of
LineItem used for ads that track ads being served
externally of DFP, for example an email newsletter. |
HOUSE
The type of
LineItem typically used for ads that promote products
and services chosen by the publisher. |
LEGACY_DFP
Represents a legacy
LineItem that has been migrated from the DFP
system. |
NETWORK
The type of
LineItem most commonly used to fill a site's unsold
inventory if not contractually obligated to deliver a requested number of
impressions. |
PRICE_PRIORITY
The type of
LineItem most commonly used to fill a site's unsold
inventory if not contractually obligated to deliver a requested number of
impressions. |
SPONSORSHIP
The type of
LineItem for which a percentage of all the impressions
that are being sold are reserved. |
STANDARD
The type of
LineItem for which a fixed quantity of impressions or
clicks are reserved. |
UNKNOWN
The value returned if the actual value is not exposed by the requested API
version.
|
| Modifier and Type | Method and Description |
|---|---|
static LineItemType |
fromValue(String v) |
String |
value() |
static LineItemType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LineItemType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineItemType SPONSORSHIP
LineItem for which a percentage of all the impressions
that are being sold are reserved.public static final LineItemType STANDARD
LineItem for which a fixed quantity of impressions or
clicks are reserved.public static final LineItemType NETWORK
LineItem most commonly used to fill a site's unsold
inventory if not contractually obligated to deliver a requested number of
impressions. Users specify the daily percentage of unsold impressions or
clicks when creating this line item.public static final LineItemType BULK
public static final LineItemType PRICE_PRIORITY
LineItem most commonly used to fill a site's unsold
inventory if not contractually obligated to deliver a requested number of
impressions. Users specify the fixed quantity of unsold impressions or
clicks when creating this line item.public static final LineItemType HOUSE
LineItem typically used for ads that promote products
and services chosen by the publisher. These usually do not generate revenue
and have the lowest delivery priority.public static final LineItemType LEGACY_DFP
LineItem that has been migrated from the DFP
system. Such line items cannot be created any more. Also, these line items
cannot be activated or resumed.public static final LineItemType CLICK_TRACKING
LineItem used for ads that track ads being served
externally of DFP, for example an email newsletter. The click through would
reference this ad, and the click would be tracked via this ad.public static final LineItemType ADSENSE
LineItem using dynamic allocation backed by AdSense.public static final LineItemType AD_EXCHANGE
LineItem using dynamic allocation backed by the Doubleclick Ad Exchange.public static final LineItemType BUMPER
LineItem that targets one or
more bumper positions, which are short house video messages used by
publishers to separate content from ad breaks.public static final LineItemType ADMOB
LineItem using dynamic allocation backed by AdMob.public static final LineItemType UNKNOWN
public static LineItemType[] values()
for (LineItemType c : LineItemType.values()) System.out.println(c);
public static LineItemType 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 LineItemType fromValue(String v)
Copyright © 2018. All Rights Reserved.