com.google.ads.googleads.v17.errors.CriterionErrorEnum Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of google-ads-stubs-v17 Show documentation
Show all versions of google-ads-stubs-v17 Show documentation
Stubs for GAAPI version google-ads-stubs-v17
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v17/errors/criterion_error.proto
// Protobuf Java Version: 3.25.3
package com.google.ads.googleads.v17.errors;
/**
*
* Container for enum describing possible criterion errors.
*
*
* Protobuf type {@code google.ads.googleads.v17.errors.CriterionErrorEnum}
*/
public final class CriterionErrorEnum extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:google.ads.googleads.v17.errors.CriterionErrorEnum)
CriterionErrorEnumOrBuilder {
private static final long serialVersionUID = 0L;
// Use CriterionErrorEnum.newBuilder() to construct.
private CriterionErrorEnum(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CriterionErrorEnum() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CriterionErrorEnum();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v17.errors.CriterionErrorProto.internal_static_google_ads_googleads_v17_errors_CriterionErrorEnum_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v17.errors.CriterionErrorProto.internal_static_google_ads_googleads_v17_errors_CriterionErrorEnum_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v17.errors.CriterionErrorEnum.class, com.google.ads.googleads.v17.errors.CriterionErrorEnum.Builder.class);
}
/**
*
* Enum describing possible criterion errors.
*
*
* Protobuf enum {@code google.ads.googleads.v17.errors.CriterionErrorEnum.CriterionError}
*/
public enum CriterionError
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),
/**
*
* Concrete type of criterion is required for CREATE and UPDATE operations.
*
*
* CONCRETE_TYPE_REQUIRED = 2;
*/
CONCRETE_TYPE_REQUIRED(2),
/**
*
* The category requested for exclusion is invalid.
*
*
* INVALID_EXCLUDED_CATEGORY = 3;
*/
INVALID_EXCLUDED_CATEGORY(3),
/**
*
* Invalid keyword criteria text.
*
*
* INVALID_KEYWORD_TEXT = 4;
*/
INVALID_KEYWORD_TEXT(4),
/**
*
* Keyword text should be less than 80 chars.
*
*
* KEYWORD_TEXT_TOO_LONG = 5;
*/
KEYWORD_TEXT_TOO_LONG(5),
/**
*
* Keyword text has too many words.
*
*
* KEYWORD_HAS_TOO_MANY_WORDS = 6;
*/
KEYWORD_HAS_TOO_MANY_WORDS(6),
/**
*
* Keyword text has invalid characters or symbols.
*
*
* KEYWORD_HAS_INVALID_CHARS = 7;
*/
KEYWORD_HAS_INVALID_CHARS(7),
/**
*
* Invalid placement URL.
*
*
* INVALID_PLACEMENT_URL = 8;
*/
INVALID_PLACEMENT_URL(8),
/**
*
* Invalid user list criterion.
*
*
* INVALID_USER_LIST = 9;
*/
INVALID_USER_LIST(9),
/**
*
* Invalid user interest criterion.
*
*
* INVALID_USER_INTEREST = 10;
*/
INVALID_USER_INTEREST(10),
/**
*
* Placement URL has wrong format.
*
*
* INVALID_FORMAT_FOR_PLACEMENT_URL = 11;
*/
INVALID_FORMAT_FOR_PLACEMENT_URL(11),
/**
*
* Placement URL is too long.
*
*
* PLACEMENT_URL_IS_TOO_LONG = 12;
*/
PLACEMENT_URL_IS_TOO_LONG(12),
/**
*
* Indicates the URL contains an illegal character.
*
*
* PLACEMENT_URL_HAS_ILLEGAL_CHAR = 13;
*/
PLACEMENT_URL_HAS_ILLEGAL_CHAR(13),
/**
*
* Indicates the URL contains multiple comma separated URLs.
*
*
* PLACEMENT_URL_HAS_MULTIPLE_SITES_IN_LINE = 14;
*/
PLACEMENT_URL_HAS_MULTIPLE_SITES_IN_LINE(14),
/**
*
* Indicates the domain is blocked.
*
*
* PLACEMENT_IS_NOT_AVAILABLE_FOR_TARGETING_OR_EXCLUSION = 15;
*/
PLACEMENT_IS_NOT_AVAILABLE_FOR_TARGETING_OR_EXCLUSION(15),
/**
*
* Invalid topic path.
*
*
* INVALID_TOPIC_PATH = 16;
*/
INVALID_TOPIC_PATH(16),
/**
*
* The YouTube Channel Id is invalid.
*
*
* INVALID_YOUTUBE_CHANNEL_ID = 17;
*/
INVALID_YOUTUBE_CHANNEL_ID(17),
/**
*
* The YouTube Video Id is invalid.
*
*
* INVALID_YOUTUBE_VIDEO_ID = 18;
*/
INVALID_YOUTUBE_VIDEO_ID(18),
/**
*
* Indicates the placement is a YouTube vertical channel, which is no longer
* supported.
*
*
* YOUTUBE_VERTICAL_CHANNEL_DEPRECATED = 19;
*/
YOUTUBE_VERTICAL_CHANNEL_DEPRECATED(19),
/**
*
* Indicates the placement is a YouTube demographic channel, which is no
* longer supported.
*
*
* YOUTUBE_DEMOGRAPHIC_CHANNEL_DEPRECATED = 20;
*/
YOUTUBE_DEMOGRAPHIC_CHANNEL_DEPRECATED(20),
/**
*
* YouTube urls are not supported in Placement criterion. Use YouTubeChannel
* and YouTubeVideo criterion instead.
*
*
* YOUTUBE_URL_UNSUPPORTED = 21;
*/
YOUTUBE_URL_UNSUPPORTED(21),
/**
*
* Criteria type can not be excluded by the customer, like AOL account type
* cannot target site type criteria.
*
*
* CANNOT_EXCLUDE_CRITERIA_TYPE = 22;
*/
CANNOT_EXCLUDE_CRITERIA_TYPE(22),
/**
*
* Criteria type can not be targeted.
*
*
* CANNOT_ADD_CRITERIA_TYPE = 23;
*/
CANNOT_ADD_CRITERIA_TYPE(23),
/**
*
* Not allowed to exclude similar user list.
*
*
* CANNOT_EXCLUDE_SIMILAR_USER_LIST = 26;
*/
CANNOT_EXCLUDE_SIMILAR_USER_LIST(26),
/**
*
* Not allowed to target a closed user list.
*
*
* CANNOT_ADD_CLOSED_USER_LIST = 27;
*/
CANNOT_ADD_CLOSED_USER_LIST(27),
/**
*
* Not allowed to add display only UserLists to search only campaigns.
*
*
* CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_ONLY_CAMPAIGNS = 28;
*/
CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_ONLY_CAMPAIGNS(28),
/**
*
* Not allowed to add display only UserLists to search plus campaigns.
*
*
* CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_CAMPAIGNS = 29;
*/
CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_CAMPAIGNS(29),
/**
*
* Not allowed to add display only UserLists to shopping campaigns.
*
*
* CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SHOPPING_CAMPAIGNS = 30;
*/
CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SHOPPING_CAMPAIGNS(30),
/**
*
* Not allowed to add User interests to search only campaigns.
*
*
* CANNOT_ADD_USER_INTERESTS_TO_SEARCH_CAMPAIGNS = 31;
*/
CANNOT_ADD_USER_INTERESTS_TO_SEARCH_CAMPAIGNS(31),
/**
*
* Not allowed to set bids for this criterion type in search campaigns
*
*
* CANNOT_SET_BIDS_ON_CRITERION_TYPE_IN_SEARCH_CAMPAIGNS = 32;
*/
CANNOT_SET_BIDS_ON_CRITERION_TYPE_IN_SEARCH_CAMPAIGNS(32),
/**
*
* Final URLs, URL Templates and CustomParameters cannot be set for the
* criterion types of Gender, AgeRange, UserList, Placement, MobileApp, and
* MobileAppCategory in search campaigns and shopping campaigns.
*
*
* CANNOT_ADD_URLS_TO_CRITERION_TYPE_FOR_CAMPAIGN_TYPE = 33;
*/
CANNOT_ADD_URLS_TO_CRITERION_TYPE_FOR_CAMPAIGN_TYPE(33),
/**
*
* Invalid combined audience criterion.
*
*
* INVALID_COMBINED_AUDIENCE = 122;
*/
INVALID_COMBINED_AUDIENCE(122),
/**
*
* Invalid custom affinity criterion.
*
*
* INVALID_CUSTOM_AFFINITY = 96;
*/
INVALID_CUSTOM_AFFINITY(96),
/**
*
* Invalid custom intent criterion.
*
*
* INVALID_CUSTOM_INTENT = 97;
*/
INVALID_CUSTOM_INTENT(97),
/**
*
* Invalid custom audience criterion.
*
*
* INVALID_CUSTOM_AUDIENCE = 121;
*/
INVALID_CUSTOM_AUDIENCE(121),
/**
*
* IP address is not valid.
*
*
* INVALID_IP_ADDRESS = 34;
*/
INVALID_IP_ADDRESS(34),
/**
*
* IP format is not valid.
*
*
* INVALID_IP_FORMAT = 35;
*/
INVALID_IP_FORMAT(35),
/**
*
* Mobile application is not valid.
*
*
* INVALID_MOBILE_APP = 36;
*/
INVALID_MOBILE_APP(36),
/**
*
* Mobile application category is not valid.
*
*
* INVALID_MOBILE_APP_CATEGORY = 37;
*/
INVALID_MOBILE_APP_CATEGORY(37),
/**
*
* The CriterionId does not exist or is of the incorrect type.
*
*
* INVALID_CRITERION_ID = 38;
*/
INVALID_CRITERION_ID(38),
/**
*
* The Criterion is not allowed to be targeted.
*
*
* CANNOT_TARGET_CRITERION = 39;
*/
CANNOT_TARGET_CRITERION(39),
/**
*
* The criterion is not allowed to be targeted as it is deprecated.
*
*
* CANNOT_TARGET_OBSOLETE_CRITERION = 40;
*/
CANNOT_TARGET_OBSOLETE_CRITERION(40),
/**
*
* The CriterionId is not valid for the type.
*
*
* CRITERION_ID_AND_TYPE_MISMATCH = 41;
*/
CRITERION_ID_AND_TYPE_MISMATCH(41),
/**
*
* Distance for the radius for the proximity criterion is invalid.
*
*
* INVALID_PROXIMITY_RADIUS = 42;
*/
INVALID_PROXIMITY_RADIUS(42),
/**
*
* Units for the distance for the radius for the proximity criterion is
* invalid.
*
*
* INVALID_PROXIMITY_RADIUS_UNITS = 43;
*/
INVALID_PROXIMITY_RADIUS_UNITS(43),
/**
*
* Street address in the address is not valid.
*
*
* INVALID_STREETADDRESS_LENGTH = 44;
*/
INVALID_STREETADDRESS_LENGTH(44),
/**
*
* City name in the address is not valid.
*
*
* INVALID_CITYNAME_LENGTH = 45;
*/
INVALID_CITYNAME_LENGTH(45),
/**
*
* Region code in the address is not valid.
*
*
* INVALID_REGIONCODE_LENGTH = 46;
*/
INVALID_REGIONCODE_LENGTH(46),
/**
*
* Region name in the address is not valid.
*
*
* INVALID_REGIONNAME_LENGTH = 47;
*/
INVALID_REGIONNAME_LENGTH(47),
/**
*
* Postal code in the address is not valid.
*
*
* INVALID_POSTALCODE_LENGTH = 48;
*/
INVALID_POSTALCODE_LENGTH(48),
/**
*
* Country code in the address is not valid.
*
*
* INVALID_COUNTRY_CODE = 49;
*/
INVALID_COUNTRY_CODE(49),
/**
*
* Latitude for the GeoPoint is not valid.
*
*
* INVALID_LATITUDE = 50;
*/
INVALID_LATITUDE(50),
/**
*
* Longitude for the GeoPoint is not valid.
*
*
* INVALID_LONGITUDE = 51;
*/
INVALID_LONGITUDE(51),
/**
*
* The Proximity input is not valid. Both address and geoPoint cannot be
* null.
*
*
* PROXIMITY_GEOPOINT_AND_ADDRESS_BOTH_CANNOT_BE_NULL = 52;
*/
PROXIMITY_GEOPOINT_AND_ADDRESS_BOTH_CANNOT_BE_NULL(52),
/**
*
* The Proximity address cannot be geocoded to a valid lat/long.
*
*
* INVALID_PROXIMITY_ADDRESS = 53;
*/
INVALID_PROXIMITY_ADDRESS(53),
/**
*
* User domain name is not valid.
*
*
* INVALID_USER_DOMAIN_NAME = 54;
*/
INVALID_USER_DOMAIN_NAME(54),
/**
*
* Length of serialized criterion parameter exceeded size limit.
*
*
* CRITERION_PARAMETER_TOO_LONG = 55;
*/
CRITERION_PARAMETER_TOO_LONG(55),
/**
*
* Time interval in the AdSchedule overlaps with another AdSchedule.
*
*
* AD_SCHEDULE_TIME_INTERVALS_OVERLAP = 56;
*/
AD_SCHEDULE_TIME_INTERVALS_OVERLAP(56),
/**
*
* AdSchedule time interval cannot span multiple days.
*
*
* AD_SCHEDULE_INTERVAL_CANNOT_SPAN_MULTIPLE_DAYS = 57;
*/
AD_SCHEDULE_INTERVAL_CANNOT_SPAN_MULTIPLE_DAYS(57),
/**
*
* AdSchedule time interval specified is invalid, endTime cannot be earlier
* than startTime.
*
*
* AD_SCHEDULE_INVALID_TIME_INTERVAL = 58;
*/
AD_SCHEDULE_INVALID_TIME_INTERVAL(58),
/**
*
* The number of AdSchedule entries in a day exceeds the limit.
*
*
* AD_SCHEDULE_EXCEEDED_INTERVALS_PER_DAY_LIMIT = 59;
*/
AD_SCHEDULE_EXCEEDED_INTERVALS_PER_DAY_LIMIT(59),
/**
*
* CriteriaId does not match the interval of the AdSchedule specified.
*
*
* AD_SCHEDULE_CRITERION_ID_MISMATCHING_FIELDS = 60;
*/
AD_SCHEDULE_CRITERION_ID_MISMATCHING_FIELDS(60),
/**
*
* Cannot set bid modifier for this criterion type.
*
*
* CANNOT_BID_MODIFY_CRITERION_TYPE = 61;
*/
CANNOT_BID_MODIFY_CRITERION_TYPE(61),
/**
*
* Cannot bid modify criterion, since it is opted out of the campaign.
*
*
* CANNOT_BID_MODIFY_CRITERION_CAMPAIGN_OPTED_OUT = 62;
*/
CANNOT_BID_MODIFY_CRITERION_CAMPAIGN_OPTED_OUT(62),
/**
*
* Cannot set bid modifier for a negative criterion.
*
*
* CANNOT_BID_MODIFY_NEGATIVE_CRITERION = 63;
*/
CANNOT_BID_MODIFY_NEGATIVE_CRITERION(63),
/**
*
* Bid Modifier already exists. Use SET operation to update.
*
*
* BID_MODIFIER_ALREADY_EXISTS = 64;
*/
BID_MODIFIER_ALREADY_EXISTS(64),
/**
*
* Feed Id is not allowed in these Location Groups.
*
*
* FEED_ID_NOT_ALLOWED = 65;
*/
FEED_ID_NOT_ALLOWED(65),
/**
*
* The account may not use the requested criteria type. For example, some
* accounts are restricted to keywords only.
*
*
* ACCOUNT_INELIGIBLE_FOR_CRITERIA_TYPE = 66;
*/
ACCOUNT_INELIGIBLE_FOR_CRITERIA_TYPE(66),
/**
*
* The requested criteria type cannot be used with campaign or ad group
* bidding strategy.
*
*
* CRITERIA_TYPE_INVALID_FOR_BIDDING_STRATEGY = 67;
*/
CRITERIA_TYPE_INVALID_FOR_BIDDING_STRATEGY(67),
/**
*
* The Criterion is not allowed to be excluded.
*
*
* CANNOT_EXCLUDE_CRITERION = 68;
*/
CANNOT_EXCLUDE_CRITERION(68),
/**
*
* The criterion is not allowed to be removed. For example, we cannot remove
* any of the device criterion.
*
*
* CANNOT_REMOVE_CRITERION = 69;
*/
CANNOT_REMOVE_CRITERION(69),
/**
*
* Bidding categories do not form a valid path in the Shopping bidding
* category taxonomy.
*
*
* INVALID_PRODUCT_BIDDING_CATEGORY = 76;
*/
INVALID_PRODUCT_BIDDING_CATEGORY(76),
/**
*
* ShoppingSetting must be added to the campaign before ProductScope
* criteria can be added.
*
*
* MISSING_SHOPPING_SETTING = 77;
*/
MISSING_SHOPPING_SETTING(77),
/**
*
* Matching function is invalid.
*
*
* INVALID_MATCHING_FUNCTION = 78;
*/
INVALID_MATCHING_FUNCTION(78),
/**
*
* Filter parameters not allowed for location groups targeting.
*
*
* LOCATION_FILTER_NOT_ALLOWED = 79;
*/
LOCATION_FILTER_NOT_ALLOWED(79),
/**
*
* Feed not found, or the feed is not an enabled location feed.
*
*
* INVALID_FEED_FOR_LOCATION_FILTER = 98;
*/
INVALID_FEED_FOR_LOCATION_FILTER(98),
/**
*
* Given location filter parameter is invalid for location groups targeting.
*
*
* LOCATION_FILTER_INVALID = 80;
*/
LOCATION_FILTER_INVALID(80),
/**
*
* Cannot set geo target constants and feed item sets at the same time.
*
*
* CANNOT_SET_GEO_TARGET_CONSTANTS_WITH_FEED_ITEM_SETS = 123;
*/
CANNOT_SET_GEO_TARGET_CONSTANTS_WITH_FEED_ITEM_SETS(123),
/**
*
* Cannot set both assetset and feed at the same time.
*
*
* CANNOT_SET_BOTH_ASSET_SET_AND_FEED = 140;
*/
CANNOT_SET_BOTH_ASSET_SET_AND_FEED(140),
/**
*
* Cannot set feed or feed item sets for Customer.
*
*
* CANNOT_SET_FEED_OR_FEED_ITEM_SETS_FOR_CUSTOMER = 142;
*/
CANNOT_SET_FEED_OR_FEED_ITEM_SETS_FOR_CUSTOMER(142),
/**
*
* Cannot set AssetSet criteria for customer.
*
*
* CANNOT_SET_ASSET_SET_FIELD_FOR_CUSTOMER = 150;
*/
CANNOT_SET_ASSET_SET_FIELD_FOR_CUSTOMER(150),
/**
*
* Cannot set geo target constants and asset sets at the same time.
*
*
* CANNOT_SET_GEO_TARGET_CONSTANTS_WITH_ASSET_SETS = 143;
*/
CANNOT_SET_GEO_TARGET_CONSTANTS_WITH_ASSET_SETS(143),
/**
*
* Cannot set asset sets and feed item sets at the same time.
*
*
* CANNOT_SET_ASSET_SETS_WITH_FEED_ITEM_SETS = 144;
*/
CANNOT_SET_ASSET_SETS_WITH_FEED_ITEM_SETS(144),
/**
*
* The location group asset set id is invalid
*
*
* INVALID_LOCATION_GROUP_ASSET_SET = 141;
*/
INVALID_LOCATION_GROUP_ASSET_SET(141),
/**
*
* The location group radius is in the range but not at the valid increment.
*
*
* INVALID_LOCATION_GROUP_RADIUS = 124;
*/
INVALID_LOCATION_GROUP_RADIUS(124),
/**
*
* The location group radius unit is invalid.
*
*
* INVALID_LOCATION_GROUP_RADIUS_UNIT = 125;
*/
INVALID_LOCATION_GROUP_RADIUS_UNIT(125),
/**
*
* Criteria type cannot be associated with a campaign and its ad group(s)
* simultaneously.
*
*
* CANNOT_ATTACH_CRITERIA_AT_CAMPAIGN_AND_ADGROUP = 81;
*/
CANNOT_ATTACH_CRITERIA_AT_CAMPAIGN_AND_ADGROUP(81),
/**
*
* Range represented by hotel length of stay's min nights and max nights
* overlaps with an existing criterion.
*
*
* HOTEL_LENGTH_OF_STAY_OVERLAPS_WITH_EXISTING_CRITERION = 82;
*/
HOTEL_LENGTH_OF_STAY_OVERLAPS_WITH_EXISTING_CRITERION(82),
/**
*
* Range represented by hotel advance booking window's min days and max days
* overlaps with an existing criterion.
*
*
* HOTEL_ADVANCE_BOOKING_WINDOW_OVERLAPS_WITH_EXISTING_CRITERION = 83;
*/
HOTEL_ADVANCE_BOOKING_WINDOW_OVERLAPS_WITH_EXISTING_CRITERION(83),
/**
*
* The field is not allowed to be set when the negative field is set to
* true, for example, we don't allow bids in negative ad group or campaign
* criteria.
*
*
* FIELD_INCOMPATIBLE_WITH_NEGATIVE_TARGETING = 84;
*/
FIELD_INCOMPATIBLE_WITH_NEGATIVE_TARGETING(84),
/**
*
* The combination of operand and operator in webpage condition is invalid.
*
*
* INVALID_WEBPAGE_CONDITION = 85;
*/
INVALID_WEBPAGE_CONDITION(85),
/**
*
* The URL of webpage condition is invalid.
*
*
* INVALID_WEBPAGE_CONDITION_URL = 86;
*/
INVALID_WEBPAGE_CONDITION_URL(86),
/**
*
* The URL of webpage condition cannot be empty or contain white space.
*
*
* WEBPAGE_CONDITION_URL_CANNOT_BE_EMPTY = 87;
*/
WEBPAGE_CONDITION_URL_CANNOT_BE_EMPTY(87),
/**
*
* The URL of webpage condition contains an unsupported protocol.
*
*
* WEBPAGE_CONDITION_URL_UNSUPPORTED_PROTOCOL = 88;
*/
WEBPAGE_CONDITION_URL_UNSUPPORTED_PROTOCOL(88),
/**
*
* The URL of webpage condition cannot be an IP address.
*
*
* WEBPAGE_CONDITION_URL_CANNOT_BE_IP_ADDRESS = 89;
*/
WEBPAGE_CONDITION_URL_CANNOT_BE_IP_ADDRESS(89),
/**
*
* The domain of the URL is not consistent with the domain in campaign
* setting.
*
*
* WEBPAGE_CONDITION_URL_DOMAIN_NOT_CONSISTENT_WITH_CAMPAIGN_SETTING = 90;
*/
WEBPAGE_CONDITION_URL_DOMAIN_NOT_CONSISTENT_WITH_CAMPAIGN_SETTING(90),
/**
*
* The URL of webpage condition cannot be a public suffix itself.
*
*
* WEBPAGE_CONDITION_URL_CANNOT_BE_PUBLIC_SUFFIX = 91;
*/
WEBPAGE_CONDITION_URL_CANNOT_BE_PUBLIC_SUFFIX(91),
/**
*
* The URL of webpage condition has an invalid public suffix.
*
*
* WEBPAGE_CONDITION_URL_INVALID_PUBLIC_SUFFIX = 92;
*/
WEBPAGE_CONDITION_URL_INVALID_PUBLIC_SUFFIX(92),
/**
*
* Value track parameter is not supported in webpage condition URL.
*
*
* WEBPAGE_CONDITION_URL_VALUE_TRACK_VALUE_NOT_SUPPORTED = 93;
*/
WEBPAGE_CONDITION_URL_VALUE_TRACK_VALUE_NOT_SUPPORTED(93),
/**
*
* Only one URL-EQUALS webpage condition is allowed in a webpage
* criterion and it cannot be combined with other conditions.
*
*
* WEBPAGE_CRITERION_URL_EQUALS_CAN_HAVE_ONLY_ONE_CONDITION = 94;
*/
WEBPAGE_CRITERION_URL_EQUALS_CAN_HAVE_ONLY_ONE_CONDITION(94),
/**
*
* A webpage criterion cannot be added to a non-DSA ad group.
*
*
* WEBPAGE_CRITERION_NOT_SUPPORTED_ON_NON_DSA_AD_GROUP = 95;
*/
WEBPAGE_CRITERION_NOT_SUPPORTED_ON_NON_DSA_AD_GROUP(95),
/**
*
* Cannot add positive user list criteria in Smart Display campaigns.
*
*
* CANNOT_TARGET_USER_LIST_FOR_SMART_DISPLAY_CAMPAIGNS = 99;
*/
CANNOT_TARGET_USER_LIST_FOR_SMART_DISPLAY_CAMPAIGNS(99),
/**
*
* Cannot add positive placement criterion types in search campaigns.
*
*
* CANNOT_TARGET_PLACEMENTS_FOR_SEARCH_CAMPAIGNS = 126;
*/
CANNOT_TARGET_PLACEMENTS_FOR_SEARCH_CAMPAIGNS(126),
/**
*
* Listing scope contains too many dimension types.
*
*
* LISTING_SCOPE_TOO_MANY_DIMENSION_TYPES = 100;
*/
LISTING_SCOPE_TOO_MANY_DIMENSION_TYPES(100),
/**
*
* Listing scope has too many IN operators.
*
*
* LISTING_SCOPE_TOO_MANY_IN_OPERATORS = 101;
*/
LISTING_SCOPE_TOO_MANY_IN_OPERATORS(101),
/**
*
* Listing scope contains IN operator on an unsupported dimension type.
*
*
* LISTING_SCOPE_IN_OPERATOR_NOT_SUPPORTED = 102;
*/
LISTING_SCOPE_IN_OPERATOR_NOT_SUPPORTED(102),
/**
*
* There are dimensions with duplicate dimension type.
*
*
* DUPLICATE_LISTING_DIMENSION_TYPE = 103;
*/
DUPLICATE_LISTING_DIMENSION_TYPE(103),
/**
*
* There are dimensions with duplicate dimension value.
*
*
* DUPLICATE_LISTING_DIMENSION_VALUE = 104;
*/
DUPLICATE_LISTING_DIMENSION_VALUE(104),
/**
*
* Listing group SUBDIVISION nodes cannot have bids.
*
*
* CANNOT_SET_BIDS_ON_LISTING_GROUP_SUBDIVISION = 105;
*/
CANNOT_SET_BIDS_ON_LISTING_GROUP_SUBDIVISION(105),
/**
*
* Ad group is invalid due to the listing groups it contains.
*
*
* INVALID_LISTING_GROUP_HIERARCHY = 106;
*/
INVALID_LISTING_GROUP_HIERARCHY(106),
/**
*
* Listing group unit cannot have children.
*
*
* LISTING_GROUP_UNIT_CANNOT_HAVE_CHILDREN = 107;
*/
LISTING_GROUP_UNIT_CANNOT_HAVE_CHILDREN(107),
/**
*
* Subdivided listing groups must have an "others" case.
*
*
* LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE = 108;
*/
LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE(108),
/**
*
* Dimension type of listing group must be the same as that of its siblings.
*
*
* LISTING_GROUP_REQUIRES_SAME_DIMENSION_TYPE_AS_SIBLINGS = 109;
*/
LISTING_GROUP_REQUIRES_SAME_DIMENSION_TYPE_AS_SIBLINGS(109),
/**
*
* Listing group cannot be added to the ad group because it already exists.
*
*
* LISTING_GROUP_ALREADY_EXISTS = 110;
*/
LISTING_GROUP_ALREADY_EXISTS(110),
/**
*
* Listing group referenced in the operation was not found in the ad group.
*
*
* LISTING_GROUP_DOES_NOT_EXIST = 111;
*/
LISTING_GROUP_DOES_NOT_EXIST(111),
/**
*
* Recursive removal failed because listing group subdivision is being
* created or modified in this request.
*
*
* LISTING_GROUP_CANNOT_BE_REMOVED = 112;
*/
LISTING_GROUP_CANNOT_BE_REMOVED(112),
/**
*
* Listing group type is not allowed for specified ad group criterion type.
*
*
* INVALID_LISTING_GROUP_TYPE = 113;
*/
INVALID_LISTING_GROUP_TYPE(113),
/**
*
* Listing group in an ADD operation specifies a non temporary criterion id.
*
*
* LISTING_GROUP_ADD_MAY_ONLY_USE_TEMP_ID = 114;
*/
LISTING_GROUP_ADD_MAY_ONLY_USE_TEMP_ID(114),
/**
*
* The combined length of dimension values of the Listing scope criterion
* is too long.
*
*
* LISTING_SCOPE_TOO_LONG = 115;
*/
LISTING_SCOPE_TOO_LONG(115),
/**
*
* Listing scope contains too many dimensions.
*
*
* LISTING_SCOPE_TOO_MANY_DIMENSIONS = 116;
*/
LISTING_SCOPE_TOO_MANY_DIMENSIONS(116),
/**
*
* The combined length of dimension values of the Listing group criterion is
* too long.
*
*
* LISTING_GROUP_TOO_LONG = 117;
*/
LISTING_GROUP_TOO_LONG(117),
/**
*
* Listing group tree is too deep.
*
*
* LISTING_GROUP_TREE_TOO_DEEP = 118;
*/
LISTING_GROUP_TREE_TOO_DEEP(118),
/**
*
* Listing dimension is invalid (for example, dimension contains illegal
* value, dimension type is represented with wrong class, etc). Listing
* dimension value can not contain "==" or "&+".
*
*
* INVALID_LISTING_DIMENSION = 119;
*/
INVALID_LISTING_DIMENSION(119),
/**
*
* Listing dimension type is either invalid for campaigns of this type or
* cannot be used in the current context. BIDDING_CATEGORY_Lx and
* PRODUCT_TYPE_Lx dimensions must be used in ascending order of their
* levels: L1, L2, L3, L4, L5... The levels must be specified sequentially
* and start from L1. Furthermore, an "others" Listing group cannot be
* subdivided with a dimension of the same type but of a higher level
* ("others" BIDDING_CATEGORY_L3 can be subdivided with BRAND but not with
* BIDDING_CATEGORY_L4).
*
*
* INVALID_LISTING_DIMENSION_TYPE = 120;
*/
INVALID_LISTING_DIMENSION_TYPE(120),
/**
*
* Customer is not on allowlist for composite audience in display campaigns.
*
*
* ADVERTISER_NOT_ON_ALLOWLIST_FOR_COMBINED_AUDIENCE_ON_DISPLAY = 127;
*/
ADVERTISER_NOT_ON_ALLOWLIST_FOR_COMBINED_AUDIENCE_ON_DISPLAY(127),
/**
*
* Cannot target on a removed combined audience.
*
*
* CANNOT_TARGET_REMOVED_COMBINED_AUDIENCE = 128;
*/
CANNOT_TARGET_REMOVED_COMBINED_AUDIENCE(128),
/**
*
* Combined audience ID is invalid.
*
*
* INVALID_COMBINED_AUDIENCE_ID = 129;
*/
INVALID_COMBINED_AUDIENCE_ID(129),
/**
*
* Can not target removed combined audience.
*
*
* CANNOT_TARGET_REMOVED_CUSTOM_AUDIENCE = 130;
*/
CANNOT_TARGET_REMOVED_CUSTOM_AUDIENCE(130),
/**
*
* Range represented by hotel check-in date's start date and end date
* overlaps with an existing criterion.
*
*
* HOTEL_CHECK_IN_DATE_RANGE_OVERLAPS_WITH_EXISTING_CRITERION = 131;
*/
HOTEL_CHECK_IN_DATE_RANGE_OVERLAPS_WITH_EXISTING_CRITERION(131),
/**
*
* Start date is earlier than earliest allowed value of yesterday UTC.
*
*
* HOTEL_CHECK_IN_DATE_RANGE_START_DATE_TOO_EARLY = 132;
*/
HOTEL_CHECK_IN_DATE_RANGE_START_DATE_TOO_EARLY(132),
/**
*
* End date later is than latest allowed day of 330 days in the future UTC.
*
*
* HOTEL_CHECK_IN_DATE_RANGE_END_DATE_TOO_LATE = 133;
*/
HOTEL_CHECK_IN_DATE_RANGE_END_DATE_TOO_LATE(133),
/**
*
* Start date is after end date.
*
*
* HOTEL_CHECK_IN_DATE_RANGE_REVERSED = 134;
*/
HOTEL_CHECK_IN_DATE_RANGE_REVERSED(134),
/**
*
* Broad match modifier (BMM) keywords can no longer be created. See
* https://ads-developers.googleblog.com/2021/06/broad-match-modifier-upcoming-changes.html.
*
*
* BROAD_MATCH_MODIFIER_KEYWORD_NOT_ALLOWED = 135;
*/
BROAD_MATCH_MODIFIER_KEYWORD_NOT_ALLOWED(135),
/**
*
* Only one audience is allowed in an asset group.
*
*
* ONE_AUDIENCE_ALLOWED_PER_ASSET_GROUP = 136;
*/
ONE_AUDIENCE_ALLOWED_PER_ASSET_GROUP(136),
/**
*
* Audience is not supported for the specified campaign type.
*
*
* AUDIENCE_NOT_ELIGIBLE_FOR_CAMPAIGN_TYPE = 137;
*/
AUDIENCE_NOT_ELIGIBLE_FOR_CAMPAIGN_TYPE(137),
/**
*
* Audience is not allowed to attach when use_audience_grouped bit is set to
* false.
*
*
* AUDIENCE_NOT_ALLOWED_TO_ATTACH_WHEN_AUDIENCE_GROUPED_SET_TO_FALSE = 138;
*/
AUDIENCE_NOT_ALLOWED_TO_ATTACH_WHEN_AUDIENCE_GROUPED_SET_TO_FALSE(138),
/**
*
* Targeting is not allowed for Customer Match lists as per Customer Match
* policy. See
* https://support.google.com/google-ads/answer/6299717.
*
*
* CANNOT_TARGET_CUSTOMER_MATCH_USER_LIST = 139;
*/
CANNOT_TARGET_CUSTOMER_MATCH_USER_LIST(139),
/**
*
* Cannot create a negative keyword list criterion with a shared set that
* does not exist.
*
*
* NEGATIVE_KEYWORD_SHARED_SET_DOES_NOT_EXIST = 145;
*/
NEGATIVE_KEYWORD_SHARED_SET_DOES_NOT_EXIST(145),
/**
*
* Cannot create a negative keyword list with deleted shared set.
*
*
* CANNOT_ADD_REMOVED_NEGATIVE_KEYWORD_SHARED_SET = 146;
*/
CANNOT_ADD_REMOVED_NEGATIVE_KEYWORD_SHARED_SET(146),
/**
*
* Can only have one Negative Keyword List per account.
*
*
* CANNOT_HAVE_MULTIPLE_NEGATIVE_KEYWORD_LIST_PER_ACCOUNT = 147;
*/
CANNOT_HAVE_MULTIPLE_NEGATIVE_KEYWORD_LIST_PER_ACCOUNT(147),
/**
*
* Only allowlisted customers can add criteria of this type.
*
*
* CUSTOMER_CANNOT_ADD_CRITERION_OF_THIS_TYPE = 149;
*/
CUSTOMER_CANNOT_ADD_CRITERION_OF_THIS_TYPE(149),
/**
*
* Targeting for Similar audiences is not supported, since this feature has
* been deprecated. See
* https://support.google.com/google-ads/answer/12463119 to learn more.
*
*
* CANNOT_TARGET_SIMILAR_USER_LIST = 151;
*/
CANNOT_TARGET_SIMILAR_USER_LIST(151),
/**
*
* Audience segment criteria cannot be added when use_audience_grouped bit
* is set.
*
*
* CANNOT_ADD_AUDIENCE_SEGMENT_CRITERION_WHEN_AUDIENCE_GROUPED_IS_SET = 152;
*/
CANNOT_ADD_AUDIENCE_SEGMENT_CRITERION_WHEN_AUDIENCE_GROUPED_IS_SET(152),
/**
*
* Only one audience is allowed in an ad group.
*
*
* ONE_AUDIENCE_ALLOWED_PER_AD_GROUP = 153;
*/
ONE_AUDIENCE_ALLOWED_PER_AD_GROUP(153),
/**
*
* Invalid detailed demographics criterion.
*
*
* INVALID_DETAILED_DEMOGRAPHIC = 154;
*/
INVALID_DETAILED_DEMOGRAPHIC(154),
/**
*
* The brand criteria has a brand input that is not recognized as a
* valid brand.
*
*
* CANNOT_RECOGNIZE_BRAND = 155;
*/
CANNOT_RECOGNIZE_BRAND(155),
/**
*
* The brand_list.shared_set_id references a shared set that does not
* exist.
*
*
* BRAND_SHARED_SET_DOES_NOT_EXIST = 156;
*/
BRAND_SHARED_SET_DOES_NOT_EXIST(156),
/**
*
* Cannot create a brand list with deleted shared set.
*
*
* CANNOT_ADD_REMOVED_BRAND_SHARED_SET = 157;
*/
CANNOT_ADD_REMOVED_BRAND_SHARED_SET(157),
/**
*
* Brand list can only be negatively targeted for the campaign type.
*
*
* ONLY_EXCLUSION_BRAND_LIST_ALLOWED_FOR_CAMPAIGN_TYPE = 158;
*/
ONLY_EXCLUSION_BRAND_LIST_ALLOWED_FOR_CAMPAIGN_TYPE(158),
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;
/**
*
* Concrete type of criterion is required for CREATE and UPDATE operations.
*
*
* CONCRETE_TYPE_REQUIRED = 2;
*/
public static final int CONCRETE_TYPE_REQUIRED_VALUE = 2;
/**
*
* The category requested for exclusion is invalid.
*
*
* INVALID_EXCLUDED_CATEGORY = 3;
*/
public static final int INVALID_EXCLUDED_CATEGORY_VALUE = 3;
/**
*
* Invalid keyword criteria text.
*
*
* INVALID_KEYWORD_TEXT = 4;
*/
public static final int INVALID_KEYWORD_TEXT_VALUE = 4;
/**
*
* Keyword text should be less than 80 chars.
*
*
* KEYWORD_TEXT_TOO_LONG = 5;
*/
public static final int KEYWORD_TEXT_TOO_LONG_VALUE = 5;
/**
*
* Keyword text has too many words.
*
*
* KEYWORD_HAS_TOO_MANY_WORDS = 6;
*/
public static final int KEYWORD_HAS_TOO_MANY_WORDS_VALUE = 6;
/**
*
* Keyword text has invalid characters or symbols.
*
*
* KEYWORD_HAS_INVALID_CHARS = 7;
*/
public static final int KEYWORD_HAS_INVALID_CHARS_VALUE = 7;
/**
*
* Invalid placement URL.
*
*
* INVALID_PLACEMENT_URL = 8;
*/
public static final int INVALID_PLACEMENT_URL_VALUE = 8;
/**
*
* Invalid user list criterion.
*
*
* INVALID_USER_LIST = 9;
*/
public static final int INVALID_USER_LIST_VALUE = 9;
/**
*
* Invalid user interest criterion.
*
*
* INVALID_USER_INTEREST = 10;
*/
public static final int INVALID_USER_INTEREST_VALUE = 10;
/**
*
* Placement URL has wrong format.
*
*
* INVALID_FORMAT_FOR_PLACEMENT_URL = 11;
*/
public static final int INVALID_FORMAT_FOR_PLACEMENT_URL_VALUE = 11;
/**
*
* Placement URL is too long.
*
*
* PLACEMENT_URL_IS_TOO_LONG = 12;
*/
public static final int PLACEMENT_URL_IS_TOO_LONG_VALUE = 12;
/**
*
* Indicates the URL contains an illegal character.
*
*
* PLACEMENT_URL_HAS_ILLEGAL_CHAR = 13;
*/
public static final int PLACEMENT_URL_HAS_ILLEGAL_CHAR_VALUE = 13;
/**
*
* Indicates the URL contains multiple comma separated URLs.
*
*
* PLACEMENT_URL_HAS_MULTIPLE_SITES_IN_LINE = 14;
*/
public static final int PLACEMENT_URL_HAS_MULTIPLE_SITES_IN_LINE_VALUE = 14;
/**
*
* Indicates the domain is blocked.
*
*
* PLACEMENT_IS_NOT_AVAILABLE_FOR_TARGETING_OR_EXCLUSION = 15;
*/
public static final int PLACEMENT_IS_NOT_AVAILABLE_FOR_TARGETING_OR_EXCLUSION_VALUE = 15;
/**
*
* Invalid topic path.
*
*
* INVALID_TOPIC_PATH = 16;
*/
public static final int INVALID_TOPIC_PATH_VALUE = 16;
/**
*
* The YouTube Channel Id is invalid.
*
*
* INVALID_YOUTUBE_CHANNEL_ID = 17;
*/
public static final int INVALID_YOUTUBE_CHANNEL_ID_VALUE = 17;
/**
*
* The YouTube Video Id is invalid.
*
*
* INVALID_YOUTUBE_VIDEO_ID = 18;
*/
public static final int INVALID_YOUTUBE_VIDEO_ID_VALUE = 18;
/**
*
* Indicates the placement is a YouTube vertical channel, which is no longer
* supported.
*
*
* YOUTUBE_VERTICAL_CHANNEL_DEPRECATED = 19;
*/
public static final int YOUTUBE_VERTICAL_CHANNEL_DEPRECATED_VALUE = 19;
/**
*
* Indicates the placement is a YouTube demographic channel, which is no
* longer supported.
*
*
* YOUTUBE_DEMOGRAPHIC_CHANNEL_DEPRECATED = 20;
*/
public static final int YOUTUBE_DEMOGRAPHIC_CHANNEL_DEPRECATED_VALUE = 20;
/**
*
* YouTube urls are not supported in Placement criterion. Use YouTubeChannel
* and YouTubeVideo criterion instead.
*
*
* YOUTUBE_URL_UNSUPPORTED = 21;
*/
public static final int YOUTUBE_URL_UNSUPPORTED_VALUE = 21;
/**
*
* Criteria type can not be excluded by the customer, like AOL account type
* cannot target site type criteria.
*
*
* CANNOT_EXCLUDE_CRITERIA_TYPE = 22;
*/
public static final int CANNOT_EXCLUDE_CRITERIA_TYPE_VALUE = 22;
/**
*
* Criteria type can not be targeted.
*
*
* CANNOT_ADD_CRITERIA_TYPE = 23;
*/
public static final int CANNOT_ADD_CRITERIA_TYPE_VALUE = 23;
/**
*
* Not allowed to exclude similar user list.
*
*
* CANNOT_EXCLUDE_SIMILAR_USER_LIST = 26;
*/
public static final int CANNOT_EXCLUDE_SIMILAR_USER_LIST_VALUE = 26;
/**
*
* Not allowed to target a closed user list.
*
*
* CANNOT_ADD_CLOSED_USER_LIST = 27;
*/
public static final int CANNOT_ADD_CLOSED_USER_LIST_VALUE = 27;
/**
*
* Not allowed to add display only UserLists to search only campaigns.
*
*
* CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_ONLY_CAMPAIGNS = 28;
*/
public static final int CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_ONLY_CAMPAIGNS_VALUE = 28;
/**
*
* Not allowed to add display only UserLists to search plus campaigns.
*
*
* CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_CAMPAIGNS = 29;
*/
public static final int CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_CAMPAIGNS_VALUE = 29;
/**
*
* Not allowed to add display only UserLists to shopping campaigns.
*
*
* CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SHOPPING_CAMPAIGNS = 30;
*/
public static final int CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SHOPPING_CAMPAIGNS_VALUE = 30;
/**
*
* Not allowed to add User interests to search only campaigns.
*
*
* CANNOT_ADD_USER_INTERESTS_TO_SEARCH_CAMPAIGNS = 31;
*/
public static final int CANNOT_ADD_USER_INTERESTS_TO_SEARCH_CAMPAIGNS_VALUE = 31;
/**
*
* Not allowed to set bids for this criterion type in search campaigns
*
*
* CANNOT_SET_BIDS_ON_CRITERION_TYPE_IN_SEARCH_CAMPAIGNS = 32;
*/
public static final int CANNOT_SET_BIDS_ON_CRITERION_TYPE_IN_SEARCH_CAMPAIGNS_VALUE = 32;
/**
*
* Final URLs, URL Templates and CustomParameters cannot be set for the
* criterion types of Gender, AgeRange, UserList, Placement, MobileApp, and
* MobileAppCategory in search campaigns and shopping campaigns.
*
*
* CANNOT_ADD_URLS_TO_CRITERION_TYPE_FOR_CAMPAIGN_TYPE = 33;
*/
public static final int CANNOT_ADD_URLS_TO_CRITERION_TYPE_FOR_CAMPAIGN_TYPE_VALUE = 33;
/**
*
* Invalid combined audience criterion.
*
*
* INVALID_COMBINED_AUDIENCE = 122;
*/
public static final int INVALID_COMBINED_AUDIENCE_VALUE = 122;
/**
*
* Invalid custom affinity criterion.
*
*
* INVALID_CUSTOM_AFFINITY = 96;
*/
public static final int INVALID_CUSTOM_AFFINITY_VALUE = 96;
/**
*
* Invalid custom intent criterion.
*
*
* INVALID_CUSTOM_INTENT = 97;
*/
public static final int INVALID_CUSTOM_INTENT_VALUE = 97;
/**
*
* Invalid custom audience criterion.
*
*
* INVALID_CUSTOM_AUDIENCE = 121;
*/
public static final int INVALID_CUSTOM_AUDIENCE_VALUE = 121;
/**
*
* IP address is not valid.
*
*
* INVALID_IP_ADDRESS = 34;
*/
public static final int INVALID_IP_ADDRESS_VALUE = 34;
/**
*
* IP format is not valid.
*
*
* INVALID_IP_FORMAT = 35;
*/
public static final int INVALID_IP_FORMAT_VALUE = 35;
/**
*
* Mobile application is not valid.
*
*
* INVALID_MOBILE_APP = 36;
*/
public static final int INVALID_MOBILE_APP_VALUE = 36;
/**
*
* Mobile application category is not valid.
*
*
* INVALID_MOBILE_APP_CATEGORY = 37;
*/
public static final int INVALID_MOBILE_APP_CATEGORY_VALUE = 37;
/**
*
* The CriterionId does not exist or is of the incorrect type.
*
*
* INVALID_CRITERION_ID = 38;
*/
public static final int INVALID_CRITERION_ID_VALUE = 38;
/**
*
* The Criterion is not allowed to be targeted.
*
*
* CANNOT_TARGET_CRITERION = 39;
*/
public static final int CANNOT_TARGET_CRITERION_VALUE = 39;
/**
*
* The criterion is not allowed to be targeted as it is deprecated.
*
*
* CANNOT_TARGET_OBSOLETE_CRITERION = 40;
*/
public static final int CANNOT_TARGET_OBSOLETE_CRITERION_VALUE = 40;
/**
*
* The CriterionId is not valid for the type.
*
*
* CRITERION_ID_AND_TYPE_MISMATCH = 41;
*/
public static final int CRITERION_ID_AND_TYPE_MISMATCH_VALUE = 41;
/**
*
* Distance for the radius for the proximity criterion is invalid.
*
*
* INVALID_PROXIMITY_RADIUS = 42;
*/
public static final int INVALID_PROXIMITY_RADIUS_VALUE = 42;
/**
*
* Units for the distance for the radius for the proximity criterion is
* invalid.
*
*
* INVALID_PROXIMITY_RADIUS_UNITS = 43;
*/
public static final int INVALID_PROXIMITY_RADIUS_UNITS_VALUE = 43;
/**
*
* Street address in the address is not valid.
*
*
* INVALID_STREETADDRESS_LENGTH = 44;
*/
public static final int INVALID_STREETADDRESS_LENGTH_VALUE = 44;
/**
*
* City name in the address is not valid.
*
*
* INVALID_CITYNAME_LENGTH = 45;
*/
public static final int INVALID_CITYNAME_LENGTH_VALUE = 45;
/**
*
* Region code in the address is not valid.
*
*
* INVALID_REGIONCODE_LENGTH = 46;
*/
public static final int INVALID_REGIONCODE_LENGTH_VALUE = 46;
/**
*
* Region name in the address is not valid.
*
*
* INVALID_REGIONNAME_LENGTH = 47;
*/
public static final int INVALID_REGIONNAME_LENGTH_VALUE = 47;
/**
*
* Postal code in the address is not valid.
*
*
* INVALID_POSTALCODE_LENGTH = 48;
*/
public static final int INVALID_POSTALCODE_LENGTH_VALUE = 48;
/**
*
* Country code in the address is not valid.
*
*
* INVALID_COUNTRY_CODE = 49;
*/
public static final int INVALID_COUNTRY_CODE_VALUE = 49;
/**
*
* Latitude for the GeoPoint is not valid.
*
*
* INVALID_LATITUDE = 50;
*/
public static final int INVALID_LATITUDE_VALUE = 50;
/**
*
* Longitude for the GeoPoint is not valid.
*
*
* INVALID_LONGITUDE = 51;
*/
public static final int INVALID_LONGITUDE_VALUE = 51;
/**
*
* The Proximity input is not valid. Both address and geoPoint cannot be
* null.
*
*
* PROXIMITY_GEOPOINT_AND_ADDRESS_BOTH_CANNOT_BE_NULL = 52;
*/
public static final int PROXIMITY_GEOPOINT_AND_ADDRESS_BOTH_CANNOT_BE_NULL_VALUE = 52;
/**
*
* The Proximity address cannot be geocoded to a valid lat/long.
*
*
* INVALID_PROXIMITY_ADDRESS = 53;
*/
public static final int INVALID_PROXIMITY_ADDRESS_VALUE = 53;
/**
*
* User domain name is not valid.
*
*
* INVALID_USER_DOMAIN_NAME = 54;
*/
public static final int INVALID_USER_DOMAIN_NAME_VALUE = 54;
/**
*
* Length of serialized criterion parameter exceeded size limit.
*
*
* CRITERION_PARAMETER_TOO_LONG = 55;
*/
public static final int CRITERION_PARAMETER_TOO_LONG_VALUE = 55;
/**
*
* Time interval in the AdSchedule overlaps with another AdSchedule.
*
*
* AD_SCHEDULE_TIME_INTERVALS_OVERLAP = 56;
*/
public static final int AD_SCHEDULE_TIME_INTERVALS_OVERLAP_VALUE = 56;
/**
*
* AdSchedule time interval cannot span multiple days.
*
*
* AD_SCHEDULE_INTERVAL_CANNOT_SPAN_MULTIPLE_DAYS = 57;
*/
public static final int AD_SCHEDULE_INTERVAL_CANNOT_SPAN_MULTIPLE_DAYS_VALUE = 57;
/**
*
* AdSchedule time interval specified is invalid, endTime cannot be earlier
* than startTime.
*
*
* AD_SCHEDULE_INVALID_TIME_INTERVAL = 58;
*/
public static final int AD_SCHEDULE_INVALID_TIME_INTERVAL_VALUE = 58;
/**
*
* The number of AdSchedule entries in a day exceeds the limit.
*
*
* AD_SCHEDULE_EXCEEDED_INTERVALS_PER_DAY_LIMIT = 59;
*/
public static final int AD_SCHEDULE_EXCEEDED_INTERVALS_PER_DAY_LIMIT_VALUE = 59;
/**
*
* CriteriaId does not match the interval of the AdSchedule specified.
*
*
* AD_SCHEDULE_CRITERION_ID_MISMATCHING_FIELDS = 60;
*/
public static final int AD_SCHEDULE_CRITERION_ID_MISMATCHING_FIELDS_VALUE = 60;
/**
*
* Cannot set bid modifier for this criterion type.
*
*
* CANNOT_BID_MODIFY_CRITERION_TYPE = 61;
*/
public static final int CANNOT_BID_MODIFY_CRITERION_TYPE_VALUE = 61;
/**
*
* Cannot bid modify criterion, since it is opted out of the campaign.
*
*
* CANNOT_BID_MODIFY_CRITERION_CAMPAIGN_OPTED_OUT = 62;
*/
public static final int CANNOT_BID_MODIFY_CRITERION_CAMPAIGN_OPTED_OUT_VALUE = 62;
/**
*
* Cannot set bid modifier for a negative criterion.
*
*
* CANNOT_BID_MODIFY_NEGATIVE_CRITERION = 63;
*/
public static final int CANNOT_BID_MODIFY_NEGATIVE_CRITERION_VALUE = 63;
/**
*
* Bid Modifier already exists. Use SET operation to update.
*
*
* BID_MODIFIER_ALREADY_EXISTS = 64;
*/
public static final int BID_MODIFIER_ALREADY_EXISTS_VALUE = 64;
/**
*
* Feed Id is not allowed in these Location Groups.
*
*
* FEED_ID_NOT_ALLOWED = 65;
*/
public static final int FEED_ID_NOT_ALLOWED_VALUE = 65;
/**
*
* The account may not use the requested criteria type. For example, some
* accounts are restricted to keywords only.
*
*
* ACCOUNT_INELIGIBLE_FOR_CRITERIA_TYPE = 66;
*/
public static final int ACCOUNT_INELIGIBLE_FOR_CRITERIA_TYPE_VALUE = 66;
/**
*
* The requested criteria type cannot be used with campaign or ad group
* bidding strategy.
*
*
* CRITERIA_TYPE_INVALID_FOR_BIDDING_STRATEGY = 67;
*/
public static final int CRITERIA_TYPE_INVALID_FOR_BIDDING_STRATEGY_VALUE = 67;
/**
*
* The Criterion is not allowed to be excluded.
*
*
* CANNOT_EXCLUDE_CRITERION = 68;
*/
public static final int CANNOT_EXCLUDE_CRITERION_VALUE = 68;
/**
*
* The criterion is not allowed to be removed. For example, we cannot remove
* any of the device criterion.
*
*
* CANNOT_REMOVE_CRITERION = 69;
*/
public static final int CANNOT_REMOVE_CRITERION_VALUE = 69;
/**
*
* Bidding categories do not form a valid path in the Shopping bidding
* category taxonomy.
*
*
* INVALID_PRODUCT_BIDDING_CATEGORY = 76;
*/
public static final int INVALID_PRODUCT_BIDDING_CATEGORY_VALUE = 76;
/**
*
* ShoppingSetting must be added to the campaign before ProductScope
* criteria can be added.
*
*
* MISSING_SHOPPING_SETTING = 77;
*/
public static final int MISSING_SHOPPING_SETTING_VALUE = 77;
/**
*
* Matching function is invalid.
*
*
* INVALID_MATCHING_FUNCTION = 78;
*/
public static final int INVALID_MATCHING_FUNCTION_VALUE = 78;
/**
*
* Filter parameters not allowed for location groups targeting.
*
*
* LOCATION_FILTER_NOT_ALLOWED = 79;
*/
public static final int LOCATION_FILTER_NOT_ALLOWED_VALUE = 79;
/**
*
* Feed not found, or the feed is not an enabled location feed.
*
*
* INVALID_FEED_FOR_LOCATION_FILTER = 98;
*/
public static final int INVALID_FEED_FOR_LOCATION_FILTER_VALUE = 98;
/**
*
* Given location filter parameter is invalid for location groups targeting.
*
*
* LOCATION_FILTER_INVALID = 80;
*/
public static final int LOCATION_FILTER_INVALID_VALUE = 80;
/**
*
* Cannot set geo target constants and feed item sets at the same time.
*
*
* CANNOT_SET_GEO_TARGET_CONSTANTS_WITH_FEED_ITEM_SETS = 123;
*/
public static final int CANNOT_SET_GEO_TARGET_CONSTANTS_WITH_FEED_ITEM_SETS_VALUE = 123;
/**
*
* Cannot set both assetset and feed at the same time.
*
*
* CANNOT_SET_BOTH_ASSET_SET_AND_FEED = 140;
*/
public static final int CANNOT_SET_BOTH_ASSET_SET_AND_FEED_VALUE = 140;
/**
*
* Cannot set feed or feed item sets for Customer.
*
*
* CANNOT_SET_FEED_OR_FEED_ITEM_SETS_FOR_CUSTOMER = 142;
*/
public static final int CANNOT_SET_FEED_OR_FEED_ITEM_SETS_FOR_CUSTOMER_VALUE = 142;
/**
*
* Cannot set AssetSet criteria for customer.
*
*
* CANNOT_SET_ASSET_SET_FIELD_FOR_CUSTOMER = 150;
*/
public static final int CANNOT_SET_ASSET_SET_FIELD_FOR_CUSTOMER_VALUE = 150;
/**
*
* Cannot set geo target constants and asset sets at the same time.
*
*
* CANNOT_SET_GEO_TARGET_CONSTANTS_WITH_ASSET_SETS = 143;
*/
public static final int CANNOT_SET_GEO_TARGET_CONSTANTS_WITH_ASSET_SETS_VALUE = 143;
/**
*
* Cannot set asset sets and feed item sets at the same time.
*
*
* CANNOT_SET_ASSET_SETS_WITH_FEED_ITEM_SETS = 144;
*/
public static final int CANNOT_SET_ASSET_SETS_WITH_FEED_ITEM_SETS_VALUE = 144;
/**
*
* The location group asset set id is invalid
*
*
* INVALID_LOCATION_GROUP_ASSET_SET = 141;
*/
public static final int INVALID_LOCATION_GROUP_ASSET_SET_VALUE = 141;
/**
*
* The location group radius is in the range but not at the valid increment.
*
*
* INVALID_LOCATION_GROUP_RADIUS = 124;
*/
public static final int INVALID_LOCATION_GROUP_RADIUS_VALUE = 124;
/**
*
* The location group radius unit is invalid.
*
*
* INVALID_LOCATION_GROUP_RADIUS_UNIT = 125;
*/
public static final int INVALID_LOCATION_GROUP_RADIUS_UNIT_VALUE = 125;
/**
*
* Criteria type cannot be associated with a campaign and its ad group(s)
* simultaneously.
*
*
* CANNOT_ATTACH_CRITERIA_AT_CAMPAIGN_AND_ADGROUP = 81;
*/
public static final int CANNOT_ATTACH_CRITERIA_AT_CAMPAIGN_AND_ADGROUP_VALUE = 81;
/**
*
* Range represented by hotel length of stay's min nights and max nights
* overlaps with an existing criterion.
*
*
* HOTEL_LENGTH_OF_STAY_OVERLAPS_WITH_EXISTING_CRITERION = 82;
*/
public static final int HOTEL_LENGTH_OF_STAY_OVERLAPS_WITH_EXISTING_CRITERION_VALUE = 82;
/**
*
* Range represented by hotel advance booking window's min days and max days
* overlaps with an existing criterion.
*
*
* HOTEL_ADVANCE_BOOKING_WINDOW_OVERLAPS_WITH_EXISTING_CRITERION = 83;
*/
public static final int HOTEL_ADVANCE_BOOKING_WINDOW_OVERLAPS_WITH_EXISTING_CRITERION_VALUE = 83;
/**
*
* The field is not allowed to be set when the negative field is set to
* true, for example, we don't allow bids in negative ad group or campaign
* criteria.
*
*
* FIELD_INCOMPATIBLE_WITH_NEGATIVE_TARGETING = 84;
*/
public static final int FIELD_INCOMPATIBLE_WITH_NEGATIVE_TARGETING_VALUE = 84;
/**
*
* The combination of operand and operator in webpage condition is invalid.
*
*
* INVALID_WEBPAGE_CONDITION = 85;
*/
public static final int INVALID_WEBPAGE_CONDITION_VALUE = 85;
/**
*
* The URL of webpage condition is invalid.
*
*
* INVALID_WEBPAGE_CONDITION_URL = 86;
*/
public static final int INVALID_WEBPAGE_CONDITION_URL_VALUE = 86;
/**
*
* The URL of webpage condition cannot be empty or contain white space.
*
*
* WEBPAGE_CONDITION_URL_CANNOT_BE_EMPTY = 87;
*/
public static final int WEBPAGE_CONDITION_URL_CANNOT_BE_EMPTY_VALUE = 87;
/**
*
* The URL of webpage condition contains an unsupported protocol.
*
*
* WEBPAGE_CONDITION_URL_UNSUPPORTED_PROTOCOL = 88;
*/
public static final int WEBPAGE_CONDITION_URL_UNSUPPORTED_PROTOCOL_VALUE = 88;
/**
*
* The URL of webpage condition cannot be an IP address.
*
*
* WEBPAGE_CONDITION_URL_CANNOT_BE_IP_ADDRESS = 89;
*/
public static final int WEBPAGE_CONDITION_URL_CANNOT_BE_IP_ADDRESS_VALUE = 89;
/**
*
* The domain of the URL is not consistent with the domain in campaign
* setting.
*
*
* WEBPAGE_CONDITION_URL_DOMAIN_NOT_CONSISTENT_WITH_CAMPAIGN_SETTING = 90;
*/
public static final int WEBPAGE_CONDITION_URL_DOMAIN_NOT_CONSISTENT_WITH_CAMPAIGN_SETTING_VALUE = 90;
/**
*
* The URL of webpage condition cannot be a public suffix itself.
*
*
* WEBPAGE_CONDITION_URL_CANNOT_BE_PUBLIC_SUFFIX = 91;
*/
public static final int WEBPAGE_CONDITION_URL_CANNOT_BE_PUBLIC_SUFFIX_VALUE = 91;
/**
*
* The URL of webpage condition has an invalid public suffix.
*
*
* WEBPAGE_CONDITION_URL_INVALID_PUBLIC_SUFFIX = 92;
*/
public static final int WEBPAGE_CONDITION_URL_INVALID_PUBLIC_SUFFIX_VALUE = 92;
/**
*
* Value track parameter is not supported in webpage condition URL.
*
*
* WEBPAGE_CONDITION_URL_VALUE_TRACK_VALUE_NOT_SUPPORTED = 93;
*/
public static final int WEBPAGE_CONDITION_URL_VALUE_TRACK_VALUE_NOT_SUPPORTED_VALUE = 93;
/**
*
* Only one URL-EQUALS webpage condition is allowed in a webpage
* criterion and it cannot be combined with other conditions.
*
*
* WEBPAGE_CRITERION_URL_EQUALS_CAN_HAVE_ONLY_ONE_CONDITION = 94;
*/
public static final int WEBPAGE_CRITERION_URL_EQUALS_CAN_HAVE_ONLY_ONE_CONDITION_VALUE = 94;
/**
*
* A webpage criterion cannot be added to a non-DSA ad group.
*
*
* WEBPAGE_CRITERION_NOT_SUPPORTED_ON_NON_DSA_AD_GROUP = 95;
*/
public static final int WEBPAGE_CRITERION_NOT_SUPPORTED_ON_NON_DSA_AD_GROUP_VALUE = 95;
/**
*
* Cannot add positive user list criteria in Smart Display campaigns.
*
*
* CANNOT_TARGET_USER_LIST_FOR_SMART_DISPLAY_CAMPAIGNS = 99;
*/
public static final int CANNOT_TARGET_USER_LIST_FOR_SMART_DISPLAY_CAMPAIGNS_VALUE = 99;
/**
*
* Cannot add positive placement criterion types in search campaigns.
*
*
* CANNOT_TARGET_PLACEMENTS_FOR_SEARCH_CAMPAIGNS = 126;
*/
public static final int CANNOT_TARGET_PLACEMENTS_FOR_SEARCH_CAMPAIGNS_VALUE = 126;
/**
*
* Listing scope contains too many dimension types.
*
*
* LISTING_SCOPE_TOO_MANY_DIMENSION_TYPES = 100;
*/
public static final int LISTING_SCOPE_TOO_MANY_DIMENSION_TYPES_VALUE = 100;
/**
*
* Listing scope has too many IN operators.
*
*
* LISTING_SCOPE_TOO_MANY_IN_OPERATORS = 101;
*/
public static final int LISTING_SCOPE_TOO_MANY_IN_OPERATORS_VALUE = 101;
/**
*
* Listing scope contains IN operator on an unsupported dimension type.
*
*
* LISTING_SCOPE_IN_OPERATOR_NOT_SUPPORTED = 102;
*/
public static final int LISTING_SCOPE_IN_OPERATOR_NOT_SUPPORTED_VALUE = 102;
/**
*
* There are dimensions with duplicate dimension type.
*
*
* DUPLICATE_LISTING_DIMENSION_TYPE = 103;
*/
public static final int DUPLICATE_LISTING_DIMENSION_TYPE_VALUE = 103;
/**
*
* There are dimensions with duplicate dimension value.
*
*
* DUPLICATE_LISTING_DIMENSION_VALUE = 104;
*/
public static final int DUPLICATE_LISTING_DIMENSION_VALUE_VALUE = 104;
/**
*
* Listing group SUBDIVISION nodes cannot have bids.
*
*
* CANNOT_SET_BIDS_ON_LISTING_GROUP_SUBDIVISION = 105;
*/
public static final int CANNOT_SET_BIDS_ON_LISTING_GROUP_SUBDIVISION_VALUE = 105;
/**
*
* Ad group is invalid due to the listing groups it contains.
*
*
* INVALID_LISTING_GROUP_HIERARCHY = 106;
*/
public static final int INVALID_LISTING_GROUP_HIERARCHY_VALUE = 106;
/**
*
* Listing group unit cannot have children.
*
*
* LISTING_GROUP_UNIT_CANNOT_HAVE_CHILDREN = 107;
*/
public static final int LISTING_GROUP_UNIT_CANNOT_HAVE_CHILDREN_VALUE = 107;
/**
*
* Subdivided listing groups must have an "others" case.
*
*
* LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE = 108;
*/
public static final int LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE_VALUE = 108;
/**
*
* Dimension type of listing group must be the same as that of its siblings.
*
*
* LISTING_GROUP_REQUIRES_SAME_DIMENSION_TYPE_AS_SIBLINGS = 109;
*/
public static final int LISTING_GROUP_REQUIRES_SAME_DIMENSION_TYPE_AS_SIBLINGS_VALUE = 109;
/**
*
* Listing group cannot be added to the ad group because it already exists.
*
*
* LISTING_GROUP_ALREADY_EXISTS = 110;
*/
public static final int LISTING_GROUP_ALREADY_EXISTS_VALUE = 110;
/**
*
* Listing group referenced in the operation was not found in the ad group.
*
*
* LISTING_GROUP_DOES_NOT_EXIST = 111;
*/
public static final int LISTING_GROUP_DOES_NOT_EXIST_VALUE = 111;
/**
*
* Recursive removal failed because listing group subdivision is being
* created or modified in this request.
*
*
* LISTING_GROUP_CANNOT_BE_REMOVED = 112;
*/
public static final int LISTING_GROUP_CANNOT_BE_REMOVED_VALUE = 112;
/**
*
* Listing group type is not allowed for specified ad group criterion type.
*
*
* INVALID_LISTING_GROUP_TYPE = 113;
*/
public static final int INVALID_LISTING_GROUP_TYPE_VALUE = 113;
/**
*
* Listing group in an ADD operation specifies a non temporary criterion id.
*
*
* LISTING_GROUP_ADD_MAY_ONLY_USE_TEMP_ID = 114;
*/
public static final int LISTING_GROUP_ADD_MAY_ONLY_USE_TEMP_ID_VALUE = 114;
/**
*
* The combined length of dimension values of the Listing scope criterion
* is too long.
*
*
* LISTING_SCOPE_TOO_LONG = 115;
*/
public static final int LISTING_SCOPE_TOO_LONG_VALUE = 115;
/**
*
* Listing scope contains too many dimensions.
*
*
* LISTING_SCOPE_TOO_MANY_DIMENSIONS = 116;
*/
public static final int LISTING_SCOPE_TOO_MANY_DIMENSIONS_VALUE = 116;
/**
*
* The combined length of dimension values of the Listing group criterion is
* too long.
*
*
* LISTING_GROUP_TOO_LONG = 117;
*/
public static final int LISTING_GROUP_TOO_LONG_VALUE = 117;
/**
*
* Listing group tree is too deep.
*
*
* LISTING_GROUP_TREE_TOO_DEEP = 118;
*/
public static final int LISTING_GROUP_TREE_TOO_DEEP_VALUE = 118;
/**
*
* Listing dimension is invalid (for example, dimension contains illegal
* value, dimension type is represented with wrong class, etc). Listing
* dimension value can not contain "==" or "&+".
*
*
* INVALID_LISTING_DIMENSION = 119;
*/
public static final int INVALID_LISTING_DIMENSION_VALUE = 119;
/**
*
* Listing dimension type is either invalid for campaigns of this type or
* cannot be used in the current context. BIDDING_CATEGORY_Lx and
* PRODUCT_TYPE_Lx dimensions must be used in ascending order of their
* levels: L1, L2, L3, L4, L5... The levels must be specified sequentially
* and start from L1. Furthermore, an "others" Listing group cannot be
* subdivided with a dimension of the same type but of a higher level
* ("others" BIDDING_CATEGORY_L3 can be subdivided with BRAND but not with
* BIDDING_CATEGORY_L4).
*
*
* INVALID_LISTING_DIMENSION_TYPE = 120;
*/
public static final int INVALID_LISTING_DIMENSION_TYPE_VALUE = 120;
/**
*
* Customer is not on allowlist for composite audience in display campaigns.
*
*
* ADVERTISER_NOT_ON_ALLOWLIST_FOR_COMBINED_AUDIENCE_ON_DISPLAY = 127;
*/
public static final int ADVERTISER_NOT_ON_ALLOWLIST_FOR_COMBINED_AUDIENCE_ON_DISPLAY_VALUE = 127;
/**
*
* Cannot target on a removed combined audience.
*
*
* CANNOT_TARGET_REMOVED_COMBINED_AUDIENCE = 128;
*/
public static final int CANNOT_TARGET_REMOVED_COMBINED_AUDIENCE_VALUE = 128;
/**
*
* Combined audience ID is invalid.
*
*
* INVALID_COMBINED_AUDIENCE_ID = 129;
*/
public static final int INVALID_COMBINED_AUDIENCE_ID_VALUE = 129;
/**
*
* Can not target removed combined audience.
*
*
* CANNOT_TARGET_REMOVED_CUSTOM_AUDIENCE = 130;
*/
public static final int CANNOT_TARGET_REMOVED_CUSTOM_AUDIENCE_VALUE = 130;
/**
*
* Range represented by hotel check-in date's start date and end date
* overlaps with an existing criterion.
*
*
* HOTEL_CHECK_IN_DATE_RANGE_OVERLAPS_WITH_EXISTING_CRITERION = 131;
*/
public static final int HOTEL_CHECK_IN_DATE_RANGE_OVERLAPS_WITH_EXISTING_CRITERION_VALUE = 131;
/**
*
* Start date is earlier than earliest allowed value of yesterday UTC.
*
*
* HOTEL_CHECK_IN_DATE_RANGE_START_DATE_TOO_EARLY = 132;
*/
public static final int HOTEL_CHECK_IN_DATE_RANGE_START_DATE_TOO_EARLY_VALUE = 132;
/**
*
* End date later is than latest allowed day of 330 days in the future UTC.
*
*
* HOTEL_CHECK_IN_DATE_RANGE_END_DATE_TOO_LATE = 133;
*/
public static final int HOTEL_CHECK_IN_DATE_RANGE_END_DATE_TOO_LATE_VALUE = 133;
/**
*
* Start date is after end date.
*
*
* HOTEL_CHECK_IN_DATE_RANGE_REVERSED = 134;
*/
public static final int HOTEL_CHECK_IN_DATE_RANGE_REVERSED_VALUE = 134;
/**
*
* Broad match modifier (BMM) keywords can no longer be created. See
* https://ads-developers.googleblog.com/2021/06/broad-match-modifier-upcoming-changes.html.
*
*
* BROAD_MATCH_MODIFIER_KEYWORD_NOT_ALLOWED = 135;
*/
public static final int BROAD_MATCH_MODIFIER_KEYWORD_NOT_ALLOWED_VALUE = 135;
/**
*
* Only one audience is allowed in an asset group.
*
*
* ONE_AUDIENCE_ALLOWED_PER_ASSET_GROUP = 136;
*/
public static final int ONE_AUDIENCE_ALLOWED_PER_ASSET_GROUP_VALUE = 136;
/**
*
* Audience is not supported for the specified campaign type.
*
*
* AUDIENCE_NOT_ELIGIBLE_FOR_CAMPAIGN_TYPE = 137;
*/
public static final int AUDIENCE_NOT_ELIGIBLE_FOR_CAMPAIGN_TYPE_VALUE = 137;
/**
*
* Audience is not allowed to attach when use_audience_grouped bit is set to
* false.
*
*
* AUDIENCE_NOT_ALLOWED_TO_ATTACH_WHEN_AUDIENCE_GROUPED_SET_TO_FALSE = 138;
*/
public static final int AUDIENCE_NOT_ALLOWED_TO_ATTACH_WHEN_AUDIENCE_GROUPED_SET_TO_FALSE_VALUE = 138;
/**
*
* Targeting is not allowed for Customer Match lists as per Customer Match
* policy. See
* https://support.google.com/google-ads/answer/6299717.
*
*
* CANNOT_TARGET_CUSTOMER_MATCH_USER_LIST = 139;
*/
public static final int CANNOT_TARGET_CUSTOMER_MATCH_USER_LIST_VALUE = 139;
/**
*
* Cannot create a negative keyword list criterion with a shared set that
* does not exist.
*
*
* NEGATIVE_KEYWORD_SHARED_SET_DOES_NOT_EXIST = 145;
*/
public static final int NEGATIVE_KEYWORD_SHARED_SET_DOES_NOT_EXIST_VALUE = 145;
/**
*
* Cannot create a negative keyword list with deleted shared set.
*
*
* CANNOT_ADD_REMOVED_NEGATIVE_KEYWORD_SHARED_SET = 146;
*/
public static final int CANNOT_ADD_REMOVED_NEGATIVE_KEYWORD_SHARED_SET_VALUE = 146;
/**
*
* Can only have one Negative Keyword List per account.
*
*
* CANNOT_HAVE_MULTIPLE_NEGATIVE_KEYWORD_LIST_PER_ACCOUNT = 147;
*/
public static final int CANNOT_HAVE_MULTIPLE_NEGATIVE_KEYWORD_LIST_PER_ACCOUNT_VALUE = 147;
/**
*
* Only allowlisted customers can add criteria of this type.
*
*
* CUSTOMER_CANNOT_ADD_CRITERION_OF_THIS_TYPE = 149;
*/
public static final int CUSTOMER_CANNOT_ADD_CRITERION_OF_THIS_TYPE_VALUE = 149;
/**
*
* Targeting for Similar audiences is not supported, since this feature has
* been deprecated. See
* https://support.google.com/google-ads/answer/12463119 to learn more.
*
*
* CANNOT_TARGET_SIMILAR_USER_LIST = 151;
*/
public static final int CANNOT_TARGET_SIMILAR_USER_LIST_VALUE = 151;
/**
*
* Audience segment criteria cannot be added when use_audience_grouped bit
* is set.
*
*
* CANNOT_ADD_AUDIENCE_SEGMENT_CRITERION_WHEN_AUDIENCE_GROUPED_IS_SET = 152;
*/
public static final int CANNOT_ADD_AUDIENCE_SEGMENT_CRITERION_WHEN_AUDIENCE_GROUPED_IS_SET_VALUE = 152;
/**
*
* Only one audience is allowed in an ad group.
*
*
* ONE_AUDIENCE_ALLOWED_PER_AD_GROUP = 153;
*/
public static final int ONE_AUDIENCE_ALLOWED_PER_AD_GROUP_VALUE = 153;
/**
*
* Invalid detailed demographics criterion.
*
*
* INVALID_DETAILED_DEMOGRAPHIC = 154;
*/
public static final int INVALID_DETAILED_DEMOGRAPHIC_VALUE = 154;
/**
*
* The brand criteria has a brand input that is not recognized as a
* valid brand.
*
*
* CANNOT_RECOGNIZE_BRAND = 155;
*/
public static final int CANNOT_RECOGNIZE_BRAND_VALUE = 155;
/**
*
* The brand_list.shared_set_id references a shared set that does not
* exist.
*
*
* BRAND_SHARED_SET_DOES_NOT_EXIST = 156;
*/
public static final int BRAND_SHARED_SET_DOES_NOT_EXIST_VALUE = 156;
/**
*
* Cannot create a brand list with deleted shared set.
*
*
* CANNOT_ADD_REMOVED_BRAND_SHARED_SET = 157;
*/
public static final int CANNOT_ADD_REMOVED_BRAND_SHARED_SET_VALUE = 157;
/**
*
* Brand list can only be negatively targeted for the campaign type.
*
*
* ONLY_EXCLUSION_BRAND_LIST_ALLOWED_FOR_CAMPAIGN_TYPE = 158;
*/
public static final int ONLY_EXCLUSION_BRAND_LIST_ALLOWED_FOR_CAMPAIGN_TYPE_VALUE = 158;
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 CriterionError 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 CriterionError forNumber(int value) {
switch (value) {
case 0: return UNSPECIFIED;
case 1: return UNKNOWN;
case 2: return CONCRETE_TYPE_REQUIRED;
case 3: return INVALID_EXCLUDED_CATEGORY;
case 4: return INVALID_KEYWORD_TEXT;
case 5: return KEYWORD_TEXT_TOO_LONG;
case 6: return KEYWORD_HAS_TOO_MANY_WORDS;
case 7: return KEYWORD_HAS_INVALID_CHARS;
case 8: return INVALID_PLACEMENT_URL;
case 9: return INVALID_USER_LIST;
case 10: return INVALID_USER_INTEREST;
case 11: return INVALID_FORMAT_FOR_PLACEMENT_URL;
case 12: return PLACEMENT_URL_IS_TOO_LONG;
case 13: return PLACEMENT_URL_HAS_ILLEGAL_CHAR;
case 14: return PLACEMENT_URL_HAS_MULTIPLE_SITES_IN_LINE;
case 15: return PLACEMENT_IS_NOT_AVAILABLE_FOR_TARGETING_OR_EXCLUSION;
case 16: return INVALID_TOPIC_PATH;
case 17: return INVALID_YOUTUBE_CHANNEL_ID;
case 18: return INVALID_YOUTUBE_VIDEO_ID;
case 19: return YOUTUBE_VERTICAL_CHANNEL_DEPRECATED;
case 20: return YOUTUBE_DEMOGRAPHIC_CHANNEL_DEPRECATED;
case 21: return YOUTUBE_URL_UNSUPPORTED;
case 22: return CANNOT_EXCLUDE_CRITERIA_TYPE;
case 23: return CANNOT_ADD_CRITERIA_TYPE;
case 26: return CANNOT_EXCLUDE_SIMILAR_USER_LIST;
case 27: return CANNOT_ADD_CLOSED_USER_LIST;
case 28: return CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_ONLY_CAMPAIGNS;
case 29: return CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_CAMPAIGNS;
case 30: return CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SHOPPING_CAMPAIGNS;
case 31: return CANNOT_ADD_USER_INTERESTS_TO_SEARCH_CAMPAIGNS;
case 32: return CANNOT_SET_BIDS_ON_CRITERION_TYPE_IN_SEARCH_CAMPAIGNS;
case 33: return CANNOT_ADD_URLS_TO_CRITERION_TYPE_FOR_CAMPAIGN_TYPE;
case 122: return INVALID_COMBINED_AUDIENCE;
case 96: return INVALID_CUSTOM_AFFINITY;
case 97: return INVALID_CUSTOM_INTENT;
case 121: return INVALID_CUSTOM_AUDIENCE;
case 34: return INVALID_IP_ADDRESS;
case 35: return INVALID_IP_FORMAT;
case 36: return INVALID_MOBILE_APP;
case 37: return INVALID_MOBILE_APP_CATEGORY;
case 38: return INVALID_CRITERION_ID;
case 39: return CANNOT_TARGET_CRITERION;
case 40: return CANNOT_TARGET_OBSOLETE_CRITERION;
case 41: return CRITERION_ID_AND_TYPE_MISMATCH;
case 42: return INVALID_PROXIMITY_RADIUS;
case 43: return INVALID_PROXIMITY_RADIUS_UNITS;
case 44: return INVALID_STREETADDRESS_LENGTH;
case 45: return INVALID_CITYNAME_LENGTH;
case 46: return INVALID_REGIONCODE_LENGTH;
case 47: return INVALID_REGIONNAME_LENGTH;
case 48: return INVALID_POSTALCODE_LENGTH;
case 49: return INVALID_COUNTRY_CODE;
case 50: return INVALID_LATITUDE;
case 51: return INVALID_LONGITUDE;
case 52: return PROXIMITY_GEOPOINT_AND_ADDRESS_BOTH_CANNOT_BE_NULL;
case 53: return INVALID_PROXIMITY_ADDRESS;
case 54: return INVALID_USER_DOMAIN_NAME;
case 55: return CRITERION_PARAMETER_TOO_LONG;
case 56: return AD_SCHEDULE_TIME_INTERVALS_OVERLAP;
case 57: return AD_SCHEDULE_INTERVAL_CANNOT_SPAN_MULTIPLE_DAYS;
case 58: return AD_SCHEDULE_INVALID_TIME_INTERVAL;
case 59: return AD_SCHEDULE_EXCEEDED_INTERVALS_PER_DAY_LIMIT;
case 60: return AD_SCHEDULE_CRITERION_ID_MISMATCHING_FIELDS;
case 61: return CANNOT_BID_MODIFY_CRITERION_TYPE;
case 62: return CANNOT_BID_MODIFY_CRITERION_CAMPAIGN_OPTED_OUT;
case 63: return CANNOT_BID_MODIFY_NEGATIVE_CRITERION;
case 64: return BID_MODIFIER_ALREADY_EXISTS;
case 65: return FEED_ID_NOT_ALLOWED;
case 66: return ACCOUNT_INELIGIBLE_FOR_CRITERIA_TYPE;
case 67: return CRITERIA_TYPE_INVALID_FOR_BIDDING_STRATEGY;
case 68: return CANNOT_EXCLUDE_CRITERION;
case 69: return CANNOT_REMOVE_CRITERION;
case 76: return INVALID_PRODUCT_BIDDING_CATEGORY;
case 77: return MISSING_SHOPPING_SETTING;
case 78: return INVALID_MATCHING_FUNCTION;
case 79: return LOCATION_FILTER_NOT_ALLOWED;
case 98: return INVALID_FEED_FOR_LOCATION_FILTER;
case 80: return LOCATION_FILTER_INVALID;
case 123: return CANNOT_SET_GEO_TARGET_CONSTANTS_WITH_FEED_ITEM_SETS;
case 140: return CANNOT_SET_BOTH_ASSET_SET_AND_FEED;
case 142: return CANNOT_SET_FEED_OR_FEED_ITEM_SETS_FOR_CUSTOMER;
case 150: return CANNOT_SET_ASSET_SET_FIELD_FOR_CUSTOMER;
case 143: return CANNOT_SET_GEO_TARGET_CONSTANTS_WITH_ASSET_SETS;
case 144: return CANNOT_SET_ASSET_SETS_WITH_FEED_ITEM_SETS;
case 141: return INVALID_LOCATION_GROUP_ASSET_SET;
case 124: return INVALID_LOCATION_GROUP_RADIUS;
case 125: return INVALID_LOCATION_GROUP_RADIUS_UNIT;
case 81: return CANNOT_ATTACH_CRITERIA_AT_CAMPAIGN_AND_ADGROUP;
case 82: return HOTEL_LENGTH_OF_STAY_OVERLAPS_WITH_EXISTING_CRITERION;
case 83: return HOTEL_ADVANCE_BOOKING_WINDOW_OVERLAPS_WITH_EXISTING_CRITERION;
case 84: return FIELD_INCOMPATIBLE_WITH_NEGATIVE_TARGETING;
case 85: return INVALID_WEBPAGE_CONDITION;
case 86: return INVALID_WEBPAGE_CONDITION_URL;
case 87: return WEBPAGE_CONDITION_URL_CANNOT_BE_EMPTY;
case 88: return WEBPAGE_CONDITION_URL_UNSUPPORTED_PROTOCOL;
case 89: return WEBPAGE_CONDITION_URL_CANNOT_BE_IP_ADDRESS;
case 90: return WEBPAGE_CONDITION_URL_DOMAIN_NOT_CONSISTENT_WITH_CAMPAIGN_SETTING;
case 91: return WEBPAGE_CONDITION_URL_CANNOT_BE_PUBLIC_SUFFIX;
case 92: return WEBPAGE_CONDITION_URL_INVALID_PUBLIC_SUFFIX;
case 93: return WEBPAGE_CONDITION_URL_VALUE_TRACK_VALUE_NOT_SUPPORTED;
case 94: return WEBPAGE_CRITERION_URL_EQUALS_CAN_HAVE_ONLY_ONE_CONDITION;
case 95: return WEBPAGE_CRITERION_NOT_SUPPORTED_ON_NON_DSA_AD_GROUP;
case 99: return CANNOT_TARGET_USER_LIST_FOR_SMART_DISPLAY_CAMPAIGNS;
case 126: return CANNOT_TARGET_PLACEMENTS_FOR_SEARCH_CAMPAIGNS;
case 100: return LISTING_SCOPE_TOO_MANY_DIMENSION_TYPES;
case 101: return LISTING_SCOPE_TOO_MANY_IN_OPERATORS;
case 102: return LISTING_SCOPE_IN_OPERATOR_NOT_SUPPORTED;
case 103: return DUPLICATE_LISTING_DIMENSION_TYPE;
case 104: return DUPLICATE_LISTING_DIMENSION_VALUE;
case 105: return CANNOT_SET_BIDS_ON_LISTING_GROUP_SUBDIVISION;
case 106: return INVALID_LISTING_GROUP_HIERARCHY;
case 107: return LISTING_GROUP_UNIT_CANNOT_HAVE_CHILDREN;
case 108: return LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE;
case 109: return LISTING_GROUP_REQUIRES_SAME_DIMENSION_TYPE_AS_SIBLINGS;
case 110: return LISTING_GROUP_ALREADY_EXISTS;
case 111: return LISTING_GROUP_DOES_NOT_EXIST;
case 112: return LISTING_GROUP_CANNOT_BE_REMOVED;
case 113: return INVALID_LISTING_GROUP_TYPE;
case 114: return LISTING_GROUP_ADD_MAY_ONLY_USE_TEMP_ID;
case 115: return LISTING_SCOPE_TOO_LONG;
case 116: return LISTING_SCOPE_TOO_MANY_DIMENSIONS;
case 117: return LISTING_GROUP_TOO_LONG;
case 118: return LISTING_GROUP_TREE_TOO_DEEP;
case 119: return INVALID_LISTING_DIMENSION;
case 120: return INVALID_LISTING_DIMENSION_TYPE;
case 127: return ADVERTISER_NOT_ON_ALLOWLIST_FOR_COMBINED_AUDIENCE_ON_DISPLAY;
case 128: return CANNOT_TARGET_REMOVED_COMBINED_AUDIENCE;
case 129: return INVALID_COMBINED_AUDIENCE_ID;
case 130: return CANNOT_TARGET_REMOVED_CUSTOM_AUDIENCE;
case 131: return HOTEL_CHECK_IN_DATE_RANGE_OVERLAPS_WITH_EXISTING_CRITERION;
case 132: return HOTEL_CHECK_IN_DATE_RANGE_START_DATE_TOO_EARLY;
case 133: return HOTEL_CHECK_IN_DATE_RANGE_END_DATE_TOO_LATE;
case 134: return HOTEL_CHECK_IN_DATE_RANGE_REVERSED;
case 135: return BROAD_MATCH_MODIFIER_KEYWORD_NOT_ALLOWED;
case 136: return ONE_AUDIENCE_ALLOWED_PER_ASSET_GROUP;
case 137: return AUDIENCE_NOT_ELIGIBLE_FOR_CAMPAIGN_TYPE;
case 138: return AUDIENCE_NOT_ALLOWED_TO_ATTACH_WHEN_AUDIENCE_GROUPED_SET_TO_FALSE;
case 139: return CANNOT_TARGET_CUSTOMER_MATCH_USER_LIST;
case 145: return NEGATIVE_KEYWORD_SHARED_SET_DOES_NOT_EXIST;
case 146: return CANNOT_ADD_REMOVED_NEGATIVE_KEYWORD_SHARED_SET;
case 147: return CANNOT_HAVE_MULTIPLE_NEGATIVE_KEYWORD_LIST_PER_ACCOUNT;
case 149: return CUSTOMER_CANNOT_ADD_CRITERION_OF_THIS_TYPE;
case 151: return CANNOT_TARGET_SIMILAR_USER_LIST;
case 152: return CANNOT_ADD_AUDIENCE_SEGMENT_CRITERION_WHEN_AUDIENCE_GROUPED_IS_SET;
case 153: return ONE_AUDIENCE_ALLOWED_PER_AD_GROUP;
case 154: return INVALID_DETAILED_DEMOGRAPHIC;
case 155: return CANNOT_RECOGNIZE_BRAND;
case 156: return BRAND_SHARED_SET_DOES_NOT_EXIST;
case 157: return CANNOT_ADD_REMOVED_BRAND_SHARED_SET;
case 158: return ONLY_EXCLUSION_BRAND_LIST_ALLOWED_FOR_CAMPAIGN_TYPE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
CriterionError> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public CriterionError findValueByNumber(int number) {
return CriterionError.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.CriterionErrorEnum.getDescriptor().getEnumTypes().get(0);
}
private static final CriterionError[] VALUES = values();
public static CriterionError 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 CriterionError(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:google.ads.googleads.v17.errors.CriterionErrorEnum.CriterionError)
}
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.CriterionErrorEnum)) {
return super.equals(obj);
}
com.google.ads.googleads.v17.errors.CriterionErrorEnum other = (com.google.ads.googleads.v17.errors.CriterionErrorEnum) 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.CriterionErrorEnum parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.errors.CriterionErrorEnum 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.CriterionErrorEnum parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.errors.CriterionErrorEnum 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.CriterionErrorEnum parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.errors.CriterionErrorEnum 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.CriterionErrorEnum 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.CriterionErrorEnum 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.CriterionErrorEnum 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.CriterionErrorEnum 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.CriterionErrorEnum 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.CriterionErrorEnum 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.CriterionErrorEnum 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 criterion errors.
*
*
* Protobuf type {@code google.ads.googleads.v17.errors.CriterionErrorEnum}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:google.ads.googleads.v17.errors.CriterionErrorEnum)
com.google.ads.googleads.v17.errors.CriterionErrorEnumOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v17.errors.CriterionErrorProto.internal_static_google_ads_googleads_v17_errors_CriterionErrorEnum_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v17.errors.CriterionErrorProto.internal_static_google_ads_googleads_v17_errors_CriterionErrorEnum_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v17.errors.CriterionErrorEnum.class, com.google.ads.googleads.v17.errors.CriterionErrorEnum.Builder.class);
}
// Construct using com.google.ads.googleads.v17.errors.CriterionErrorEnum.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.CriterionErrorProto.internal_static_google_ads_googleads_v17_errors_CriterionErrorEnum_descriptor;
}
@java.lang.Override
public com.google.ads.googleads.v17.errors.CriterionErrorEnum getDefaultInstanceForType() {
return com.google.ads.googleads.v17.errors.CriterionErrorEnum.getDefaultInstance();
}
@java.lang.Override
public com.google.ads.googleads.v17.errors.CriterionErrorEnum build() {
com.google.ads.googleads.v17.errors.CriterionErrorEnum result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.ads.googleads.v17.errors.CriterionErrorEnum buildPartial() {
com.google.ads.googleads.v17.errors.CriterionErrorEnum result = new com.google.ads.googleads.v17.errors.CriterionErrorEnum(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.CriterionErrorEnum) {
return mergeFrom((com.google.ads.googleads.v17.errors.CriterionErrorEnum)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.ads.googleads.v17.errors.CriterionErrorEnum other) {
if (other == com.google.ads.googleads.v17.errors.CriterionErrorEnum.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.CriterionErrorEnum)
}
// @@protoc_insertion_point(class_scope:google.ads.googleads.v17.errors.CriterionErrorEnum)
private static final com.google.ads.googleads.v17.errors.CriterionErrorEnum DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.ads.googleads.v17.errors.CriterionErrorEnum();
}
public static com.google.ads.googleads.v17.errors.CriterionErrorEnum getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CriterionErrorEnum 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.CriterionErrorEnum getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy