
com.google.api.ads.dfp.jaxws.v201505.ProgrammaticErrorReason Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dfp-appengine Show documentation
Show all versions of dfp-appengine Show documentation
DFP specific AppEngine components.
package com.google.api.ads.dfp.jaxws.v201505;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for ProgrammaticError.Reason.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="ProgrammaticError.Reason">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="AUDIENCE_EXTENSION_NOT_SUPPORTED"/>
* <enumeration value="AUTO_EXTENSION_DAYS_NOT_SUPPORTED"/>
* <enumeration value="VIDEO_NOT_SUPPORTED"/>
* <enumeration value="ROADBLOCKING_NOT_SUPPORTED"/>
* <enumeration value="INVALID_CREATIVE_ROTATION"/>
* <enumeration value="INVALID_LINE_ITEM_TYPE"/>
* <enumeration value="INVALID_COST_TYPE"/>
* <enumeration value="SIZE_NOT_SUPPORTED"/>
* <enumeration value="ZERO_COST_PER_UNIT_NOT_SUPPORTED"/>
* <enumeration value="CANNOT_UPDATE_FIELD_FOR_APPROVED_LINE_ITEMS"/>
* <enumeration value="CANNOT_CREATE_LINE_ITEM_FOR_APPROVED_ORDER"/>
* <enumeration value="CANNOT_UPDATE_BACKFILL_WEB_PROPERTY_FOR_APPROVED_LINE_ITEMS"/>
* <enumeration value="UNKNOWN"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "ProgrammaticError.Reason")
@XmlEnum
public enum ProgrammaticErrorReason {
/**
*
* Audience extension is not supported by programmatic line items.
*
*
*/
AUDIENCE_EXTENSION_NOT_SUPPORTED,
/**
*
* Auto extension days is not supported by programmatic line items.
*
*
*/
AUTO_EXTENSION_DAYS_NOT_SUPPORTED,
/**
*
* Video is currently not supported.
*
*
*/
VIDEO_NOT_SUPPORTED,
/**
*
* Roadblocking is not supported by programmatic line items.
*
*
*/
ROADBLOCKING_NOT_SUPPORTED,
/**
*
* Programmatic line items do not support {@link CreativeRotationType#SEQUENTIAL}.
*
*
*/
INVALID_CREATIVE_ROTATION,
/**
*
* Programmatic line items only support {@link LineItemType#STANDARD} and
* {@link LineItemType#SPONSORSHIP} if the relevant feature is on.
*
*
*/
INVALID_LINE_ITEM_TYPE,
/**
*
* Programmatic line items only support {@link CostType#CPM}.
*
*
*/
INVALID_COST_TYPE,
/**
*
* Programmatic line items only support a creative size that is supported by AdX.
* The list of supported sizes is maintained based on the list published in the help docs:
*
* https://support.google.com/adxseller/answer/1100453
*
*
*/
SIZE_NOT_SUPPORTED,
/**
*
* Zero cost per unit is not supported by programmatic line items.
*
*
*/
ZERO_COST_PER_UNIT_NOT_SUPPORTED,
/**
*
* Some fields cannot be updated on approved line items.
*
*
*/
CANNOT_UPDATE_FIELD_FOR_APPROVED_LINE_ITEMS,
/**
*
* Creating a new line item in an approved order is not allowed.
*
*
*/
CANNOT_CREATE_LINE_ITEM_FOR_APPROVED_ORDER,
/**
*
* Cannot change backfill web property for a programmatic line item whose order has been
* approved.
*
*
*/
CANNOT_UPDATE_BACKFILL_WEB_PROPERTY_FOR_APPROVED_LINE_ITEMS,
/**
*
* The value returned if the actual value is not exposed by the requested API version.
*
*
*/
UNKNOWN;
public String value() {
return name();
}
public static ProgrammaticErrorReason fromValue(String v) {
return valueOf(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy