// 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 AdGroupFeedError.Reason.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simpleType name="AdGroupFeedError.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_ADGROUP_FEED"/>
* <enumeration value="CANNOT_OPERATE_ON_REMOVED_ADGROUP_FEED"/>
* <enumeration value="INVALID_PLACEHOLDER_TYPES"/>
* <enumeration value="MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE"/>
* <enumeration value="NO_EXISTING_LOCATION_CUSTOMER_FEED"/>
* <enumeration value="UNKNOWN"/>
* </restriction>
* </simpleType>
* </pre>
*
*/
@XmlType(name = "AdGroupFeedError.Reason")
@XmlEnum
public enum AdGroupFeedErrorReason {
/**
*
* An active feed already exists for this adgroup 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 AdGroupFeed already exists. SET should be used to modify the existing AdGroupFeed.
*
*
*/
CANNOT_ADD_ALREADY_EXISTING_ADGROUP_FEED,
/**
*
* Cannot operate on removed adgroup feed.
*
*
*/
CANNOT_OPERATE_ON_REMOVED_ADGROUP_FEED,
/**
*
* Invalid placeholder type ids.
*
*
*/
INVALID_PLACEHOLDER_TYPES,
/**
*
* Feed mapping for this placeholder type does not exist.
*
*
*/
MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE,
/**
*
* Location AdGroupFeeds cannot be created unless there is a location CustomerFeed
* for the specified feed.
*
*
*/
NO_EXISTING_LOCATION_CUSTOMER_FEED,
UNKNOWN;
public String value() {
return name();
}
public static AdGroupFeedErrorReason fromValue(String v) {
return valueOf(v);
}
}