
com.google.api.ads.dfp.jaxws.v201511.CreativeErrorReason 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.v201511;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for CreativeError.Reason.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="CreativeError.Reason">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="FLASH_AND_FALLBACK_URL_ARE_SAME"/>
* <enumeration value="INVALID_INTERNAL_REDIRECT_URL"/>
* <enumeration value="DESTINATION_URL_REQUIRED"/>
* <enumeration value="CANNOT_CREATE_OR_UPDATE_LEGACY_DFP_CREATIVE"/>
* <enumeration value="CANNOT_CREATE_OR_UPDATE_LEGACY_DFP_MOBILE_CREATIVE"/>
* <enumeration value="MISSING_FEATURE"/>
* <enumeration value="INVALID_COMPANY_TYPE"/>
* <enumeration value="INVALID_ADSENSE_CREATIVE_SIZE"/>
* <enumeration value="INVALID_AD_EXCHANGE_CREATIVE_SIZE"/>
* <enumeration value="DUPLICATE_ASSET_IN_CREATIVE"/>
* <enumeration value="CREATIVE_ASSET_CANNOT_HAVE_ID_AND_BYTE_ARRAY"/>
* <enumeration value="CANNOT_CREATE_OR_UPDATE_UNSUPPORTED_CREATIVE"/>
* <enumeration value="CANNOT_CREATE_PROGRAMMATIC_CREATIVES"/>
* <enumeration value="UNKNOWN"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "CreativeError.Reason")
@XmlEnum
public enum CreativeErrorReason {
/**
*
* {@link FlashRedirectCreative#flashUrl} and
* {@link FlashRedirectCreative#fallbackUrl} are the same. The fallback URL
* is used when the flash URL does not work and must be different from it.
*
*
*/
FLASH_AND_FALLBACK_URL_ARE_SAME,
/**
*
* The internal redirect URL was invalid. The URL must have the following
* syntax http://ad.doubleclick.net/ad/sitename/;sz=size.
*
*
*/
INVALID_INTERNAL_REDIRECT_URL,
/**
*
* {@link HasDestinationUrlCreative#destinationUrl} is required.
*
*
*/
DESTINATION_URL_REQUIRED,
/**
*
* Cannot create or update legacy DART For Publishers creative.
*
*
*/
CANNOT_CREATE_OR_UPDATE_LEGACY_DFP_CREATIVE,
/**
*
* Cannot create or update legacy mobile creative.
*
*
*/
CANNOT_CREATE_OR_UPDATE_LEGACY_DFP_MOBILE_CREATIVE,
/**
*
* The user is missing a necessary feature.
*
*
*/
MISSING_FEATURE,
/**
*
* Company type should be one of Advertisers, House Advertisers and
* Ad Networks.
*
*
*/
INVALID_COMPANY_TYPE,
/**
*
* Invalid size for AdSense dynamic allocation creative.
* Only valid AFC sizes are allowed.
*
*
*/
INVALID_ADSENSE_CREATIVE_SIZE,
/**
*
* Invalid size for Ad Exchange dynamic allocation creative.
* Only valid Ad Exchange sizes are allowed.
*
*
*/
INVALID_AD_EXCHANGE_CREATIVE_SIZE,
/**
*
* Assets associated with the same creative must be unique.
*
*
*/
DUPLICATE_ASSET_IN_CREATIVE,
/**
*
* A creative asset cannot contain an asset ID and a byte array.
*
*
*/
CREATIVE_ASSET_CANNOT_HAVE_ID_AND_BYTE_ARRAY,
/**
*
* Cannot create or update unsupported creative.
*
*
*/
CANNOT_CREATE_OR_UPDATE_UNSUPPORTED_CREATIVE,
/**
*
* Cannot create programmatic creatives.
*
*
*/
CANNOT_CREATE_PROGRAMMATIC_CREATIVES,
/**
*
* The value returned if the actual value is not exposed by the requested API version.
*
*
*/
UNKNOWN;
public String value() {
return name();
}
public static CreativeErrorReason fromValue(String v) {
return valueOf(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy