All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.ads.dfp.jaxws.v201605.BaseRateErrorReason Maven / Gradle / Ivy

There is a newer version: 5.8.0
Show newest version

package com.google.api.ads.dfp.jaxws.v201605;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for BaseRateError.Reason. * *

The following schema fragment specifies the expected content contained within this class. *

*

 * <simpleType name="BaseRateError.Reason">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="CANNOT_QUERY_BOTH_PRODUCT_TEMPLATE_ID_AND_PRODUCT_ID"/>
 *     <enumeration value="INVALID_CURRENCY_CODE"/>
 *     <enumeration value="PRODUCT_TEMPLATE_ARCHIVED"/>
 *     <enumeration value="UNSUPPORTED_OPERATION"/>
 *     <enumeration value="PRODUCT_TEMPLATE_BASE_RATE_NOT_FOUND"/>
 *     <enumeration value="PRODUCT_BASE_RATE_EXISTS"/>
 *     <enumeration value="UNKNOWN"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "BaseRateError.Reason") @XmlEnum public enum BaseRateErrorReason { /** * * The PQL statement contains both {@code productTemplateId} and * {@code productId} fields. * * */ CANNOT_QUERY_BOTH_PRODUCT_TEMPLATE_ID_AND_PRODUCT_ID, /** * * The currency code is invalid. * * */ INVALID_CURRENCY_CODE, /** * * Cannot create or activate a base rate if the product template is * archived. * * */ PRODUCT_TEMPLATE_ARCHIVED, /** * * Indicates that the requested operation is not supported. * * */ UNSUPPORTED_OPERATION, /** * * Cannot create a base rate to a product if its product template does not * have a base rate on this rate card. * * */ PRODUCT_TEMPLATE_BASE_RATE_NOT_FOUND, /** * * Cannot delete a base rate on a product template if its products still * have base rates on this rate card. * * */ PRODUCT_BASE_RATE_EXISTS, /** * * The value returned if the actual value is not exposed by the requested * API version. * * */ UNKNOWN; public String value() { return name(); } public static BaseRateErrorReason fromValue(String v) { return valueOf(v); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy