// 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 ExperimentError.Reason. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * <simpleType name="ExperimentError.Reason"> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <enumeration value="EXPERIMENT_DELTA_STATUS_NOT_SPECIFIED"/> * <enumeration value="EXPERIMENT_DELTA_STATUS_NOT_ALLOWED"/> * <enumeration value="EXPERIMENT_STATUS_NOT_ALLOWED"/> * <enumeration value="EXPERIMENT_NOT_ALLOWED_FOR_BIDDING_STRATEGY"/> * <enumeration value="EXPERIMENT_NOT_ALLOWED_FOR_CRITERION_TYPE"/> * <enumeration value="EXPERIMENT_NOT_ACTIVE"/> * <enumeration value="INVALID_EXPERIMENT_ID"/> * <enumeration value="EXPERIMENT_ID_NOT_SPECIFIED_WITH_SEGMENTATION_CRITERIA"/> * <enumeration value="TOO_MANY_CHANGES_TO_EXPERIMENT"/> * <enumeration value="EXPERIMENT_ERROR"/> * </restriction> * </simpleType> * </pre> * */ @XmlType(name = "ExperimentError.Reason") @XmlEnum public enum ExperimentErrorReason { /** * * Experiment delta status not specified. * * */ EXPERIMENT_DELTA_STATUS_NOT_SPECIFIED, /** * * Experiment delta status not allowed. * * */ EXPERIMENT_DELTA_STATUS_NOT_ALLOWED, /** * * Cannot create experiment data in REMOVED status * * */ EXPERIMENT_STATUS_NOT_ALLOWED, /** * * Experiments are not allowed for this bidding strategy * * */ EXPERIMENT_NOT_ALLOWED_FOR_BIDDING_STRATEGY, /** * * Experiments are not allowed for this criterion type * * */ EXPERIMENT_NOT_ALLOWED_FOR_CRITERION_TYPE, /** * * Cannot make changes for inactive experiments * * */ EXPERIMENT_NOT_ACTIVE, /** * * Invalid experiment id * * */ INVALID_EXPERIMENT_ID, /** * * Experiment id must be specified for this criterion * * */ EXPERIMENT_ID_NOT_SPECIFIED_WITH_SEGMENTATION_CRITERIA, /** * * This experiment has too many changes * * */ TOO_MANY_CHANGES_TO_EXPERIMENT, EXPERIMENT_ERROR; public String value() { return name(); } public static ExperimentErrorReason fromValue(String v) { return valueOf(v); } }