Enum CampaignErrorEnum.CampaignError
- java.lang.Object
-
- java.lang.Enum<CampaignErrorEnum.CampaignError>
-
- com.google.ads.googleads.v10.errors.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 enumgoogle.ads.googleads.v10.errors.CampaignErrorEnum.CampaignError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPEThe requested channel type is not available according to the customer's account setting.APP_NOT_AVAILABLE_TO_CREATE_APP_PRE_REGISTRATION_CAMPAIGNThe campaign cannot be created since the app is not available for pre-registration in any country.APP_NOT_FOUNDThe app ID was not found.AT_LEAST_ONE_CONVERSION_MUST_BE_SELECTEDAt least one conversion must be selected.BUDGET_CANNOT_BE_SHAREDThis budget is exclusively linked to a Campaign that is using experiments so it cannot be shared.CAMPAIGN_CANNOT_USE_SHARED_BUDGETCampaigns using experiments cannot use a shared budget.CAMPAIGN_DURATION_MUST_CONTAIN_ALL_RUNNABLE_TRIALSCannot modify the start or end date such that the campaign duration would not contain the durations of all runnable trials.CAMPAIGN_LABEL_ALREADY_EXISTSThe label has already been attached to the campaign.CAMPAIGN_LABEL_DOES_NOT_EXISTNo link found between the campaign and the label.CAMPAIGN_MUST_TARGET_AT_LEAST_ONE_NETWORKMust target at least one network.CANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALSA different budget cannot be assigned to a campaign when there are running or scheduled trials.CANNOT_CREATE_APP_PRE_REGISTRATION_FOR_NON_ANDROID_APPThe app pre-registration campaign cannot be created for non-Android applications.CANNOT_MODIFY_FOR_TRIAL_CAMPAIGNCannot modify dates, budget or status of a trial campaign.CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTEDTrying to change start date on a campaign that has started.CANNOT_SET_AD_ROTATION_MODESetting ad rotation mode for a campaign is not allowed.CANNOT_SET_BOTH_TRACKING_URL_TEMPLATE_AND_TRACKING_SETTINGCannot set both tracking URL template and tracking setting.CANNOT_SET_DATE_TO_PASTTrying to modify a date into the past.CANNOT_TARGET_CONTENT_NETWORKCannot target content network.CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CRITERIA_LEVEL_BIDDING_STRATEGYCannot target content network only as campaign has criteria-level bidding strategy.CANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGNCannot target Google Search network for a CPM campaign.CANNOT_TARGET_PARTNER_SEARCH_NETWORKOnly some Google partners are allowed to target partner search network.CANNOT_TARGET_SEARCH_NETWORKCannot target search network.CANNOT_TARGET_SEARCH_NETWORK_WITHOUT_GOOGLE_SEARCHCannot cover search network without google search network.CANNOT_USE_SHARED_CAMPAIGN_BUDGET_WHILE_PART_OF_CAMPAIGN_GROUPA Campaign cannot use shared campaign budgets and be part of a campaign group.DUPLICATE_CAMPAIGN_NAMETrying to modify the name of an active or paused campaign, where the name is already assigned to another active or paused campaign.HEC_AGREEMENT_REQUIREDCustomers with Housing, Employment, or Credit ads must accept updated personalized ads policy to continue creating campaigns.INCOMPATIBLE_BUDGET_TYPEThe type of the Budget is not compatible with this Campaign.INCOMPATIBLE_CAMPAIGN_FIELDTwo fields are in conflicting modes.INSUFFICIENT_APP_INSTALLS_COUNTThe App campaign for engagement cannot be created because there aren't enough installs.INVALID_AD_SERVING_OPTIMIZATION_STATUSGiven status is invalid.INVALID_ADVERTISING_CHANNEL_SUB_TYPEThe AdvertisingChannelSubType is not a valid subtype of the primary channel type.INVALID_CAMPAIGN_NAMECampaign name cannot be used.INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPEThe field type cannot be excluded because an active campaign-asset link of this type exists.INVALID_HOTEL_CUSTOMER_LINKHotel center id in the hotel setting must match an active customer link.INVALID_OPERATION_IF_SERVING_STATUS_HAS_ENDEDOperation not allowed on a campaign whose serving status has endedINVALID_SHOPPING_SALES_COUNTRYThe country in shopping setting is not an allowed country.INVALID_TRACKING_URLError in the campaign level tracking URL.MAX_IMPRESSIONS_NOT_IN_RANGEThe maximum number of impressions for Frequency Cap should be an integer greater than 0.MERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADSThe merchant does not support the creation of campaigns for Shopping Comparison Listing Ads.MISSING_HOTEL_CUSTOMER_LINKHotel center id in the hotel setting does not match any customer links.MISSING_HOTEL_SETTINGHotel setting was not found when creating a hotel ads campaign.MISSING_SHOPPING_SETTINGA ShoppingSetting was not found when creating a shopping campaign.NOT_COMPATIBLE_WITH_VIEW_THROUGH_CONVERSION_OPTIMIZATIONThe field is not compatible with view through conversion optimization.SENSITIVE_CATEGORY_APPThe App campaign for engagement cannot be created because the app is sensitive.SHOPPING_ENABLE_LOCAL_NOT_SUPPORTED_FOR_CAMPAIGN_TYPECampaign.shopping_setting.enable_local is not supported for the specified campaign type.TIME_UNIT_NOT_SUPPORTEDOnly the Day, Week and Month time units are supported.UNKNOWNThe received error code is not known in this version.UNRECOGNIZEDUNSPECIFIEDEnum unspecified.
-
Field Summary
Fields Modifier and Type Field Description static intADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPE_VALUEThe requested channel type is not available according to the customer's account setting.static intAPP_NOT_AVAILABLE_TO_CREATE_APP_PRE_REGISTRATION_CAMPAIGN_VALUEThe campaign cannot be created since the app is not available for pre-registration in any country.static intAPP_NOT_FOUND_VALUEThe app ID was not found.static intAT_LEAST_ONE_CONVERSION_MUST_BE_SELECTED_VALUEAt least one conversion must be selected.static intBUDGET_CANNOT_BE_SHARED_VALUEThis budget is exclusively linked to a Campaign that is using experiments so it cannot be shared.static intCAMPAIGN_CANNOT_USE_SHARED_BUDGET_VALUECampaigns using experiments cannot use a shared budget.static intCAMPAIGN_DURATION_MUST_CONTAIN_ALL_RUNNABLE_TRIALS_VALUECannot modify the start or end date such that the campaign duration would not contain the durations of all runnable trials.static intCAMPAIGN_LABEL_ALREADY_EXISTS_VALUEThe label has already been attached to the campaign.static intCAMPAIGN_LABEL_DOES_NOT_EXIST_VALUENo link found between the campaign and the label.static intCAMPAIGN_MUST_TARGET_AT_LEAST_ONE_NETWORK_VALUEMust target at least one network.static intCANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALS_VALUEA different budget cannot be assigned to a campaign when there are running or scheduled trials.static intCANNOT_CREATE_APP_PRE_REGISTRATION_FOR_NON_ANDROID_APP_VALUEThe app pre-registration campaign cannot be created for non-Android applications.static intCANNOT_MODIFY_FOR_TRIAL_CAMPAIGN_VALUECannot modify dates, budget or status of a trial campaign.static intCANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED_VALUETrying to change start date on a campaign that has started.static intCANNOT_SET_AD_ROTATION_MODE_VALUESetting ad rotation mode for a campaign is not allowed.static intCANNOT_SET_BOTH_TRACKING_URL_TEMPLATE_AND_TRACKING_SETTING_VALUECannot set both tracking URL template and tracking setting.static intCANNOT_SET_DATE_TO_PAST_VALUETrying to modify a date into the past.static intCANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CRITERIA_LEVEL_BIDDING_STRATEGY_VALUECannot target content network only as campaign has criteria-level bidding strategy.static intCANNOT_TARGET_CONTENT_NETWORK_VALUECannot target content network.static intCANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGN_VALUECannot target Google Search network for a CPM campaign.static intCANNOT_TARGET_PARTNER_SEARCH_NETWORK_VALUEOnly some Google partners are allowed to target partner search network.static intCANNOT_TARGET_SEARCH_NETWORK_VALUECannot target search network.static intCANNOT_TARGET_SEARCH_NETWORK_WITHOUT_GOOGLE_SEARCH_VALUECannot cover search network without google search network.static intCANNOT_USE_SHARED_CAMPAIGN_BUDGET_WHILE_PART_OF_CAMPAIGN_GROUP_VALUEA Campaign cannot use shared campaign budgets and be part of a campaign group.static intDUPLICATE_CAMPAIGN_NAME_VALUETrying to modify the name of an active or paused campaign, where the name is already assigned to another active or paused campaign.static intHEC_AGREEMENT_REQUIRED_VALUECustomers with Housing, Employment, or Credit ads must accept updated personalized ads policy to continue creating campaigns.static intINCOMPATIBLE_BUDGET_TYPE_VALUEThe type of the Budget is not compatible with this Campaign.static intINCOMPATIBLE_CAMPAIGN_FIELD_VALUETwo fields are in conflicting modes.static intINSUFFICIENT_APP_INSTALLS_COUNT_VALUEThe App campaign for engagement cannot be created because there aren't enough installs.static intINVALID_AD_SERVING_OPTIMIZATION_STATUS_VALUEGiven status is invalid.static intINVALID_ADVERTISING_CHANNEL_SUB_TYPE_VALUEThe AdvertisingChannelSubType is not a valid subtype of the primary channel type.static intINVALID_CAMPAIGN_NAME_VALUECampaign name cannot be used.static intINVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE_VALUEThe field type cannot be excluded because an active campaign-asset link of this type exists.static intINVALID_HOTEL_CUSTOMER_LINK_VALUEHotel center id in the hotel setting must match an active customer link.static intINVALID_OPERATION_IF_SERVING_STATUS_HAS_ENDED_VALUEOperation not allowed on a campaign whose serving status has endedstatic intINVALID_SHOPPING_SALES_COUNTRY_VALUEThe country in shopping setting is not an allowed country.static intINVALID_TRACKING_URL_VALUEError in the campaign level tracking URL.static intMAX_IMPRESSIONS_NOT_IN_RANGE_VALUEThe maximum number of impressions for Frequency Cap should be an integer greater than 0.static intMERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADS_VALUEThe merchant does not support the creation of campaigns for Shopping Comparison Listing Ads.static intMISSING_HOTEL_CUSTOMER_LINK_VALUEHotel center id in the hotel setting does not match any customer links.static intMISSING_HOTEL_SETTING_VALUEHotel setting was not found when creating a hotel ads campaign.static intMISSING_SHOPPING_SETTING_VALUEA ShoppingSetting was not found when creating a shopping campaign.static intNOT_COMPATIBLE_WITH_VIEW_THROUGH_CONVERSION_OPTIMIZATION_VALUEThe field is not compatible with view through conversion optimization.static intSENSITIVE_CATEGORY_APP_VALUEThe App campaign for engagement cannot be created because the app is sensitive.static intSHOPPING_ENABLE_LOCAL_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE_VALUECampaign.shopping_setting.enable_local is not supported for the specified campaign type.static intTIME_UNIT_NOT_SUPPORTED_VALUEOnly the Day, Week and Month time units are supported.static intUNKNOWN_VALUEThe received error code is not known in this version.static intUNSPECIFIED_VALUEEnum unspecified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CampaignErrorEnum.CampaignErrorforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<CampaignErrorEnum.CampaignError>internalGetValueMap()static CampaignErrorEnum.CampaignErrorvalueOf(int value)Deprecated.static CampaignErrorEnum.CampaignErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static CampaignErrorEnum.CampaignErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CampaignErrorEnum.CampaignError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final CampaignErrorEnum.CampaignError UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final CampaignErrorEnum.CampaignError UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1;
-
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;
-
APP_NOT_FOUND
public static final CampaignErrorEnum.CampaignError APP_NOT_FOUND
The app ID was not found.
APP_NOT_FOUND = 41;
-
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;
-
UNRECOGNIZED
public static final CampaignErrorEnum.CampaignError UNRECOGNIZED
-
-
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 namejava.lang.NullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.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 namejava.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.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<CampaignErrorEnum.CampaignError> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.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 namejava.lang.NullPointerException- if the argument is null
-
-