public enum ProposalLineItemProgrammaticErrorReason extends Enum<ProposalLineItemProgrammaticErrorReason>
Java class for ProposalLineItemProgrammaticError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ProposalLineItemProgrammaticError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="INVALID_PRODUCT_TYPE"/>
<enumeration value="VIDEO_NOT_SUPPORTED"/>
<enumeration value="ROADBLOCKING_NOT_SUPPORTED"/>
<enumeration value="INVALID_CREATIVE_ROTATION"/>
<enumeration value="INVALID_PROPOSAL_LINE_ITEM_TYPE"/>
<enumeration value="INVALID_RATE_TYPE"/>
<enumeration value="ZERO_COST_PER_UNIT_NOT_SUPPORTED"/>
<enumeration value="INVALID_PROGRAMMATIC_CREATIVE_SOURCE"/>
<enumeration value="CANNOT_UPDATE_PROGRAMMATIC_CREATIVE_SOURCE"/>
<enumeration value="INVALID_NUM_UNITS"/>
<enumeration value="MIX_GUARANTEED_AND_PREFERRED_DEAL_NOT_ALLOWED"/>
<enumeration value="MIX_NATIVE_AND_BANNER_SIZE_NOT_ALLOWED"/>
<enumeration value="CANNOT_UPDATE_SIZES"/>
<enumeration value="INVALID_SPONSORSHIP_CONTRACTED_UNITS_BOUGHT"/>
<enumeration value="INVALID_PROGRAMMATIC_PRICING_MODEL"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CANNOT_UPDATE_PROGRAMMATIC_CREATIVE_SOURCE
Cannot update programmatic creative source if the
proposal line item
has been sent to the buyer. |
CANNOT_UPDATE_SIZES
Cannot update sizes when a programmatic proposal line item with publisher creative source is
sent to a buyer.
|
INVALID_CREATIVE_ROTATION
Programmatic
proposal line items do not support
CreativeRotationType.SEQUENTIAL. |
INVALID_NUM_UNITS
The
Goal.units value is invalid. |
INVALID_PRODUCT_TYPE
Programmatic
proposal line items only support
ProductType.DFP. |
INVALID_PROGRAMMATIC_CREATIVE_SOURCE
Only programmatic
proposal line items support
ProgrammaticCreativeSource. |
INVALID_PROGRAMMATIC_PRICING_MODEL
Only
PricingModel.NET is supported for programmatic
proposal line items. |
INVALID_PROPOSAL_LINE_ITEM_TYPE
Programmatic
proposal line items only support
LineItemType.STANDARD. |
INVALID_RATE_TYPE
Programmatic
proposal line items only support RateType.CPM. |
INVALID_SPONSORSHIP_CONTRACTED_UNITS_BOUGHT
The {ProposalLineItem#contractedUnitsBought} cannot be
null or zero for programmatic
RateType.CPD proposal line items. |
MIX_GUARANTEED_AND_PREFERRED_DEAL_NOT_ALLOWED
Cannot mix guaranteed and Preferred Deal proposal line items in a programmatic proposal.
|
MIX_NATIVE_AND_BANNER_SIZE_NOT_ALLOWED
Cannot mix native and banner size in a programmatic proposal line item.
|
ROADBLOCKING_NOT_SUPPORTED
Programmatic
proposal line items do not support
RoadblockingType.CREATIVE_SET. |
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
VIDEO_NOT_SUPPORTED
EnvironmentType.VIDEO_PLAYER is currently not supported. |
ZERO_COST_PER_UNIT_NOT_SUPPORTED
Programmatic
proposal line items do not support zero for
ProposalLineItem.netRate. |
| Modifier and Type | Method and Description |
|---|---|
static ProposalLineItemProgrammaticErrorReason |
fromValue(String v) |
String |
value() |
static ProposalLineItemProgrammaticErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProposalLineItemProgrammaticErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProposalLineItemProgrammaticErrorReason INVALID_PRODUCT_TYPE
proposal line items only support
ProductType.DFP.public static final ProposalLineItemProgrammaticErrorReason VIDEO_NOT_SUPPORTED
EnvironmentType.VIDEO_PLAYER is currently not supported.public static final ProposalLineItemProgrammaticErrorReason ROADBLOCKING_NOT_SUPPORTED
proposal line items do not support
RoadblockingType.CREATIVE_SET.public static final ProposalLineItemProgrammaticErrorReason INVALID_CREATIVE_ROTATION
proposal line items do not support
CreativeRotationType.SEQUENTIAL.public static final ProposalLineItemProgrammaticErrorReason INVALID_PROPOSAL_LINE_ITEM_TYPE
proposal line items only support
LineItemType.STANDARD.public static final ProposalLineItemProgrammaticErrorReason INVALID_RATE_TYPE
proposal line items only support RateType.CPM.public static final ProposalLineItemProgrammaticErrorReason ZERO_COST_PER_UNIT_NOT_SUPPORTED
proposal line items do not support zero for
ProposalLineItem.netRate.public static final ProposalLineItemProgrammaticErrorReason INVALID_PROGRAMMATIC_CREATIVE_SOURCE
proposal line items support
ProgrammaticCreativeSource.public static final ProposalLineItemProgrammaticErrorReason CANNOT_UPDATE_PROGRAMMATIC_CREATIVE_SOURCE
proposal line item
has been sent to the buyer.public static final ProposalLineItemProgrammaticErrorReason INVALID_NUM_UNITS
public static final ProposalLineItemProgrammaticErrorReason MIX_GUARANTEED_AND_PREFERRED_DEAL_NOT_ALLOWED
public static final ProposalLineItemProgrammaticErrorReason MIX_NATIVE_AND_BANNER_SIZE_NOT_ALLOWED
public static final ProposalLineItemProgrammaticErrorReason CANNOT_UPDATE_SIZES
public static final ProposalLineItemProgrammaticErrorReason INVALID_SPONSORSHIP_CONTRACTED_UNITS_BOUGHT
null or zero for programmatic
RateType.CPD proposal line items.public static final ProposalLineItemProgrammaticErrorReason INVALID_PROGRAMMATIC_PRICING_MODEL
PricingModel.NET is supported for programmatic
proposal line items.public static final ProposalLineItemProgrammaticErrorReason UNKNOWN
public static ProposalLineItemProgrammaticErrorReason[] values()
for (ProposalLineItemProgrammaticErrorReason c : ProposalLineItemProgrammaticErrorReason.values()) System.out.println(c);
public static ProposalLineItemProgrammaticErrorReason 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 ProposalLineItemProgrammaticErrorReason fromValue(String v)
Copyright © 2018. All Rights Reserved.