
com.google.api.ads.dfp.jaxws.v201511.AdUnitCodeErrorReason 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 AdUnitCodeError.Reason.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="AdUnitCodeError.Reason">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="INVALID_CHARACTERS"/>
* <enumeration value="INVALID_CHARACTERS_WHEN_UTF_CHARACTERS_ARE_ALLOWED"/>
* <enumeration value="LEADING_FORWARD_SLASH"/>
* <enumeration value="UNKNOWN"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "AdUnitCodeError.Reason")
@XmlEnum
public enum AdUnitCodeErrorReason {
/**
*
* For {@link AdUnit#adUnitCode}, only alpha-numeric characters,
* underscores, hyphens, periods, asterisks, double quotes, back slashes,
* forward slashes, exclamations, left angle brackets, colons and
* parentheses are allowed.
*
*
*/
INVALID_CHARACTERS,
/**
*
* For {@link AdUnit#adUnitCode}, only letters, numbers,
* underscores, hyphens, periods, asterisks, double quotes, back slashes,
* forward slashes, exclamations, left angle brackets, colons and
* parentheses are allowed.
*
*
*/
INVALID_CHARACTERS_WHEN_UTF_CHARACTERS_ARE_ALLOWED,
/**
*
* For {@link AdUnit#adUnitCode}, forward slashes are not allowed as
* the first character.
*
*
*/
LEADING_FORWARD_SLASH,
/**
*
* The value returned if the actual value is not exposed by the requested API version.
*
*
*/
UNKNOWN;
public String value() {
return name();
}
public static AdUnitCodeErrorReason fromValue(String v) {
return valueOf(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy