// Copyright 2017 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.v201702.cm; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for ConversionTrackingError.Reason. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * <simpleType name="ConversionTrackingError.Reason"> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <enumeration value="ALREADY_CREATED_CUSTOM_CONVERSION_TYPE"/> * <enumeration value="ANALYTICS_NOT_ALLOWED"/> * <enumeration value="CANNOT_ADD_CONVERSION_TYPE_SUBCLASS"/> * <enumeration value="CANNOT_CHANGE_APP_CONVERSION_TYPE"/> * <enumeration value="CANNOT_CHANGE_APP_PLATFORM"/> * <enumeration value="CANNNOT_CHANGE_CONVERSION_SUBCLASS"/> * <enumeration value="CANNOT_SET_HIDDEN_STATUS"/> * <enumeration value="CATEGORY_IS_UNEDITABLE"/> * <enumeration value="ATTRIBUTION_MODEL_IS_UNEDITABLE"/> * <enumeration value="DATA_DRIVEN_MODEL_WAS_NEVER_GENERATED"/> * <enumeration value="DATA_DRIVEN_MODEL_IS_EXPIRED"/> * <enumeration value="DATA_DRIVEN_MODEL_IS_STALE"/> * <enumeration value="DATA_DRIVEN_MODEL_IS_UNKNOWN"/> * <enumeration value="CONVERSION_TYPE_NOT_FOUND"/> * <enumeration value="CTC_LOOKBACK_WINDOW_IS_UNEDITABLE"/> * <enumeration value="DOMAIN_EXCEPTION"/> * <enumeration value="INCONSISTENT_COUNTING_TYPE"/> * <enumeration value="DUPLICATE_APP_ID"/> * <enumeration value="DUPLICATE_NAME"/> * <enumeration value="EMAIL_FAILED"/> * <enumeration value="EXCEEDED_CONVERSION_TYPE_LIMIT"/> * <enumeration value="ID_IS_NULL"/> * <enumeration value="INVALID_APP_ID"/> * <enumeration value="CANNOT_SET_APP_ID"/> * <enumeration value="INVALID_COLOR"/> * <enumeration value="INVALID_DATE_RANGE"/> * <enumeration value="INVALID_EMAIL_ADDRESS"/> * <enumeration value="INVALID_ORIGINAL_CONVERSION_TYPE_ID"/> * <enumeration value="MUST_SET_APP_PLATFORM_AND_APP_CONVERSION_TYPE_TOGETHER"/> * <enumeration value="NAME_ALREADY_EXISTS"/> * <enumeration value="NO_RECIPIENTS"/> * <enumeration value="NO_SNIPPET"/> * <enumeration value="TOO_MANY_WEBPAGES"/> * <enumeration value="UNKNOWN_SORTING_TYPE"/> * <enumeration value="UNSUPPORTED_APP_CONVERSION_TYPE"/> * </restriction> * </simpleType> * </pre> * */ @XmlType(name = "ConversionTrackingError.Reason") @XmlEnum public enum ConversionTrackingErrorReason { /** * * An attempt to make a forked conversion type from a global conversion type was made, * but there already exists a conversion type forked from this global conversion type. * * */ ALREADY_CREATED_CUSTOM_CONVERSION_TYPE, /** * * This user is not whitelisted for the import of Analytics goals and profiles, and yet * requested to mutate an Analytics conversion type. * * */ ANALYTICS_NOT_ALLOWED, /** * * Cannot execute an ADD operation on this subclass of ConversionType (currently, only * instances of AdWordsConversionType may be added). * * */ CANNOT_ADD_CONVERSION_TYPE_SUBCLASS, /** * * AppConversions cannot change app conversion types once it has been set. * * */ CANNOT_CHANGE_APP_CONVERSION_TYPE, /** * * AppConversions cannot change app platforms once it has been set. * * */ CANNOT_CHANGE_APP_PLATFORM, /** * * Cannot change between subclasses of ConversionType * * */ CANNNOT_CHANGE_CONVERSION_SUBCLASS, /** * * If a conversion type's status is initially non-hidden, it may not be changed to Hidden; * nor may hidden conversion types be created through the API. Hidden conversion types are * typically created by backend processes. * * */ CANNOT_SET_HIDDEN_STATUS, /** * * The user attempted to change the Category when it was uneditable. * * */ CATEGORY_IS_UNEDITABLE, /** * * The attribution model of the conversion type is uneditable. * * */ ATTRIBUTION_MODEL_IS_UNEDITABLE, /** * * The attribution model cannot be set to DATA_DRIVEN because a data-driven model has never been * generated. * * */ DATA_DRIVEN_MODEL_WAS_NEVER_GENERATED, /** * * The attribution model cannot be set to DATA_DRIVEN because the data-driven model is expired. * * */ DATA_DRIVEN_MODEL_IS_EXPIRED, /** * * The attribution model cannot be set to DATA_DRIVEN because the data-driven model is stale. * * */ DATA_DRIVEN_MODEL_IS_STALE, /** * * The attribution model cannot be set to DATA_DRIVEN because the data-driven model is * unavailable or the conversion type was newly added. * * */ DATA_DRIVEN_MODEL_IS_UNKNOWN, /** * * An attempt to access a conversion type failed because no conversion type with this ID * exists for this account. * * */ CONVERSION_TYPE_NOT_FOUND, /** * * The user attempted to change the click-through conversion (ctc) lookback window when it is * not editable. * * */ CTC_LOOKBACK_WINDOW_IS_UNEDITABLE, /** * * An exception occurred in the domain layer during an attempt to process a * ConversionTypeOperation. * * */ DOMAIN_EXCEPTION, /** * * An attempt was made to set a counting type inconsistent with other properties. * Currently, AppConversion with appConversionType = DOWNLOAD and appPlatform = ANDROID_MARKET * cannot have a countingType of MANY_PER_CLICK * * */ INCONSISTENT_COUNTING_TYPE, /** * * The user specified two identical app ids when attempting to create or modify a * conversion type. * * */ DUPLICATE_APP_ID, /** * * The user specified two identical names when attempting to create or rename multiple * conversion types. * * */ DUPLICATE_NAME, /** * * An error occurred while the server was sending the email. * * */ EMAIL_FAILED, /** * * The maximum number of active conversion types for this account has been exceeded. * * */ EXCEEDED_CONVERSION_TYPE_LIMIT, /** * * The user requested to modify an existing conversion type, but did not supply an ID. * * */ ID_IS_NULL, /** * * App ids must adhere to valid Java package naming requirements. * * */ INVALID_APP_ID, /** * * App id can not be set to forked system-defined Android download conversion type. * * */ CANNOT_SET_APP_ID, /** * * The user entered an invalid background color. The background color must be a valid * HTML hex color code, such as "99ccff". * * */ INVALID_COLOR, /** * * The date range specified in the stats selector is invalid. * * */ INVALID_DATE_RANGE, /** * * The email address of the sender or the recipient of a snippet email was invalid. * * */ INVALID_EMAIL_ADDRESS, /** * * When providing a global conversion type id to fork from in an ADD operation, * the global conversion type id is not acceptable (i.e.: we don't allow this global conversion * type to be forked from) * * */ INVALID_ORIGINAL_CONVERSION_TYPE_ID, /** * * The AppPlatform and AppConversionType must be set at the same time. It is an error to set * just one or the other. * * */ MUST_SET_APP_PLATFORM_AND_APP_CONVERSION_TYPE_TOGETHER, /** * * The user attempted to create a new conversion type, or to rename an existing conversion type, * whose new name matches one of the other conversion types for his account. * * */ NAME_ALREADY_EXISTS, /** * * The user asked to send a notification email, but specified no recipients. * * */ NO_RECIPIENTS, /** * * The requested conversion type has no snippet, and thus its snippet email cannot be sent. * * */ NO_SNIPPET, /** * * The requested date range contains too many webpages to be processed. * * */ TOO_MANY_WEBPAGES, /** * * An unknown sorting type was specified in the selector. * * */ UNKNOWN_SORTING_TYPE, /** * * AppConversionType cannot be set to DOWNLOAD when AppPlatform is ITUNES. * * */ UNSUPPORTED_APP_CONVERSION_TYPE; public String value() { return name(); } public static ConversionTrackingErrorReason fromValue(String v) { return valueOf(v); } }