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

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

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

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

/**
 * 
 * Container for enum describing possible campaign errors.
 * 
* * Protobuf type {@code google.ads.googleads.v17.errors.CampaignErrorEnum} */ public final class CampaignErrorEnum extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.ads.googleads.v17.errors.CampaignErrorEnum) CampaignErrorEnumOrBuilder { private static final long serialVersionUID = 0L; // Use CampaignErrorEnum.newBuilder() to construct. private CampaignErrorEnum(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CampaignErrorEnum() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CampaignErrorEnum(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v17.errors.CampaignErrorProto.internal_static_google_ads_googleads_v17_errors_CampaignErrorEnum_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v17.errors.CampaignErrorProto.internal_static_google_ads_googleads_v17_errors_CampaignErrorEnum_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v17.errors.CampaignErrorEnum.class, com.google.ads.googleads.v17.errors.CampaignErrorEnum.Builder.class); } /** *
   * Enum describing possible campaign errors.
   * 
* * Protobuf enum {@code google.ads.googleads.v17.errors.CampaignErrorEnum.CampaignError} */ public enum CampaignError 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), /** *
     * Cannot target content network.
     * 
* * CANNOT_TARGET_CONTENT_NETWORK = 3; */ CANNOT_TARGET_CONTENT_NETWORK(3), /** *
     * Cannot target search network.
     * 
* * CANNOT_TARGET_SEARCH_NETWORK = 4; */ CANNOT_TARGET_SEARCH_NETWORK(4), /** *
     * Cannot cover search network without google search network.
     * 
* * CANNOT_TARGET_SEARCH_NETWORK_WITHOUT_GOOGLE_SEARCH = 5; */ CANNOT_TARGET_SEARCH_NETWORK_WITHOUT_GOOGLE_SEARCH(5), /** *
     * Cannot target Google Search network for a CPM campaign.
     * 
* * CANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGN = 6; */ CANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGN(6), /** *
     * Must target at least one network.
     * 
* * CAMPAIGN_MUST_TARGET_AT_LEAST_ONE_NETWORK = 7; */ CAMPAIGN_MUST_TARGET_AT_LEAST_ONE_NETWORK(7), /** *
     * Only some Google partners are allowed to target partner search network.
     * 
* * CANNOT_TARGET_PARTNER_SEARCH_NETWORK = 8; */ CANNOT_TARGET_PARTNER_SEARCH_NETWORK(8), /** *
     * Cannot target content network only as campaign has criteria-level bidding
     * strategy.
     * 
* * CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CRITERIA_LEVEL_BIDDING_STRATEGY = 9; */ CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CRITERIA_LEVEL_BIDDING_STRATEGY(9), /** *
     * Cannot modify the start or end date such that the campaign duration would
     * not contain the durations of all runnable trials.
     * 
* * CAMPAIGN_DURATION_MUST_CONTAIN_ALL_RUNNABLE_TRIALS = 10; */ CAMPAIGN_DURATION_MUST_CONTAIN_ALL_RUNNABLE_TRIALS(10), /** *
     * Cannot modify dates, budget or status of a trial campaign.
     * 
* * CANNOT_MODIFY_FOR_TRIAL_CAMPAIGN = 11; */ CANNOT_MODIFY_FOR_TRIAL_CAMPAIGN(11), /** *
     * Trying to modify the name of an active or paused campaign, where the name
     * is already assigned to another active or paused campaign.
     * 
* * DUPLICATE_CAMPAIGN_NAME = 12; */ DUPLICATE_CAMPAIGN_NAME(12), /** *
     * Two fields are in conflicting modes.
     * 
* * INCOMPATIBLE_CAMPAIGN_FIELD = 13; */ INCOMPATIBLE_CAMPAIGN_FIELD(13), /** *
     * Campaign name cannot be used.
     * 
* * INVALID_CAMPAIGN_NAME = 14; */ INVALID_CAMPAIGN_NAME(14), /** *
     * Given status is invalid.
     * 
* * INVALID_AD_SERVING_OPTIMIZATION_STATUS = 15; */ INVALID_AD_SERVING_OPTIMIZATION_STATUS(15), /** *
     * Error in the campaign level tracking URL.
     * 
* * INVALID_TRACKING_URL = 16; */ INVALID_TRACKING_URL(16), /** *
     * Cannot set both tracking URL template and tracking setting. A user has
     * to clear legacy tracking setting in order to add tracking URL template.
     * 
* * CANNOT_SET_BOTH_TRACKING_URL_TEMPLATE_AND_TRACKING_SETTING = 17; */ CANNOT_SET_BOTH_TRACKING_URL_TEMPLATE_AND_TRACKING_SETTING(17), /** *
     * The maximum number of impressions for Frequency Cap should be an integer
     * greater than 0.
     * 
* * MAX_IMPRESSIONS_NOT_IN_RANGE = 18; */ MAX_IMPRESSIONS_NOT_IN_RANGE(18), /** *
     * Only the Day, Week and Month time units are supported.
     * 
* * TIME_UNIT_NOT_SUPPORTED = 19; */ TIME_UNIT_NOT_SUPPORTED(19), /** *
     * Operation not allowed on a campaign whose serving status has ended
     * 
* * INVALID_OPERATION_IF_SERVING_STATUS_HAS_ENDED = 20; */ INVALID_OPERATION_IF_SERVING_STATUS_HAS_ENDED(20), /** *
     * This budget is exclusively linked to a Campaign that is using experiments
     * so it cannot be shared.
     * 
* * BUDGET_CANNOT_BE_SHARED = 21; */ BUDGET_CANNOT_BE_SHARED(21), /** *
     * Campaigns using experiments cannot use a shared budget.
     * 
* * CAMPAIGN_CANNOT_USE_SHARED_BUDGET = 22; */ CAMPAIGN_CANNOT_USE_SHARED_BUDGET(22), /** *
     * A different budget cannot be assigned to a campaign when there are
     * running or scheduled trials.
     * 
* * CANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALS = 23; */ CANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALS(23), /** *
     * No link found between the campaign and the label.
     * 
* * CAMPAIGN_LABEL_DOES_NOT_EXIST = 24; */ CAMPAIGN_LABEL_DOES_NOT_EXIST(24), /** *
     * The label has already been attached to the campaign.
     * 
* * CAMPAIGN_LABEL_ALREADY_EXISTS = 25; */ CAMPAIGN_LABEL_ALREADY_EXISTS(25), /** *
     * A ShoppingSetting was not found when creating a shopping campaign.
     * 
* * MISSING_SHOPPING_SETTING = 26; */ MISSING_SHOPPING_SETTING(26), /** *
     * The country in shopping setting is not an allowed country.
     * 
* * INVALID_SHOPPING_SALES_COUNTRY = 27; */ INVALID_SHOPPING_SALES_COUNTRY(27), /** *
     * The requested channel type is not available according to the customer's
     * account setting.
     * 
* * ADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPE = 31; */ ADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPE(31), /** *
     * The AdvertisingChannelSubType is not a valid subtype of the primary
     * channel type.
     * 
* * INVALID_ADVERTISING_CHANNEL_SUB_TYPE = 32; */ INVALID_ADVERTISING_CHANNEL_SUB_TYPE(32), /** *
     * At least one conversion must be selected.
     * 
* * AT_LEAST_ONE_CONVERSION_MUST_BE_SELECTED = 33; */ AT_LEAST_ONE_CONVERSION_MUST_BE_SELECTED(33), /** *
     * Setting ad rotation mode for a campaign is not allowed. Ad rotation mode
     * at campaign is deprecated.
     * 
* * CANNOT_SET_AD_ROTATION_MODE = 34; */ CANNOT_SET_AD_ROTATION_MODE(34), /** *
     * Trying to change start date on a campaign that has started.
     * 
* * CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED = 35; */ CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED(35), /** *
     * Trying to modify a date into the past.
     * 
* * CANNOT_SET_DATE_TO_PAST = 36; */ CANNOT_SET_DATE_TO_PAST(36), /** *
     * Hotel center id in the hotel setting does not match any customer links.
     * 
* * MISSING_HOTEL_CUSTOMER_LINK = 37; */ MISSING_HOTEL_CUSTOMER_LINK(37), /** *
     * Hotel center id in the hotel setting must match an active customer link.
     * 
* * INVALID_HOTEL_CUSTOMER_LINK = 38; */ INVALID_HOTEL_CUSTOMER_LINK(38), /** *
     * Hotel setting was not found when creating a hotel ads campaign.
     * 
* * MISSING_HOTEL_SETTING = 39; */ MISSING_HOTEL_SETTING(39), /** *
     * A Campaign cannot use shared campaign budgets and be part of a campaign
     * group.
     * 
* * CANNOT_USE_SHARED_CAMPAIGN_BUDGET_WHILE_PART_OF_CAMPAIGN_GROUP = 40; */ CANNOT_USE_SHARED_CAMPAIGN_BUDGET_WHILE_PART_OF_CAMPAIGN_GROUP(40), /** *
     * The app ID was not found.
     * 
* * APP_NOT_FOUND = 41; */ APP_NOT_FOUND(41), /** *
     * Campaign.shopping_setting.enable_local is not supported for the specified
     * campaign type.
     * 
* * SHOPPING_ENABLE_LOCAL_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE = 42; */ SHOPPING_ENABLE_LOCAL_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE(42), /** *
     * The merchant does not support the creation of campaigns for Shopping
     * Comparison Listing Ads.
     * 
* * MERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADS = 43; */ MERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADS(43), /** *
     * The App campaign for engagement cannot be created because there aren't
     * enough installs.
     * 
* * INSUFFICIENT_APP_INSTALLS_COUNT = 44; */ INSUFFICIENT_APP_INSTALLS_COUNT(44), /** *
     * The App campaign for engagement cannot be created because the app is
     * sensitive.
     * 
* * SENSITIVE_CATEGORY_APP = 45; */ SENSITIVE_CATEGORY_APP(45), /** *
     * Customers with Housing, Employment, or Credit ads must accept updated
     * personalized ads policy to continue creating campaigns.
     * 
* * HEC_AGREEMENT_REQUIRED = 46; */ HEC_AGREEMENT_REQUIRED(46), /** *
     * The field is not compatible with view through conversion optimization.
     * 
* * NOT_COMPATIBLE_WITH_VIEW_THROUGH_CONVERSION_OPTIMIZATION = 49; */ NOT_COMPATIBLE_WITH_VIEW_THROUGH_CONVERSION_OPTIMIZATION(49), /** *
     * The field type cannot be excluded because an active campaign-asset link
     * of this type exists.
     * 
* * INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE = 48; */ INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE(48), /** *
     * The app pre-registration campaign cannot be created for non-Android
     * applications.
     * 
* * CANNOT_CREATE_APP_PRE_REGISTRATION_FOR_NON_ANDROID_APP = 50; */ CANNOT_CREATE_APP_PRE_REGISTRATION_FOR_NON_ANDROID_APP(50), /** *
     * The campaign cannot be created since the app is not available for
     * pre-registration in any country.
     * 
* * APP_NOT_AVAILABLE_TO_CREATE_APP_PRE_REGISTRATION_CAMPAIGN = 51; */ APP_NOT_AVAILABLE_TO_CREATE_APP_PRE_REGISTRATION_CAMPAIGN(51), /** *
     * The type of the Budget is not compatible with this Campaign.
     * 
* * INCOMPATIBLE_BUDGET_TYPE = 52; */ INCOMPATIBLE_BUDGET_TYPE(52), /** *
     * Category bid list in the local services campaign setting contains
     * multiple bids for the same category ID.
     * 
* * LOCAL_SERVICES_DUPLICATE_CATEGORY_BID = 53; */ LOCAL_SERVICES_DUPLICATE_CATEGORY_BID(53), /** *
     * Category bid list in the local services campaign setting contains
     * a bid for an invalid category ID.
     * 
* * LOCAL_SERVICES_INVALID_CATEGORY_BID = 54; */ LOCAL_SERVICES_INVALID_CATEGORY_BID(54), /** *
     * Category bid list in the local services campaign setting is missing a
     * bid for a category ID that must be present.
     * 
* * LOCAL_SERVICES_MISSING_CATEGORY_BID = 55; */ LOCAL_SERVICES_MISSING_CATEGORY_BID(55), /** *
     * The requested change in status is not supported.
     * 
* * INVALID_STATUS_CHANGE = 57; */ INVALID_STATUS_CHANGE(57), /** *
     * Travel Campaign's travel_account_id does not match any customer links.
     * 
* * MISSING_TRAVEL_CUSTOMER_LINK = 58; */ MISSING_TRAVEL_CUSTOMER_LINK(58), /** *
     * Travel Campaign's travel_account_id matches an existing customer link
     * but the customer link is not active.
     * 
* * INVALID_TRAVEL_CUSTOMER_LINK = 59; */ INVALID_TRAVEL_CUSTOMER_LINK(59), /** *
     * The asset set type is invalid to be set in
     * excluded_parent_asset_set_types field.
     * 
* * INVALID_EXCLUDED_PARENT_ASSET_SET_TYPE = 62; */ INVALID_EXCLUDED_PARENT_ASSET_SET_TYPE(62), /** *
     * Campaign.hotel_property_asset_set must point to an asset set of type
     * HOTEL_PROPERTY.
     * 
* * ASSET_SET_NOT_A_HOTEL_PROPERTY_ASSET_SET = 63; */ ASSET_SET_NOT_A_HOTEL_PROPERTY_ASSET_SET(63), /** *
     * The hotel property asset set can only be set on Performance Max for
     * travel goals campaigns.
     * 
* * HOTEL_PROPERTY_ASSET_SET_ONLY_FOR_PERFORMANCE_MAX_FOR_TRAVEL_GOALS = 64; */ HOTEL_PROPERTY_ASSET_SET_ONLY_FOR_PERFORMANCE_MAX_FOR_TRAVEL_GOALS(64), /** *
     * Customer's average daily spend is too high to enable this feature.
     * 
* * AVERAGE_DAILY_SPEND_TOO_HIGH = 65; */ AVERAGE_DAILY_SPEND_TOO_HIGH(65), /** *
     * Cannot attach the campaign to a deleted campaign group.
     * 
* * CANNOT_ATTACH_TO_REMOVED_CAMPAIGN_GROUP = 66; */ CANNOT_ATTACH_TO_REMOVED_CAMPAIGN_GROUP(66), /** *
     * Cannot attach the campaign to this bidding strategy.
     * 
* * CANNOT_ATTACH_TO_BIDDING_STRATEGY = 67; */ CANNOT_ATTACH_TO_BIDDING_STRATEGY(67), /** *
     * A budget with a different period cannot be assigned to the campaign.
     * 
* * CANNOT_CHANGE_BUDGET_PERIOD = 68; */ CANNOT_CHANGE_BUDGET_PERIOD(68), /** *
     * Customer does not have enough conversions to enable this feature.
     * 
* * NOT_ENOUGH_CONVERSIONS = 71; */ NOT_ENOUGH_CONVERSIONS(71), /** *
     * This campaign type can only have one conversion action.
     * 
* * CANNOT_SET_MORE_THAN_ONE_CONVERSION_ACTION = 72; */ CANNOT_SET_MORE_THAN_ONE_CONVERSION_ACTION(72), /** *
     * The field is not compatible with the budget type.
     * 
* * NOT_COMPATIBLE_WITH_BUDGET_TYPE = 73; */ NOT_COMPATIBLE_WITH_BUDGET_TYPE(73), /** *
     * The feature is incompatible with ConversionActionType.UPLOAD_CLICKS.
     * 
* * NOT_COMPATIBLE_WITH_UPLOAD_CLICKS_CONVERSION = 74; */ NOT_COMPATIBLE_WITH_UPLOAD_CLICKS_CONVERSION(74), /** *
     * App campaign setting app ID must match selective optimization conversion
     * action app ID.
     * 
* * APP_ID_MUST_MATCH_CONVERSION_ACTION_APP_ID = 76; */ APP_ID_MUST_MATCH_CONVERSION_ACTION_APP_ID(76), /** *
     * Selective optimization conversion action with Download category is not
     * allowed.
     * 
* * CONVERSION_ACTION_WITH_DOWNLOAD_CATEGORY_NOT_ALLOWED = 77; */ CONVERSION_ACTION_WITH_DOWNLOAD_CATEGORY_NOT_ALLOWED(77), /** *
     * One software download for selective optimization conversion action is
     * required for this campaign conversion action.
     * 
* * CONVERSION_ACTION_WITH_DOWNLOAD_CATEGORY_REQUIRED = 78; */ CONVERSION_ACTION_WITH_DOWNLOAD_CATEGORY_REQUIRED(78), /** *
     * Conversion tracking is not enabled and is required for this feature.
     * 
* * CONVERSION_TRACKING_NOT_ENABLED = 79; */ CONVERSION_TRACKING_NOT_ENABLED(79), /** *
     * The field is not compatible with the bidding strategy type.
     * 
* * NOT_COMPATIBLE_WITH_BIDDING_STRATEGY_TYPE = 80; */ NOT_COMPATIBLE_WITH_BIDDING_STRATEGY_TYPE(80), /** *
     * Campaign is not compatible with a conversion tracker that has Google
     * attribution enabled.
     * 
* * NOT_COMPATIBLE_WITH_GOOGLE_ATTRIBUTION_CONVERSIONS = 81; */ NOT_COMPATIBLE_WITH_GOOGLE_ATTRIBUTION_CONVERSIONS(81), /** *
     * Customer level conversion lag is too high.
     * 
* * CONVERSION_LAG_TOO_HIGH = 82; */ CONVERSION_LAG_TOO_HIGH(82), /** *
     * The advertiser set as an advertising partner is not an actively linked
     * advertiser to this customer.
     * 
* * NOT_LINKED_ADVERTISING_PARTNER = 83; */ NOT_LINKED_ADVERTISING_PARTNER(83), /** *
     * Invalid number of advertising partner IDs.
     * 
* * INVALID_NUMBER_OF_ADVERTISING_PARTNER_IDS = 84; */ INVALID_NUMBER_OF_ADVERTISING_PARTNER_IDS(84), /** *
     * Cannot target the display network without also targeting YouTube.
     * 
* * CANNOT_TARGET_DISPLAY_NETWORK_WITHOUT_YOUTUBE = 85; */ CANNOT_TARGET_DISPLAY_NETWORK_WITHOUT_YOUTUBE(85), /** *
     * This campaign type cannot be linked to a Comparison Shopping Service
     * account.
     * 
* * CANNOT_LINK_TO_COMPARISON_SHOPPING_SERVICE_ACCOUNT = 86; */ CANNOT_LINK_TO_COMPARISON_SHOPPING_SERVICE_ACCOUNT(86), /** *
     * Standard Shopping campaigns that are linked to a Comparison Shopping
     * Service account cannot target this network.
     * 
* * CANNOT_TARGET_NETWORK_FOR_COMPARISON_SHOPPING_SERVICE_LINKED_ACCOUNTS = 87; */ CANNOT_TARGET_NETWORK_FOR_COMPARISON_SHOPPING_SERVICE_LINKED_ACCOUNTS(87), /** *
     * Text asset automation settings can not be modified when there is an
     * active Performance Max optimization automatically created assets
     * experiment. End the experiment to modify these settings.
     * 
* * CANNOT_MODIFY_TEXT_ASSET_AUTOMATION_WITH_ENABLED_TRIAL = 88; */ CANNOT_MODIFY_TEXT_ASSET_AUTOMATION_WITH_ENABLED_TRIAL(88), /** *
     * Dynamic text asset cannot be opted out when final URL expansion is opted
     * in.
     * 
* * DYNAMIC_TEXT_ASSET_CANNOT_OPT_OUT_WITH_FINAL_URL_EXPANSION_OPT_IN = 89; */ DYNAMIC_TEXT_ASSET_CANNOT_OPT_OUT_WITH_FINAL_URL_EXPANSION_OPT_IN(89), /** *
     * Can not set a campaign level match type.
     * 
* * CANNOT_SET_CAMPAIGN_KEYWORD_MATCH_TYPE = 90; */ CANNOT_SET_CAMPAIGN_KEYWORD_MATCH_TYPE(90), /** *
     * The campaign level keyword match type cannot be switched to non-broad
     * when keyword conversion to broad match is in process.
     * 
* * CANNOT_DISABLE_BROAD_MATCH_WHEN_KEYWORD_CONVERSION_IN_PROCESS = 91; */ CANNOT_DISABLE_BROAD_MATCH_WHEN_KEYWORD_CONVERSION_IN_PROCESS(91), /** *
     * The campaign level keyword match type cannot be switched to non-broad
     * when the campaign has any attached brand list or when a brand hint shared
     * set is attached to the campaign.
     * 
* * CANNOT_DISABLE_BROAD_MATCH_WHEN_TARGETING_BRANDS = 92; */ CANNOT_DISABLE_BROAD_MATCH_WHEN_TARGETING_BRANDS(92), /** *
     * Cannot set campaign level keyword match type to BROAD if the campaign is
     * a base campaign with an associated trial that is currently promoting.
     * 
* * CANNOT_ENABLE_BROAD_MATCH_FOR_BASE_CAMPAIGN_WITH_PROMOTING_TRIAL = 93; */ CANNOT_ENABLE_BROAD_MATCH_FOR_BASE_CAMPAIGN_WITH_PROMOTING_TRIAL(93), /** *
     * Cannot set campaign level keyword match type to BROAD if the campaign is
     * a trial currently promoting.
     * 
* * CANNOT_ENABLE_BROAD_MATCH_FOR_PROMOTING_TRIAL_CAMPAIGN = 94; */ CANNOT_ENABLE_BROAD_MATCH_FOR_PROMOTING_TRIAL_CAMPAIGN(94), 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; /** *
     * Cannot target content network.
     * 
* * CANNOT_TARGET_CONTENT_NETWORK = 3; */ public static final int CANNOT_TARGET_CONTENT_NETWORK_VALUE = 3; /** *
     * Cannot target search network.
     * 
* * CANNOT_TARGET_SEARCH_NETWORK = 4; */ public static final int CANNOT_TARGET_SEARCH_NETWORK_VALUE = 4; /** *
     * Cannot cover search network without google search network.
     * 
* * CANNOT_TARGET_SEARCH_NETWORK_WITHOUT_GOOGLE_SEARCH = 5; */ public static final int CANNOT_TARGET_SEARCH_NETWORK_WITHOUT_GOOGLE_SEARCH_VALUE = 5; /** *
     * Cannot target Google Search network for a CPM campaign.
     * 
* * CANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGN = 6; */ public static final int CANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGN_VALUE = 6; /** *
     * Must target at least one network.
     * 
* * CAMPAIGN_MUST_TARGET_AT_LEAST_ONE_NETWORK = 7; */ public static final int CAMPAIGN_MUST_TARGET_AT_LEAST_ONE_NETWORK_VALUE = 7; /** *
     * Only some Google partners are allowed to target partner search network.
     * 
* * CANNOT_TARGET_PARTNER_SEARCH_NETWORK = 8; */ public static final int CANNOT_TARGET_PARTNER_SEARCH_NETWORK_VALUE = 8; /** *
     * Cannot target content network only as campaign has criteria-level bidding
     * strategy.
     * 
* * CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CRITERIA_LEVEL_BIDDING_STRATEGY = 9; */ public static final int CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CRITERIA_LEVEL_BIDDING_STRATEGY_VALUE = 9; /** *
     * Cannot modify the start or end date such that the campaign duration would
     * not contain the durations of all runnable trials.
     * 
* * CAMPAIGN_DURATION_MUST_CONTAIN_ALL_RUNNABLE_TRIALS = 10; */ public static final int CAMPAIGN_DURATION_MUST_CONTAIN_ALL_RUNNABLE_TRIALS_VALUE = 10; /** *
     * Cannot modify dates, budget or status of a trial campaign.
     * 
* * CANNOT_MODIFY_FOR_TRIAL_CAMPAIGN = 11; */ public static final int CANNOT_MODIFY_FOR_TRIAL_CAMPAIGN_VALUE = 11; /** *
     * Trying to modify the name of an active or paused campaign, where the name
     * is already assigned to another active or paused campaign.
     * 
* * DUPLICATE_CAMPAIGN_NAME = 12; */ public static final int DUPLICATE_CAMPAIGN_NAME_VALUE = 12; /** *
     * Two fields are in conflicting modes.
     * 
* * INCOMPATIBLE_CAMPAIGN_FIELD = 13; */ public static final int INCOMPATIBLE_CAMPAIGN_FIELD_VALUE = 13; /** *
     * Campaign name cannot be used.
     * 
* * INVALID_CAMPAIGN_NAME = 14; */ public static final int INVALID_CAMPAIGN_NAME_VALUE = 14; /** *
     * Given status is invalid.
     * 
* * INVALID_AD_SERVING_OPTIMIZATION_STATUS = 15; */ public static final int INVALID_AD_SERVING_OPTIMIZATION_STATUS_VALUE = 15; /** *
     * Error in the campaign level tracking URL.
     * 
* * INVALID_TRACKING_URL = 16; */ public static final int INVALID_TRACKING_URL_VALUE = 16; /** *
     * Cannot set both tracking URL template and tracking setting. A user has
     * to clear legacy tracking setting in order to add tracking URL template.
     * 
* * CANNOT_SET_BOTH_TRACKING_URL_TEMPLATE_AND_TRACKING_SETTING = 17; */ public static final int CANNOT_SET_BOTH_TRACKING_URL_TEMPLATE_AND_TRACKING_SETTING_VALUE = 17; /** *
     * The maximum number of impressions for Frequency Cap should be an integer
     * greater than 0.
     * 
* * MAX_IMPRESSIONS_NOT_IN_RANGE = 18; */ public static final int MAX_IMPRESSIONS_NOT_IN_RANGE_VALUE = 18; /** *
     * Only the Day, Week and Month time units are supported.
     * 
* * TIME_UNIT_NOT_SUPPORTED = 19; */ public static final int TIME_UNIT_NOT_SUPPORTED_VALUE = 19; /** *
     * Operation not allowed on a campaign whose serving status has ended
     * 
* * INVALID_OPERATION_IF_SERVING_STATUS_HAS_ENDED = 20; */ public static final int INVALID_OPERATION_IF_SERVING_STATUS_HAS_ENDED_VALUE = 20; /** *
     * This budget is exclusively linked to a Campaign that is using experiments
     * so it cannot be shared.
     * 
* * BUDGET_CANNOT_BE_SHARED = 21; */ public static final int BUDGET_CANNOT_BE_SHARED_VALUE = 21; /** *
     * Campaigns using experiments cannot use a shared budget.
     * 
* * CAMPAIGN_CANNOT_USE_SHARED_BUDGET = 22; */ public static final int CAMPAIGN_CANNOT_USE_SHARED_BUDGET_VALUE = 22; /** *
     * A different budget cannot be assigned to a campaign when there are
     * running or scheduled trials.
     * 
* * CANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALS = 23; */ public static final int CANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALS_VALUE = 23; /** *
     * No link found between the campaign and the label.
     * 
* * CAMPAIGN_LABEL_DOES_NOT_EXIST = 24; */ public static final int CAMPAIGN_LABEL_DOES_NOT_EXIST_VALUE = 24; /** *
     * The label has already been attached to the campaign.
     * 
* * CAMPAIGN_LABEL_ALREADY_EXISTS = 25; */ public static final int CAMPAIGN_LABEL_ALREADY_EXISTS_VALUE = 25; /** *
     * A ShoppingSetting was not found when creating a shopping campaign.
     * 
* * MISSING_SHOPPING_SETTING = 26; */ public static final int MISSING_SHOPPING_SETTING_VALUE = 26; /** *
     * The country in shopping setting is not an allowed country.
     * 
* * INVALID_SHOPPING_SALES_COUNTRY = 27; */ public static final int INVALID_SHOPPING_SALES_COUNTRY_VALUE = 27; /** *
     * The requested channel type is not available according to the customer's
     * account setting.
     * 
* * ADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPE = 31; */ public static final int ADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPE_VALUE = 31; /** *
     * The AdvertisingChannelSubType is not a valid subtype of the primary
     * channel type.
     * 
* * INVALID_ADVERTISING_CHANNEL_SUB_TYPE = 32; */ public static final int INVALID_ADVERTISING_CHANNEL_SUB_TYPE_VALUE = 32; /** *
     * At least one conversion must be selected.
     * 
* * AT_LEAST_ONE_CONVERSION_MUST_BE_SELECTED = 33; */ public static final int AT_LEAST_ONE_CONVERSION_MUST_BE_SELECTED_VALUE = 33; /** *
     * Setting ad rotation mode for a campaign is not allowed. Ad rotation mode
     * at campaign is deprecated.
     * 
* * CANNOT_SET_AD_ROTATION_MODE = 34; */ public static final int CANNOT_SET_AD_ROTATION_MODE_VALUE = 34; /** *
     * Trying to change start date on a campaign that has started.
     * 
* * CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED = 35; */ public static final int CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED_VALUE = 35; /** *
     * Trying to modify a date into the past.
     * 
* * CANNOT_SET_DATE_TO_PAST = 36; */ public static final int CANNOT_SET_DATE_TO_PAST_VALUE = 36; /** *
     * Hotel center id in the hotel setting does not match any customer links.
     * 
* * MISSING_HOTEL_CUSTOMER_LINK = 37; */ public static final int MISSING_HOTEL_CUSTOMER_LINK_VALUE = 37; /** *
     * Hotel center id in the hotel setting must match an active customer link.
     * 
* * INVALID_HOTEL_CUSTOMER_LINK = 38; */ public static final int INVALID_HOTEL_CUSTOMER_LINK_VALUE = 38; /** *
     * Hotel setting was not found when creating a hotel ads campaign.
     * 
* * MISSING_HOTEL_SETTING = 39; */ public static final int MISSING_HOTEL_SETTING_VALUE = 39; /** *
     * A Campaign cannot use shared campaign budgets and be part of a campaign
     * group.
     * 
* * CANNOT_USE_SHARED_CAMPAIGN_BUDGET_WHILE_PART_OF_CAMPAIGN_GROUP = 40; */ public static final int CANNOT_USE_SHARED_CAMPAIGN_BUDGET_WHILE_PART_OF_CAMPAIGN_GROUP_VALUE = 40; /** *
     * The app ID was not found.
     * 
* * APP_NOT_FOUND = 41; */ public static final int APP_NOT_FOUND_VALUE = 41; /** *
     * Campaign.shopping_setting.enable_local is not supported for the specified
     * campaign type.
     * 
* * SHOPPING_ENABLE_LOCAL_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE = 42; */ public static final int SHOPPING_ENABLE_LOCAL_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE_VALUE = 42; /** *
     * The merchant does not support the creation of campaigns for Shopping
     * Comparison Listing Ads.
     * 
* * MERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADS = 43; */ public static final int MERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADS_VALUE = 43; /** *
     * The App campaign for engagement cannot be created because there aren't
     * enough installs.
     * 
* * INSUFFICIENT_APP_INSTALLS_COUNT = 44; */ public static final int INSUFFICIENT_APP_INSTALLS_COUNT_VALUE = 44; /** *
     * The App campaign for engagement cannot be created because the app is
     * sensitive.
     * 
* * SENSITIVE_CATEGORY_APP = 45; */ public static final int SENSITIVE_CATEGORY_APP_VALUE = 45; /** *
     * Customers with Housing, Employment, or Credit ads must accept updated
     * personalized ads policy to continue creating campaigns.
     * 
* * HEC_AGREEMENT_REQUIRED = 46; */ public static final int HEC_AGREEMENT_REQUIRED_VALUE = 46; /** *
     * The field is not compatible with view through conversion optimization.
     * 
* * NOT_COMPATIBLE_WITH_VIEW_THROUGH_CONVERSION_OPTIMIZATION = 49; */ public static final int NOT_COMPATIBLE_WITH_VIEW_THROUGH_CONVERSION_OPTIMIZATION_VALUE = 49; /** *
     * The field type cannot be excluded because an active campaign-asset link
     * of this type exists.
     * 
* * INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE = 48; */ public static final int INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE_VALUE = 48; /** *
     * The app pre-registration campaign cannot be created for non-Android
     * applications.
     * 
* * CANNOT_CREATE_APP_PRE_REGISTRATION_FOR_NON_ANDROID_APP = 50; */ public static final int CANNOT_CREATE_APP_PRE_REGISTRATION_FOR_NON_ANDROID_APP_VALUE = 50; /** *
     * The campaign cannot be created since the app is not available for
     * pre-registration in any country.
     * 
* * APP_NOT_AVAILABLE_TO_CREATE_APP_PRE_REGISTRATION_CAMPAIGN = 51; */ public static final int APP_NOT_AVAILABLE_TO_CREATE_APP_PRE_REGISTRATION_CAMPAIGN_VALUE = 51; /** *
     * The type of the Budget is not compatible with this Campaign.
     * 
* * INCOMPATIBLE_BUDGET_TYPE = 52; */ public static final int INCOMPATIBLE_BUDGET_TYPE_VALUE = 52; /** *
     * Category bid list in the local services campaign setting contains
     * multiple bids for the same category ID.
     * 
* * LOCAL_SERVICES_DUPLICATE_CATEGORY_BID = 53; */ public static final int LOCAL_SERVICES_DUPLICATE_CATEGORY_BID_VALUE = 53; /** *
     * Category bid list in the local services campaign setting contains
     * a bid for an invalid category ID.
     * 
* * LOCAL_SERVICES_INVALID_CATEGORY_BID = 54; */ public static final int LOCAL_SERVICES_INVALID_CATEGORY_BID_VALUE = 54; /** *
     * Category bid list in the local services campaign setting is missing a
     * bid for a category ID that must be present.
     * 
* * LOCAL_SERVICES_MISSING_CATEGORY_BID = 55; */ public static final int LOCAL_SERVICES_MISSING_CATEGORY_BID_VALUE = 55; /** *
     * The requested change in status is not supported.
     * 
* * INVALID_STATUS_CHANGE = 57; */ public static final int INVALID_STATUS_CHANGE_VALUE = 57; /** *
     * Travel Campaign's travel_account_id does not match any customer links.
     * 
* * MISSING_TRAVEL_CUSTOMER_LINK = 58; */ public static final int MISSING_TRAVEL_CUSTOMER_LINK_VALUE = 58; /** *
     * Travel Campaign's travel_account_id matches an existing customer link
     * but the customer link is not active.
     * 
* * INVALID_TRAVEL_CUSTOMER_LINK = 59; */ public static final int INVALID_TRAVEL_CUSTOMER_LINK_VALUE = 59; /** *
     * The asset set type is invalid to be set in
     * excluded_parent_asset_set_types field.
     * 
* * INVALID_EXCLUDED_PARENT_ASSET_SET_TYPE = 62; */ public static final int INVALID_EXCLUDED_PARENT_ASSET_SET_TYPE_VALUE = 62; /** *
     * Campaign.hotel_property_asset_set must point to an asset set of type
     * HOTEL_PROPERTY.
     * 
* * ASSET_SET_NOT_A_HOTEL_PROPERTY_ASSET_SET = 63; */ public static final int ASSET_SET_NOT_A_HOTEL_PROPERTY_ASSET_SET_VALUE = 63; /** *
     * The hotel property asset set can only be set on Performance Max for
     * travel goals campaigns.
     * 
* * HOTEL_PROPERTY_ASSET_SET_ONLY_FOR_PERFORMANCE_MAX_FOR_TRAVEL_GOALS = 64; */ public static final int HOTEL_PROPERTY_ASSET_SET_ONLY_FOR_PERFORMANCE_MAX_FOR_TRAVEL_GOALS_VALUE = 64; /** *
     * Customer's average daily spend is too high to enable this feature.
     * 
* * AVERAGE_DAILY_SPEND_TOO_HIGH = 65; */ public static final int AVERAGE_DAILY_SPEND_TOO_HIGH_VALUE = 65; /** *
     * Cannot attach the campaign to a deleted campaign group.
     * 
* * CANNOT_ATTACH_TO_REMOVED_CAMPAIGN_GROUP = 66; */ public static final int CANNOT_ATTACH_TO_REMOVED_CAMPAIGN_GROUP_VALUE = 66; /** *
     * Cannot attach the campaign to this bidding strategy.
     * 
* * CANNOT_ATTACH_TO_BIDDING_STRATEGY = 67; */ public static final int CANNOT_ATTACH_TO_BIDDING_STRATEGY_VALUE = 67; /** *
     * A budget with a different period cannot be assigned to the campaign.
     * 
* * CANNOT_CHANGE_BUDGET_PERIOD = 68; */ public static final int CANNOT_CHANGE_BUDGET_PERIOD_VALUE = 68; /** *
     * Customer does not have enough conversions to enable this feature.
     * 
* * NOT_ENOUGH_CONVERSIONS = 71; */ public static final int NOT_ENOUGH_CONVERSIONS_VALUE = 71; /** *
     * This campaign type can only have one conversion action.
     * 
* * CANNOT_SET_MORE_THAN_ONE_CONVERSION_ACTION = 72; */ public static final int CANNOT_SET_MORE_THAN_ONE_CONVERSION_ACTION_VALUE = 72; /** *
     * The field is not compatible with the budget type.
     * 
* * NOT_COMPATIBLE_WITH_BUDGET_TYPE = 73; */ public static final int NOT_COMPATIBLE_WITH_BUDGET_TYPE_VALUE = 73; /** *
     * The feature is incompatible with ConversionActionType.UPLOAD_CLICKS.
     * 
* * NOT_COMPATIBLE_WITH_UPLOAD_CLICKS_CONVERSION = 74; */ public static final int NOT_COMPATIBLE_WITH_UPLOAD_CLICKS_CONVERSION_VALUE = 74; /** *
     * App campaign setting app ID must match selective optimization conversion
     * action app ID.
     * 
* * APP_ID_MUST_MATCH_CONVERSION_ACTION_APP_ID = 76; */ public static final int APP_ID_MUST_MATCH_CONVERSION_ACTION_APP_ID_VALUE = 76; /** *
     * Selective optimization conversion action with Download category is not
     * allowed.
     * 
* * CONVERSION_ACTION_WITH_DOWNLOAD_CATEGORY_NOT_ALLOWED = 77; */ public static final int CONVERSION_ACTION_WITH_DOWNLOAD_CATEGORY_NOT_ALLOWED_VALUE = 77; /** *
     * One software download for selective optimization conversion action is
     * required for this campaign conversion action.
     * 
* * CONVERSION_ACTION_WITH_DOWNLOAD_CATEGORY_REQUIRED = 78; */ public static final int CONVERSION_ACTION_WITH_DOWNLOAD_CATEGORY_REQUIRED_VALUE = 78; /** *
     * Conversion tracking is not enabled and is required for this feature.
     * 
* * CONVERSION_TRACKING_NOT_ENABLED = 79; */ public static final int CONVERSION_TRACKING_NOT_ENABLED_VALUE = 79; /** *
     * The field is not compatible with the bidding strategy type.
     * 
* * NOT_COMPATIBLE_WITH_BIDDING_STRATEGY_TYPE = 80; */ public static final int NOT_COMPATIBLE_WITH_BIDDING_STRATEGY_TYPE_VALUE = 80; /** *
     * Campaign is not compatible with a conversion tracker that has Google
     * attribution enabled.
     * 
* * NOT_COMPATIBLE_WITH_GOOGLE_ATTRIBUTION_CONVERSIONS = 81; */ public static final int NOT_COMPATIBLE_WITH_GOOGLE_ATTRIBUTION_CONVERSIONS_VALUE = 81; /** *
     * Customer level conversion lag is too high.
     * 
* * CONVERSION_LAG_TOO_HIGH = 82; */ public static final int CONVERSION_LAG_TOO_HIGH_VALUE = 82; /** *
     * The advertiser set as an advertising partner is not an actively linked
     * advertiser to this customer.
     * 
* * NOT_LINKED_ADVERTISING_PARTNER = 83; */ public static final int NOT_LINKED_ADVERTISING_PARTNER_VALUE = 83; /** *
     * Invalid number of advertising partner IDs.
     * 
* * INVALID_NUMBER_OF_ADVERTISING_PARTNER_IDS = 84; */ public static final int INVALID_NUMBER_OF_ADVERTISING_PARTNER_IDS_VALUE = 84; /** *
     * Cannot target the display network without also targeting YouTube.
     * 
* * CANNOT_TARGET_DISPLAY_NETWORK_WITHOUT_YOUTUBE = 85; */ public static final int CANNOT_TARGET_DISPLAY_NETWORK_WITHOUT_YOUTUBE_VALUE = 85; /** *
     * This campaign type cannot be linked to a Comparison Shopping Service
     * account.
     * 
* * CANNOT_LINK_TO_COMPARISON_SHOPPING_SERVICE_ACCOUNT = 86; */ public static final int CANNOT_LINK_TO_COMPARISON_SHOPPING_SERVICE_ACCOUNT_VALUE = 86; /** *
     * Standard Shopping campaigns that are linked to a Comparison Shopping
     * Service account cannot target this network.
     * 
* * CANNOT_TARGET_NETWORK_FOR_COMPARISON_SHOPPING_SERVICE_LINKED_ACCOUNTS = 87; */ public static final int CANNOT_TARGET_NETWORK_FOR_COMPARISON_SHOPPING_SERVICE_LINKED_ACCOUNTS_VALUE = 87; /** *
     * Text asset automation settings can not be modified when there is an
     * active Performance Max optimization automatically created assets
     * experiment. End the experiment to modify these settings.
     * 
* * CANNOT_MODIFY_TEXT_ASSET_AUTOMATION_WITH_ENABLED_TRIAL = 88; */ public static final int CANNOT_MODIFY_TEXT_ASSET_AUTOMATION_WITH_ENABLED_TRIAL_VALUE = 88; /** *
     * Dynamic text asset cannot be opted out when final URL expansion is opted
     * in.
     * 
* * DYNAMIC_TEXT_ASSET_CANNOT_OPT_OUT_WITH_FINAL_URL_EXPANSION_OPT_IN = 89; */ public static final int DYNAMIC_TEXT_ASSET_CANNOT_OPT_OUT_WITH_FINAL_URL_EXPANSION_OPT_IN_VALUE = 89; /** *
     * Can not set a campaign level match type.
     * 
* * CANNOT_SET_CAMPAIGN_KEYWORD_MATCH_TYPE = 90; */ public static final int CANNOT_SET_CAMPAIGN_KEYWORD_MATCH_TYPE_VALUE = 90; /** *
     * The campaign level keyword match type cannot be switched to non-broad
     * when keyword conversion to broad match is in process.
     * 
* * CANNOT_DISABLE_BROAD_MATCH_WHEN_KEYWORD_CONVERSION_IN_PROCESS = 91; */ public static final int CANNOT_DISABLE_BROAD_MATCH_WHEN_KEYWORD_CONVERSION_IN_PROCESS_VALUE = 91; /** *
     * The campaign level keyword match type cannot be switched to non-broad
     * when the campaign has any attached brand list or when a brand hint shared
     * set is attached to the campaign.
     * 
* * CANNOT_DISABLE_BROAD_MATCH_WHEN_TARGETING_BRANDS = 92; */ public static final int CANNOT_DISABLE_BROAD_MATCH_WHEN_TARGETING_BRANDS_VALUE = 92; /** *
     * Cannot set campaign level keyword match type to BROAD if the campaign is
     * a base campaign with an associated trial that is currently promoting.
     * 
* * CANNOT_ENABLE_BROAD_MATCH_FOR_BASE_CAMPAIGN_WITH_PROMOTING_TRIAL = 93; */ public static final int CANNOT_ENABLE_BROAD_MATCH_FOR_BASE_CAMPAIGN_WITH_PROMOTING_TRIAL_VALUE = 93; /** *
     * Cannot set campaign level keyword match type to BROAD if the campaign is
     * a trial currently promoting.
     * 
* * CANNOT_ENABLE_BROAD_MATCH_FOR_PROMOTING_TRIAL_CAMPAIGN = 94; */ public static final int CANNOT_ENABLE_BROAD_MATCH_FOR_PROMOTING_TRIAL_CAMPAIGN_VALUE = 94; 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 CampaignError 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 CampaignError forNumber(int value) { switch (value) { case 0: return UNSPECIFIED; case 1: return UNKNOWN; case 3: return CANNOT_TARGET_CONTENT_NETWORK; case 4: return CANNOT_TARGET_SEARCH_NETWORK; case 5: return CANNOT_TARGET_SEARCH_NETWORK_WITHOUT_GOOGLE_SEARCH; case 6: return CANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGN; case 7: return CAMPAIGN_MUST_TARGET_AT_LEAST_ONE_NETWORK; case 8: return CANNOT_TARGET_PARTNER_SEARCH_NETWORK; case 9: return CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CRITERIA_LEVEL_BIDDING_STRATEGY; case 10: return CAMPAIGN_DURATION_MUST_CONTAIN_ALL_RUNNABLE_TRIALS; case 11: return CANNOT_MODIFY_FOR_TRIAL_CAMPAIGN; case 12: return DUPLICATE_CAMPAIGN_NAME; case 13: return INCOMPATIBLE_CAMPAIGN_FIELD; case 14: return INVALID_CAMPAIGN_NAME; case 15: return INVALID_AD_SERVING_OPTIMIZATION_STATUS; case 16: return INVALID_TRACKING_URL; case 17: return CANNOT_SET_BOTH_TRACKING_URL_TEMPLATE_AND_TRACKING_SETTING; case 18: return MAX_IMPRESSIONS_NOT_IN_RANGE; case 19: return TIME_UNIT_NOT_SUPPORTED; case 20: return INVALID_OPERATION_IF_SERVING_STATUS_HAS_ENDED; case 21: return BUDGET_CANNOT_BE_SHARED; case 22: return CAMPAIGN_CANNOT_USE_SHARED_BUDGET; case 23: return CANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALS; case 24: return CAMPAIGN_LABEL_DOES_NOT_EXIST; case 25: return CAMPAIGN_LABEL_ALREADY_EXISTS; case 26: return MISSING_SHOPPING_SETTING; case 27: return INVALID_SHOPPING_SALES_COUNTRY; case 31: return ADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPE; case 32: return INVALID_ADVERTISING_CHANNEL_SUB_TYPE; case 33: return AT_LEAST_ONE_CONVERSION_MUST_BE_SELECTED; case 34: return CANNOT_SET_AD_ROTATION_MODE; case 35: return CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED; case 36: return CANNOT_SET_DATE_TO_PAST; case 37: return MISSING_HOTEL_CUSTOMER_LINK; case 38: return INVALID_HOTEL_CUSTOMER_LINK; case 39: return MISSING_HOTEL_SETTING; case 40: return CANNOT_USE_SHARED_CAMPAIGN_BUDGET_WHILE_PART_OF_CAMPAIGN_GROUP; case 41: return APP_NOT_FOUND; case 42: return SHOPPING_ENABLE_LOCAL_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE; case 43: return MERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADS; case 44: return INSUFFICIENT_APP_INSTALLS_COUNT; case 45: return SENSITIVE_CATEGORY_APP; case 46: return HEC_AGREEMENT_REQUIRED; case 49: return NOT_COMPATIBLE_WITH_VIEW_THROUGH_CONVERSION_OPTIMIZATION; case 48: return INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE; case 50: return CANNOT_CREATE_APP_PRE_REGISTRATION_FOR_NON_ANDROID_APP; case 51: return APP_NOT_AVAILABLE_TO_CREATE_APP_PRE_REGISTRATION_CAMPAIGN; case 52: return INCOMPATIBLE_BUDGET_TYPE; case 53: return LOCAL_SERVICES_DUPLICATE_CATEGORY_BID; case 54: return LOCAL_SERVICES_INVALID_CATEGORY_BID; case 55: return LOCAL_SERVICES_MISSING_CATEGORY_BID; case 57: return INVALID_STATUS_CHANGE; case 58: return MISSING_TRAVEL_CUSTOMER_LINK; case 59: return INVALID_TRAVEL_CUSTOMER_LINK; case 62: return INVALID_EXCLUDED_PARENT_ASSET_SET_TYPE; case 63: return ASSET_SET_NOT_A_HOTEL_PROPERTY_ASSET_SET; case 64: return HOTEL_PROPERTY_ASSET_SET_ONLY_FOR_PERFORMANCE_MAX_FOR_TRAVEL_GOALS; case 65: return AVERAGE_DAILY_SPEND_TOO_HIGH; case 66: return CANNOT_ATTACH_TO_REMOVED_CAMPAIGN_GROUP; case 67: return CANNOT_ATTACH_TO_BIDDING_STRATEGY; case 68: return CANNOT_CHANGE_BUDGET_PERIOD; case 71: return NOT_ENOUGH_CONVERSIONS; case 72: return CANNOT_SET_MORE_THAN_ONE_CONVERSION_ACTION; case 73: return NOT_COMPATIBLE_WITH_BUDGET_TYPE; case 74: return NOT_COMPATIBLE_WITH_UPLOAD_CLICKS_CONVERSION; case 76: return APP_ID_MUST_MATCH_CONVERSION_ACTION_APP_ID; case 77: return CONVERSION_ACTION_WITH_DOWNLOAD_CATEGORY_NOT_ALLOWED; case 78: return CONVERSION_ACTION_WITH_DOWNLOAD_CATEGORY_REQUIRED; case 79: return CONVERSION_TRACKING_NOT_ENABLED; case 80: return NOT_COMPATIBLE_WITH_BIDDING_STRATEGY_TYPE; case 81: return NOT_COMPATIBLE_WITH_GOOGLE_ATTRIBUTION_CONVERSIONS; case 82: return CONVERSION_LAG_TOO_HIGH; case 83: return NOT_LINKED_ADVERTISING_PARTNER; case 84: return INVALID_NUMBER_OF_ADVERTISING_PARTNER_IDS; case 85: return CANNOT_TARGET_DISPLAY_NETWORK_WITHOUT_YOUTUBE; case 86: return CANNOT_LINK_TO_COMPARISON_SHOPPING_SERVICE_ACCOUNT; case 87: return CANNOT_TARGET_NETWORK_FOR_COMPARISON_SHOPPING_SERVICE_LINKED_ACCOUNTS; case 88: return CANNOT_MODIFY_TEXT_ASSET_AUTOMATION_WITH_ENABLED_TRIAL; case 89: return DYNAMIC_TEXT_ASSET_CANNOT_OPT_OUT_WITH_FINAL_URL_EXPANSION_OPT_IN; case 90: return CANNOT_SET_CAMPAIGN_KEYWORD_MATCH_TYPE; case 91: return CANNOT_DISABLE_BROAD_MATCH_WHEN_KEYWORD_CONVERSION_IN_PROCESS; case 92: return CANNOT_DISABLE_BROAD_MATCH_WHEN_TARGETING_BRANDS; case 93: return CANNOT_ENABLE_BROAD_MATCH_FOR_BASE_CAMPAIGN_WITH_PROMOTING_TRIAL; case 94: return CANNOT_ENABLE_BROAD_MATCH_FOR_PROMOTING_TRIAL_CAMPAIGN; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< CampaignError> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public CampaignError findValueByNumber(int number) { return CampaignError.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.CampaignErrorEnum.getDescriptor().getEnumTypes().get(0); } private static final CampaignError[] VALUES = values(); public static CampaignError 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 CampaignError(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:google.ads.googleads.v17.errors.CampaignErrorEnum.CampaignError) } 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.CampaignErrorEnum)) { return super.equals(obj); } com.google.ads.googleads.v17.errors.CampaignErrorEnum other = (com.google.ads.googleads.v17.errors.CampaignErrorEnum) 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.CampaignErrorEnum parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.errors.CampaignErrorEnum 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.CampaignErrorEnum parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.errors.CampaignErrorEnum 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.CampaignErrorEnum parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.errors.CampaignErrorEnum 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.CampaignErrorEnum 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.CampaignErrorEnum 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.CampaignErrorEnum 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.CampaignErrorEnum 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.CampaignErrorEnum 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.CampaignErrorEnum 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.CampaignErrorEnum 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 campaign errors.
   * 
* * Protobuf type {@code google.ads.googleads.v17.errors.CampaignErrorEnum} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.ads.googleads.v17.errors.CampaignErrorEnum) com.google.ads.googleads.v17.errors.CampaignErrorEnumOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v17.errors.CampaignErrorProto.internal_static_google_ads_googleads_v17_errors_CampaignErrorEnum_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v17.errors.CampaignErrorProto.internal_static_google_ads_googleads_v17_errors_CampaignErrorEnum_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v17.errors.CampaignErrorEnum.class, com.google.ads.googleads.v17.errors.CampaignErrorEnum.Builder.class); } // Construct using com.google.ads.googleads.v17.errors.CampaignErrorEnum.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.CampaignErrorProto.internal_static_google_ads_googleads_v17_errors_CampaignErrorEnum_descriptor; } @java.lang.Override public com.google.ads.googleads.v17.errors.CampaignErrorEnum getDefaultInstanceForType() { return com.google.ads.googleads.v17.errors.CampaignErrorEnum.getDefaultInstance(); } @java.lang.Override public com.google.ads.googleads.v17.errors.CampaignErrorEnum build() { com.google.ads.googleads.v17.errors.CampaignErrorEnum result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.ads.googleads.v17.errors.CampaignErrorEnum buildPartial() { com.google.ads.googleads.v17.errors.CampaignErrorEnum result = new com.google.ads.googleads.v17.errors.CampaignErrorEnum(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.CampaignErrorEnum) { return mergeFrom((com.google.ads.googleads.v17.errors.CampaignErrorEnum)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.ads.googleads.v17.errors.CampaignErrorEnum other) { if (other == com.google.ads.googleads.v17.errors.CampaignErrorEnum.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.CampaignErrorEnum) } // @@protoc_insertion_point(class_scope:google.ads.googleads.v17.errors.CampaignErrorEnum) private static final com.google.ads.googleads.v17.errors.CampaignErrorEnum DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.ads.googleads.v17.errors.CampaignErrorEnum(); } public static com.google.ads.googleads.v17.errors.CampaignErrorEnum getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CampaignErrorEnum 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.CampaignErrorEnum getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy