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

com.google.ads.googleads.v17.errors.AdErrorEnum Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/ads/googleads/v17/errors/ad_error.proto

// Protobuf Java Version: 3.25.3
package com.google.ads.googleads.v17.errors;

/**
 * 
 * Container for enum describing possible ad errors.
 * 
* * Protobuf type {@code google.ads.googleads.v17.errors.AdErrorEnum} */ public final class AdErrorEnum extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.ads.googleads.v17.errors.AdErrorEnum) AdErrorEnumOrBuilder { private static final long serialVersionUID = 0L; // Use AdErrorEnum.newBuilder() to construct. private AdErrorEnum(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AdErrorEnum() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AdErrorEnum(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v17.errors.AdErrorProto.internal_static_google_ads_googleads_v17_errors_AdErrorEnum_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v17.errors.AdErrorProto.internal_static_google_ads_googleads_v17_errors_AdErrorEnum_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v17.errors.AdErrorEnum.class, com.google.ads.googleads.v17.errors.AdErrorEnum.Builder.class); } /** *
   * Enum describing possible ad errors.
   * 
* * Protobuf enum {@code google.ads.googleads.v17.errors.AdErrorEnum.AdError} */ public enum AdError implements com.google.protobuf.ProtocolMessageEnum { /** *
     * Enum unspecified.
     * 
* * UNSPECIFIED = 0; */ UNSPECIFIED(0), /** *
     * The received error code is not known in this version.
     * 
* * UNKNOWN = 1; */ UNKNOWN(1), /** *
     * Ad customizers are not supported for ad type.
     * 
* * AD_CUSTOMIZERS_NOT_SUPPORTED_FOR_AD_TYPE = 2; */ AD_CUSTOMIZERS_NOT_SUPPORTED_FOR_AD_TYPE(2), /** *
     * Estimating character sizes the string is too long.
     * 
* * APPROXIMATELY_TOO_LONG = 3; */ APPROXIMATELY_TOO_LONG(3), /** *
     * Estimating character sizes the string is too short.
     * 
* * APPROXIMATELY_TOO_SHORT = 4; */ APPROXIMATELY_TOO_SHORT(4), /** *
     * There is a problem with the snippet.
     * 
* * BAD_SNIPPET = 5; */ BAD_SNIPPET(5), /** *
     * Cannot modify an ad.
     * 
* * CANNOT_MODIFY_AD = 6; */ CANNOT_MODIFY_AD(6), /** *
     * business name and url cannot be set at the same time
     * 
* * CANNOT_SET_BUSINESS_NAME_IF_URL_SET = 7; */ CANNOT_SET_BUSINESS_NAME_IF_URL_SET(7), /** *
     * The specified field is incompatible with this ad's type or settings.
     * 
* * CANNOT_SET_FIELD = 8; */ CANNOT_SET_FIELD(8), /** *
     * Cannot set field when originAdId is set.
     * 
* * CANNOT_SET_FIELD_WITH_ORIGIN_AD_ID_SET = 9; */ CANNOT_SET_FIELD_WITH_ORIGIN_AD_ID_SET(9), /** *
     * Cannot set field when an existing ad id is set for sharing.
     * 
* * CANNOT_SET_FIELD_WITH_AD_ID_SET_FOR_SHARING = 10; */ CANNOT_SET_FIELD_WITH_AD_ID_SET_FOR_SHARING(10), /** *
     * Cannot set allowFlexibleColor false if no color is provided by user.
     * 
* * CANNOT_SET_ALLOW_FLEXIBLE_COLOR_FALSE = 11; */ CANNOT_SET_ALLOW_FLEXIBLE_COLOR_FALSE(11), /** *
     * When user select native, no color control is allowed because we will
     * always respect publisher color for native format serving.
     * 
* * CANNOT_SET_COLOR_CONTROL_WHEN_NATIVE_FORMAT_SETTING = 12; */ CANNOT_SET_COLOR_CONTROL_WHEN_NATIVE_FORMAT_SETTING(12), /** *
     * Cannot specify a url for the ad type
     * 
* * CANNOT_SET_URL = 13; */ CANNOT_SET_URL(13), /** *
     * Cannot specify a tracking or mobile url without also setting final urls
     * 
* * CANNOT_SET_WITHOUT_FINAL_URLS = 14; */ CANNOT_SET_WITHOUT_FINAL_URLS(14), /** *
     * Cannot specify a legacy url and a final url simultaneously
     * 
* * CANNOT_SET_WITH_FINAL_URLS = 15; */ CANNOT_SET_WITH_FINAL_URLS(15), /** *
     * Cannot specify a urls in UrlData and in template fields simultaneously.
     * 
* * CANNOT_SET_WITH_URL_DATA = 17; */ CANNOT_SET_WITH_URL_DATA(17), /** *
     * This operator cannot be used with a subclass of Ad.
     * 
* * CANNOT_USE_AD_SUBCLASS_FOR_OPERATOR = 18; */ CANNOT_USE_AD_SUBCLASS_FOR_OPERATOR(18), /** *
     * Customer is not approved for mobile ads.
     * 
* * CUSTOMER_NOT_APPROVED_MOBILEADS = 19; */ CUSTOMER_NOT_APPROVED_MOBILEADS(19), /** *
     * Customer is not approved for 3PAS richmedia ads.
     * 
* * CUSTOMER_NOT_APPROVED_THIRDPARTY_ADS = 20; */ CUSTOMER_NOT_APPROVED_THIRDPARTY_ADS(20), /** *
     * Customer is not approved for 3PAS redirect richmedia (Ad Exchange) ads.
     * 
* * CUSTOMER_NOT_APPROVED_THIRDPARTY_REDIRECT_ADS = 21; */ CUSTOMER_NOT_APPROVED_THIRDPARTY_REDIRECT_ADS(21), /** *
     * Not an eligible customer
     * 
* * CUSTOMER_NOT_ELIGIBLE = 22; */ CUSTOMER_NOT_ELIGIBLE(22), /** *
     * Customer is not eligible for updating beacon url
     * 
* * CUSTOMER_NOT_ELIGIBLE_FOR_UPDATING_BEACON_URL = 23; */ CUSTOMER_NOT_ELIGIBLE_FOR_UPDATING_BEACON_URL(23), /** *
     * There already exists an ad with the same dimensions in the union.
     * 
* * DIMENSION_ALREADY_IN_UNION = 24; */ DIMENSION_ALREADY_IN_UNION(24), /** *
     * Ad's dimension must be set before setting union dimension.
     * 
* * DIMENSION_MUST_BE_SET = 25; */ DIMENSION_MUST_BE_SET(25), /** *
     * Ad's dimension must be included in the union dimensions.
     * 
* * DIMENSION_NOT_IN_UNION = 26; */ DIMENSION_NOT_IN_UNION(26), /** *
     * Display Url cannot be specified (applies to Ad Exchange Ads)
     * 
* * DISPLAY_URL_CANNOT_BE_SPECIFIED = 27; */ DISPLAY_URL_CANNOT_BE_SPECIFIED(27), /** *
     * Telephone number contains invalid characters or invalid format.
     * Re-enter your number using digits (0-9), dashes (-), and parentheses
     * only.
     * 
* * DOMESTIC_PHONE_NUMBER_FORMAT = 28; */ DOMESTIC_PHONE_NUMBER_FORMAT(28), /** *
     * Emergency telephone numbers are not allowed. Enter a valid
     * domestic phone number to connect customers to your business.
     * 
* * EMERGENCY_PHONE_NUMBER = 29; */ EMERGENCY_PHONE_NUMBER(29), /** *
     * A required field was not specified or is an empty string.
     * 
* * EMPTY_FIELD = 30; */ EMPTY_FIELD(30), /** *
     * A feed attribute referenced in an ad customizer tag is not in the ad
     * customizer mapping for the feed.
     * 
* * FEED_ATTRIBUTE_MUST_HAVE_MAPPING_FOR_TYPE_ID = 31; */ FEED_ATTRIBUTE_MUST_HAVE_MAPPING_FOR_TYPE_ID(31), /** *
     * The ad customizer field mapping for the feed attribute does not match the
     * expected field type.
     * 
* * FEED_ATTRIBUTE_MAPPING_TYPE_MISMATCH = 32; */ FEED_ATTRIBUTE_MAPPING_TYPE_MISMATCH(32), /** *
     * The use of ad customizer tags in the ad text is disallowed. Details in
     * trigger.
     * 
* * ILLEGAL_AD_CUSTOMIZER_TAG_USE = 33; */ ILLEGAL_AD_CUSTOMIZER_TAG_USE(33), /** *
     * Tags of the form {PH_x}, where x is a number, are disallowed in ad text.
     * 
* * ILLEGAL_TAG_USE = 34; */ ILLEGAL_TAG_USE(34), /** *
     * The dimensions of the ad are specified or derived in multiple ways and
     * are not consistent.
     * 
* * INCONSISTENT_DIMENSIONS = 35; */ INCONSISTENT_DIMENSIONS(35), /** *
     * The status cannot differ among template ads of the same union.
     * 
* * INCONSISTENT_STATUS_IN_TEMPLATE_UNION = 36; */ INCONSISTENT_STATUS_IN_TEMPLATE_UNION(36), /** *
     * The length of the string is not valid.
     * 
* * INCORRECT_LENGTH = 37; */ INCORRECT_LENGTH(37), /** *
     * The ad is ineligible for upgrade.
     * 
* * INELIGIBLE_FOR_UPGRADE = 38; */ INELIGIBLE_FOR_UPGRADE(38), /** *
     * User cannot create mobile ad for countries targeted in specified
     * campaign.
     * 
* * INVALID_AD_ADDRESS_CAMPAIGN_TARGET = 39; */ INVALID_AD_ADDRESS_CAMPAIGN_TARGET(39), /** *
     * Invalid Ad type. A specific type of Ad is required.
     * 
* * INVALID_AD_TYPE = 40; */ INVALID_AD_TYPE(40), /** *
     * Headline, description or phone cannot be present when creating mobile
     * image ad.
     * 
* * INVALID_ATTRIBUTES_FOR_MOBILE_IMAGE = 41; */ INVALID_ATTRIBUTES_FOR_MOBILE_IMAGE(41), /** *
     * Image cannot be present when creating mobile text ad.
     * 
* * INVALID_ATTRIBUTES_FOR_MOBILE_TEXT = 42; */ INVALID_ATTRIBUTES_FOR_MOBILE_TEXT(42), /** *
     * Invalid call to action text.
     * 
* * INVALID_CALL_TO_ACTION_TEXT = 43; */ INVALID_CALL_TO_ACTION_TEXT(43), /** *
     * Invalid character in URL.
     * 
* * INVALID_CHARACTER_FOR_URL = 44; */ INVALID_CHARACTER_FOR_URL(44), /** *
     * Creative's country code is not valid.
     * 
* * INVALID_COUNTRY_CODE = 45; */ INVALID_COUNTRY_CODE(45), /** *
     * Invalid use of Expanded Dynamic Search Ads tags ({lpurl} etc.)
     * 
* * INVALID_EXPANDED_DYNAMIC_SEARCH_AD_TAG = 47; */ INVALID_EXPANDED_DYNAMIC_SEARCH_AD_TAG(47), /** *
     * An input error whose real reason was not properly mapped (should not
     * happen).
     * 
* * INVALID_INPUT = 48; */ INVALID_INPUT(48), /** *
     * An invalid markup language was entered.
     * 
* * INVALID_MARKUP_LANGUAGE = 49; */ INVALID_MARKUP_LANGUAGE(49), /** *
     * An invalid mobile carrier was entered.
     * 
* * INVALID_MOBILE_CARRIER = 50; */ INVALID_MOBILE_CARRIER(50), /** *
     * Specified mobile carriers target a country not targeted by the campaign.
     * 
* * INVALID_MOBILE_CARRIER_TARGET = 51; */ INVALID_MOBILE_CARRIER_TARGET(51), /** *
     * Wrong number of elements for given element type
     * 
* * INVALID_NUMBER_OF_ELEMENTS = 52; */ INVALID_NUMBER_OF_ELEMENTS(52), /** *
     * The format of the telephone number is incorrect. Re-enter the
     * number using the correct format.
     * 
* * INVALID_PHONE_NUMBER_FORMAT = 53; */ INVALID_PHONE_NUMBER_FORMAT(53), /** *
     * The certified vendor format id is incorrect.
     * 
* * INVALID_RICH_MEDIA_CERTIFIED_VENDOR_FORMAT_ID = 54; */ INVALID_RICH_MEDIA_CERTIFIED_VENDOR_FORMAT_ID(54), /** *
     * The template ad data contains validation errors.
     * 
* * INVALID_TEMPLATE_DATA = 55; */ INVALID_TEMPLATE_DATA(55), /** *
     * The template field doesn't have have the correct type.
     * 
* * INVALID_TEMPLATE_ELEMENT_FIELD_TYPE = 56; */ INVALID_TEMPLATE_ELEMENT_FIELD_TYPE(56), /** *
     * Invalid template id.
     * 
* * INVALID_TEMPLATE_ID = 57; */ INVALID_TEMPLATE_ID(57), /** *
     * After substituting replacement strings, the line is too wide.
     * 
* * LINE_TOO_WIDE = 58; */ LINE_TOO_WIDE(58), /** *
     * The feed referenced must have ad customizer mapping to be used in a
     * customizer tag.
     * 
* * MISSING_AD_CUSTOMIZER_MAPPING = 59; */ MISSING_AD_CUSTOMIZER_MAPPING(59), /** *
     * Missing address component in template element address field.
     * 
* * MISSING_ADDRESS_COMPONENT = 60; */ MISSING_ADDRESS_COMPONENT(60), /** *
     * An ad name must be entered.
     * 
* * MISSING_ADVERTISEMENT_NAME = 61; */ MISSING_ADVERTISEMENT_NAME(61), /** *
     * Business name must be entered.
     * 
* * MISSING_BUSINESS_NAME = 62; */ MISSING_BUSINESS_NAME(62), /** *
     * Description (line 2) must be entered.
     * 
* * MISSING_DESCRIPTION1 = 63; */ MISSING_DESCRIPTION1(63), /** *
     * Description (line 3) must be entered.
     * 
* * MISSING_DESCRIPTION2 = 64; */ MISSING_DESCRIPTION2(64), /** *
     * The destination url must contain at least one tag (for example, {lpurl})
     * 
* * MISSING_DESTINATION_URL_TAG = 65; */ MISSING_DESTINATION_URL_TAG(65), /** *
     * The tracking url template of ExpandedDynamicSearchAd must contain at
     * least one tag. (for example, {lpurl})
     * 
* * MISSING_LANDING_PAGE_URL_TAG = 66; */ MISSING_LANDING_PAGE_URL_TAG(66), /** *
     * A valid dimension must be specified for this ad.
     * 
* * MISSING_DIMENSION = 67; */ MISSING_DIMENSION(67), /** *
     * A display URL must be entered.
     * 
* * MISSING_DISPLAY_URL = 68; */ MISSING_DISPLAY_URL(68), /** *
     * Headline must be entered.
     * 
* * MISSING_HEADLINE = 69; */ MISSING_HEADLINE(69), /** *
     * A height must be entered.
     * 
* * MISSING_HEIGHT = 70; */ MISSING_HEIGHT(70), /** *
     * An image must be entered.
     * 
* * MISSING_IMAGE = 71; */ MISSING_IMAGE(71), /** *
     * Marketing image or product videos are required.
     * 
* * MISSING_MARKETING_IMAGE_OR_PRODUCT_VIDEOS = 72; */ MISSING_MARKETING_IMAGE_OR_PRODUCT_VIDEOS(72), /** *
     * The markup language in which your site is written must be entered.
     * 
* * MISSING_MARKUP_LANGUAGES = 73; */ MISSING_MARKUP_LANGUAGES(73), /** *
     * A mobile carrier must be entered.
     * 
* * MISSING_MOBILE_CARRIER = 74; */ MISSING_MOBILE_CARRIER(74), /** *
     * Phone number must be entered.
     * 
* * MISSING_PHONE = 75; */ MISSING_PHONE(75), /** *
     * Missing required template fields
     * 
* * MISSING_REQUIRED_TEMPLATE_FIELDS = 76; */ MISSING_REQUIRED_TEMPLATE_FIELDS(76), /** *
     * Missing a required field value
     * 
* * MISSING_TEMPLATE_FIELD_VALUE = 77; */ MISSING_TEMPLATE_FIELD_VALUE(77), /** *
     * The ad must have text.
     * 
* * MISSING_TEXT = 78; */ MISSING_TEXT(78), /** *
     * A visible URL must be entered.
     * 
* * MISSING_VISIBLE_URL = 79; */ MISSING_VISIBLE_URL(79), /** *
     * A width must be entered.
     * 
* * MISSING_WIDTH = 80; */ MISSING_WIDTH(80), /** *
     * Only 1 feed can be used as the source of ad customizer substitutions in a
     * single ad.
     * 
* * MULTIPLE_DISTINCT_FEEDS_UNSUPPORTED = 81; */ MULTIPLE_DISTINCT_FEEDS_UNSUPPORTED(81), /** *
     * TempAdUnionId must be use when adding template ads.
     * 
* * MUST_USE_TEMP_AD_UNION_ID_ON_ADD = 82; */ MUST_USE_TEMP_AD_UNION_ID_ON_ADD(82), /** *
     * The string has too many characters.
     * 
* * TOO_LONG = 83; */ TOO_LONG(83), /** *
     * The string has too few characters.
     * 
* * TOO_SHORT = 84; */ TOO_SHORT(84), /** *
     * Ad union dimensions cannot change for saved ads.
     * 
* * UNION_DIMENSIONS_CANNOT_CHANGE = 85; */ UNION_DIMENSIONS_CANNOT_CHANGE(85), /** *
     * Address component is not {country, lat, lng}.
     * 
* * UNKNOWN_ADDRESS_COMPONENT = 86; */ UNKNOWN_ADDRESS_COMPONENT(86), /** *
     * Unknown unique field name
     * 
* * UNKNOWN_FIELD_NAME = 87; */ UNKNOWN_FIELD_NAME(87), /** *
     * Unknown unique name (template element type specifier)
     * 
* * UNKNOWN_UNIQUE_NAME = 88; */ UNKNOWN_UNIQUE_NAME(88), /** *
     * Unsupported ad dimension
     * 
* * UNSUPPORTED_DIMENSIONS = 89; */ UNSUPPORTED_DIMENSIONS(89), /** *
     * URL starts with an invalid scheme.
     * 
* * URL_INVALID_SCHEME = 90; */ URL_INVALID_SCHEME(90), /** *
     * URL ends with an invalid top-level domain name.
     * 
* * URL_INVALID_TOP_LEVEL_DOMAIN = 91; */ URL_INVALID_TOP_LEVEL_DOMAIN(91), /** *
     * URL contains illegal characters.
     * 
* * URL_MALFORMED = 92; */ URL_MALFORMED(92), /** *
     * URL must contain a host name.
     * 
* * URL_NO_HOST = 93; */ URL_NO_HOST(93), /** *
     * URL not equivalent during upgrade.
     * 
* * URL_NOT_EQUIVALENT = 94; */ URL_NOT_EQUIVALENT(94), /** *
     * URL host name too long to be stored as visible URL (applies to Ad
     * Exchange ads)
     * 
* * URL_HOST_NAME_TOO_LONG = 95; */ URL_HOST_NAME_TOO_LONG(95), /** *
     * URL must start with a scheme.
     * 
* * URL_NO_SCHEME = 96; */ URL_NO_SCHEME(96), /** *
     * URL should end in a valid domain extension, such as .com or .net.
     * 
* * URL_NO_TOP_LEVEL_DOMAIN = 97; */ URL_NO_TOP_LEVEL_DOMAIN(97), /** *
     * URL must not end with a path.
     * 
* * URL_PATH_NOT_ALLOWED = 98; */ URL_PATH_NOT_ALLOWED(98), /** *
     * URL must not specify a port.
     * 
* * URL_PORT_NOT_ALLOWED = 99; */ URL_PORT_NOT_ALLOWED(99), /** *
     * URL must not contain a query.
     * 
* * URL_QUERY_NOT_ALLOWED = 100; */ URL_QUERY_NOT_ALLOWED(100), /** *
     * A url scheme is not allowed in front of tag in tracking url template
     * (for example, http://{lpurl})
     * 
* * URL_SCHEME_BEFORE_EXPANDED_DYNAMIC_SEARCH_AD_TAG = 102; */ URL_SCHEME_BEFORE_EXPANDED_DYNAMIC_SEARCH_AD_TAG(102), /** *
     * The user does not have permissions to create a template ad for the given
     * template.
     * 
* * USER_DOES_NOT_HAVE_ACCESS_TO_TEMPLATE = 103; */ USER_DOES_NOT_HAVE_ACCESS_TO_TEMPLATE(103), /** *
     * Expandable setting is inconsistent/wrong. For example, an AdX ad is
     * invalid if it has a expandable vendor format but no expanding directions
     * specified, or expanding directions is specified, but the vendor format is
     * not expandable.
     * 
* * INCONSISTENT_EXPANDABLE_SETTINGS = 104; */ INCONSISTENT_EXPANDABLE_SETTINGS(104), /** *
     * Format is invalid
     * 
* * INVALID_FORMAT = 105; */ INVALID_FORMAT(105), /** *
     * The text of this field did not match a pattern of allowed values.
     * 
* * INVALID_FIELD_TEXT = 106; */ INVALID_FIELD_TEXT(106), /** *
     * Template element is mising
     * 
* * ELEMENT_NOT_PRESENT = 107; */ ELEMENT_NOT_PRESENT(107), /** *
     * Error occurred during image processing
     * 
* * IMAGE_ERROR = 108; */ IMAGE_ERROR(108), /** *
     * The value is not within the valid range
     * 
* * VALUE_NOT_IN_RANGE = 109; */ VALUE_NOT_IN_RANGE(109), /** *
     * Template element field is not present
     * 
* * FIELD_NOT_PRESENT = 110; */ FIELD_NOT_PRESENT(110), /** *
     * Address is incomplete
     * 
* * ADDRESS_NOT_COMPLETE = 111; */ ADDRESS_NOT_COMPLETE(111), /** *
     * Invalid address
     * 
* * ADDRESS_INVALID = 112; */ ADDRESS_INVALID(112), /** *
     * Error retrieving specified video
     * 
* * VIDEO_RETRIEVAL_ERROR = 113; */ VIDEO_RETRIEVAL_ERROR(113), /** *
     * Error processing audio
     * 
* * AUDIO_ERROR = 114; */ AUDIO_ERROR(114), /** *
     * Display URL is incorrect for YouTube PYV ads
     * 
* * INVALID_YOUTUBE_DISPLAY_URL = 115; */ INVALID_YOUTUBE_DISPLAY_URL(115), /** *
     * Too many product Images in GmailAd
     * 
* * TOO_MANY_PRODUCT_IMAGES = 116; */ TOO_MANY_PRODUCT_IMAGES(116), /** *
     * Too many product Videos in GmailAd
     * 
* * TOO_MANY_PRODUCT_VIDEOS = 117; */ TOO_MANY_PRODUCT_VIDEOS(117), /** *
     * The device preference is not compatible with the ad type
     * 
* * INCOMPATIBLE_AD_TYPE_AND_DEVICE_PREFERENCE = 118; */ INCOMPATIBLE_AD_TYPE_AND_DEVICE_PREFERENCE(118), /** *
     * Call tracking is not supported for specified country.
     * 
* * CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = 119; */ CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY(119), /** *
     * Carrier specific short number is not allowed.
     * 
* * CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 120; */ CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED(120), /** *
     * Specified phone number type is disallowed.
     * 
* * DISALLOWED_NUMBER_TYPE = 121; */ DISALLOWED_NUMBER_TYPE(121), /** *
     * Phone number not supported for country.
     * 
* * PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 122; */ PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY(122), /** *
     * Phone number not supported with call tracking enabled for country.
     * 
* * PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY = 123; */ PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY(123), /** *
     * Premium rate phone number is not allowed.
     * 
* * PREMIUM_RATE_NUMBER_NOT_ALLOWED = 124; */ PREMIUM_RATE_NUMBER_NOT_ALLOWED(124), /** *
     * Vanity phone number is not allowed.
     * 
* * VANITY_PHONE_NUMBER_NOT_ALLOWED = 125; */ VANITY_PHONE_NUMBER_NOT_ALLOWED(125), /** *
     * Invalid call conversion type id.
     * 
* * INVALID_CALL_CONVERSION_TYPE_ID = 126; */ INVALID_CALL_CONVERSION_TYPE_ID(126), /** *
     * Cannot disable call conversion and set conversion type id.
     * 
* * CANNOT_DISABLE_CALL_CONVERSION_AND_SET_CONVERSION_TYPE_ID = 127; */ CANNOT_DISABLE_CALL_CONVERSION_AND_SET_CONVERSION_TYPE_ID(127), /** *
     * Cannot set path2 without path1.
     * 
* * CANNOT_SET_PATH2_WITHOUT_PATH1 = 128; */ CANNOT_SET_PATH2_WITHOUT_PATH1(128), /** *
     * Missing domain name in campaign setting when adding expanded dynamic
     * search ad.
     * 
* * MISSING_DYNAMIC_SEARCH_ADS_SETTING_DOMAIN_NAME = 129; */ MISSING_DYNAMIC_SEARCH_ADS_SETTING_DOMAIN_NAME(129), /** *
     * The associated ad is not compatible with restriction type.
     * 
* * INCOMPATIBLE_WITH_RESTRICTION_TYPE = 130; */ INCOMPATIBLE_WITH_RESTRICTION_TYPE(130), /** *
     * Consent for call recording is required for creating/updating call only
     * ads. See https://support.google.com/google-ads/answer/7412639.
     * 
* * CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 131; */ CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED(131), /** *
     * Either an image or a media bundle is required in a display upload ad.
     * 
* * MISSING_IMAGE_OR_MEDIA_BUNDLE = 132; */ MISSING_IMAGE_OR_MEDIA_BUNDLE(132), /** *
     * The display upload product type is not supported in this campaign.
     * 
* * PRODUCT_TYPE_NOT_SUPPORTED_IN_THIS_CAMPAIGN = 133; */ PRODUCT_TYPE_NOT_SUPPORTED_IN_THIS_CAMPAIGN(133), /** *
     * The default value of an ad placeholder can not be the empty string.
     * 
* * PLACEHOLDER_CANNOT_HAVE_EMPTY_DEFAULT_VALUE = 134; */ PLACEHOLDER_CANNOT_HAVE_EMPTY_DEFAULT_VALUE(134), /** *
     * Ad placeholders with countdown functions must not have a default value.
     * 
* * PLACEHOLDER_COUNTDOWN_FUNCTION_CANNOT_HAVE_DEFAULT_VALUE = 135; */ PLACEHOLDER_COUNTDOWN_FUNCTION_CANNOT_HAVE_DEFAULT_VALUE(135), /** *
     * A previous ad placeholder that had a default value was found which means
     * that all (non-countdown) placeholders must have a default value. This
     * ad placeholder does not have a default value.
     * 
* * PLACEHOLDER_DEFAULT_VALUE_MISSING = 136; */ PLACEHOLDER_DEFAULT_VALUE_MISSING(136), /** *
     * A previous ad placeholder that did not have a default value was found
     * which means that no placeholders may have a default value. This
     * ad placeholder does have a default value.
     * 
* * UNEXPECTED_PLACEHOLDER_DEFAULT_VALUE = 137; */ UNEXPECTED_PLACEHOLDER_DEFAULT_VALUE(137), /** *
     * Two ad customizers may not be directly adjacent in an ad text. They must
     * be separated by at least one character.
     * 
* * AD_CUSTOMIZERS_MAY_NOT_BE_ADJACENT = 138; */ AD_CUSTOMIZERS_MAY_NOT_BE_ADJACENT(138), /** *
     * The ad is not associated with any enabled AdGroupAd, and cannot be
     * updated.
     * 
* * UPDATING_AD_WITH_NO_ENABLED_ASSOCIATION = 139; */ UPDATING_AD_WITH_NO_ENABLED_ASSOCIATION(139), /** *
     * Call Ad verification url and final url don't have same domain.
     * 
* * CALL_AD_VERIFICATION_URL_FINAL_URL_DOES_NOT_HAVE_SAME_DOMAIN = 140; */ CALL_AD_VERIFICATION_URL_FINAL_URL_DOES_NOT_HAVE_SAME_DOMAIN(140), /** *
     * Final url and verification url cannot both be empty for call ads.
     * 
* * CALL_AD_FINAL_URL_AND_VERIFICATION_URL_CANNOT_BOTH_BE_EMPTY = 154; */ CALL_AD_FINAL_URL_AND_VERIFICATION_URL_CANNOT_BOTH_BE_EMPTY(154), /** *
     * Too many ad customizers in one asset.
     * 
* * TOO_MANY_AD_CUSTOMIZERS = 141; */ TOO_MANY_AD_CUSTOMIZERS(141), /** *
     * The ad customizer tag is recognized, but the format is invalid.
     * 
* * INVALID_AD_CUSTOMIZER_FORMAT = 142; */ INVALID_AD_CUSTOMIZER_FORMAT(142), /** *
     * Customizer tags cannot be nested.
     * 
* * NESTED_AD_CUSTOMIZER_SYNTAX = 143; */ NESTED_AD_CUSTOMIZER_SYNTAX(143), /** *
     * The ad customizer syntax used in the ad is not supported.
     * 
* * UNSUPPORTED_AD_CUSTOMIZER_SYNTAX = 144; */ UNSUPPORTED_AD_CUSTOMIZER_SYNTAX(144), /** *
     * There exists unpaired brace in the ad customizer tag.
     * 
* * UNPAIRED_BRACE_IN_AD_CUSTOMIZER_TAG = 145; */ UNPAIRED_BRACE_IN_AD_CUSTOMIZER_TAG(145), /** *
     * More than one type of countdown tag exists among all text lines.
     * 
* * MORE_THAN_ONE_COUNTDOWN_TAG_TYPE_EXISTS = 146; */ MORE_THAN_ONE_COUNTDOWN_TAG_TYPE_EXISTS(146), /** *
     * Date time in the countdown tag is invalid.
     * 
* * DATE_TIME_IN_COUNTDOWN_TAG_IS_INVALID = 147; */ DATE_TIME_IN_COUNTDOWN_TAG_IS_INVALID(147), /** *
     * Date time in the countdown tag is in the past.
     * 
* * DATE_TIME_IN_COUNTDOWN_TAG_IS_PAST = 148; */ DATE_TIME_IN_COUNTDOWN_TAG_IS_PAST(148), /** *
     * Cannot recognize the ad customizer tag.
     * 
* * UNRECOGNIZED_AD_CUSTOMIZER_TAG_FOUND = 149; */ UNRECOGNIZED_AD_CUSTOMIZER_TAG_FOUND(149), /** *
     * Customizer type forbidden for this field.
     * 
* * CUSTOMIZER_TYPE_FORBIDDEN_FOR_FIELD = 150; */ CUSTOMIZER_TYPE_FORBIDDEN_FOR_FIELD(150), /** *
     * Customizer attribute name is invalid.
     * 
* * INVALID_CUSTOMIZER_ATTRIBUTE_NAME = 151; */ INVALID_CUSTOMIZER_ATTRIBUTE_NAME(151), /** *
     * App store value does not match the value of the app store in the app
     * specified in the campaign.
     * 
* * STORE_MISMATCH = 152; */ STORE_MISMATCH(152), /** *
     * Missing required image aspect ratio.
     * 
* * MISSING_REQUIRED_IMAGE_ASPECT_RATIO = 153; */ MISSING_REQUIRED_IMAGE_ASPECT_RATIO(153), /** *
     * Aspect ratios mismatch between different assets.
     * 
* * MISMATCHED_ASPECT_RATIOS = 155; */ MISMATCHED_ASPECT_RATIOS(155), /** *
     * Images must be unique between different carousel card assets.
     * 
* * DUPLICATE_IMAGE_ACROSS_CAROUSEL_CARDS = 156; */ DUPLICATE_IMAGE_ACROSS_CAROUSEL_CARDS(156), UNRECOGNIZED(-1), ; /** *
     * Enum unspecified.
     * 
* * UNSPECIFIED = 0; */ public static final int UNSPECIFIED_VALUE = 0; /** *
     * The received error code is not known in this version.
     * 
* * UNKNOWN = 1; */ public static final int UNKNOWN_VALUE = 1; /** *
     * Ad customizers are not supported for ad type.
     * 
* * AD_CUSTOMIZERS_NOT_SUPPORTED_FOR_AD_TYPE = 2; */ public static final int AD_CUSTOMIZERS_NOT_SUPPORTED_FOR_AD_TYPE_VALUE = 2; /** *
     * Estimating character sizes the string is too long.
     * 
* * APPROXIMATELY_TOO_LONG = 3; */ public static final int APPROXIMATELY_TOO_LONG_VALUE = 3; /** *
     * Estimating character sizes the string is too short.
     * 
* * APPROXIMATELY_TOO_SHORT = 4; */ public static final int APPROXIMATELY_TOO_SHORT_VALUE = 4; /** *
     * There is a problem with the snippet.
     * 
* * BAD_SNIPPET = 5; */ public static final int BAD_SNIPPET_VALUE = 5; /** *
     * Cannot modify an ad.
     * 
* * CANNOT_MODIFY_AD = 6; */ public static final int CANNOT_MODIFY_AD_VALUE = 6; /** *
     * business name and url cannot be set at the same time
     * 
* * CANNOT_SET_BUSINESS_NAME_IF_URL_SET = 7; */ public static final int CANNOT_SET_BUSINESS_NAME_IF_URL_SET_VALUE = 7; /** *
     * The specified field is incompatible with this ad's type or settings.
     * 
* * CANNOT_SET_FIELD = 8; */ public static final int CANNOT_SET_FIELD_VALUE = 8; /** *
     * Cannot set field when originAdId is set.
     * 
* * CANNOT_SET_FIELD_WITH_ORIGIN_AD_ID_SET = 9; */ public static final int CANNOT_SET_FIELD_WITH_ORIGIN_AD_ID_SET_VALUE = 9; /** *
     * Cannot set field when an existing ad id is set for sharing.
     * 
* * CANNOT_SET_FIELD_WITH_AD_ID_SET_FOR_SHARING = 10; */ public static final int CANNOT_SET_FIELD_WITH_AD_ID_SET_FOR_SHARING_VALUE = 10; /** *
     * Cannot set allowFlexibleColor false if no color is provided by user.
     * 
* * CANNOT_SET_ALLOW_FLEXIBLE_COLOR_FALSE = 11; */ public static final int CANNOT_SET_ALLOW_FLEXIBLE_COLOR_FALSE_VALUE = 11; /** *
     * When user select native, no color control is allowed because we will
     * always respect publisher color for native format serving.
     * 
* * CANNOT_SET_COLOR_CONTROL_WHEN_NATIVE_FORMAT_SETTING = 12; */ public static final int CANNOT_SET_COLOR_CONTROL_WHEN_NATIVE_FORMAT_SETTING_VALUE = 12; /** *
     * Cannot specify a url for the ad type
     * 
* * CANNOT_SET_URL = 13; */ public static final int CANNOT_SET_URL_VALUE = 13; /** *
     * Cannot specify a tracking or mobile url without also setting final urls
     * 
* * CANNOT_SET_WITHOUT_FINAL_URLS = 14; */ public static final int CANNOT_SET_WITHOUT_FINAL_URLS_VALUE = 14; /** *
     * Cannot specify a legacy url and a final url simultaneously
     * 
* * CANNOT_SET_WITH_FINAL_URLS = 15; */ public static final int CANNOT_SET_WITH_FINAL_URLS_VALUE = 15; /** *
     * Cannot specify a urls in UrlData and in template fields simultaneously.
     * 
* * CANNOT_SET_WITH_URL_DATA = 17; */ public static final int CANNOT_SET_WITH_URL_DATA_VALUE = 17; /** *
     * This operator cannot be used with a subclass of Ad.
     * 
* * CANNOT_USE_AD_SUBCLASS_FOR_OPERATOR = 18; */ public static final int CANNOT_USE_AD_SUBCLASS_FOR_OPERATOR_VALUE = 18; /** *
     * Customer is not approved for mobile ads.
     * 
* * CUSTOMER_NOT_APPROVED_MOBILEADS = 19; */ public static final int CUSTOMER_NOT_APPROVED_MOBILEADS_VALUE = 19; /** *
     * Customer is not approved for 3PAS richmedia ads.
     * 
* * CUSTOMER_NOT_APPROVED_THIRDPARTY_ADS = 20; */ public static final int CUSTOMER_NOT_APPROVED_THIRDPARTY_ADS_VALUE = 20; /** *
     * Customer is not approved for 3PAS redirect richmedia (Ad Exchange) ads.
     * 
* * CUSTOMER_NOT_APPROVED_THIRDPARTY_REDIRECT_ADS = 21; */ public static final int CUSTOMER_NOT_APPROVED_THIRDPARTY_REDIRECT_ADS_VALUE = 21; /** *
     * Not an eligible customer
     * 
* * CUSTOMER_NOT_ELIGIBLE = 22; */ public static final int CUSTOMER_NOT_ELIGIBLE_VALUE = 22; /** *
     * Customer is not eligible for updating beacon url
     * 
* * CUSTOMER_NOT_ELIGIBLE_FOR_UPDATING_BEACON_URL = 23; */ public static final int CUSTOMER_NOT_ELIGIBLE_FOR_UPDATING_BEACON_URL_VALUE = 23; /** *
     * There already exists an ad with the same dimensions in the union.
     * 
* * DIMENSION_ALREADY_IN_UNION = 24; */ public static final int DIMENSION_ALREADY_IN_UNION_VALUE = 24; /** *
     * Ad's dimension must be set before setting union dimension.
     * 
* * DIMENSION_MUST_BE_SET = 25; */ public static final int DIMENSION_MUST_BE_SET_VALUE = 25; /** *
     * Ad's dimension must be included in the union dimensions.
     * 
* * DIMENSION_NOT_IN_UNION = 26; */ public static final int DIMENSION_NOT_IN_UNION_VALUE = 26; /** *
     * Display Url cannot be specified (applies to Ad Exchange Ads)
     * 
* * DISPLAY_URL_CANNOT_BE_SPECIFIED = 27; */ public static final int DISPLAY_URL_CANNOT_BE_SPECIFIED_VALUE = 27; /** *
     * Telephone number contains invalid characters or invalid format.
     * Re-enter your number using digits (0-9), dashes (-), and parentheses
     * only.
     * 
* * DOMESTIC_PHONE_NUMBER_FORMAT = 28; */ public static final int DOMESTIC_PHONE_NUMBER_FORMAT_VALUE = 28; /** *
     * Emergency telephone numbers are not allowed. Enter a valid
     * domestic phone number to connect customers to your business.
     * 
* * EMERGENCY_PHONE_NUMBER = 29; */ public static final int EMERGENCY_PHONE_NUMBER_VALUE = 29; /** *
     * A required field was not specified or is an empty string.
     * 
* * EMPTY_FIELD = 30; */ public static final int EMPTY_FIELD_VALUE = 30; /** *
     * A feed attribute referenced in an ad customizer tag is not in the ad
     * customizer mapping for the feed.
     * 
* * FEED_ATTRIBUTE_MUST_HAVE_MAPPING_FOR_TYPE_ID = 31; */ public static final int FEED_ATTRIBUTE_MUST_HAVE_MAPPING_FOR_TYPE_ID_VALUE = 31; /** *
     * The ad customizer field mapping for the feed attribute does not match the
     * expected field type.
     * 
* * FEED_ATTRIBUTE_MAPPING_TYPE_MISMATCH = 32; */ public static final int FEED_ATTRIBUTE_MAPPING_TYPE_MISMATCH_VALUE = 32; /** *
     * The use of ad customizer tags in the ad text is disallowed. Details in
     * trigger.
     * 
* * ILLEGAL_AD_CUSTOMIZER_TAG_USE = 33; */ public static final int ILLEGAL_AD_CUSTOMIZER_TAG_USE_VALUE = 33; /** *
     * Tags of the form {PH_x}, where x is a number, are disallowed in ad text.
     * 
* * ILLEGAL_TAG_USE = 34; */ public static final int ILLEGAL_TAG_USE_VALUE = 34; /** *
     * The dimensions of the ad are specified or derived in multiple ways and
     * are not consistent.
     * 
* * INCONSISTENT_DIMENSIONS = 35; */ public static final int INCONSISTENT_DIMENSIONS_VALUE = 35; /** *
     * The status cannot differ among template ads of the same union.
     * 
* * INCONSISTENT_STATUS_IN_TEMPLATE_UNION = 36; */ public static final int INCONSISTENT_STATUS_IN_TEMPLATE_UNION_VALUE = 36; /** *
     * The length of the string is not valid.
     * 
* * INCORRECT_LENGTH = 37; */ public static final int INCORRECT_LENGTH_VALUE = 37; /** *
     * The ad is ineligible for upgrade.
     * 
* * INELIGIBLE_FOR_UPGRADE = 38; */ public static final int INELIGIBLE_FOR_UPGRADE_VALUE = 38; /** *
     * User cannot create mobile ad for countries targeted in specified
     * campaign.
     * 
* * INVALID_AD_ADDRESS_CAMPAIGN_TARGET = 39; */ public static final int INVALID_AD_ADDRESS_CAMPAIGN_TARGET_VALUE = 39; /** *
     * Invalid Ad type. A specific type of Ad is required.
     * 
* * INVALID_AD_TYPE = 40; */ public static final int INVALID_AD_TYPE_VALUE = 40; /** *
     * Headline, description or phone cannot be present when creating mobile
     * image ad.
     * 
* * INVALID_ATTRIBUTES_FOR_MOBILE_IMAGE = 41; */ public static final int INVALID_ATTRIBUTES_FOR_MOBILE_IMAGE_VALUE = 41; /** *
     * Image cannot be present when creating mobile text ad.
     * 
* * INVALID_ATTRIBUTES_FOR_MOBILE_TEXT = 42; */ public static final int INVALID_ATTRIBUTES_FOR_MOBILE_TEXT_VALUE = 42; /** *
     * Invalid call to action text.
     * 
* * INVALID_CALL_TO_ACTION_TEXT = 43; */ public static final int INVALID_CALL_TO_ACTION_TEXT_VALUE = 43; /** *
     * Invalid character in URL.
     * 
* * INVALID_CHARACTER_FOR_URL = 44; */ public static final int INVALID_CHARACTER_FOR_URL_VALUE = 44; /** *
     * Creative's country code is not valid.
     * 
* * INVALID_COUNTRY_CODE = 45; */ public static final int INVALID_COUNTRY_CODE_VALUE = 45; /** *
     * Invalid use of Expanded Dynamic Search Ads tags ({lpurl} etc.)
     * 
* * INVALID_EXPANDED_DYNAMIC_SEARCH_AD_TAG = 47; */ public static final int INVALID_EXPANDED_DYNAMIC_SEARCH_AD_TAG_VALUE = 47; /** *
     * An input error whose real reason was not properly mapped (should not
     * happen).
     * 
* * INVALID_INPUT = 48; */ public static final int INVALID_INPUT_VALUE = 48; /** *
     * An invalid markup language was entered.
     * 
* * INVALID_MARKUP_LANGUAGE = 49; */ public static final int INVALID_MARKUP_LANGUAGE_VALUE = 49; /** *
     * An invalid mobile carrier was entered.
     * 
* * INVALID_MOBILE_CARRIER = 50; */ public static final int INVALID_MOBILE_CARRIER_VALUE = 50; /** *
     * Specified mobile carriers target a country not targeted by the campaign.
     * 
* * INVALID_MOBILE_CARRIER_TARGET = 51; */ public static final int INVALID_MOBILE_CARRIER_TARGET_VALUE = 51; /** *
     * Wrong number of elements for given element type
     * 
* * INVALID_NUMBER_OF_ELEMENTS = 52; */ public static final int INVALID_NUMBER_OF_ELEMENTS_VALUE = 52; /** *
     * The format of the telephone number is incorrect. Re-enter the
     * number using the correct format.
     * 
* * INVALID_PHONE_NUMBER_FORMAT = 53; */ public static final int INVALID_PHONE_NUMBER_FORMAT_VALUE = 53; /** *
     * The certified vendor format id is incorrect.
     * 
* * INVALID_RICH_MEDIA_CERTIFIED_VENDOR_FORMAT_ID = 54; */ public static final int INVALID_RICH_MEDIA_CERTIFIED_VENDOR_FORMAT_ID_VALUE = 54; /** *
     * The template ad data contains validation errors.
     * 
* * INVALID_TEMPLATE_DATA = 55; */ public static final int INVALID_TEMPLATE_DATA_VALUE = 55; /** *
     * The template field doesn't have have the correct type.
     * 
* * INVALID_TEMPLATE_ELEMENT_FIELD_TYPE = 56; */ public static final int INVALID_TEMPLATE_ELEMENT_FIELD_TYPE_VALUE = 56; /** *
     * Invalid template id.
     * 
* * INVALID_TEMPLATE_ID = 57; */ public static final int INVALID_TEMPLATE_ID_VALUE = 57; /** *
     * After substituting replacement strings, the line is too wide.
     * 
* * LINE_TOO_WIDE = 58; */ public static final int LINE_TOO_WIDE_VALUE = 58; /** *
     * The feed referenced must have ad customizer mapping to be used in a
     * customizer tag.
     * 
* * MISSING_AD_CUSTOMIZER_MAPPING = 59; */ public static final int MISSING_AD_CUSTOMIZER_MAPPING_VALUE = 59; /** *
     * Missing address component in template element address field.
     * 
* * MISSING_ADDRESS_COMPONENT = 60; */ public static final int MISSING_ADDRESS_COMPONENT_VALUE = 60; /** *
     * An ad name must be entered.
     * 
* * MISSING_ADVERTISEMENT_NAME = 61; */ public static final int MISSING_ADVERTISEMENT_NAME_VALUE = 61; /** *
     * Business name must be entered.
     * 
* * MISSING_BUSINESS_NAME = 62; */ public static final int MISSING_BUSINESS_NAME_VALUE = 62; /** *
     * Description (line 2) must be entered.
     * 
* * MISSING_DESCRIPTION1 = 63; */ public static final int MISSING_DESCRIPTION1_VALUE = 63; /** *
     * Description (line 3) must be entered.
     * 
* * MISSING_DESCRIPTION2 = 64; */ public static final int MISSING_DESCRIPTION2_VALUE = 64; /** *
     * The destination url must contain at least one tag (for example, {lpurl})
     * 
* * MISSING_DESTINATION_URL_TAG = 65; */ public static final int MISSING_DESTINATION_URL_TAG_VALUE = 65; /** *
     * The tracking url template of ExpandedDynamicSearchAd must contain at
     * least one tag. (for example, {lpurl})
     * 
* * MISSING_LANDING_PAGE_URL_TAG = 66; */ public static final int MISSING_LANDING_PAGE_URL_TAG_VALUE = 66; /** *
     * A valid dimension must be specified for this ad.
     * 
* * MISSING_DIMENSION = 67; */ public static final int MISSING_DIMENSION_VALUE = 67; /** *
     * A display URL must be entered.
     * 
* * MISSING_DISPLAY_URL = 68; */ public static final int MISSING_DISPLAY_URL_VALUE = 68; /** *
     * Headline must be entered.
     * 
* * MISSING_HEADLINE = 69; */ public static final int MISSING_HEADLINE_VALUE = 69; /** *
     * A height must be entered.
     * 
* * MISSING_HEIGHT = 70; */ public static final int MISSING_HEIGHT_VALUE = 70; /** *
     * An image must be entered.
     * 
* * MISSING_IMAGE = 71; */ public static final int MISSING_IMAGE_VALUE = 71; /** *
     * Marketing image or product videos are required.
     * 
* * MISSING_MARKETING_IMAGE_OR_PRODUCT_VIDEOS = 72; */ public static final int MISSING_MARKETING_IMAGE_OR_PRODUCT_VIDEOS_VALUE = 72; /** *
     * The markup language in which your site is written must be entered.
     * 
* * MISSING_MARKUP_LANGUAGES = 73; */ public static final int MISSING_MARKUP_LANGUAGES_VALUE = 73; /** *
     * A mobile carrier must be entered.
     * 
* * MISSING_MOBILE_CARRIER = 74; */ public static final int MISSING_MOBILE_CARRIER_VALUE = 74; /** *
     * Phone number must be entered.
     * 
* * MISSING_PHONE = 75; */ public static final int MISSING_PHONE_VALUE = 75; /** *
     * Missing required template fields
     * 
* * MISSING_REQUIRED_TEMPLATE_FIELDS = 76; */ public static final int MISSING_REQUIRED_TEMPLATE_FIELDS_VALUE = 76; /** *
     * Missing a required field value
     * 
* * MISSING_TEMPLATE_FIELD_VALUE = 77; */ public static final int MISSING_TEMPLATE_FIELD_VALUE_VALUE = 77; /** *
     * The ad must have text.
     * 
* * MISSING_TEXT = 78; */ public static final int MISSING_TEXT_VALUE = 78; /** *
     * A visible URL must be entered.
     * 
* * MISSING_VISIBLE_URL = 79; */ public static final int MISSING_VISIBLE_URL_VALUE = 79; /** *
     * A width must be entered.
     * 
* * MISSING_WIDTH = 80; */ public static final int MISSING_WIDTH_VALUE = 80; /** *
     * Only 1 feed can be used as the source of ad customizer substitutions in a
     * single ad.
     * 
* * MULTIPLE_DISTINCT_FEEDS_UNSUPPORTED = 81; */ public static final int MULTIPLE_DISTINCT_FEEDS_UNSUPPORTED_VALUE = 81; /** *
     * TempAdUnionId must be use when adding template ads.
     * 
* * MUST_USE_TEMP_AD_UNION_ID_ON_ADD = 82; */ public static final int MUST_USE_TEMP_AD_UNION_ID_ON_ADD_VALUE = 82; /** *
     * The string has too many characters.
     * 
* * TOO_LONG = 83; */ public static final int TOO_LONG_VALUE = 83; /** *
     * The string has too few characters.
     * 
* * TOO_SHORT = 84; */ public static final int TOO_SHORT_VALUE = 84; /** *
     * Ad union dimensions cannot change for saved ads.
     * 
* * UNION_DIMENSIONS_CANNOT_CHANGE = 85; */ public static final int UNION_DIMENSIONS_CANNOT_CHANGE_VALUE = 85; /** *
     * Address component is not {country, lat, lng}.
     * 
* * UNKNOWN_ADDRESS_COMPONENT = 86; */ public static final int UNKNOWN_ADDRESS_COMPONENT_VALUE = 86; /** *
     * Unknown unique field name
     * 
* * UNKNOWN_FIELD_NAME = 87; */ public static final int UNKNOWN_FIELD_NAME_VALUE = 87; /** *
     * Unknown unique name (template element type specifier)
     * 
* * UNKNOWN_UNIQUE_NAME = 88; */ public static final int UNKNOWN_UNIQUE_NAME_VALUE = 88; /** *
     * Unsupported ad dimension
     * 
* * UNSUPPORTED_DIMENSIONS = 89; */ public static final int UNSUPPORTED_DIMENSIONS_VALUE = 89; /** *
     * URL starts with an invalid scheme.
     * 
* * URL_INVALID_SCHEME = 90; */ public static final int URL_INVALID_SCHEME_VALUE = 90; /** *
     * URL ends with an invalid top-level domain name.
     * 
* * URL_INVALID_TOP_LEVEL_DOMAIN = 91; */ public static final int URL_INVALID_TOP_LEVEL_DOMAIN_VALUE = 91; /** *
     * URL contains illegal characters.
     * 
* * URL_MALFORMED = 92; */ public static final int URL_MALFORMED_VALUE = 92; /** *
     * URL must contain a host name.
     * 
* * URL_NO_HOST = 93; */ public static final int URL_NO_HOST_VALUE = 93; /** *
     * URL not equivalent during upgrade.
     * 
* * URL_NOT_EQUIVALENT = 94; */ public static final int URL_NOT_EQUIVALENT_VALUE = 94; /** *
     * URL host name too long to be stored as visible URL (applies to Ad
     * Exchange ads)
     * 
* * URL_HOST_NAME_TOO_LONG = 95; */ public static final int URL_HOST_NAME_TOO_LONG_VALUE = 95; /** *
     * URL must start with a scheme.
     * 
* * URL_NO_SCHEME = 96; */ public static final int URL_NO_SCHEME_VALUE = 96; /** *
     * URL should end in a valid domain extension, such as .com or .net.
     * 
* * URL_NO_TOP_LEVEL_DOMAIN = 97; */ public static final int URL_NO_TOP_LEVEL_DOMAIN_VALUE = 97; /** *
     * URL must not end with a path.
     * 
* * URL_PATH_NOT_ALLOWED = 98; */ public static final int URL_PATH_NOT_ALLOWED_VALUE = 98; /** *
     * URL must not specify a port.
     * 
* * URL_PORT_NOT_ALLOWED = 99; */ public static final int URL_PORT_NOT_ALLOWED_VALUE = 99; /** *
     * URL must not contain a query.
     * 
* * URL_QUERY_NOT_ALLOWED = 100; */ public static final int URL_QUERY_NOT_ALLOWED_VALUE = 100; /** *
     * A url scheme is not allowed in front of tag in tracking url template
     * (for example, http://{lpurl})
     * 
* * URL_SCHEME_BEFORE_EXPANDED_DYNAMIC_SEARCH_AD_TAG = 102; */ public static final int URL_SCHEME_BEFORE_EXPANDED_DYNAMIC_SEARCH_AD_TAG_VALUE = 102; /** *
     * The user does not have permissions to create a template ad for the given
     * template.
     * 
* * USER_DOES_NOT_HAVE_ACCESS_TO_TEMPLATE = 103; */ public static final int USER_DOES_NOT_HAVE_ACCESS_TO_TEMPLATE_VALUE = 103; /** *
     * Expandable setting is inconsistent/wrong. For example, an AdX ad is
     * invalid if it has a expandable vendor format but no expanding directions
     * specified, or expanding directions is specified, but the vendor format is
     * not expandable.
     * 
* * INCONSISTENT_EXPANDABLE_SETTINGS = 104; */ public static final int INCONSISTENT_EXPANDABLE_SETTINGS_VALUE = 104; /** *
     * Format is invalid
     * 
* * INVALID_FORMAT = 105; */ public static final int INVALID_FORMAT_VALUE = 105; /** *
     * The text of this field did not match a pattern of allowed values.
     * 
* * INVALID_FIELD_TEXT = 106; */ public static final int INVALID_FIELD_TEXT_VALUE = 106; /** *
     * Template element is mising
     * 
* * ELEMENT_NOT_PRESENT = 107; */ public static final int ELEMENT_NOT_PRESENT_VALUE = 107; /** *
     * Error occurred during image processing
     * 
* * IMAGE_ERROR = 108; */ public static final int IMAGE_ERROR_VALUE = 108; /** *
     * The value is not within the valid range
     * 
* * VALUE_NOT_IN_RANGE = 109; */ public static final int VALUE_NOT_IN_RANGE_VALUE = 109; /** *
     * Template element field is not present
     * 
* * FIELD_NOT_PRESENT = 110; */ public static final int FIELD_NOT_PRESENT_VALUE = 110; /** *
     * Address is incomplete
     * 
* * ADDRESS_NOT_COMPLETE = 111; */ public static final int ADDRESS_NOT_COMPLETE_VALUE = 111; /** *
     * Invalid address
     * 
* * ADDRESS_INVALID = 112; */ public static final int ADDRESS_INVALID_VALUE = 112; /** *
     * Error retrieving specified video
     * 
* * VIDEO_RETRIEVAL_ERROR = 113; */ public static final int VIDEO_RETRIEVAL_ERROR_VALUE = 113; /** *
     * Error processing audio
     * 
* * AUDIO_ERROR = 114; */ public static final int AUDIO_ERROR_VALUE = 114; /** *
     * Display URL is incorrect for YouTube PYV ads
     * 
* * INVALID_YOUTUBE_DISPLAY_URL = 115; */ public static final int INVALID_YOUTUBE_DISPLAY_URL_VALUE = 115; /** *
     * Too many product Images in GmailAd
     * 
* * TOO_MANY_PRODUCT_IMAGES = 116; */ public static final int TOO_MANY_PRODUCT_IMAGES_VALUE = 116; /** *
     * Too many product Videos in GmailAd
     * 
* * TOO_MANY_PRODUCT_VIDEOS = 117; */ public static final int TOO_MANY_PRODUCT_VIDEOS_VALUE = 117; /** *
     * The device preference is not compatible with the ad type
     * 
* * INCOMPATIBLE_AD_TYPE_AND_DEVICE_PREFERENCE = 118; */ public static final int INCOMPATIBLE_AD_TYPE_AND_DEVICE_PREFERENCE_VALUE = 118; /** *
     * Call tracking is not supported for specified country.
     * 
* * CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = 119; */ public static final int CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY_VALUE = 119; /** *
     * Carrier specific short number is not allowed.
     * 
* * CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 120; */ public static final int CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED_VALUE = 120; /** *
     * Specified phone number type is disallowed.
     * 
* * DISALLOWED_NUMBER_TYPE = 121; */ public static final int DISALLOWED_NUMBER_TYPE_VALUE = 121; /** *
     * Phone number not supported for country.
     * 
* * PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 122; */ public static final int PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY_VALUE = 122; /** *
     * Phone number not supported with call tracking enabled for country.
     * 
* * PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY = 123; */ public static final int PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY_VALUE = 123; /** *
     * Premium rate phone number is not allowed.
     * 
* * PREMIUM_RATE_NUMBER_NOT_ALLOWED = 124; */ public static final int PREMIUM_RATE_NUMBER_NOT_ALLOWED_VALUE = 124; /** *
     * Vanity phone number is not allowed.
     * 
* * VANITY_PHONE_NUMBER_NOT_ALLOWED = 125; */ public static final int VANITY_PHONE_NUMBER_NOT_ALLOWED_VALUE = 125; /** *
     * Invalid call conversion type id.
     * 
* * INVALID_CALL_CONVERSION_TYPE_ID = 126; */ public static final int INVALID_CALL_CONVERSION_TYPE_ID_VALUE = 126; /** *
     * Cannot disable call conversion and set conversion type id.
     * 
* * CANNOT_DISABLE_CALL_CONVERSION_AND_SET_CONVERSION_TYPE_ID = 127; */ public static final int CANNOT_DISABLE_CALL_CONVERSION_AND_SET_CONVERSION_TYPE_ID_VALUE = 127; /** *
     * Cannot set path2 without path1.
     * 
* * CANNOT_SET_PATH2_WITHOUT_PATH1 = 128; */ public static final int CANNOT_SET_PATH2_WITHOUT_PATH1_VALUE = 128; /** *
     * Missing domain name in campaign setting when adding expanded dynamic
     * search ad.
     * 
* * MISSING_DYNAMIC_SEARCH_ADS_SETTING_DOMAIN_NAME = 129; */ public static final int MISSING_DYNAMIC_SEARCH_ADS_SETTING_DOMAIN_NAME_VALUE = 129; /** *
     * The associated ad is not compatible with restriction type.
     * 
* * INCOMPATIBLE_WITH_RESTRICTION_TYPE = 130; */ public static final int INCOMPATIBLE_WITH_RESTRICTION_TYPE_VALUE = 130; /** *
     * Consent for call recording is required for creating/updating call only
     * ads. See https://support.google.com/google-ads/answer/7412639.
     * 
* * CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 131; */ public static final int CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED_VALUE = 131; /** *
     * Either an image or a media bundle is required in a display upload ad.
     * 
* * MISSING_IMAGE_OR_MEDIA_BUNDLE = 132; */ public static final int MISSING_IMAGE_OR_MEDIA_BUNDLE_VALUE = 132; /** *
     * The display upload product type is not supported in this campaign.
     * 
* * PRODUCT_TYPE_NOT_SUPPORTED_IN_THIS_CAMPAIGN = 133; */ public static final int PRODUCT_TYPE_NOT_SUPPORTED_IN_THIS_CAMPAIGN_VALUE = 133; /** *
     * The default value of an ad placeholder can not be the empty string.
     * 
* * PLACEHOLDER_CANNOT_HAVE_EMPTY_DEFAULT_VALUE = 134; */ public static final int PLACEHOLDER_CANNOT_HAVE_EMPTY_DEFAULT_VALUE_VALUE = 134; /** *
     * Ad placeholders with countdown functions must not have a default value.
     * 
* * PLACEHOLDER_COUNTDOWN_FUNCTION_CANNOT_HAVE_DEFAULT_VALUE = 135; */ public static final int PLACEHOLDER_COUNTDOWN_FUNCTION_CANNOT_HAVE_DEFAULT_VALUE_VALUE = 135; /** *
     * A previous ad placeholder that had a default value was found which means
     * that all (non-countdown) placeholders must have a default value. This
     * ad placeholder does not have a default value.
     * 
* * PLACEHOLDER_DEFAULT_VALUE_MISSING = 136; */ public static final int PLACEHOLDER_DEFAULT_VALUE_MISSING_VALUE = 136; /** *
     * A previous ad placeholder that did not have a default value was found
     * which means that no placeholders may have a default value. This
     * ad placeholder does have a default value.
     * 
* * UNEXPECTED_PLACEHOLDER_DEFAULT_VALUE = 137; */ public static final int UNEXPECTED_PLACEHOLDER_DEFAULT_VALUE_VALUE = 137; /** *
     * Two ad customizers may not be directly adjacent in an ad text. They must
     * be separated by at least one character.
     * 
* * AD_CUSTOMIZERS_MAY_NOT_BE_ADJACENT = 138; */ public static final int AD_CUSTOMIZERS_MAY_NOT_BE_ADJACENT_VALUE = 138; /** *
     * The ad is not associated with any enabled AdGroupAd, and cannot be
     * updated.
     * 
* * UPDATING_AD_WITH_NO_ENABLED_ASSOCIATION = 139; */ public static final int UPDATING_AD_WITH_NO_ENABLED_ASSOCIATION_VALUE = 139; /** *
     * Call Ad verification url and final url don't have same domain.
     * 
* * CALL_AD_VERIFICATION_URL_FINAL_URL_DOES_NOT_HAVE_SAME_DOMAIN = 140; */ public static final int CALL_AD_VERIFICATION_URL_FINAL_URL_DOES_NOT_HAVE_SAME_DOMAIN_VALUE = 140; /** *
     * Final url and verification url cannot both be empty for call ads.
     * 
* * CALL_AD_FINAL_URL_AND_VERIFICATION_URL_CANNOT_BOTH_BE_EMPTY = 154; */ public static final int CALL_AD_FINAL_URL_AND_VERIFICATION_URL_CANNOT_BOTH_BE_EMPTY_VALUE = 154; /** *
     * Too many ad customizers in one asset.
     * 
* * TOO_MANY_AD_CUSTOMIZERS = 141; */ public static final int TOO_MANY_AD_CUSTOMIZERS_VALUE = 141; /** *
     * The ad customizer tag is recognized, but the format is invalid.
     * 
* * INVALID_AD_CUSTOMIZER_FORMAT = 142; */ public static final int INVALID_AD_CUSTOMIZER_FORMAT_VALUE = 142; /** *
     * Customizer tags cannot be nested.
     * 
* * NESTED_AD_CUSTOMIZER_SYNTAX = 143; */ public static final int NESTED_AD_CUSTOMIZER_SYNTAX_VALUE = 143; /** *
     * The ad customizer syntax used in the ad is not supported.
     * 
* * UNSUPPORTED_AD_CUSTOMIZER_SYNTAX = 144; */ public static final int UNSUPPORTED_AD_CUSTOMIZER_SYNTAX_VALUE = 144; /** *
     * There exists unpaired brace in the ad customizer tag.
     * 
* * UNPAIRED_BRACE_IN_AD_CUSTOMIZER_TAG = 145; */ public static final int UNPAIRED_BRACE_IN_AD_CUSTOMIZER_TAG_VALUE = 145; /** *
     * More than one type of countdown tag exists among all text lines.
     * 
* * MORE_THAN_ONE_COUNTDOWN_TAG_TYPE_EXISTS = 146; */ public static final int MORE_THAN_ONE_COUNTDOWN_TAG_TYPE_EXISTS_VALUE = 146; /** *
     * Date time in the countdown tag is invalid.
     * 
* * DATE_TIME_IN_COUNTDOWN_TAG_IS_INVALID = 147; */ public static final int DATE_TIME_IN_COUNTDOWN_TAG_IS_INVALID_VALUE = 147; /** *
     * Date time in the countdown tag is in the past.
     * 
* * DATE_TIME_IN_COUNTDOWN_TAG_IS_PAST = 148; */ public static final int DATE_TIME_IN_COUNTDOWN_TAG_IS_PAST_VALUE = 148; /** *
     * Cannot recognize the ad customizer tag.
     * 
* * UNRECOGNIZED_AD_CUSTOMIZER_TAG_FOUND = 149; */ public static final int UNRECOGNIZED_AD_CUSTOMIZER_TAG_FOUND_VALUE = 149; /** *
     * Customizer type forbidden for this field.
     * 
* * CUSTOMIZER_TYPE_FORBIDDEN_FOR_FIELD = 150; */ public static final int CUSTOMIZER_TYPE_FORBIDDEN_FOR_FIELD_VALUE = 150; /** *
     * Customizer attribute name is invalid.
     * 
* * INVALID_CUSTOMIZER_ATTRIBUTE_NAME = 151; */ public static final int INVALID_CUSTOMIZER_ATTRIBUTE_NAME_VALUE = 151; /** *
     * App store value does not match the value of the app store in the app
     * specified in the campaign.
     * 
* * STORE_MISMATCH = 152; */ public static final int STORE_MISMATCH_VALUE = 152; /** *
     * Missing required image aspect ratio.
     * 
* * MISSING_REQUIRED_IMAGE_ASPECT_RATIO = 153; */ public static final int MISSING_REQUIRED_IMAGE_ASPECT_RATIO_VALUE = 153; /** *
     * Aspect ratios mismatch between different assets.
     * 
* * MISMATCHED_ASPECT_RATIOS = 155; */ public static final int MISMATCHED_ASPECT_RATIOS_VALUE = 155; /** *
     * Images must be unique between different carousel card assets.
     * 
* * DUPLICATE_IMAGE_ACROSS_CAROUSEL_CARDS = 156; */ public static final int DUPLICATE_IMAGE_ACROSS_CAROUSEL_CARDS_VALUE = 156; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static AdError valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static AdError forNumber(int value) { switch (value) { case 0: return UNSPECIFIED; case 1: return UNKNOWN; case 2: return AD_CUSTOMIZERS_NOT_SUPPORTED_FOR_AD_TYPE; case 3: return APPROXIMATELY_TOO_LONG; case 4: return APPROXIMATELY_TOO_SHORT; case 5: return BAD_SNIPPET; case 6: return CANNOT_MODIFY_AD; case 7: return CANNOT_SET_BUSINESS_NAME_IF_URL_SET; case 8: return CANNOT_SET_FIELD; case 9: return CANNOT_SET_FIELD_WITH_ORIGIN_AD_ID_SET; case 10: return CANNOT_SET_FIELD_WITH_AD_ID_SET_FOR_SHARING; case 11: return CANNOT_SET_ALLOW_FLEXIBLE_COLOR_FALSE; case 12: return CANNOT_SET_COLOR_CONTROL_WHEN_NATIVE_FORMAT_SETTING; case 13: return CANNOT_SET_URL; case 14: return CANNOT_SET_WITHOUT_FINAL_URLS; case 15: return CANNOT_SET_WITH_FINAL_URLS; case 17: return CANNOT_SET_WITH_URL_DATA; case 18: return CANNOT_USE_AD_SUBCLASS_FOR_OPERATOR; case 19: return CUSTOMER_NOT_APPROVED_MOBILEADS; case 20: return CUSTOMER_NOT_APPROVED_THIRDPARTY_ADS; case 21: return CUSTOMER_NOT_APPROVED_THIRDPARTY_REDIRECT_ADS; case 22: return CUSTOMER_NOT_ELIGIBLE; case 23: return CUSTOMER_NOT_ELIGIBLE_FOR_UPDATING_BEACON_URL; case 24: return DIMENSION_ALREADY_IN_UNION; case 25: return DIMENSION_MUST_BE_SET; case 26: return DIMENSION_NOT_IN_UNION; case 27: return DISPLAY_URL_CANNOT_BE_SPECIFIED; case 28: return DOMESTIC_PHONE_NUMBER_FORMAT; case 29: return EMERGENCY_PHONE_NUMBER; case 30: return EMPTY_FIELD; case 31: return FEED_ATTRIBUTE_MUST_HAVE_MAPPING_FOR_TYPE_ID; case 32: return FEED_ATTRIBUTE_MAPPING_TYPE_MISMATCH; case 33: return ILLEGAL_AD_CUSTOMIZER_TAG_USE; case 34: return ILLEGAL_TAG_USE; case 35: return INCONSISTENT_DIMENSIONS; case 36: return INCONSISTENT_STATUS_IN_TEMPLATE_UNION; case 37: return INCORRECT_LENGTH; case 38: return INELIGIBLE_FOR_UPGRADE; case 39: return INVALID_AD_ADDRESS_CAMPAIGN_TARGET; case 40: return INVALID_AD_TYPE; case 41: return INVALID_ATTRIBUTES_FOR_MOBILE_IMAGE; case 42: return INVALID_ATTRIBUTES_FOR_MOBILE_TEXT; case 43: return INVALID_CALL_TO_ACTION_TEXT; case 44: return INVALID_CHARACTER_FOR_URL; case 45: return INVALID_COUNTRY_CODE; case 47: return INVALID_EXPANDED_DYNAMIC_SEARCH_AD_TAG; case 48: return INVALID_INPUT; case 49: return INVALID_MARKUP_LANGUAGE; case 50: return INVALID_MOBILE_CARRIER; case 51: return INVALID_MOBILE_CARRIER_TARGET; case 52: return INVALID_NUMBER_OF_ELEMENTS; case 53: return INVALID_PHONE_NUMBER_FORMAT; case 54: return INVALID_RICH_MEDIA_CERTIFIED_VENDOR_FORMAT_ID; case 55: return INVALID_TEMPLATE_DATA; case 56: return INVALID_TEMPLATE_ELEMENT_FIELD_TYPE; case 57: return INVALID_TEMPLATE_ID; case 58: return LINE_TOO_WIDE; case 59: return MISSING_AD_CUSTOMIZER_MAPPING; case 60: return MISSING_ADDRESS_COMPONENT; case 61: return MISSING_ADVERTISEMENT_NAME; case 62: return MISSING_BUSINESS_NAME; case 63: return MISSING_DESCRIPTION1; case 64: return MISSING_DESCRIPTION2; case 65: return MISSING_DESTINATION_URL_TAG; case 66: return MISSING_LANDING_PAGE_URL_TAG; case 67: return MISSING_DIMENSION; case 68: return MISSING_DISPLAY_URL; case 69: return MISSING_HEADLINE; case 70: return MISSING_HEIGHT; case 71: return MISSING_IMAGE; case 72: return MISSING_MARKETING_IMAGE_OR_PRODUCT_VIDEOS; case 73: return MISSING_MARKUP_LANGUAGES; case 74: return MISSING_MOBILE_CARRIER; case 75: return MISSING_PHONE; case 76: return MISSING_REQUIRED_TEMPLATE_FIELDS; case 77: return MISSING_TEMPLATE_FIELD_VALUE; case 78: return MISSING_TEXT; case 79: return MISSING_VISIBLE_URL; case 80: return MISSING_WIDTH; case 81: return MULTIPLE_DISTINCT_FEEDS_UNSUPPORTED; case 82: return MUST_USE_TEMP_AD_UNION_ID_ON_ADD; case 83: return TOO_LONG; case 84: return TOO_SHORT; case 85: return UNION_DIMENSIONS_CANNOT_CHANGE; case 86: return UNKNOWN_ADDRESS_COMPONENT; case 87: return UNKNOWN_FIELD_NAME; case 88: return UNKNOWN_UNIQUE_NAME; case 89: return UNSUPPORTED_DIMENSIONS; case 90: return URL_INVALID_SCHEME; case 91: return URL_INVALID_TOP_LEVEL_DOMAIN; case 92: return URL_MALFORMED; case 93: return URL_NO_HOST; case 94: return URL_NOT_EQUIVALENT; case 95: return URL_HOST_NAME_TOO_LONG; case 96: return URL_NO_SCHEME; case 97: return URL_NO_TOP_LEVEL_DOMAIN; case 98: return URL_PATH_NOT_ALLOWED; case 99: return URL_PORT_NOT_ALLOWED; case 100: return URL_QUERY_NOT_ALLOWED; case 102: return URL_SCHEME_BEFORE_EXPANDED_DYNAMIC_SEARCH_AD_TAG; case 103: return USER_DOES_NOT_HAVE_ACCESS_TO_TEMPLATE; case 104: return INCONSISTENT_EXPANDABLE_SETTINGS; case 105: return INVALID_FORMAT; case 106: return INVALID_FIELD_TEXT; case 107: return ELEMENT_NOT_PRESENT; case 108: return IMAGE_ERROR; case 109: return VALUE_NOT_IN_RANGE; case 110: return FIELD_NOT_PRESENT; case 111: return ADDRESS_NOT_COMPLETE; case 112: return ADDRESS_INVALID; case 113: return VIDEO_RETRIEVAL_ERROR; case 114: return AUDIO_ERROR; case 115: return INVALID_YOUTUBE_DISPLAY_URL; case 116: return TOO_MANY_PRODUCT_IMAGES; case 117: return TOO_MANY_PRODUCT_VIDEOS; case 118: return INCOMPATIBLE_AD_TYPE_AND_DEVICE_PREFERENCE; case 119: return CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY; case 120: return CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED; case 121: return DISALLOWED_NUMBER_TYPE; case 122: return PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY; case 123: return PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY; case 124: return PREMIUM_RATE_NUMBER_NOT_ALLOWED; case 125: return VANITY_PHONE_NUMBER_NOT_ALLOWED; case 126: return INVALID_CALL_CONVERSION_TYPE_ID; case 127: return CANNOT_DISABLE_CALL_CONVERSION_AND_SET_CONVERSION_TYPE_ID; case 128: return CANNOT_SET_PATH2_WITHOUT_PATH1; case 129: return MISSING_DYNAMIC_SEARCH_ADS_SETTING_DOMAIN_NAME; case 130: return INCOMPATIBLE_WITH_RESTRICTION_TYPE; case 131: return CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED; case 132: return MISSING_IMAGE_OR_MEDIA_BUNDLE; case 133: return PRODUCT_TYPE_NOT_SUPPORTED_IN_THIS_CAMPAIGN; case 134: return PLACEHOLDER_CANNOT_HAVE_EMPTY_DEFAULT_VALUE; case 135: return PLACEHOLDER_COUNTDOWN_FUNCTION_CANNOT_HAVE_DEFAULT_VALUE; case 136: return PLACEHOLDER_DEFAULT_VALUE_MISSING; case 137: return UNEXPECTED_PLACEHOLDER_DEFAULT_VALUE; case 138: return AD_CUSTOMIZERS_MAY_NOT_BE_ADJACENT; case 139: return UPDATING_AD_WITH_NO_ENABLED_ASSOCIATION; case 140: return CALL_AD_VERIFICATION_URL_FINAL_URL_DOES_NOT_HAVE_SAME_DOMAIN; case 154: return CALL_AD_FINAL_URL_AND_VERIFICATION_URL_CANNOT_BOTH_BE_EMPTY; case 141: return TOO_MANY_AD_CUSTOMIZERS; case 142: return INVALID_AD_CUSTOMIZER_FORMAT; case 143: return NESTED_AD_CUSTOMIZER_SYNTAX; case 144: return UNSUPPORTED_AD_CUSTOMIZER_SYNTAX; case 145: return UNPAIRED_BRACE_IN_AD_CUSTOMIZER_TAG; case 146: return MORE_THAN_ONE_COUNTDOWN_TAG_TYPE_EXISTS; case 147: return DATE_TIME_IN_COUNTDOWN_TAG_IS_INVALID; case 148: return DATE_TIME_IN_COUNTDOWN_TAG_IS_PAST; case 149: return UNRECOGNIZED_AD_CUSTOMIZER_TAG_FOUND; case 150: return CUSTOMIZER_TYPE_FORBIDDEN_FOR_FIELD; case 151: return INVALID_CUSTOMIZER_ATTRIBUTE_NAME; case 152: return STORE_MISMATCH; case 153: return MISSING_REQUIRED_IMAGE_ASPECT_RATIO; case 155: return MISMATCHED_ASPECT_RATIOS; case 156: return DUPLICATE_IMAGE_ACROSS_CAROUSEL_CARDS; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< AdError> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public AdError findValueByNumber(int number) { return AdError.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.ads.googleads.v17.errors.AdErrorEnum.getDescriptor().getEnumTypes().get(0); } private static final AdError[] VALUES = values(); public static AdError valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private AdError(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:google.ads.googleads.v17.errors.AdErrorEnum.AdError) } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.ads.googleads.v17.errors.AdErrorEnum)) { return super.equals(obj); } com.google.ads.googleads.v17.errors.AdErrorEnum other = (com.google.ads.googleads.v17.errors.AdErrorEnum) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.ads.googleads.v17.errors.AdErrorEnum parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.errors.AdErrorEnum parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v17.errors.AdErrorEnum parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.errors.AdErrorEnum parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v17.errors.AdErrorEnum parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.errors.AdErrorEnum parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v17.errors.AdErrorEnum parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.errors.AdErrorEnum parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.ads.googleads.v17.errors.AdErrorEnum parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.errors.AdErrorEnum parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.ads.googleads.v17.errors.AdErrorEnum parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.errors.AdErrorEnum parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.ads.googleads.v17.errors.AdErrorEnum prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   * Container for enum describing possible ad errors.
   * 
* * Protobuf type {@code google.ads.googleads.v17.errors.AdErrorEnum} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.ads.googleads.v17.errors.AdErrorEnum) com.google.ads.googleads.v17.errors.AdErrorEnumOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v17.errors.AdErrorProto.internal_static_google_ads_googleads_v17_errors_AdErrorEnum_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v17.errors.AdErrorProto.internal_static_google_ads_googleads_v17_errors_AdErrorEnum_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v17.errors.AdErrorEnum.class, com.google.ads.googleads.v17.errors.AdErrorEnum.Builder.class); } // Construct using com.google.ads.googleads.v17.errors.AdErrorEnum.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.ads.googleads.v17.errors.AdErrorProto.internal_static_google_ads_googleads_v17_errors_AdErrorEnum_descriptor; } @java.lang.Override public com.google.ads.googleads.v17.errors.AdErrorEnum getDefaultInstanceForType() { return com.google.ads.googleads.v17.errors.AdErrorEnum.getDefaultInstance(); } @java.lang.Override public com.google.ads.googleads.v17.errors.AdErrorEnum build() { com.google.ads.googleads.v17.errors.AdErrorEnum result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.ads.googleads.v17.errors.AdErrorEnum buildPartial() { com.google.ads.googleads.v17.errors.AdErrorEnum result = new com.google.ads.googleads.v17.errors.AdErrorEnum(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.ads.googleads.v17.errors.AdErrorEnum) { return mergeFrom((com.google.ads.googleads.v17.errors.AdErrorEnum)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.ads.googleads.v17.errors.AdErrorEnum other) { if (other == com.google.ads.googleads.v17.errors.AdErrorEnum.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:google.ads.googleads.v17.errors.AdErrorEnum) } // @@protoc_insertion_point(class_scope:google.ads.googleads.v17.errors.AdErrorEnum) private static final com.google.ads.googleads.v17.errors.AdErrorEnum DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.ads.googleads.v17.errors.AdErrorEnum(); } public static com.google.ads.googleads.v17.errors.AdErrorEnum getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AdErrorEnum parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.ads.googleads.v17.errors.AdErrorEnum getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy