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

com.google.api.ads.dfp.jaxws.v201602.CompanyCreditStatusErrorReason Maven / Gradle / Ivy

There is a newer version: 5.8.0
Show newest version

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

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


/**
 * 

Java class for CompanyCreditStatusError.Reason. * *

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

*

 * <simpleType name="CompanyCreditStatusError.Reason">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="COMPANY_CREDIT_STATUS_CHANGE_NOT_ALLOWED"/>
 *     <enumeration value="CANNOT_USE_CREDIT_STATUS_SETTING"/>
 *     <enumeration value="CANNOT_USE_ADVANCED_CREDIT_STATUS_SETTING"/>
 *     <enumeration value="UNACCEPTABLE_COMPANY_CREDIT_STATUS_FOR_ORDER"/>
 *     <enumeration value="UNACCEPTABLE_COMPANY_CREDIT_STATUS_FOR_LINE_ITEM"/>
 *     <enumeration value="CANNOT_BLOCK_COMPANY_TOO_MANY_APPROVED_ORDERS"/>
 *     <enumeration value="UNKNOWN"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "CompanyCreditStatusError.Reason") @XmlEnum public enum CompanyCreditStatusErrorReason { /** * * The user's role does not have permission to change * {@link Company#creditStatus} from the default value. The default value is * {@link Company.CreditStatus#ACTIVE} for the Basic credit status setting * and {@link Company.CreditStatus#ON_HOLD} for the Advanced credit status * setting. * * */ COMPANY_CREDIT_STATUS_CHANGE_NOT_ALLOWED, /** * * The network has not been enabled for editing credit status settings for * companies. * * */ CANNOT_USE_CREDIT_STATUS_SETTING, /** * * The network has not been enabled for the Advanced credit status * settings for companies. {@link Company#creditStatus} must be either * {@code ACTIVE} or {@code INACTIVE}. * * */ CANNOT_USE_ADVANCED_CREDIT_STATUS_SETTING, /** * * An order cannot be created or updated because the * {@link Order#advertiserId} or the {@link Order#agencyId} it is associated * with has {@link Company#creditStatus} that is not {@code ACTIVE} or * {@code ON_HOLD}. * * */ UNACCEPTABLE_COMPANY_CREDIT_STATUS_FOR_ORDER, /** * * A line item cannot be created for the order because the * {@link Order#advertiserId} or {Order#agencyId} it is associated with has * {@link Company#creditStatus} that is not {@code ACTIVE} or * {@code ON_HOLD}. * * */ UNACCEPTABLE_COMPANY_CREDIT_STATUS_FOR_LINE_ITEM, /** * * The company cannot be blocked because there are more than 200 approved * orders of the company. Archive some, so that there are less than 200 of * them. * * */ CANNOT_BLOCK_COMPANY_TOO_MANY_APPROVED_ORDERS, /** * * The value returned if the actual value is not exposed by the requested API version. * * */ UNKNOWN; public String value() { return name(); } public static CompanyCreditStatusErrorReason fromValue(String v) { return valueOf(v); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy