// Copyright 2016 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package com.google.api.ads.adwords.jaxws.v201607.cm; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for CustomerFeedError.Reason. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * <simpleType name="CustomerFeedError.Reason"> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <enumeration value="FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE"/> * <enumeration value="INVALID_ID"/> * <enumeration value="CANNOT_ADD_FOR_DELETED_FEED"/> * <enumeration value="CANNOT_ADD_ALREADY_EXISTING_CUSTOMER_FEED"/> * <enumeration value="CANNOT_MODIFY_REMOVED_CUSTOMER_FEED"/> * <enumeration value="INVALID_PLACEHOLDER_TYPES"/> * <enumeration value="MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE"/> * <enumeration value="PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED"/> * <enumeration value="UNKNOWN"/> * </restriction> * </simpleType> * </pre> * */ @XmlType(name = "CustomerFeedError.Reason") @XmlEnum public enum CustomerFeedErrorReason { /** * * An active feed already exists for this customer and place holder type. * * */ FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE, /** * * The specified id does not exist. * * */ INVALID_ID, /** * * The specified feed is deleted. * * */ CANNOT_ADD_FOR_DELETED_FEED, /** * * The CustomerFeed already exists. SET should be used to modify the existing CustomerFeed. * * */ CANNOT_ADD_ALREADY_EXISTING_CUSTOMER_FEED, /** * * Cannot modify removed customer feed. * * */ CANNOT_MODIFY_REMOVED_CUSTOMER_FEED, /** * * Invalid placeholder types. * * */ INVALID_PLACEHOLDER_TYPES, /** * * Feed mapping for this placeholder type does not exist. * * */ MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE, /** * * Placeholder not allowed at the account level. * * */ PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED, UNKNOWN; public String value() { return name(); } public static CustomerFeedErrorReason fromValue(String v) { return valueOf(v); } }