Enum CampaignErrorEnum.CampaignError

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, java.io.Serializable, java.lang.Comparable<CampaignErrorEnum.CampaignError>
    Enclosing class:
    CampaignErrorEnum

    public static enum CampaignErrorEnum.CampaignError
    extends java.lang.Enum<CampaignErrorEnum.CampaignError>
    implements com.google.protobuf.ProtocolMessageEnum
     Enum describing possible campaign errors.
     
    Protobuf enum google.ads.googleads.v10.errors.CampaignErrorEnum.CampaignError
    • Enum Constant Detail

      • CANNOT_TARGET_CONTENT_NETWORK

        public static final CampaignErrorEnum.CampaignError CANNOT_TARGET_CONTENT_NETWORK
         Cannot target content network.
         
        CANNOT_TARGET_CONTENT_NETWORK = 3;
      • CANNOT_TARGET_SEARCH_NETWORK

        public static final CampaignErrorEnum.CampaignError CANNOT_TARGET_SEARCH_NETWORK
         Cannot target search network.
         
        CANNOT_TARGET_SEARCH_NETWORK = 4;
      • CANNOT_TARGET_SEARCH_NETWORK_WITHOUT_GOOGLE_SEARCH

        public static final CampaignErrorEnum.CampaignError CANNOT_TARGET_SEARCH_NETWORK_WITHOUT_GOOGLE_SEARCH
         Cannot cover search network without google search network.
         
        CANNOT_TARGET_SEARCH_NETWORK_WITHOUT_GOOGLE_SEARCH = 5;
      • CANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGN

        public static final CampaignErrorEnum.CampaignError CANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGN
         Cannot target Google Search network for a CPM campaign.
         
        CANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGN = 6;
      • CAMPAIGN_MUST_TARGET_AT_LEAST_ONE_NETWORK

        public static final CampaignErrorEnum.CampaignError CAMPAIGN_MUST_TARGET_AT_LEAST_ONE_NETWORK
         Must target at least one network.
         
        CAMPAIGN_MUST_TARGET_AT_LEAST_ONE_NETWORK = 7;
      • CANNOT_TARGET_PARTNER_SEARCH_NETWORK

        public static final CampaignErrorEnum.CampaignError CANNOT_TARGET_PARTNER_SEARCH_NETWORK
         Only some Google partners are allowed to target partner search network.
         
        CANNOT_TARGET_PARTNER_SEARCH_NETWORK = 8;
      • CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CRITERIA_LEVEL_BIDDING_STRATEGY

        public static final CampaignErrorEnum.CampaignError CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CRITERIA_LEVEL_BIDDING_STRATEGY
         Cannot target content network only as campaign has criteria-level bidding
         strategy.
         
        CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CRITERIA_LEVEL_BIDDING_STRATEGY = 9;
      • CAMPAIGN_DURATION_MUST_CONTAIN_ALL_RUNNABLE_TRIALS

        public static final CampaignErrorEnum.CampaignError CAMPAIGN_DURATION_MUST_CONTAIN_ALL_RUNNABLE_TRIALS
         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;
      • CANNOT_MODIFY_FOR_TRIAL_CAMPAIGN

        public static final CampaignErrorEnum.CampaignError CANNOT_MODIFY_FOR_TRIAL_CAMPAIGN
         Cannot modify dates, budget or status of a trial campaign.
         
        CANNOT_MODIFY_FOR_TRIAL_CAMPAIGN = 11;
      • DUPLICATE_CAMPAIGN_NAME

        public static final CampaignErrorEnum.CampaignError DUPLICATE_CAMPAIGN_NAME
         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;
      • INCOMPATIBLE_CAMPAIGN_FIELD

        public static final CampaignErrorEnum.CampaignError INCOMPATIBLE_CAMPAIGN_FIELD
         Two fields are in conflicting modes.
         
        INCOMPATIBLE_CAMPAIGN_FIELD = 13;
      • INVALID_CAMPAIGN_NAME

        public static final CampaignErrorEnum.CampaignError INVALID_CAMPAIGN_NAME
         Campaign name cannot be used.
         
        INVALID_CAMPAIGN_NAME = 14;
      • INVALID_AD_SERVING_OPTIMIZATION_STATUS

        public static final CampaignErrorEnum.CampaignError INVALID_AD_SERVING_OPTIMIZATION_STATUS
         Given status is invalid.
         
        INVALID_AD_SERVING_OPTIMIZATION_STATUS = 15;
      • INVALID_TRACKING_URL

        public static final CampaignErrorEnum.CampaignError INVALID_TRACKING_URL
         Error in the campaign level tracking URL.
         
        INVALID_TRACKING_URL = 16;
      • CANNOT_SET_BOTH_TRACKING_URL_TEMPLATE_AND_TRACKING_SETTING

        public static final CampaignErrorEnum.CampaignError CANNOT_SET_BOTH_TRACKING_URL_TEMPLATE_AND_TRACKING_SETTING
         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;
      • MAX_IMPRESSIONS_NOT_IN_RANGE

        public static final CampaignErrorEnum.CampaignError MAX_IMPRESSIONS_NOT_IN_RANGE
         The maximum number of impressions for Frequency Cap should be an integer
         greater than 0.
         
        MAX_IMPRESSIONS_NOT_IN_RANGE = 18;
      • TIME_UNIT_NOT_SUPPORTED

        public static final CampaignErrorEnum.CampaignError TIME_UNIT_NOT_SUPPORTED
         Only the Day, Week and Month time units are supported.
         
        TIME_UNIT_NOT_SUPPORTED = 19;
      • INVALID_OPERATION_IF_SERVING_STATUS_HAS_ENDED

        public static final CampaignErrorEnum.CampaignError INVALID_OPERATION_IF_SERVING_STATUS_HAS_ENDED
         Operation not allowed on a campaign whose serving status has ended
         
        INVALID_OPERATION_IF_SERVING_STATUS_HAS_ENDED = 20;
      • BUDGET_CANNOT_BE_SHARED

        public static final CampaignErrorEnum.CampaignError BUDGET_CANNOT_BE_SHARED
         This budget is exclusively linked to a Campaign that is using experiments
         so it cannot be shared.
         
        BUDGET_CANNOT_BE_SHARED = 21;
      • CAMPAIGN_CANNOT_USE_SHARED_BUDGET

        public static final CampaignErrorEnum.CampaignError CAMPAIGN_CANNOT_USE_SHARED_BUDGET
         Campaigns using experiments cannot use a shared budget.
         
        CAMPAIGN_CANNOT_USE_SHARED_BUDGET = 22;
      • CANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALS

        public static final CampaignErrorEnum.CampaignError CANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALS
         A different budget cannot be assigned to a campaign when there are
         running or scheduled trials.
         
        CANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALS = 23;
      • CAMPAIGN_LABEL_DOES_NOT_EXIST

        public static final CampaignErrorEnum.CampaignError CAMPAIGN_LABEL_DOES_NOT_EXIST
         No link found between the campaign and the label.
         
        CAMPAIGN_LABEL_DOES_NOT_EXIST = 24;
      • CAMPAIGN_LABEL_ALREADY_EXISTS

        public static final CampaignErrorEnum.CampaignError CAMPAIGN_LABEL_ALREADY_EXISTS
         The label has already been attached to the campaign.
         
        CAMPAIGN_LABEL_ALREADY_EXISTS = 25;
      • MISSING_SHOPPING_SETTING

        public static final CampaignErrorEnum.CampaignError MISSING_SHOPPING_SETTING
         A ShoppingSetting was not found when creating a shopping campaign.
         
        MISSING_SHOPPING_SETTING = 26;
      • INVALID_SHOPPING_SALES_COUNTRY

        public static final CampaignErrorEnum.CampaignError INVALID_SHOPPING_SALES_COUNTRY
         The country in shopping setting is not an allowed country.
         
        INVALID_SHOPPING_SALES_COUNTRY = 27;
      • ADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPE

        public static final CampaignErrorEnum.CampaignError ADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPE
         The requested channel type is not available according to the customer's
         account setting.
         
        ADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPE = 31;
      • INVALID_ADVERTISING_CHANNEL_SUB_TYPE

        public static final CampaignErrorEnum.CampaignError INVALID_ADVERTISING_CHANNEL_SUB_TYPE
         The AdvertisingChannelSubType is not a valid subtype of the primary
         channel type.
         
        INVALID_ADVERTISING_CHANNEL_SUB_TYPE = 32;
      • AT_LEAST_ONE_CONVERSION_MUST_BE_SELECTED

        public static final CampaignErrorEnum.CampaignError AT_LEAST_ONE_CONVERSION_MUST_BE_SELECTED
         At least one conversion must be selected.
         
        AT_LEAST_ONE_CONVERSION_MUST_BE_SELECTED = 33;
      • CANNOT_SET_AD_ROTATION_MODE

        public static final CampaignErrorEnum.CampaignError CANNOT_SET_AD_ROTATION_MODE
         Setting ad rotation mode for a campaign is not allowed. Ad rotation mode
         at campaign is deprecated.
         
        CANNOT_SET_AD_ROTATION_MODE = 34;
      • CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED

        public static final CampaignErrorEnum.CampaignError CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED
         Trying to change start date on a campaign that has started.
         
        CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED = 35;
      • CANNOT_SET_DATE_TO_PAST

        public static final CampaignErrorEnum.CampaignError CANNOT_SET_DATE_TO_PAST
         Trying to modify a date into the past.
         
        CANNOT_SET_DATE_TO_PAST = 36;
      • MISSING_HOTEL_CUSTOMER_LINK

        public static final CampaignErrorEnum.CampaignError MISSING_HOTEL_CUSTOMER_LINK
         Hotel center id in the hotel setting does not match any customer links.
         
        MISSING_HOTEL_CUSTOMER_LINK = 37;
      • INVALID_HOTEL_CUSTOMER_LINK

        public static final CampaignErrorEnum.CampaignError INVALID_HOTEL_CUSTOMER_LINK
         Hotel center id in the hotel setting must match an active customer link.
         
        INVALID_HOTEL_CUSTOMER_LINK = 38;
      • MISSING_HOTEL_SETTING

        public static final CampaignErrorEnum.CampaignError MISSING_HOTEL_SETTING
         Hotel setting was not found when creating a hotel ads campaign.
         
        MISSING_HOTEL_SETTING = 39;
      • CANNOT_USE_SHARED_CAMPAIGN_BUDGET_WHILE_PART_OF_CAMPAIGN_GROUP

        public static final CampaignErrorEnum.CampaignError CANNOT_USE_SHARED_CAMPAIGN_BUDGET_WHILE_PART_OF_CAMPAIGN_GROUP
         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;
      • SHOPPING_ENABLE_LOCAL_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE

        public static final CampaignErrorEnum.CampaignError SHOPPING_ENABLE_LOCAL_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE
         Campaign.shopping_setting.enable_local is not supported for the specified
         campaign type.
         
        SHOPPING_ENABLE_LOCAL_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE = 42;
      • MERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADS

        public static final CampaignErrorEnum.CampaignError MERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADS
         The merchant does not support the creation of campaigns for Shopping
         Comparison Listing Ads.
         
        MERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADS = 43;
      • INSUFFICIENT_APP_INSTALLS_COUNT

        public static final CampaignErrorEnum.CampaignError INSUFFICIENT_APP_INSTALLS_COUNT
         The App campaign for engagement cannot be created because there aren't
         enough installs.
         
        INSUFFICIENT_APP_INSTALLS_COUNT = 44;
      • SENSITIVE_CATEGORY_APP

        public static final CampaignErrorEnum.CampaignError SENSITIVE_CATEGORY_APP
         The App campaign for engagement cannot be created because the app is
         sensitive.
         
        SENSITIVE_CATEGORY_APP = 45;
      • HEC_AGREEMENT_REQUIRED

        public static final CampaignErrorEnum.CampaignError HEC_AGREEMENT_REQUIRED
         Customers with Housing, Employment, or Credit ads must accept updated
         personalized ads policy to continue creating campaigns.
         
        HEC_AGREEMENT_REQUIRED = 46;
      • NOT_COMPATIBLE_WITH_VIEW_THROUGH_CONVERSION_OPTIMIZATION

        public static final CampaignErrorEnum.CampaignError NOT_COMPATIBLE_WITH_VIEW_THROUGH_CONVERSION_OPTIMIZATION
         The field is not compatible with view through conversion optimization.
         
        NOT_COMPATIBLE_WITH_VIEW_THROUGH_CONVERSION_OPTIMIZATION = 49;
      • INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE

        public static final CampaignErrorEnum.CampaignError INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE
         The field type cannot be excluded because an active campaign-asset link
         of this type exists.
         
        INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE = 48;
      • CANNOT_CREATE_APP_PRE_REGISTRATION_FOR_NON_ANDROID_APP

        public static final CampaignErrorEnum.CampaignError CANNOT_CREATE_APP_PRE_REGISTRATION_FOR_NON_ANDROID_APP
         The app pre-registration campaign cannot be created for non-Android
         applications.
         
        CANNOT_CREATE_APP_PRE_REGISTRATION_FOR_NON_ANDROID_APP = 50;
      • APP_NOT_AVAILABLE_TO_CREATE_APP_PRE_REGISTRATION_CAMPAIGN

        public static final CampaignErrorEnum.CampaignError APP_NOT_AVAILABLE_TO_CREATE_APP_PRE_REGISTRATION_CAMPAIGN
         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;
      • INCOMPATIBLE_BUDGET_TYPE

        public static final CampaignErrorEnum.CampaignError INCOMPATIBLE_BUDGET_TYPE
         The type of the Budget is not compatible with this Campaign.
         
        INCOMPATIBLE_BUDGET_TYPE = 52;
    • Field Detail

      • UNSPECIFIED_VALUE

        public static final int UNSPECIFIED_VALUE
         Enum unspecified.
         
        UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • UNKNOWN_VALUE

        public static final int UNKNOWN_VALUE
         The received error code is not known in this version.
         
        UNKNOWN = 1;
        See Also:
        Constant Field Values
      • CANNOT_TARGET_CONTENT_NETWORK_VALUE

        public static final int CANNOT_TARGET_CONTENT_NETWORK_VALUE
         Cannot target content network.
         
        CANNOT_TARGET_CONTENT_NETWORK = 3;
        See Also:
        Constant Field Values
      • CANNOT_TARGET_SEARCH_NETWORK_VALUE

        public static final int CANNOT_TARGET_SEARCH_NETWORK_VALUE
         Cannot target search network.
         
        CANNOT_TARGET_SEARCH_NETWORK = 4;
        See Also:
        Constant Field Values
      • CANNOT_TARGET_SEARCH_NETWORK_WITHOUT_GOOGLE_SEARCH_VALUE

        public static final int CANNOT_TARGET_SEARCH_NETWORK_WITHOUT_GOOGLE_SEARCH_VALUE
         Cannot cover search network without google search network.
         
        CANNOT_TARGET_SEARCH_NETWORK_WITHOUT_GOOGLE_SEARCH = 5;
        See Also:
        Constant Field Values
      • CANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGN_VALUE

        public static final int CANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGN_VALUE
         Cannot target Google Search network for a CPM campaign.
         
        CANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGN = 6;
        See Also:
        Constant Field Values
      • CAMPAIGN_MUST_TARGET_AT_LEAST_ONE_NETWORK_VALUE

        public static final int CAMPAIGN_MUST_TARGET_AT_LEAST_ONE_NETWORK_VALUE
         Must target at least one network.
         
        CAMPAIGN_MUST_TARGET_AT_LEAST_ONE_NETWORK = 7;
        See Also:
        Constant Field Values
      • CANNOT_TARGET_PARTNER_SEARCH_NETWORK_VALUE

        public static final int CANNOT_TARGET_PARTNER_SEARCH_NETWORK_VALUE
         Only some Google partners are allowed to target partner search network.
         
        CANNOT_TARGET_PARTNER_SEARCH_NETWORK = 8;
        See Also:
        Constant Field Values
      • CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CRITERIA_LEVEL_BIDDING_STRATEGY_VALUE

        public static final int CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CRITERIA_LEVEL_BIDDING_STRATEGY_VALUE
         Cannot target content network only as campaign has criteria-level bidding
         strategy.
         
        CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CRITERIA_LEVEL_BIDDING_STRATEGY = 9;
        See Also:
        Constant Field Values
      • CAMPAIGN_DURATION_MUST_CONTAIN_ALL_RUNNABLE_TRIALS_VALUE

        public static final int CAMPAIGN_DURATION_MUST_CONTAIN_ALL_RUNNABLE_TRIALS_VALUE
         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;
        See Also:
        Constant Field Values
      • CANNOT_MODIFY_FOR_TRIAL_CAMPAIGN_VALUE

        public static final int CANNOT_MODIFY_FOR_TRIAL_CAMPAIGN_VALUE
         Cannot modify dates, budget or status of a trial campaign.
         
        CANNOT_MODIFY_FOR_TRIAL_CAMPAIGN = 11;
        See Also:
        Constant Field Values
      • DUPLICATE_CAMPAIGN_NAME_VALUE

        public static final int DUPLICATE_CAMPAIGN_NAME_VALUE
         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;
        See Also:
        Constant Field Values
      • INCOMPATIBLE_CAMPAIGN_FIELD_VALUE

        public static final int INCOMPATIBLE_CAMPAIGN_FIELD_VALUE
         Two fields are in conflicting modes.
         
        INCOMPATIBLE_CAMPAIGN_FIELD = 13;
        See Also:
        Constant Field Values
      • INVALID_CAMPAIGN_NAME_VALUE

        public static final int INVALID_CAMPAIGN_NAME_VALUE
         Campaign name cannot be used.
         
        INVALID_CAMPAIGN_NAME = 14;
        See Also:
        Constant Field Values
      • INVALID_AD_SERVING_OPTIMIZATION_STATUS_VALUE

        public static final int INVALID_AD_SERVING_OPTIMIZATION_STATUS_VALUE
         Given status is invalid.
         
        INVALID_AD_SERVING_OPTIMIZATION_STATUS = 15;
        See Also:
        Constant Field Values
      • INVALID_TRACKING_URL_VALUE

        public static final int INVALID_TRACKING_URL_VALUE
         Error in the campaign level tracking URL.
         
        INVALID_TRACKING_URL = 16;
        See Also:
        Constant Field Values
      • CANNOT_SET_BOTH_TRACKING_URL_TEMPLATE_AND_TRACKING_SETTING_VALUE

        public static final int CANNOT_SET_BOTH_TRACKING_URL_TEMPLATE_AND_TRACKING_SETTING_VALUE
         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;
        See Also:
        Constant Field Values
      • MAX_IMPRESSIONS_NOT_IN_RANGE_VALUE

        public static final int MAX_IMPRESSIONS_NOT_IN_RANGE_VALUE
         The maximum number of impressions for Frequency Cap should be an integer
         greater than 0.
         
        MAX_IMPRESSIONS_NOT_IN_RANGE = 18;
        See Also:
        Constant Field Values
      • TIME_UNIT_NOT_SUPPORTED_VALUE

        public static final int TIME_UNIT_NOT_SUPPORTED_VALUE
         Only the Day, Week and Month time units are supported.
         
        TIME_UNIT_NOT_SUPPORTED = 19;
        See Also:
        Constant Field Values
      • INVALID_OPERATION_IF_SERVING_STATUS_HAS_ENDED_VALUE

        public static final int INVALID_OPERATION_IF_SERVING_STATUS_HAS_ENDED_VALUE
         Operation not allowed on a campaign whose serving status has ended
         
        INVALID_OPERATION_IF_SERVING_STATUS_HAS_ENDED = 20;
        See Also:
        Constant Field Values
      • BUDGET_CANNOT_BE_SHARED_VALUE

        public static final int BUDGET_CANNOT_BE_SHARED_VALUE
         This budget is exclusively linked to a Campaign that is using experiments
         so it cannot be shared.
         
        BUDGET_CANNOT_BE_SHARED = 21;
        See Also:
        Constant Field Values
      • CAMPAIGN_CANNOT_USE_SHARED_BUDGET_VALUE

        public static final int CAMPAIGN_CANNOT_USE_SHARED_BUDGET_VALUE
         Campaigns using experiments cannot use a shared budget.
         
        CAMPAIGN_CANNOT_USE_SHARED_BUDGET = 22;
        See Also:
        Constant Field Values
      • CANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALS_VALUE

        public static final int CANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALS_VALUE
         A different budget cannot be assigned to a campaign when there are
         running or scheduled trials.
         
        CANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALS = 23;
        See Also:
        Constant Field Values
      • CAMPAIGN_LABEL_DOES_NOT_EXIST_VALUE

        public static final int CAMPAIGN_LABEL_DOES_NOT_EXIST_VALUE
         No link found between the campaign and the label.
         
        CAMPAIGN_LABEL_DOES_NOT_EXIST = 24;
        See Also:
        Constant Field Values
      • CAMPAIGN_LABEL_ALREADY_EXISTS_VALUE

        public static final int CAMPAIGN_LABEL_ALREADY_EXISTS_VALUE
         The label has already been attached to the campaign.
         
        CAMPAIGN_LABEL_ALREADY_EXISTS = 25;
        See Also:
        Constant Field Values
      • MISSING_SHOPPING_SETTING_VALUE

        public static final int MISSING_SHOPPING_SETTING_VALUE
         A ShoppingSetting was not found when creating a shopping campaign.
         
        MISSING_SHOPPING_SETTING = 26;
        See Also:
        Constant Field Values
      • INVALID_SHOPPING_SALES_COUNTRY_VALUE

        public static final int INVALID_SHOPPING_SALES_COUNTRY_VALUE
         The country in shopping setting is not an allowed country.
         
        INVALID_SHOPPING_SALES_COUNTRY = 27;
        See Also:
        Constant Field Values
      • ADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPE_VALUE

        public static final int ADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPE_VALUE
         The requested channel type is not available according to the customer's
         account setting.
         
        ADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPE = 31;
        See Also:
        Constant Field Values
      • INVALID_ADVERTISING_CHANNEL_SUB_TYPE_VALUE

        public static final int INVALID_ADVERTISING_CHANNEL_SUB_TYPE_VALUE
         The AdvertisingChannelSubType is not a valid subtype of the primary
         channel type.
         
        INVALID_ADVERTISING_CHANNEL_SUB_TYPE = 32;
        See Also:
        Constant Field Values
      • AT_LEAST_ONE_CONVERSION_MUST_BE_SELECTED_VALUE

        public static final int AT_LEAST_ONE_CONVERSION_MUST_BE_SELECTED_VALUE
         At least one conversion must be selected.
         
        AT_LEAST_ONE_CONVERSION_MUST_BE_SELECTED = 33;
        See Also:
        Constant Field Values
      • CANNOT_SET_AD_ROTATION_MODE_VALUE

        public static final int CANNOT_SET_AD_ROTATION_MODE_VALUE
         Setting ad rotation mode for a campaign is not allowed. Ad rotation mode
         at campaign is deprecated.
         
        CANNOT_SET_AD_ROTATION_MODE = 34;
        See Also:
        Constant Field Values
      • CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED_VALUE

        public static final int CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED_VALUE
         Trying to change start date on a campaign that has started.
         
        CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED = 35;
        See Also:
        Constant Field Values
      • CANNOT_SET_DATE_TO_PAST_VALUE

        public static final int CANNOT_SET_DATE_TO_PAST_VALUE
         Trying to modify a date into the past.
         
        CANNOT_SET_DATE_TO_PAST = 36;
        See Also:
        Constant Field Values
      • MISSING_HOTEL_CUSTOMER_LINK_VALUE

        public static final int MISSING_HOTEL_CUSTOMER_LINK_VALUE
         Hotel center id in the hotel setting does not match any customer links.
         
        MISSING_HOTEL_CUSTOMER_LINK = 37;
        See Also:
        Constant Field Values
      • INVALID_HOTEL_CUSTOMER_LINK_VALUE

        public static final int INVALID_HOTEL_CUSTOMER_LINK_VALUE
         Hotel center id in the hotel setting must match an active customer link.
         
        INVALID_HOTEL_CUSTOMER_LINK = 38;
        See Also:
        Constant Field Values
      • MISSING_HOTEL_SETTING_VALUE

        public static final int MISSING_HOTEL_SETTING_VALUE
         Hotel setting was not found when creating a hotel ads campaign.
         
        MISSING_HOTEL_SETTING = 39;
        See Also:
        Constant Field Values
      • CANNOT_USE_SHARED_CAMPAIGN_BUDGET_WHILE_PART_OF_CAMPAIGN_GROUP_VALUE

        public static final int CANNOT_USE_SHARED_CAMPAIGN_BUDGET_WHILE_PART_OF_CAMPAIGN_GROUP_VALUE
         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;
        See Also:
        Constant Field Values
      • APP_NOT_FOUND_VALUE

        public static final int APP_NOT_FOUND_VALUE
         The app ID was not found.
         
        APP_NOT_FOUND = 41;
        See Also:
        Constant Field Values
      • SHOPPING_ENABLE_LOCAL_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE_VALUE

        public static final int SHOPPING_ENABLE_LOCAL_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE_VALUE
         Campaign.shopping_setting.enable_local is not supported for the specified
         campaign type.
         
        SHOPPING_ENABLE_LOCAL_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE = 42;
        See Also:
        Constant Field Values
      • MERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADS_VALUE

        public static final int MERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADS_VALUE
         The merchant does not support the creation of campaigns for Shopping
         Comparison Listing Ads.
         
        MERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADS = 43;
        See Also:
        Constant Field Values
      • INSUFFICIENT_APP_INSTALLS_COUNT_VALUE

        public static final int INSUFFICIENT_APP_INSTALLS_COUNT_VALUE
         The App campaign for engagement cannot be created because there aren't
         enough installs.
         
        INSUFFICIENT_APP_INSTALLS_COUNT = 44;
        See Also:
        Constant Field Values
      • SENSITIVE_CATEGORY_APP_VALUE

        public static final int SENSITIVE_CATEGORY_APP_VALUE
         The App campaign for engagement cannot be created because the app is
         sensitive.
         
        SENSITIVE_CATEGORY_APP = 45;
        See Also:
        Constant Field Values
      • HEC_AGREEMENT_REQUIRED_VALUE

        public static final int HEC_AGREEMENT_REQUIRED_VALUE
         Customers with Housing, Employment, or Credit ads must accept updated
         personalized ads policy to continue creating campaigns.
         
        HEC_AGREEMENT_REQUIRED = 46;
        See Also:
        Constant Field Values
      • NOT_COMPATIBLE_WITH_VIEW_THROUGH_CONVERSION_OPTIMIZATION_VALUE

        public static final int NOT_COMPATIBLE_WITH_VIEW_THROUGH_CONVERSION_OPTIMIZATION_VALUE
         The field is not compatible with view through conversion optimization.
         
        NOT_COMPATIBLE_WITH_VIEW_THROUGH_CONVERSION_OPTIMIZATION = 49;
        See Also:
        Constant Field Values
      • INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE_VALUE

        public static final int INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE_VALUE
         The field type cannot be excluded because an active campaign-asset link
         of this type exists.
         
        INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE = 48;
        See Also:
        Constant Field Values
      • CANNOT_CREATE_APP_PRE_REGISTRATION_FOR_NON_ANDROID_APP_VALUE

        public static final int CANNOT_CREATE_APP_PRE_REGISTRATION_FOR_NON_ANDROID_APP_VALUE
         The app pre-registration campaign cannot be created for non-Android
         applications.
         
        CANNOT_CREATE_APP_PRE_REGISTRATION_FOR_NON_ANDROID_APP = 50;
        See Also:
        Constant Field Values
      • APP_NOT_AVAILABLE_TO_CREATE_APP_PRE_REGISTRATION_CAMPAIGN_VALUE

        public static final int APP_NOT_AVAILABLE_TO_CREATE_APP_PRE_REGISTRATION_CAMPAIGN_VALUE
         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;
        See Also:
        Constant Field Values
      • INCOMPATIBLE_BUDGET_TYPE_VALUE

        public static final int INCOMPATIBLE_BUDGET_TYPE_VALUE
         The type of the Budget is not compatible with this Campaign.
         
        INCOMPATIBLE_BUDGET_TYPE = 52;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static CampaignErrorEnum.CampaignError[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (CampaignErrorEnum.CampaignError c : CampaignErrorEnum.CampaignError.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CampaignErrorEnum.CampaignError valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.google.protobuf.ProtocolMessageEnum
      • valueOf

        @Deprecated
        public static CampaignErrorEnum.CampaignError valueOf​(int value)
        Deprecated.
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        value - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • forNumber

        public static CampaignErrorEnum.CampaignError forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptor

        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      • valueOf

        public static CampaignErrorEnum.CampaignError valueOf​(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        desc - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null