Google Ads API is returning to beta status. Please read our blog post for more details.

Package google.ads.googleads.v2.errors

Index

AccessInvitationErrorEnum

Container for enum describing possible AccessInvitation errors.

AccessInvitationError

Enum describing possible AccessInvitation errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
INVALID_EMAIL_ADDRESS The email address is invalid for sending an invitation.
EMAIL_ADDRESS_ALREADY_HAS_ACCESS Email address already has access to this customer.

AccountBudgetProposalErrorEnum

Container for enum describing possible account budget proposal errors.

AccountBudgetProposalError

Enum describing possible account budget proposal errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
FIELD_MASK_NOT_ALLOWED The field mask must be empty for create/end/remove proposals.
IMMUTABLE_FIELD The field cannot be set because of the proposal type.
REQUIRED_FIELD_MISSING The field is required because of the proposal type.
CANNOT_CANCEL_APPROVED_PROPOSAL Proposals that have been approved cannot be cancelled.
CANNOT_REMOVE_UNAPPROVED_BUDGET Budgets that haven't been approved cannot be removed.
CANNOT_REMOVE_RUNNING_BUDGET Budgets that are currently running cannot be removed.
CANNOT_END_UNAPPROVED_BUDGET Budgets that haven't been approved cannot be truncated.
CANNOT_END_INACTIVE_BUDGET Only budgets that are currently running can be truncated.
BUDGET_NAME_REQUIRED All budgets must have names.
CANNOT_UPDATE_OLD_BUDGET Expired budgets cannot be edited after a sufficient amount of time has passed.
CANNOT_END_IN_PAST It is not permissible a propose a new budget that ends in the past.
CANNOT_EXTEND_END_TIME An expired budget cannot be extended to overlap with the running budget.
PURCHASE_ORDER_NUMBER_REQUIRED A purchase order number is required.
PENDING_UPDATE_PROPOSAL_EXISTS Budgets that have a pending update cannot be updated.
MULTIPLE_BUDGETS_NOT_ALLOWED_FOR_UNAPPROVED_BILLING_SETUP Cannot propose more than one budget when the corresponding billing setup hasn't been approved.
CANNOT_UPDATE_START_TIME_FOR_STARTED_BUDGET Cannot update the start time of a budget that has already started.
SPENDING_LIMIT_LOWER_THAN_ACCRUED_COST_NOT_ALLOWED Cannot update the spending limit of a budget with an amount lower than what has already been spent.
UPDATE_IS_NO_OP Cannot propose a budget update without actually changing any fields.
END_TIME_MUST_FOLLOW_START_TIME The end time must come after the start time.
BUDGET_DATE_RANGE_INCOMPATIBLE_WITH_BILLING_SETUP The budget's date range must fall within the date range of its billing setup.
NOT_AUTHORIZED The user is not authorized to mutate budgets for the given billing setup.
INVALID_BILLING_SETUP Mutates are not allowed for the given billing setup.

AdCustomizerErrorEnum

Container for enum describing possible ad customizer errors.

AdCustomizerError

Enum describing possible ad customizer errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
COUNTDOWN_INVALID_DATE_FORMAT Invalid date argument in countdown function.
COUNTDOWN_DATE_IN_PAST Countdown end date is in the past.
COUNTDOWN_INVALID_LOCALE Invalid locale string in countdown function.
COUNTDOWN_INVALID_START_DAYS_BEFORE Days-before argument to countdown function is not positive.
UNKNOWN_USER_LIST A user list referenced in an IF function does not exist.

AdErrorEnum

Container for enum describing possible ad errors.

AdError

Enum describing possible ad errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
AD_CUSTOMIZERS_NOT_SUPPORTED_FOR_AD_TYPE Ad customizers are not supported for ad type.
APPROXIMATELY_TOO_LONG Estimating character sizes the string is too long.
APPROXIMATELY_TOO_SHORT Estimating character sizes the string is too short.
BAD_SNIPPET There is a problem with the snippet.
CANNOT_MODIFY_AD Cannot modify an ad.
CANNOT_SET_BUSINESS_NAME_IF_URL_SET business name and url cannot be set at the same time
CANNOT_SET_FIELD The specified field is incompatible with this ad's type or settings.
CANNOT_SET_FIELD_WITH_ORIGIN_AD_ID_SET Cannot set field when originAdId is set.
CANNOT_SET_FIELD_WITH_AD_ID_SET_FOR_SHARING Cannot set field when an existing ad id is set for sharing.
CANNOT_SET_ALLOW_FLEXIBLE_COLOR_FALSE Cannot set allowFlexibleColor false if no color is provided by user.
CANNOT_SET_COLOR_CONTROL_WHEN_NATIVE_FORMAT_SETTING When user select native, no color control is allowed because we will always respect publisher color for native format serving.
CANNOT_SET_URL Cannot specify a url for the ad type
CANNOT_SET_WITHOUT_FINAL_URLS Cannot specify a tracking or mobile url without also setting final urls
CANNOT_SET_WITH_FINAL_URLS Cannot specify a legacy url and a final url simultaneously
CANNOT_SET_WITH_URL_DATA Cannot specify a urls in UrlData and in template fields simultaneously.
CANNOT_USE_AD_SUBCLASS_FOR_OPERATOR This operator cannot be used with a subclass of Ad.
CUSTOMER_NOT_APPROVED_MOBILEADS Customer is not approved for mobile ads.
CUSTOMER_NOT_APPROVED_THIRDPARTY_ADS Customer is not approved for 3PAS richmedia ads.
CUSTOMER_NOT_APPROVED_THIRDPARTY_REDIRECT_ADS Customer is not approved for 3PAS redirect richmedia (Ad Exchange) ads.
CUSTOMER_NOT_ELIGIBLE Not an eligible customer
CUSTOMER_NOT_ELIGIBLE_FOR_UPDATING_BEACON_URL Customer is not eligible for updating beacon url
DIMENSION_ALREADY_IN_UNION There already exists an ad with the same dimensions in the union.
DIMENSION_MUST_BE_SET Ad's dimension must be set before setting union dimension.
DIMENSION_NOT_IN_UNION Ad's dimension must be included in the union dimensions.
DISPLAY_URL_CANNOT_BE_SPECIFIED Display Url cannot be specified (applies to Ad Exchange Ads)
DOMESTIC_PHONE_NUMBER_FORMAT Telephone number contains invalid characters or invalid format. Please re-enter your number using digits (0-9), dashes (-), and parentheses only.
EMERGENCY_PHONE_NUMBER Emergency telephone numbers are not allowed. Please enter a valid domestic phone number to connect customers to your business.
EMPTY_FIELD A required field was not specified or is an empty string.
FEED_ATTRIBUTE_MUST_HAVE_MAPPING_FOR_TYPE_ID A feed attribute referenced in an ad customizer tag is not in the ad customizer mapping for the feed.
FEED_ATTRIBUTE_MAPPING_TYPE_MISMATCH The ad customizer field mapping for the feed attribute does not match the expected field type.
ILLEGAL_AD_CUSTOMIZER_TAG_USE The use of ad customizer tags in the ad text is disallowed. Details in trigger.
ILLEGAL_TAG_USE Tags of the form {PH_x}, where x is a number, are disallowed in ad text.
INCONSISTENT_DIMENSIONS The dimensions of the ad are specified or derived in multiple ways and are not consistent.
INCONSISTENT_STATUS_IN_TEMPLATE_UNION The status cannot differ among template ads of the same union.
INCORRECT_LENGTH The length of the string is not valid.
INELIGIBLE_FOR_UPGRADE The ad is ineligible for upgrade.
INVALID_AD_ADDRESS_CAMPAIGN_TARGET User cannot create mobile ad for countries targeted in specified campaign.
INVALID_AD_TYPE Invalid Ad type. A specific type of Ad is required.
INVALID_ATTRIBUTES_FOR_MOBILE_IMAGE Headline, description or phone cannot be present when creating mobile image ad.
INVALID_ATTRIBUTES_FOR_MOBILE_TEXT Image cannot be present when creating mobile text ad.
INVALID_CALL_TO_ACTION_TEXT Invalid call to action text.
INVALID_CHARACTER_FOR_URL Invalid character in URL.
INVALID_COUNTRY_CODE Creative's country code is not valid.
INVALID_EXPANDED_DYNAMIC_SEARCH_AD_TAG Invalid use of Expanded Dynamic Search Ads tags ({lpurl} etc.)
INVALID_INPUT An input error whose real reason was not properly mapped (should not happen).
INVALID_MARKUP_LANGUAGE An invalid markup language was entered.
INVALID_MOBILE_CARRIER An invalid mobile carrier was entered.
INVALID_MOBILE_CARRIER_TARGET Specified mobile carriers target a country not targeted by the campaign.
INVALID_NUMBER_OF_ELEMENTS Wrong number of elements for given element type
INVALID_PHONE_NUMBER_FORMAT The format of the telephone number is incorrect. Please re-enter the number using the correct format.
INVALID_RICH_MEDIA_CERTIFIED_VENDOR_FORMAT_ID The certified vendor format id is incorrect.
INVALID_TEMPLATE_DATA The template ad data contains validation errors.
INVALID_TEMPLATE_ELEMENT_FIELD_TYPE The template field doesn't have have the correct type.
INVALID_TEMPLATE_ID Invalid template id.
LINE_TOO_WIDE After substituting replacement strings, the line is too wide.
MISSING_AD_CUSTOMIZER_MAPPING The feed referenced must have ad customizer mapping to be used in a customizer tag.
MISSING_ADDRESS_COMPONENT Missing address component in template element address field.
MISSING_ADVERTISEMENT_NAME An ad name must be entered.
MISSING_BUSINESS_NAME Business name must be entered.
MISSING_DESCRIPTION1 Description (line 2) must be entered.
MISSING_DESCRIPTION2 Description (line 3) must be entered.
MISSING_DESTINATION_URL_TAG The destination url must contain at least one tag (e.g. {lpurl})
MISSING_LANDING_PAGE_URL_TAG The tracking url template of ExpandedDynamicSearchAd must contain at least one tag. (e.g. {lpurl})
MISSING_DIMENSION A valid dimension must be specified for this ad.
MISSING_DISPLAY_URL A display URL must be entered.
MISSING_HEADLINE Headline must be entered.
MISSING_HEIGHT A height must be entered.
MISSING_IMAGE An image must be entered.
MISSING_MARKETING_IMAGE_OR_PRODUCT_VIDEOS Marketing image or product videos are required.
MISSING_MARKUP_LANGUAGES The markup language in which your site is written must be entered.
MISSING_MOBILE_CARRIER A mobile carrier must be entered.
MISSING_PHONE Phone number must be entered.
MISSING_REQUIRED_TEMPLATE_FIELDS Missing required template fields
MISSING_TEMPLATE_FIELD_VALUE Missing a required field value
MISSING_TEXT The ad must have text.
MISSING_VISIBLE_URL A visible URL must be entered.
MISSING_WIDTH A width must be entered.
MULTIPLE_DISTINCT_FEEDS_UNSUPPORTED Only 1 feed can be used as the source of ad customizer substitutions in a single ad.
MUST_USE_TEMP_AD_UNION_ID_ON_ADD TempAdUnionId must be use when adding template ads.
TOO_LONG The string has too many characters.
TOO_SHORT The string has too few characters.
UNION_DIMENSIONS_CANNOT_CHANGE Ad union dimensions cannot change for saved ads.
UNKNOWN_ADDRESS_COMPONENT Address component is not {country, lat, lng}.
UNKNOWN_FIELD_NAME Unknown unique field name
UNKNOWN_UNIQUE_NAME Unknown unique name (template element type specifier)
UNSUPPORTED_DIMENSIONS Unsupported ad dimension
URL_INVALID_SCHEME URL starts with an invalid scheme.
URL_INVALID_TOP_LEVEL_DOMAIN URL ends with an invalid top-level domain name.
URL_MALFORMED URL contains illegal characters.
URL_NO_HOST URL must contain a host name.
URL_NOT_EQUIVALENT URL not equivalent during upgrade.
URL_HOST_NAME_TOO_LONG URL host name too long to be stored as visible URL (applies to Ad Exchange ads)
URL_NO_SCHEME URL must start with a scheme.
URL_NO_TOP_LEVEL_DOMAIN URL should end in a valid domain extension, such as .com or .net.
URL_PATH_NOT_ALLOWED URL must not end with a path.
URL_PORT_NOT_ALLOWED URL must not specify a port.
URL_QUERY_NOT_ALLOWED URL must not contain a query.
URL_SCHEME_BEFORE_EXPANDED_DYNAMIC_SEARCH_AD_TAG A url scheme is not allowed in front of tag in tracking url template (e.g. http://{lpurl})
USER_DOES_NOT_HAVE_ACCESS_TO_TEMPLATE The user does not have permissions to create a template ad for the given template.
INCONSISTENT_EXPANDABLE_SETTINGS Expandable setting is inconsistent/wrong. For example, an AdX ad is invalid if it has a expandable vendor format but no expanding directions specified, or expanding directions is specified, but the vendor format is not expandable.
INVALID_FORMAT Format is invalid
INVALID_FIELD_TEXT The text of this field did not match a pattern of allowed values.
ELEMENT_NOT_PRESENT Template element is mising
IMAGE_ERROR Error occurred during image processing
VALUE_NOT_IN_RANGE The value is not within the valid range
FIELD_NOT_PRESENT Template element field is not present
ADDRESS_NOT_COMPLETE Address is incomplete
ADDRESS_INVALID Invalid address
VIDEO_RETRIEVAL_ERROR Error retrieving specified video
AUDIO_ERROR Error processing audio
INVALID_YOUTUBE_DISPLAY_URL Display URL is incorrect for YouTube PYV ads
TOO_MANY_PRODUCT_IMAGES Too many product Images in GmailAd
TOO_MANY_PRODUCT_VIDEOS Too many product Videos in GmailAd
INCOMPATIBLE_AD_TYPE_AND_DEVICE_PREFERENCE The device preference is not compatible with the ad type
CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY Call tracking is not supported for specified country.
CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED Carrier specific short number is not allowed.
DISALLOWED_NUMBER_TYPE Specified phone number type is disallowed.
PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY Phone number not supported for country.
PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY Phone number not supported with call tracking enabled for country.
PREMIUM_RATE_NUMBER_NOT_ALLOWED Premium rate phone number is not allowed.
VANITY_PHONE_NUMBER_NOT_ALLOWED Vanity phone number is not allowed.
INVALID_CALL_CONVERSION_TYPE_ID Invalid call conversion type id.
CANNOT_DISABLE_CALL_CONVERSION_AND_SET_CONVERSION_TYPE_ID Cannot disable call conversion and set conversion type id.
CANNOT_SET_PATH2_WITHOUT_PATH1 Cannot set path2 without path1.
MISSING_DYNAMIC_SEARCH_ADS_SETTING_DOMAIN_NAME Missing domain name in campaign setting when adding expanded dynamic search ad.
INCOMPATIBLE_WITH_RESTRICTION_TYPE The associated ad is not compatible with restriction type.
MISSING_IMAGE_OR_MEDIA_BUNDLE Either an image or a media bundle is required in a display upload ad.
PRODUCT_TYPE_NOT_SUPPORTED_IN_THIS_CAMPAIGN The display upload product type is not supported in this campaign.

AdGroupAdErrorEnum

Container for enum describing possible ad group ad errors.

AdGroupAdError

Enum describing possible ad group ad errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
AD_GROUP_AD_LABEL_DOES_NOT_EXIST No link found between the adgroup ad and the label.
AD_GROUP_AD_LABEL_ALREADY_EXISTS The label has already been attached to the adgroup ad.
AD_NOT_UNDER_ADGROUP The specified ad was not found in the adgroup
CANNOT_OPERATE_ON_REMOVED_ADGROUPAD Removed ads may not be modified
CANNOT_CREATE_DEPRECATED_ADS An ad of this type is deprecated and cannot be created. Only deletions are permitted.
CANNOT_CREATE_TEXT_ADS Text ads are deprecated and cannot be created. Use expanded text ads instead.
EMPTY_FIELD A required field was not specified or is an empty string.
RESOURCE_REFERENCED_IN_MULTIPLE_OPS An ad may only be modified once per call

AdGroupBidModifierErrorEnum

Container for enum describing possible ad group bid modifier errors.

AdGroupBidModifierError

Enum describing possible ad group bid modifier errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
CRITERION_ID_NOT_SUPPORTED The criterion ID does not support bid modification.
CANNOT_OVERRIDE_OPTED_OUT_CAMPAIGN_CRITERION_BID_MODIFIER Cannot override the bid modifier for the given criterion ID if the parent campaign is opted out of the same criterion.

AdGroupCriterionErrorEnum

Container for enum describing possible ad group criterion errors.

AdGroupCriterionError

Enum describing possible ad group criterion errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
AD_GROUP_CRITERION_LABEL_DOES_NOT_EXIST No link found between the AdGroupCriterion and the label.
AD_GROUP_CRITERION_LABEL_ALREADY_EXISTS The label has already been attached to the AdGroupCriterion.
CANNOT_ADD_LABEL_TO_NEGATIVE_CRITERION Negative AdGroupCriterion cannot have labels.
TOO_MANY_OPERATIONS Too many operations for a single call.
CANT_UPDATE_NEGATIVE Negative ad group criteria are not updateable.
CONCRETE_TYPE_REQUIRED Concrete type of criterion (keyword v.s. placement) is required for ADD and SET operations.
BID_INCOMPATIBLE_WITH_ADGROUP Bid is incompatible with ad group's bidding settings.
CANNOT_TARGET_AND_EXCLUDE Cannot target and exclude the same criterion at once.
ILLEGAL_URL The URL of a placement is invalid.
INVALID_KEYWORD_TEXT Keyword text was invalid.
INVALID_DESTINATION_URL Destination URL was invalid.
MISSING_DESTINATION_URL_TAG The destination url must contain at least one tag (e.g. {lpurl})
KEYWORD_LEVEL_BID_NOT_SUPPORTED_FOR_MANUALCPM Keyword-level cpm bid is not supported
INVALID_USER_STATUS For example, cannot add a biddable ad group criterion that had been removed.
CANNOT_ADD_CRITERIA_TYPE Criteria type cannot be targeted for the ad group. Either the account is restricted to keywords only, the criteria type is incompatible with the campaign's bidding strategy, or the criteria type can only be applied to campaigns.
CANNOT_EXCLUDE_CRITERIA_TYPE Criteria type cannot be excluded for the ad group. Refer to the documentation for a specific criterion to check if it is excludable.
CAMPAIGN_TYPE_NOT_COMPATIBLE_WITH_PARTIAL_FAILURE Partial failure is not supported for shopping campaign mutate operations.
OPERATIONS_FOR_TOO_MANY_SHOPPING_ADGROUPS Operations in the mutate request changes too many shopping ad groups. Please split requests for multiple shopping ad groups across multiple requests.
CANNOT_MODIFY_URL_FIELDS_WITH_DUPLICATE_ELEMENTS Not allowed to modify url fields of an ad group criterion if there are duplicate elements for that ad group criterion in the request.
CANNOT_SET_WITHOUT_FINAL_URLS Cannot set url fields without also setting final urls.
CANNOT_CLEAR_FINAL_URLS_IF_FINAL_MOBILE_URLS_EXIST Cannot clear final urls if final mobile urls exist.
CANNOT_CLEAR_FINAL_URLS_IF_FINAL_APP_URLS_EXIST Cannot clear final urls if final app urls exist.
CANNOT_CLEAR_FINAL_URLS_IF_TRACKING_URL_TEMPLATE_EXISTS Cannot clear final urls if tracking url template exists.
CANNOT_CLEAR_FINAL_URLS_IF_URL_CUSTOM_PARAMETERS_EXIST Cannot clear final urls if url custom parameters exist.
CANNOT_SET_BOTH_DESTINATION_URL_AND_FINAL_URLS Cannot set both destination url and final urls.
CANNOT_SET_BOTH_DESTINATION_URL_AND_TRACKING_URL_TEMPLATE Cannot set both destination url and tracking url template.
FINAL_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE Final urls are not supported for this criterion type.
FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE Final mobile urls are not supported for this criterion type.
INVALID_LISTING_GROUP_HIERARCHY Ad group is invalid due to the listing groups it contains.
LISTING_GROUP_UNIT_CANNOT_HAVE_CHILDREN Listing group unit cannot have children.
LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE Subdivided listing groups must have an "others" case.
LISTING_GROUP_REQUIRES_SAME_DIMENSION_TYPE_AS_SIBLINGS Dimension type of listing group must be the same as that of its siblings.
LISTING_GROUP_ALREADY_EXISTS Listing group cannot be added to the ad group because it already exists.
LISTING_GROUP_DOES_NOT_EXIST Listing group referenced in the operation was not found in the ad group.
LISTING_GROUP_CANNOT_BE_REMOVED Recursive removal failed because listing group subdivision is being created or modified in this request.
INVALID_LISTING_GROUP_TYPE Listing group type is not allowed for specified ad group criterion type.
LISTING_GROUP_ADD_MAY_ONLY_USE_TEMP_ID Listing group in an ADD operation specifies a non temporary criterion id.

AdGroupErrorEnum

Container for enum describing possible ad group errors.

AdGroupError

Enum describing possible ad group errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
DUPLICATE_ADGROUP_NAME AdGroup with the same name already exists for the campaign.
INVALID_ADGROUP_NAME AdGroup name is not valid.
ADVERTISER_NOT_ON_CONTENT_NETWORK Advertiser is not allowed to target sites or set site bids that are not on the Google Search Network.
BID_TOO_BIG Bid amount is too big.
BID_TYPE_AND_BIDDING_STRATEGY_MISMATCH AdGroup bid does not match the campaign's bidding strategy.
MISSING_ADGROUP_NAME AdGroup name is required for Add.
ADGROUP_LABEL_DOES_NOT_EXIST No link found between the ad group and the label.
ADGROUP_LABEL_ALREADY_EXISTS The label has already been attached to the ad group.
INVALID_CONTENT_BID_CRITERION_TYPE_GROUP The CriterionTypeGroup is not supported for the content bid dimension.
AD_GROUP_TYPE_NOT_VALID_FOR_ADVERTISING_CHANNEL_TYPE The ad group type is not compatible with the campaign channel type.
ADGROUP_TYPE_NOT_SUPPORTED_FOR_CAMPAIGN_SALES_COUNTRY The ad group type is not supported in the country of sale of the campaign.
CANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING Ad groups of AdGroupType.SEARCH_DYNAMIC_ADS can only be added to campaigns that have DynamicSearchAdsSetting attached.

AdGroupFeedErrorEnum

Container for enum describing possible ad group feed errors.

AdGroupFeedError

Enum describing possible ad group feed errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE An active feed already exists for this ad group and place holder type.
CANNOT_CREATE_FOR_REMOVED_FEED The specified feed is removed.
ADGROUP_FEED_ALREADY_EXISTS The AdGroupFeed already exists. UPDATE operation should be used to modify the existing AdGroupFeed.
CANNOT_OPERATE_ON_REMOVED_ADGROUP_FEED Cannot operate on removed AdGroupFeed.
INVALID_PLACEHOLDER_TYPE Invalid placeholder type.
MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE Feed mapping for this placeholder type does not exist.
NO_EXISTING_LOCATION_CUSTOMER_FEED Location AdGroupFeeds cannot be created unless there is a location CustomerFeed for the specified feed.

AdParameterErrorEnum

Container for enum describing possible ad parameter errors.

AdParameterError

Enum describing possible ad parameter errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
AD_GROUP_CRITERION_MUST_BE_KEYWORD The ad group criterion must be a keyword criterion.
INVALID_INSERTION_TEXT_FORMAT The insertion text is invalid.

AdSharingErrorEnum

Container for enum describing possible ad sharing errors.

AdSharingError

Enum describing possible ad sharing errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
AD_GROUP_ALREADY_CONTAINS_AD Error resulting in attempting to add an Ad to an AdGroup that already contains the Ad.
INCOMPATIBLE_AD_UNDER_AD_GROUP Ad is not compatible with the AdGroup it is being shared with.
CANNOT_SHARE_INACTIVE_AD Cannot add AdGroupAd on inactive Ad.

AdxErrorEnum

Container for enum describing possible adx errors.

AdxError

Enum describing possible adx errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
UNSUPPORTED_FEATURE Attempt to use non-AdX feature by AdX customer.

AssetErrorEnum

Container for enum describing possible asset errors.

AssetError

Enum describing possible asset errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
CUSTOMER_NOT_WHITELISTED_FOR_ASSET_TYPE The customer is not whitelisted for this asset type.
DUPLICATE_ASSET Assets are duplicated across operations.
DUPLICATE_ASSET_NAME The asset name is duplicated, either across operations or with an existing asset.
ASSET_DATA_IS_MISSING The Asset.asset_data oneof is empty.
CANNOT_MODIFY_ASSET_NAME The asset has a name which is different from an existing duplicate that represents the same content.

AuthenticationErrorEnum

Container for enum describing possible authentication errors.

AuthenticationError

Enum describing possible authentication errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
AUTHENTICATION_ERROR Authentication of the request failed.
CLIENT_CUSTOMER_ID_INVALID Client Customer Id is not a number.
CUSTOMER_NOT_FOUND No customer found for the provided customer id.
GOOGLE_ACCOUNT_DELETED Client's Google Account is deleted.
GOOGLE_ACCOUNT_AUTHENTICATION_FAILED A problem occurred during Google account authentication.
GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH The user in the google account login token does not match the UserId in the cookie.
NOT_ADS_USER User in the cookie is not a valid Ads user.
OAUTH_TOKEN_INVALID Oauth token in the header is not valid.
OAUTH_TOKEN_EXPIRED Oauth token in the header has expired.
OAUTH_TOKEN_DISABLED Oauth token in the header has been disabled.
OAUTH_TOKEN_REVOKED Oauth token in the header has been revoked.
OAUTH_TOKEN_HEADER_INVALID Oauth token HTTP header is malformed.
USER_ID_INVALID User Id in the header is not a valid id.
TWO_STEP_VERIFICATION_NOT_ENROLLED An account administrator changed this account's authentication settings. To access this Google Ads account, enable 2-Step Verification in your Google account at https://www.google.com/landing/2step.
ADVANCED_PROTECTION_NOT_ENROLLED An account administrator changed this account's authentication settings. To access this Google Ads account, enable Advanced Protection in your Google account at https://landing.google.com/advancedprotection.

AuthorizationErrorEnum

Container for enum describing possible authorization errors.

AuthorizationError

Enum describing possible authorization errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
USER_PERMISSION_DENIED User doesn't have permission to access customer. Note: If you're accessing a client customer, the manager's customer ID must be set in the login-customer-id header. Learn more at https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid
DEVELOPER_TOKEN_NOT_WHITELISTED The developer token is not whitelisted.
DEVELOPER_TOKEN_PROHIBITED The developer token is not allowed with the project sent in the request.
PROJECT_DISABLED The Google Cloud project sent in the request does not have permission to access the api.
AUTHORIZATION_ERROR Authorization of the client failed.
ACTION_NOT_PERMITTED The user does not have permission to perform this action (e.g., ADD, UPDATE, REMOVE) on the resource or call a method.
INCOMPLETE_SIGNUP Signup not complete.
CUSTOMER_NOT_ENABLED The customer can't be used because it isn't enabled.
MISSING_TOS The developer must sign the terms of service. They can be found here: ads.google.com/aw/apicenter
DEVELOPER_TOKEN_NOT_APPROVED The developer token is not approved. Non-approved developer tokens can only be used with test accounts.
INVALID_LOGIN_CUSTOMER_ID_SERVING_CUSTOMER_ID_COMBINATION The login customer specified does not have access to the account specified, so the request is invalid.

BiddingErrorEnum

Container for enum describing possible bidding errors.

BiddingError

Enum describing possible bidding errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
BIDDING_STRATEGY_TRANSITION_NOT_ALLOWED Cannot transition to new bidding strategy.
CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN Cannot attach bidding strategy to campaign.
INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE Bidding strategy is not supported or cannot be used as anonymous.
INVALID_BIDDING_STRATEGY_TYPE The type does not match the named strategy's type.
INVALID_BID The bid is invalid.
BIDDING_STRATEGY_NOT_AVAILABLE_FOR_ACCOUNT_TYPE Bidding strategy is not available for the account type.
CONVERSION_TRACKING_NOT_ENABLED Conversion tracking is not enabled for the campaign for VBB transition.
NOT_ENOUGH_CONVERSIONS Not enough conversions tracked for VBB transitions.
CANNOT_CREATE_CAMPAIGN_WITH_BIDDING_STRATEGY Campaign can not be created with given bidding strategy. It can be transitioned to the strategy, once eligible.
CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CAMPAIGN_LEVEL_POP_BIDDING_STRATEGY Cannot target content network only as campaign uses Page One Promoted bidding strategy.
BIDDING_STRATEGY_NOT_SUPPORTED_WITH_AD_SCHEDULE Budget Optimizer and Target Spend bidding strategies are not supported for campaigns with AdSchedule targeting.
PAY_PER_CONVERSION_NOT_AVAILABLE_FOR_CUSTOMER Pay per conversion is not available to all the customer, only few whitelisted customers can use this.
PAY_PER_CONVERSION_NOT_ALLOWED_WITH_TARGET_CPA Pay per conversion is not allowed with Target CPA.
BIDDING_STRATEGY_NOT_ALLOWED_FOR_SEARCH_ONLY_CAMPAIGNS Cannot set bidding strategy to Manual CPM for search network only campaigns.
BIDDING_STRATEGY_NOT_SUPPORTED_IN_DRAFTS_OR_EXPERIMENTS The bidding strategy is not supported for use in drafts or experiments.
BIDDING_STRATEGY_TYPE_DOES_NOT_SUPPORT_PRODUCT_TYPE_ADGROUP_CRITERION Bidding strategy type does not support product type ad group criterion.
BID_TOO_SMALL Bid amount is too small.
BID_TOO_BIG Bid amount is too big.
BID_TOO_MANY_FRACTIONAL_DIGITS Bid has too many fractional digit precision.
INVALID_DOMAIN_NAME Invalid domain name specified.
NOT_COMPATIBLE_WITH_PAYMENT_MODE The field is not compatible with the payment mode.
NOT_COMPATIBLE_WITH_BUDGET_TYPE The field is not compatible with the budget type.
NOT_COMPATIBLE_WITH_BIDDING_STRATEGY_TYPE The field is not compatible with the bidding strategy type.

BiddingStrategyErrorEnum

Container for enum describing possible bidding strategy errors.

BiddingStrategyError

Enum describing possible bidding strategy errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
DUPLICATE_NAME Each bidding strategy must have a unique name.
CANNOT_CHANGE_BIDDING_STRATEGY_TYPE Bidding strategy type is immutable.
CANNOT_REMOVE_ASSOCIATED_STRATEGY Only bidding strategies not linked to campaigns, adgroups or adgroup criteria can be removed.
BIDDING_STRATEGY_NOT_SUPPORTED The specified bidding strategy is not supported.
INCOMPATIBLE_BIDDING_STRATEGY_AND_BIDDING_STRATEGY_GOAL_TYPE The bidding strategy is incompatible with the campaign's bidding strategy goal type.

BillingSetupErrorEnum

Container for enum describing possible billing setup errors.

BillingSetupError

Enum describing possible billing setup errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
CANNOT_USE_EXISTING_AND_NEW_ACCOUNT Cannot specify both an existing payments account and a new payments account when setting up billing.
CANNOT_REMOVE_STARTED_BILLING_SETUP Cannot cancel an approved billing setup whose start time has passed.
CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT Cannot perform a Change of Bill-To (CBT) to the same payments account.
BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS Billing setups can only be used by customers with ENABLED or DRAFT status.
INVALID_PAYMENTS_ACCOUNT Billing setups must either include a correctly formatted existing payments account id, or a non-empty new payments account name.
BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY Only billable and third-party customers can create billing setups.
INVALID_START_TIME_TYPE Billing setup creations can only use NOW for start time type.
THIRD_PARTY_ALREADY_HAS_BILLING Billing setups can only be created for a third-party customer if they do not already have a setup.
BILLING_SETUP_IN_PROGRESS Billing setups cannot be created if there is already a pending billing in progress.
NO_SIGNUP_PERMISSION Billing setups can only be created by customers who have permission to setup billings. Users can contact a representative for help setting up permissions.
CHANGE_OF_BILL_TO_IN_PROGRESS Billing setups cannot be created if there is already a future-approved billing.
PAYMENTS_PROFILE_NOT_FOUND Requested payments profile not found.
PAYMENTS_ACCOUNT_NOT_FOUND Requested payments account not found.
PAYMENTS_PROFILE_INELIGIBLE Billing setup creation failed because the payments profile is ineligible.
PAYMENTS_ACCOUNT_INELIGIBLE Billing setup creation failed because the payments account is ineligible.
CUSTOMER_NEEDS_INTERNAL_APPROVAL Billing setup creation failed because the payments profile needs internal approval.

CampaignBudgetErrorEnum

Container for enum describing possible campaign budget errors.

CampaignBudgetError

Enum describing possible campaign budget errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
CAMPAIGN_BUDGET_CANNOT_BE_SHARED The campaign budget cannot be shared.
CAMPAIGN_BUDGET_REMOVED The requested campaign budget no longer exists.
CAMPAIGN_BUDGET_IN_USE The campaign budget is associated with at least one campaign, and so the campaign budget cannot be removed.
CAMPAIGN_BUDGET_PERIOD_NOT_AVAILABLE Customer is not whitelisted for this campaign budget period.
CANNOT_MODIFY_FIELD_OF_IMPLICITLY_SHARED_CAMPAIGN_BUDGET This field is not mutable on implicitly shared campaign budgets
CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_IMPLICITLY_SHARED Cannot change explicitly shared campaign budgets back to implicitly shared ones.
CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED_WITHOUT_NAME An implicit campaign budget without a name cannot be changed to explicitly shared campaign budget.
CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED Cannot change an implicitly shared campaign budget to an explicitly shared one.
CANNOT_USE_IMPLICITLY_SHARED_CAMPAIGN_BUDGET_WITH_MULTIPLE_CAMPAIGNS Only explicitly shared campaign budgets can be used with multiple campaigns.
DUPLICATE_NAME A campaign budget with this name already exists.
MONEY_AMOUNT_IN_WRONG_CURRENCY A money amount was not in the expected currency.
MONEY_AMOUNT_LESS_THAN_CURRENCY_MINIMUM_CPC A money amount was less than the minimum CPC for currency.
MONEY_AMOUNT_TOO_LARGE A money amount was greater than the maximum allowed.
NEGATIVE_MONEY_AMOUNT A money amount was negative.
NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT A money amount was not a multiple of a minimum unit.

CampaignCriterionErrorEnum

Container for enum describing possible campaign criterion errors.

CampaignCriterionError

Enum describing possible campaign criterion errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
CONCRETE_TYPE_REQUIRED Concrete type of criterion (keyword v.s. placement) is required for CREATE and UPDATE operations.
INVALID_PLACEMENT_URL Invalid placement URL.
CANNOT_EXCLUDE_CRITERIA_TYPE Criteria type can not be excluded for the campaign by the customer. like AOL account type cannot target site type criteria
CANNOT_SET_STATUS_FOR_CRITERIA_TYPE Cannot set the campaign criterion status for this criteria type.
CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA Cannot set the campaign criterion status for an excluded criteria.
CANNOT_TARGET_AND_EXCLUDE Cannot target and exclude the same criterion.
TOO_MANY_OPERATIONS The mutate contained too many operations.
OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE This operator cannot be applied to a criterion of this type.
SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL The Shopping campaign sales country is not supported for ProductSalesChannel targeting.
CANNOT_ADD_EXISTING_FIELD The existing field can't be updated with CREATE operation. It can be updated with UPDATE operation only.
CANNOT_UPDATE_NEGATIVE_CRITERION Negative criteria are immutable, so updates are not allowed.

CampaignDraftErrorEnum

Container for enum describing possible campaign draft errors.

CampaignDraftError

Enum describing possible campaign draft errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
DUPLICATE_DRAFT_NAME A draft with this name already exists for this campaign.
INVALID_STATUS_TRANSITION_FROM_REMOVED The draft is removed and cannot be transitioned to another status.
INVALID_STATUS_TRANSITION_FROM_PROMOTED The draft has been promoted and cannot be transitioned to the specified status.
INVALID_STATUS_TRANSITION_FROM_PROMOTE_FAILED The draft has failed to be promoted and cannot be transitioned to the specified status.
CUSTOMER_CANNOT_CREATE_DRAFT This customer is not allowed to create drafts.
CAMPAIGN_CANNOT_CREATE_DRAFT This campaign is not allowed to create drafts.
INVALID_DRAFT_CHANGE This modification cannot be made on a draft.
INVALID_STATUS_TRANSITION The draft cannot be transitioned to the specified status from its current status.
MAX_NUMBER_OF_DRAFTS_PER_CAMPAIGN_REACHED The campaign has reached the maximum number of drafts that can be created for a campaign throughout its lifetime. No additional drafts can be created for this campaign. Removed drafts also count towards this limit.
LIST_ERRORS_FOR_PROMOTED_DRAFT_ONLY ListAsyncErrors was called without first promoting the draft.

CampaignErrorEnum

Container for enum describing possible campaign errors.

CampaignError

Enum describing possible campaign errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
CANNOT_TARGET_CONTENT_NETWORK Cannot target content network.
CANNOT_TARGET_SEARCH_NETWORK Cannot target search network.
CANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGN Cannot target Google Search network for a CPM campaign.
CAMPAIGN_MUST_TARGET_AT_LEAST_ONE_NETWORK Must target at least one network.
CANNOT_TARGET_PARTNER_SEARCH_NETWORK Only some Google partners are allowed to target partner search network.
CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CRITERIA_LEVEL_BIDDING_STRATEGY Cannot target content network only as campaign has criteria-level bidding strategy.
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.
CANNOT_MODIFY_FOR_TRIAL_CAMPAIGN Cannot modify dates, budget or campaign name of a trial campaign.
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.
INCOMPATIBLE_CAMPAIGN_FIELD Two fields are in conflicting modes.
INVALID_CAMPAIGN_NAME Campaign name cannot be used.
INVALID_AD_SERVING_OPTIMIZATION_STATUS Given status is invalid.
INVALID_TRACKING_URL Error in the campaign level tracking url.
CANNOT_SET_BOTH_TRACKING_URL_TEMPLATE_AND_TRACKING_SETTING Cannot set both tracking url template and tracking setting. An user has to clear legacy tracking setting in order to add tracking url template.
MAX_IMPRESSIONS_NOT_IN_RANGE The maximum number of impressions for Frequency Cap should be an integer greater than 0.
TIME_UNIT_NOT_SUPPORTED Only the Day, Week and Month time units are supported.
INVALID_OPERATION_IF_SERVING_STATUS_HAS_ENDED Operation not allowed on a campaign whose serving status has ended
BUDGET_CANNOT_BE_SHARED This budget is exclusively linked to a Campaign that is using experiments so it cannot be shared.
CAMPAIGN_CANNOT_USE_SHARED_BUDGET Campaigns using experiments cannot use a shared budget.
CANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALS A different budget cannot be assigned to a campaign when there are running or scheduled trials.
CAMPAIGN_LABEL_DOES_NOT_EXIST No link found between the campaign and the label.
CAMPAIGN_LABEL_ALREADY_EXISTS The label has already been attached to the campaign.
MISSING_SHOPPING_SETTING A ShoppingSetting was not found when creating a shopping campaign.
INVALID_SHOPPING_SALES_COUNTRY The country in shopping setting is not an allowed country.
MISSING_UNIVERSAL_APP_CAMPAIGN_SETTING A Campaign with channel sub type UNIVERSAL_APP_CAMPAIGN must have a UniversalAppCampaignSetting specified.
ADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPE The requested channel type is not available according to the customer's account setting.
INVALID_ADVERTISING_CHANNEL_SUB_TYPE The AdvertisingChannelSubType is not a valid subtype of the primary channel type.
AT_LEAST_ONE_CONVERSION_MUST_BE_SELECTED At least one conversion must be selected.
CANNOT_SET_AD_ROTATION_MODE Setting ad rotation mode for a campaign is not allowed. Ad rotation mode at campaign is deprecated.
CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED Trying to change start date on a campaign that has started.
CANNOT_SET_DATE_TO_PAST Trying to modify a date into the past.
MISSING_HOTEL_SETTING Hotel setting was not found when creating a hotel ads campaign.
CANNOT_USE_SHARED_CAMPAIGN_BUDGET_WHILE_PART_OF_CAMPAIGN_GROUP A Campaign cannot use shared campaign budgets and be part of a campaign group.
APP_NOT_FOUND The app ID was not found.
SHOPPING_ENABLE_LOCAL_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE Campaign.shopping_setting.enable_local is not supported for the specified campaign type.
MERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADS The merchant does not support the creation of campaigns for Shopping Comparison Listing Ads.
INSUFFICIENT_APP_INSTALLS_COUNT The App campaign for engagement cannot be created because there aren't enough installs.

CampaignExperimentErrorEnum

Container for enum describing possible campaign experiment errors.

CampaignExperimentError

Enum describing possible campaign experiment errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
DUPLICATE_NAME An active campaign or experiment with this name already exists.
INVALID_TRANSITION Experiment cannot be updated from the current state to the requested target state. For example, an experiment can only graduate if its status is ENABLED.
CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET Cannot create an experiment from a campaign using an explicitly shared budget.
CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN Cannot create an experiment for a removed base campaign.
CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT Cannot create an experiment from a draft, which has a status other than proposed.
CUSTOMER_CANNOT_CREATE_EXPERIMENT This customer is not allowed to create an experiment.
CAMPAIGN_CANNOT_CREATE_EXPERIMENT This campaign is not allowed to create an experiment.
EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP Trying to set an experiment duration which overlaps with another experiment.
EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION All non-removed experiments must start and end within their campaign's duration.
CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS The experiment cannot be modified because its status is in a terminal state, such as REMOVED.

CampaignFeedErrorEnum

Container for enum describing possible campaign feed errors.

CampaignFeedError

Enum describing possible campaign feed errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE An active feed already exists for this campaign and placeholder type.
CANNOT_CREATE_FOR_REMOVED_FEED The specified feed is removed.
CANNOT_CREATE_ALREADY_EXISTING_CAMPAIGN_FEED The CampaignFeed already exists. UPDATE should be used to modify the existing CampaignFeed.
CANNOT_MODIFY_REMOVED_CAMPAIGN_FEED Cannot update removed campaign feed.
INVALID_PLACEHOLDER_TYPE Invalid placeholder type.
MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE Feed mapping for this placeholder type does not exist.

CampaignSharedSetErrorEnum

Container for enum describing possible campaign shared set errors.

CampaignSharedSetError

Enum describing possible campaign shared set errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
SHARED_SET_ACCESS_DENIED The shared set belongs to another customer and permission isn't granted.

ChangeStatusErrorEnum

Container for enum describing possible change status errors.

ChangeStatusError

Enum describing possible change status errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
START_DATE_TOO_OLD The requested start date is too old.

CollectionSizeErrorEnum

Container for enum describing possible collection size errors.

CollectionSizeError

Enum describing possible collection size errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
TOO_FEW Too few.
TOO_MANY Too many.

ContextErrorEnum

Container for enum describing possible context errors.

ContextError

Enum describing possible context errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
OPERATION_NOT_PERMITTED_FOR_CONTEXT The operation is not allowed for the given context.
OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE The operation is not allowed for removed resources.

ConversionActionErrorEnum

Container for enum describing possible conversion action errors.

ConversionActionError

Enum describing possible conversion action errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
DUPLICATE_NAME The specified conversion action name already exists.
DUPLICATE_APP_ID Another conversion action with the specified app id already exists.
TWO_CONVERSION_ACTIONS_BIDDING_ON_SAME_APP_DOWNLOAD Android first open action conflicts with Google play codeless download action tracking the same app.
BIDDING_ON_SAME_APP_DOWNLOAD_AS_GLOBAL_ACTION Android first open action conflicts with Google play codeless download action tracking the same app.
DATA_DRIVEN_MODEL_WAS_NEVER_GENERATED The attribution model cannot be set to DATA_DRIVEN because a data-driven model has never been generated.
DATA_DRIVEN_MODEL_EXPIRED The attribution model cannot be set to DATA_DRIVEN because the data-driven model is expired.
DATA_DRIVEN_MODEL_STALE The attribution model cannot be set to DATA_DRIVEN because the data-driven model is stale.
DATA_DRIVEN_MODEL_UNKNOWN The attribution model cannot be set to DATA_DRIVEN because the data-driven model is unavailable or the conversion action was newly added.

ConversionAdjustmentUploadErrorEnum

Container for enum describing possible conversion adjustment upload errors.

ConversionAdjustmentUploadError

Enum describing possible conversion adjustment upload errors.

Enums
UNSPECIFIED Not specified.
UNKNOWN The received error code is not known in this version.
TOO_RECENT_CONVERSION_ACTION The specified conversion action was created too recently. Please try the upload again after 4-6 hours have passed since the conversion action was created.
INVALID_CONVERSION_ACTION No conversion action of a supported ConversionActionType that matches the provided information can be found for the customer.
CONVERSION_ALREADY_RETRACTED A retraction was already reported for this conversion.
CONVERSION_NOT_FOUND A conversion for the supplied combination of conversion action and conversion identifier could not be found.
CONVERSION_EXPIRED The specified conversion has already expired. Conversions expire after 55 days, after which adjustments cannot be reported against them.
ADJUSTMENT_PRECEDES_CONVERSION The supplied adjustment date time precedes that of the original conversion.
MORE_RECENT_RESTATEMENT_FOUND A restatement with a more recent adjustment date time was already reported for this conversion.
TOO_RECENT_CONVERSION The conversion was created too recently.
CANNOT_RESTATE_CONVERSION_ACTION_THAT_ALWAYS_USES_DEFAULT_CONVERSION_VALUE Restatements cannot be reported for a conversion action that always uses the default value.

ConversionUploadErrorEnum

Container for enum describing possible conversion upload errors.

ConversionUploadError

Enum describing possible conversion upload errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
TOO_MANY_CONVERSIONS_IN_REQUEST The request contained more than 2000 conversions.
UNPARSEABLE_GCLID The specified gclid could not be decoded.
CONVERSION_PRECEDES_GCLID The specified conversion_date_time is before the event time associated with the given gclid.
EXPIRED_GCLID The click associated with the given gclid is either too old to be imported or occurred outside of the click through lookback window for the specified conversion action.
TOO_RECENT_GCLID The click associated with the given gclid occurred too recently. Please try uploading again after 24 hours have passed since the click occurred.
GCLID_NOT_FOUND The click associated with the given gclid could not be found in the system. This can happen if Google Click IDs are collected for non Google Ads clicks.
UNAUTHORIZED_CUSTOMER The click associated with the given gclid is owned by a customer account that the uploading customer does not manage.
INVALID_CONVERSION_ACTION No upload eligible conversion action that matches the provided information can be found for the customer.
TOO_RECENT_CONVERSION_ACTION The specified conversion action was created too recently. Please try the upload again after 4-6 hours have passed since the conversion action was created.
CONVERSION_TRACKING_NOT_ENABLED_AT_IMPRESSION_TIME The click associated with the given gclid does not contain conversion tracking information.
EXTERNAL_ATTRIBUTION_DATA_SET_FOR_NON_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION The specified conversion action does not use an external attribution model, but external_attribution_data was set.
EXTERNAL_ATTRIBUTION_DATA_NOT_SET_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION The specified conversion action uses an external attribution model, but external_attribution_data or one of its contained fields was not set. Both external_attribution_credit and external_attribution_model must be set for externally attributed conversion actions.
ORDER_ID_NOT_PERMITTED_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION Order IDs are not supported for conversion actions which use an external attribution model.
ORDER_ID_ALREADY_IN_USE A conversion with the same order id and conversion action combination already exists in our system.
DUPLICATE_ORDER_ID The request contained two or more conversions with the same order id and conversion action combination.
TOO_RECENT_CALL The call occurred too recently. Please try uploading again after 24 hours have passed since the call occurred.
EXPIRED_CALL The click that initiated the call is too old for this conversion to be imported.
CALL_NOT_FOUND The call or the click leading to the call was not found.
CONVERSION_PRECEDES_CALL The specified conversion_date_time is before the call_start_date_time.
CONVERSION_TRACKING_NOT_ENABLED_AT_CALL_TIME The click associated with the call does not contain conversion tracking information.
UNPARSEABLE_CALLERS_PHONE_NUMBER The caller’s phone number cannot be parsed. It should be formatted either as E.164 "+16502531234", International "+64 3-331 6005" or US national number "6502531234".

CountryCodeErrorEnum

Container for enum describing country code errors.

CountryCodeError

Enum describing country code errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
INVALID_COUNTRY_CODE The country code is invalid.

CriterionErrorEnum

Container for enum describing possible criterion errors.

CriterionError

Enum describing possible criterion errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
CONCRETE_TYPE_REQUIRED Concrete type of criterion is required for CREATE and UPDATE operations.
INVALID_EXCLUDED_CATEGORY The category requested for exclusion is invalid.
INVALID_KEYWORD_TEXT Invalid keyword criteria text.
KEYWORD_TEXT_TOO_LONG Keyword text should be less than 80 chars.
KEYWORD_HAS_TOO_MANY_WORDS Keyword text has too many words.
KEYWORD_HAS_INVALID_CHARS Keyword text has invalid characters or symbols.
INVALID_PLACEMENT_URL Invalid placement URL.
INVALID_USER_LIST Invalid user list criterion.
INVALID_USER_INTEREST Invalid user interest criterion.
INVALID_FORMAT_FOR_PLACEMENT_URL Placement URL has wrong format.
PLACEMENT_URL_IS_TOO_LONG Placement URL is too long.
PLACEMENT_URL_HAS_ILLEGAL_CHAR Indicates the URL contains an illegal character.
PLACEMENT_URL_HAS_MULTIPLE_SITES_IN_LINE Indicates the URL contains multiple comma separated URLs.
PLACEMENT_IS_NOT_AVAILABLE_FOR_TARGETING_OR_EXCLUSION Indicates the domain is blacklisted.
INVALID_TOPIC_PATH Invalid topic path.
INVALID_YOUTUBE_CHANNEL_ID The YouTube Channel Id is invalid.
INVALID_YOUTUBE_VIDEO_ID The YouTube Video Id is invalid.
YOUTUBE_VERTICAL_CHANNEL_DEPRECATED Indicates the placement is a YouTube vertical channel, which is no longer supported.
YOUTUBE_DEMOGRAPHIC_CHANNEL_DEPRECATED Indicates the placement is a YouTube demographic channel, which is no longer supported.
YOUTUBE_URL_UNSUPPORTED YouTube urls are not supported in Placement criterion. Use YouTubeChannel and YouTubeVideo criterion instead.
CANNOT_EXCLUDE_CRITERIA_TYPE Criteria type can not be excluded by the customer, like AOL account type cannot target site type criteria.
CANNOT_ADD_CRITERIA_TYPE Criteria type can not be targeted.
INVALID_PRODUCT_FILTER Product filter in the product criteria has invalid characters. Operand and the argument in the filter can not have "==" or "&+".
PRODUCT_FILTER_TOO_LONG Product filter in the product criteria is translated to a string as operand1==argument1&+operand2==argument2, maximum allowed length for the string is 255 chars.
CANNOT_EXCLUDE_SIMILAR_USER_LIST Not allowed to exclude similar user list.
CANNOT_ADD_CLOSED_USER_LIST Not allowed to target a closed user list.
CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_ONLY_CAMPAIGNS Not allowed to add display only UserLists to search only campaigns.
CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_CAMPAIGNS Not allowed to add display only UserLists to search plus campaigns.
CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SHOPPING_CAMPAIGNS Not allowed to add display only UserLists to shopping campaigns.
CANNOT_ADD_USER_INTERESTS_TO_SEARCH_CAMPAIGNS Not allowed to add User interests to search only campaigns.
CANNOT_SET_BIDS_ON_CRITERION_TYPE_IN_SEARCH_CAMPAIGNS Not allowed to set bids for this criterion type in search campaigns
CANNOT_ADD_URLS_TO_CRITERION_TYPE_FOR_CAMPAIGN_TYPE Final URLs, URL Templates and CustomParameters cannot be set for the criterion types of Gender, AgeRange, UserList, Placement, MobileApp, and MobileAppCategory in search campaigns and shopping campaigns.
INVALID_CUSTOM_AFFINITY Invalid custom affinity criterion.
INVALID_CUSTOM_INTENT Invalid custom intent criterion.
INVALID_IP_ADDRESS IP address is not valid.
INVALID_IP_FORMAT IP format is not valid.
INVALID_MOBILE_APP Mobile application is not valid.
INVALID_MOBILE_APP_CATEGORY Mobile application category is not valid.
INVALID_CRITERION_ID The CriterionId does not exist or is of the incorrect type.
CANNOT_TARGET_CRITERION The Criterion is not allowed to be targeted.
CANNOT_TARGET_OBSOLETE_CRITERION The criterion is not allowed to be targeted as it is deprecated.
CRITERION_ID_AND_TYPE_MISMATCH The CriterionId is not valid for the type.
INVALID_PROXIMITY_RADIUS Distance for the radius for the proximity criterion is invalid.
INVALID_PROXIMITY_RADIUS_UNITS Units for the distance for the radius for the proximity criterion is invalid.
INVALID_STREETADDRESS_LENGTH Street address in the address is not valid.
INVALID_CITYNAME_LENGTH City name in the address is not valid.
INVALID_REGIONCODE_LENGTH Region code in the address is not valid.
INVALID_REGIONNAME_LENGTH Region name in the address is not valid.
INVALID_POSTALCODE_LENGTH Postal code in the address is not valid.
INVALID_COUNTRY_CODE Country code in the address is not valid.
INVALID_LATITUDE Latitude for the GeoPoint is not valid.
INVALID_LONGITUDE Longitude for the GeoPoint is not valid.
PROXIMITY_GEOPOINT_AND_ADDRESS_BOTH_CANNOT_BE_NULL The Proximity input is not valid. Both address and geoPoint cannot be null.
INVALID_PROXIMITY_ADDRESS The Proximity address cannot be geocoded to a valid lat/long.
INVALID_USER_DOMAIN_NAME User domain name is not valid.
CRITERION_PARAMETER_TOO_LONG Length of serialized criterion parameter exceeded size limit.
AD_SCHEDULE_TIME_INTERVALS_OVERLAP Time interval in the AdSchedule overlaps with another AdSchedule.
AD_SCHEDULE_INTERVAL_CANNOT_SPAN_MULTIPLE_DAYS AdSchedule time interval cannot span multiple days.
AD_SCHEDULE_INVALID_TIME_INTERVAL AdSchedule time interval specified is invalid, endTime cannot be earlier than startTime.
AD_SCHEDULE_EXCEEDED_INTERVALS_PER_DAY_LIMIT The number of AdSchedule entries in a day exceeds the limit.
AD_SCHEDULE_CRITERION_ID_MISMATCHING_FIELDS CriteriaId does not match the interval of the AdSchedule specified.
CANNOT_BID_MODIFY_CRITERION_TYPE Cannot set bid modifier for this criterion type.
CANNOT_BID_MODIFY_CRITERION_CAMPAIGN_OPTED_OUT Cannot bid modify criterion, since it is opted out of the campaign.
CANNOT_BID_MODIFY_NEGATIVE_CRITERION Cannot set bid modifier for a negative criterion.
BID_MODIFIER_ALREADY_EXISTS Bid Modifier already exists. Use SET operation to update.
FEED_ID_NOT_ALLOWED Feed Id is not allowed in these Location Groups.
ACCOUNT_INELIGIBLE_FOR_CRITERIA_TYPE The account may not use the requested criteria type. For example, some accounts are restricted to keywords only.
CRITERIA_TYPE_INVALID_FOR_BIDDING_STRATEGY The requested criteria type cannot be used with campaign or ad group bidding strategy.
CANNOT_EXCLUDE_CRITERION The Criterion is not allowed to be excluded.
CANNOT_REMOVE_CRITERION The criterion is not allowed to be removed. For example, we cannot remove any of the device criterion.
PRODUCT_SCOPE_TOO_LONG The combined length of product dimension values of the product scope criterion is too long.
PRODUCT_SCOPE_TOO_MANY_DIMENSIONS Product scope contains too many dimensions.
PRODUCT_PARTITION_TOO_LONG The combined length of product dimension values of the product partition criterion is too long.
PRODUCT_PARTITION_TOO_MANY_DIMENSIONS Product partition contains too many dimensions.
INVALID_PRODUCT_DIMENSION The product dimension is invalid (e.g. dimension contains illegal value, dimension type is represented with wrong class, etc). Product dimension value can not contain "==" or "&+".
INVALID_PRODUCT_DIMENSION_TYPE Product dimension type is either invalid for campaigns of this type or cannot be used in the current context. BIDDING_CATEGORY_Lx and PRODUCT_TYPE_Lx product dimensions must be used in ascending order of their levels: L1, L2, L3, L4, L5... The levels must be specified sequentially and start from L1. Furthermore, an "others" product partition cannot be subdivided with a dimension of the same type but of a higher level ("others" BIDDING_CATEGORY_L3 can be subdivided with BRAND but not with BIDDING_CATEGORY_L4).
INVALID_PRODUCT_BIDDING_CATEGORY Bidding categories do not form a valid path in the Shopping bidding category taxonomy.
MISSING_SHOPPING_SETTING ShoppingSetting must be added to the campaign before ProductScope criteria can be added.
INVALID_MATCHING_FUNCTION Matching function is invalid.
LOCATION_FILTER_NOT_ALLOWED Filter parameters not allowed for location groups targeting.
INVALID_FEED_FOR_LOCATION_FILTER Feed not found, or the feed is not an enabled location feed.
LOCATION_FILTER_INVALID Given location filter parameter is invalid for location groups targeting.
CANNOT_ATTACH_CRITERIA_AT_CAMPAIGN_AND_ADGROUP Criteria type cannot be associated with a campaign and its ad group(s) simultaneously.
HOTEL_LENGTH_OF_STAY_OVERLAPS_WITH_EXISTING_CRITERION Range represented by hotel length of stay's min nights and max nights overlaps with an existing criterion.
HOTEL_ADVANCE_BOOKING_WINDOW_OVERLAPS_WITH_EXISTING_CRITERION Range represented by hotel advance booking window's min days and max days overlaps with an existing criterion.
FIELD_INCOMPATIBLE_WITH_NEGATIVE_TARGETING The field is not allowed to be set when the negative field is set to true, e.g. we don't allow bids in negative ad group or campaign criteria.
INVALID_WEBPAGE_CONDITION The combination of operand and operator in webpage condition is invalid.
INVALID_WEBPAGE_CONDITION_URL The URL of webpage condition is invalid.
WEBPAGE_CONDITION_URL_CANNOT_BE_EMPTY The URL of webpage condition cannot be empty or contain white space.
WEBPAGE_CONDITION_URL_UNSUPPORTED_PROTOCOL The URL of webpage condition contains an unsupported protocol.
WEBPAGE_CONDITION_URL_CANNOT_BE_IP_ADDRESS The URL of webpage condition cannot be an IP address.
WEBPAGE_CONDITION_URL_DOMAIN_NOT_CONSISTENT_WITH_CAMPAIGN_SETTING The domain of the URL is not consistent with the domain in campaign setting.
WEBPAGE_CONDITION_URL_CANNOT_BE_PUBLIC_SUFFIX The URL of webpage condition cannot be a public suffix itself.
WEBPAGE_CONDITION_URL_INVALID_PUBLIC_SUFFIX The URL of webpage condition has an invalid public suffix.
WEBPAGE_CONDITION_URL_VALUE_TRACK_VALUE_NOT_SUPPORTED Value track parameter is not supported in webpage condition URL.
WEBPAGE_CRITERION_URL_EQUALS_CAN_HAVE_ONLY_ONE_CONDITION Only one URL-EQUALS webpage condition is allowed in a webpage criterion and it cannot be combined with other conditions.
WEBPAGE_CRITERION_NOT_SUPPORTED_ON_NON_DSA_AD_GROUP A webpage criterion cannot be added to a non-DSA ad group.

CurrencyCodeErrorEnum

Container for enum describing possible currency code errors.

CurrencyCodeError

Enum describing possible currency code errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
UNSUPPORTED The currency code is not supported.

CustomInterestErrorEnum

Container for enum describing possible custom interest errors.

CustomInterestError

Enum describing possible custom interest errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
NAME_ALREADY_USED Duplicate custom interest name ignoring case.
CUSTOM_INTEREST_MEMBER_ID_AND_TYPE_PARAMETER_NOT_PRESENT_IN_REMOVE In the remove custom interest member operation, both member ID and pair [type, parameter] are not present.
TYPE_AND_PARAMETER_NOT_FOUND The pair of [type, parameter] does not exist.
TYPE_AND_PARAMETER_ALREADY_EXISTED The pair of [type, parameter] already exists.
INVALID_CUSTOM_INTEREST_MEMBER_TYPE Unsupported custom interest member type.
CANNOT_REMOVE_WHILE_IN_USE Cannot remove a custom interest while it's still being targeted.
CANNOT_CHANGE_TYPE Cannot mutate custom interest type.

CustomerClientLinkErrorEnum

Container for enum describing possible CustomeClientLink errors.

CustomerClientLinkError

Enum describing possible CustomerClientLink errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
CLIENT_ALREADY_INVITED_BY_THIS_MANAGER Trying to manage a client that already in being managed by customer.
CLIENT_ALREADY_MANAGED_IN_HIERARCHY Already managed by some other manager in the hierarchy.
CUSTOMER_HAS_TOO_MANY_ACCOUNTS Managed accounts has the maximum number of linked accounts.
CLIENT_HAS_TOO_MANY_INVITATIONS Invitor has the maximum pending invitations.
CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS Attempt to change hidden status of a link that is not active.
CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER Parent manager account has the maximum number of linked accounts.

CustomerErrorEnum

Container for enum describing possible customer errors.

CustomerError

Set of errors that are related to requests dealing with Customer. Next id: 26

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
STATUS_CHANGE_DISALLOWED Customer status is not allowed to be changed from DRAFT and CLOSED. Currency code and at least one of country code and time zone needs to be set when status is changed to ENABLED.
ACCOUNT_NOT_SET_UP CustomerService cannot get a customer that has not been fully set up.

CustomerFeedErrorEnum

Container for enum describing possible customer feed errors.

CustomerFeedError

Enum describing possible customer feed errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE An active feed already exists for this customer and place holder type.
CANNOT_CREATE_FOR_REMOVED_FEED The specified feed is removed.
CANNOT_CREATE_ALREADY_EXISTING_CUSTOMER_FEED The CustomerFeed already exists. Update should be used to modify the existing CustomerFeed.
CANNOT_MODIFY_REMOVED_CUSTOMER_FEED Cannot update removed customer feed.
INVALID_PLACEHOLDER_TYPE Invalid placeholder type.
MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE Feed mapping for this placeholder type does not exist.
PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED Placeholder not allowed at the account level.

CustomerManagerLinkErrorEnum

Container for enum describing possible CustomerManagerLink errors.

CustomerManagerLinkError

Enum describing possible CustomerManagerLink errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
NO_PENDING_INVITE No pending invitation.
SAME_CLIENT_MORE_THAN_ONCE_PER_CALL Attempt to operate on the same client more than once in the same call.
MANAGER_HAS_MAX_NUMBER_OF_LINKED_ACCOUNTS Manager account has the maximum number of linked accounts.
CANNOT_REMOVE_LAST_CLIENT_ACCOUNT_OWNER Account should have at least one active owner on it before being unlinked.
CANNOT_CHANGE_ROLE_BY_NON_ACCOUNT_OWNER Only account owners may change their permission role.
DUPLICATE_CHILD_FOUND Attempt to link a child to a parent that contains or will contain duplicate children.

DatabaseErrorEnum

Container for enum describing possible database errors.

DatabaseError

Enum describing possible database errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
CONCURRENT_MODIFICATION Multiple requests were attempting to modify the same resource at once. Please retry the request.
DATA_CONSTRAINT_VIOLATION The request conflicted with existing data. This error will usually be replaced with a more specific error if the request is retried.

DateErrorEnum

Container for enum describing possible date errors.

DateError

Enum describing possible date errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
INVALID_FIELD_VALUES_IN_DATE Given field values do not correspond to a valid date.
INVALID_FIELD_VALUES_IN_DATE_TIME Given field values do not correspond to a valid date time.
INVALID_STRING_DATE The string date's format should be yyyy-mm-dd.
INVALID_STRING_DATE_TIME_MICROS The string date time's format should be yyyy-mm-dd hh:mm:ss.ssssss.
INVALID_STRING_DATE_TIME_SECONDS The string date time's format should be yyyy-mm-dd hh:mm:ss.
INVALID_STRING_DATE_TIME_SECONDS_WITH_OFFSET The string date time's format should be yyyy-mm-dd hh:mm:ss+|-hh:mm.
EARLIER_THAN_MINIMUM_DATE Date is before allowed minimum.
LATER_THAN_MAXIMUM_DATE Date is after allowed maximum.
DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE Date range bounds are not in order.
DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL Both dates in range are null.

DateRangeErrorEnum

Container for enum describing possible date range errors.

DateRangeError

Enum describing possible date range errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
INVALID_DATE Invalid date.
START_DATE_AFTER_END_DATE The start date was after the end date.
CANNOT_SET_DATE_TO_PAST Cannot set date to past time
AFTER_MAXIMUM_ALLOWABLE_DATE A date was used that is past the system "last" date.
CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED Trying to change start date on a resource that has started.

DistinctErrorEnum

Container for enum describing possible distinct errors.

DistinctError

Enum describing possible distinct errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
DUPLICATE_ELEMENT Duplicate element.
DUPLICATE_TYPE Duplicate type.

EnumErrorEnum

Container for enum describing possible enum errors.

EnumError

Enum describing possible enum errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
ENUM_VALUE_NOT_PERMITTED The enum value is not permitted.

ErrorCode

The error reason represented by type and enum.

Fields
Union field error_code. The list of error enums error_code can be only one of the following:
request_error

RequestError

An error caused by the request

bidding_strategy_error

BiddingStrategyError

An error with a Bidding Strategy mutate.

url_field_error

UrlFieldError

An error with a URL field mutate.

list_operation_error

ListOperationError

An error with a list operation.

query_error

QueryError

An error with an AWQL query

mutate_error

MutateError

An error with a mutate

field_mask_error

FieldMaskError

An error with a field mask

authorization_error

AuthorizationError

An error encountered when trying to authorize a user.

internal_error

InternalError

An unexpected server-side error.

quota_error

QuotaError

An error with the amonut of quota remaining.

ad_error

AdError

An error with an Ad Group Ad mutate.

ad_group_error

AdGroupError

An error with an Ad Group mutate.

campaign_budget_error

CampaignBudgetError

An error with a Campaign Budget mutate.

campaign_error

CampaignError

An error with a Campaign mutate.

authentication_error

AuthenticationError

Indicates failure to properly authenticate user.

ad_group_criterion_error

AdGroupCriterionError

Indicates failure to properly authenticate user.

ad_customizer_error

AdCustomizerError

The reasons for the ad customizer error

ad_group_ad_error

AdGroupAdError

The reasons for the ad group ad error

ad_sharing_error

AdSharingError

The reasons for the ad sharing error

adx_error

AdxError

The reasons for the adx error

asset_error

AssetError

The reasons for the asset error

bidding_error

BiddingError

The reasons for the bidding errors

campaign_criterion_error

CampaignCriterionError

The reasons for the campaign criterion error

collection_size_error

CollectionSizeError

The reasons for the collection size error

country_code_error

CountryCodeError

The reasons for the country code error

criterion_error

CriterionError

The reasons for the criterion error

customer_error

CustomerError

The reasons for the customer error

date_error

DateError

The reasons for the date error

date_range_error

DateRangeError

The reasons for the date range error

distinct_error

DistinctError

The reasons for the distinct error

feed_attribute_reference_error

FeedAttributeReferenceError

The reasons for the feed attribute reference error

function_error

FunctionError

The reasons for the function error

function_parsing_error

FunctionParsingError

The reasons for the function parsing error

id_error

IdError

The reasons for the id error

image_error

ImageError

The reasons for the image error

language_code_error

LanguageCodeError

The reasons for the language code error

media_bundle_error

MediaBundleError

The reasons for the media bundle error

media_upload_error

MediaUploadError

The reasons for media uploading errors.

media_file_error

MediaFileError

The reasons for the media file error

multiplier_error

MultiplierError

The reasons for the multiplier error

new_resource_creation_error

NewResourceCreationError

The reasons for the new resource creation error

not_empty_error

NotEmptyError

The reasons for the not empty error

null_error

NullError

The reasons for the null error

operator_error

OperatorError

The reasons for the operator error

range_error

RangeError

The reasons for the range error

recommendation_error

RecommendationError

The reasons for error in applying a recommendation

region_code_error

RegionCodeError

The reasons for the region code error

setting_error

SettingError

The reasons for the setting error

string_format_error

StringFormatError

The reasons for the string format error

string_length_error

StringLengthError

The reasons for the string length error

operation_access_denied_error

OperationAccessDeniedError

The reasons for the operation access denied error

resource_access_denied_error

ResourceAccessDeniedError

The reasons for the resource access denied error

resource_count_limit_exceeded_error

ResourceCountLimitExceededError

The reasons for the resource count limit exceeded error

youtube_video_registration_error

YoutubeVideoRegistrationError

The reasons for YouTube video registration errors.

ad_group_bid_modifier_error

AdGroupBidModifierError

The reasons for the ad group bid modifier error

context_error

ContextError

The reasons for the context error

field_error

FieldError

The reasons for the field error

shared_set_error

SharedSetError

The reasons for the shared set error

shared_criterion_error

SharedCriterionError

The reasons for the shared criterion error

campaign_shared_set_error

CampaignSharedSetError

The reasons for the campaign shared set error

conversion_action_error

ConversionActionError

The reasons for the conversion action error

conversion_adjustment_upload_error

ConversionAdjustmentUploadError

The reasons for the conversion adjustment upload error

conversion_upload_error

ConversionUploadError

The reasons for the conversion upload error

header_error

HeaderError

The reasons for the header error.

database_error

DatabaseError

The reasons for the database error.

policy_finding_error

PolicyFindingError

The reasons for the policy finding error.

enum_error

EnumError

The reason for enum error.

keyword_plan_error

KeywordPlanError

The reason for keyword plan error.

keyword_plan_campaign_error

KeywordPlanCampaignError

The reason for keyword plan campaign error.

keyword_plan_negative_keyword_error

KeywordPlanNegativeKeywordError

The reason for keyword plan negative keyword error.

keyword_plan_ad_group_error

KeywordPlanAdGroupError

The reason for keyword plan ad group error.

keyword_plan_keyword_error

KeywordPlanKeywordError

The reason for keyword plan keyword error.

keyword_plan_idea_error

KeywordPlanIdeaError

The reason for keyword idea error.

account_budget_proposal_error

AccountBudgetProposalError

The reasons for account budget proposal errors.

user_list_error

UserListError

The reasons for the user list error

change_status_error

ChangeStatusError

The reasons for the change status error

feed_error

FeedError

The reasons for the feed error

geo_target_constant_suggestion_error

GeoTargetConstantSuggestionError

The reasons for the geo target constant suggestion error.

campaign_draft_error

CampaignDraftError

The reasons for the campaign draft error

feed_item_error

FeedItemError

The reasons for the feed item error

label_error

LabelError

The reason for the label error.

billing_setup_error

BillingSetupError

The reasons for the billing setup error

feed_mapping_error

FeedMappingError

The reasons for the feed mapping error

customer_feed_error

CustomerFeedError

The reasons for the customer feed error

ad_group_feed_error

AdGroupFeedError

The reasons for the ad group feed error

campaign_feed_error

CampaignFeedError

The reasons for the campaign feed error

custom_interest_error

CustomInterestError

The reasons for the custom interest error

campaign_experiment_error

CampaignExperimentError

The reasons for the campaign experiment error

extension_feed_item_error

ExtensionFeedItemError

The reasons for the extension feed item error

ad_parameter_error

AdParameterError

The reasons for the ad parameter error

feed_item_validation_error

FeedItemValidationError

The reasons for the feed item validation error

extension_setting_error

ExtensionSettingError

The reasons for the extension setting error

feed_item_target_error

FeedItemTargetError

The reasons for the feed item target error

policy_violation_error

PolicyViolationError

The reasons for the policy violation error

mutate_job_error

MutateJobError

The reasons for the mutate job error

partial_failure_error

PartialFailureError

The reasons for the mutate job error

policy_validation_parameter_error

PolicyValidationParameterError

The reasons for the policy validation parameter error

size_limit_error

SizeLimitError

The reasons for the size limit error

not_whitelisted_error

NotWhitelistedError

The reasons for the not whitelisted error

currency_code_error

CurrencyCodeError

The reasons for the currency code error

access_invitation_error

AccessInvitationError

The reasons for the access invitation error

reach_plan_error

ReachPlanError

The reasons for the reach plan error

ErrorDetails

Additional error details.

Fields
unpublished_error_code

string

The error code that should have been returned, but wasn't. This is used when the error code is InternalError.ERROR_CODE_NOT_PUBLISHED.

policy_violation_details

PolicyViolationDetails

Describes an ad policy violation.

policy_finding_details

PolicyFindingDetails

Describes policy violation findings.

ErrorLocation

Describes the part of the request proto that caused the error.

Fields
field_path_elements[]

FieldPathElement

A field path that indicates which field was invalid in the request.

FieldPathElement

A part of a field path.

Fields
field_name

string

The name of a field or a oneof

index

Int64Value

If field_name is a repeated field, this is the element that failed

ExtensionFeedItemErrorEnum

Container for enum describing possible extension feed item error.

ExtensionFeedItemError

Enum describing possible extension feed item errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
VALUE_OUT_OF_RANGE Value is not within the accepted range.
URL_LIST_TOO_LONG Url list is too long.
CANNOT_HAVE_RESTRICTION_ON_EMPTY_GEO_TARGETING Cannot have a geo targeting restriction without having geo targeting.
CANNOT_SET_WITH_FINAL_URLS Cannot simultaneously set sitelink field with final urls.
CANNOT_SET_WITHOUT_FINAL_URLS Must set field with final urls.
INVALID_PHONE_NUMBER Phone number for a call extension is invalid.
PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY Phone number for a call extension is not supported for the given country code.
CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED A carrier specific number in short format is not allowed for call extensions.
PREMIUM_RATE_NUMBER_NOT_ALLOWED Premium rate numbers are not allowed for call extensions.
DISALLOWED_NUMBER_TYPE Phone number type for a call extension is not allowed. For example, personal number is not allowed for a call extension in most regions.
INVALID_DOMESTIC_PHONE_NUMBER_FORMAT Phone number for a call extension does not meet domestic format requirements.
VANITY_PHONE_NUMBER_NOT_ALLOWED Vanity phone numbers (i.e. those including letters) are not allowed for call extensions.
INVALID_CALL_CONVERSION_ACTION Call conversion action provided for a call extension is invalid.
CUSTOMER_NOT_WHITELISTED_FOR_CALLTRACKING For a call extension, the customer is not whitelisted for call tracking.
CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY Call tracking is not supported for the given country for a call extension.
INVALID_APP_ID App id provided for an app extension is invalid.
QUOTES_IN_REVIEW_EXTENSION_SNIPPET Quotation marks present in the review text for a review extension.
HYPHENS_IN_REVIEW_EXTENSION_SNIPPET Hyphen character present in the review text for a review extension.
REVIEW_EXTENSION_SOURCE_INELIGIBLE A blacklisted review source name or url was provided for a review extension.
SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT Review source name should not be found in the review text.
INCONSISTENT_CURRENCY_CODES Inconsistent currency codes.
PRICE_EXTENSION_HAS_DUPLICATED_HEADERS Price extension cannot have duplicated headers.
PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION Price item cannot have duplicated header and description.
PRICE_EXTENSION_HAS_TOO_FEW_ITEMS Price extension has too few items.
PRICE_EXTENSION_HAS_TOO_MANY_ITEMS Price extension has too many items.
UNSUPPORTED_VALUE The input value is not currently supported.
UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE The input value is not currently supported in the selected language of an extension.
INVALID_DEVICE_PREFERENCE Unknown or unsupported device preference.
INVALID_SCHEDULE_END Invalid feed item schedule end time (i.e., endHour = 24 and endMinute != 0).
DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE Date time zone does not match the account's time zone.
INVALID_SNIPPETS_HEADER Invalid structured snippet header.
CANNOT_OPERATE_ON_REMOVED_FEED_ITEM Cannot operate on removed feed item.
PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY Phone number not supported when call tracking enabled for country.
CONFLICTING_CALL_CONVERSION_SETTINGS Cannot set call_conversion_action while call_conversion_tracking_enabled is set to true.
EXTENSION_TYPE_MISMATCH The type of the input extension feed item doesn't match the existing extension feed item.
EXTENSION_SUBTYPE_REQUIRED The oneof field extension i.e. subtype of extension feed item is required.
EXTENSION_TYPE_UNSUPPORTED The referenced feed item is not mapped to a supported extension type.
CANNOT_OPERATE_ON_FEED_WITH_MULTIPLE_MAPPINGS Cannot operate on a Feed with more than one active FeedMapping.
CANNOT_OPERATE_ON_FEED_WITH_KEY_ATTRIBUTES Cannot operate on a Feed that has key attributes.
INVALID_PRICE_FORMAT Input price is not in a valid format.
PROMOTION_INVALID_TIME The promotion time is invalid.
TOO_MANY_DECIMAL_PLACES_SPECIFIED This field has too many decimal places specified.

ExtensionSettingErrorEnum

Container for enum describing validation errors of extension settings.

ExtensionSettingError

Enum describing possible extension setting errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
EXTENSIONS_REQUIRED A platform restriction was provided without input extensions or existing extensions.
FEED_TYPE_EXTENSION_TYPE_MISMATCH The provided feed type does not correspond to the provided extensions.
INVALID_FEED_TYPE The provided feed type cannot be used.
INVALID_FEED_TYPE_FOR_CUSTOMER_EXTENSION_SETTING The provided feed type cannot be used at the customer level.
CANNOT_CHANGE_FEED_ITEM_ON_CREATE Cannot change a feed item field on a CREATE operation.
CANNOT_UPDATE_NEWLY_CREATED_EXTENSION Cannot update an extension that is not already in this setting.
NO_EXISTING_AD_GROUP_EXTENSION_SETTING_FOR_TYPE There is no existing AdGroupExtensionSetting for this type.
NO_EXISTING_CAMPAIGN_EXTENSION_SETTING_FOR_TYPE There is no existing CampaignExtensionSetting for this type.
NO_EXISTING_CUSTOMER_EXTENSION_SETTING_FOR_TYPE There is no existing CustomerExtensionSetting for this type.
AD_GROUP_EXTENSION_SETTING_ALREADY_EXISTS The AdGroupExtensionSetting already exists. UPDATE should be used to modify the existing AdGroupExtensionSetting.
CAMPAIGN_EXTENSION_SETTING_ALREADY_EXISTS The CampaignExtensionSetting already exists. UPDATE should be used to modify the existing CampaignExtensionSetting.
CUSTOMER_EXTENSION_SETTING_ALREADY_EXISTS The CustomerExtensionSetting already exists. UPDATE should be used to modify the existing CustomerExtensionSetting.
AD_GROUP_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE An active ad group feed already exists for this place holder type.
CAMPAIGN_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE An active campaign feed already exists for this place holder type.
CUSTOMER_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE An active customer feed already exists for this place holder type.
VALUE_OUT_OF_RANGE Value is not within the accepted range.
CANNOT_SET_FIELD_WITH_FINAL_URLS Cannot simultaneously set specified field with final urls.
FINAL_URLS_NOT_SET Must set field with final urls.
INVALID_PHONE_NUMBER Phone number for a call extension is invalid.
PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY Phone number for a call extension is not supported for the given country code.
CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED A carrier specific number in short format is not allowed for call extensions.
PREMIUM_RATE_NUMBER_NOT_ALLOWED Premium rate numbers are not allowed for call extensions.
DISALLOWED_NUMBER_TYPE Phone number type for a call extension is not allowed.
INVALID_DOMESTIC_PHONE_NUMBER_FORMAT Phone number for a call extension does not meet domestic format requirements.
VANITY_PHONE_NUMBER_NOT_ALLOWED Vanity phone numbers (i.e. those including letters) are not allowed for call extensions.
INVALID_COUNTRY_CODE Country code provided for a call extension is invalid.
INVALID_CALL_CONVERSION_TYPE_ID Call conversion type id provided for a call extension is invalid.
CUSTOMER_NOT_WHITELISTED_FOR_CALLTRACKING For a call extension, the customer is not whitelisted for call tracking.
CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY Call tracking is not supported for the given country for a call extension.
INVALID_APP_ID App id provided for an app extension is invalid.
QUOTES_IN_REVIEW_EXTENSION_SNIPPET Quotation marks present in the review text for a review extension.
HYPHENS_IN_REVIEW_EXTENSION_SNIPPET Hyphen character present in the review text for a review extension.
REVIEW_EXTENSION_SOURCE_NOT_ELIGIBLE A blacklisted review source name or url was provided for a review extension.
SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT Review source name should not be found in the review text.
MISSING_FIELD Field must be set.
INCONSISTENT_CURRENCY_CODES Inconsistent currency codes.
PRICE_EXTENSION_HAS_DUPLICATED_HEADERS Price extension cannot have duplicated headers.
PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION Price item cannot have duplicated header and description.
PRICE_EXTENSION_HAS_TOO_FEW_ITEMS Price extension has too few items
PRICE_EXTENSION_HAS_TOO_MANY_ITEMS Price extension has too many items
UNSUPPORTED_VALUE The input value is not currently supported.
INVALID_DEVICE_PREFERENCE Unknown or unsupported device preference.
INVALID_SCHEDULE_END Invalid feed item schedule end time (i.e., endHour = 24 and endMinute != 0).
DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE Date time zone does not match the account's time zone.
OVERLAPPING_SCHEDULES_NOT_ALLOWED Overlapping feed item schedule times (e.g., 7-10AM and 8-11AM) are not allowed.
SCHEDULE_END_NOT_AFTER_START Feed item schedule end time must be after start time.
TOO_MANY_SCHEDULES_PER_DAY There are too many feed item schedules per day.
DUPLICATE_EXTENSION_FEED_ITEM_EDIT Cannot edit the same extension feed item more than once in the same request.
INVALID_SNIPPETS_HEADER Invalid structured snippet header.
PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY Phone number with call tracking enabled is not supported for the specified country.
CAMPAIGN_TARGETING_MISMATCH The targeted adgroup must belong to the targeted campaign.
CANNOT_OPERATE_ON_REMOVED_FEED The feed used by the ExtensionSetting is removed and cannot be operated on. Remove the ExtensionSetting to allow a new one to be created using an active feed.
EXTENSION_TYPE_REQUIRED The ExtensionFeedItem type is required for this operation.
INCOMPATIBLE_UNDERLYING_MATCHING_FUNCTION The matching function that links the extension feed to the customer, campaign, or ad group is not compatible with the ExtensionSetting services.
START_DATE_AFTER_END_DATE Start date must be before end date.
INVALID_PRICE_FORMAT Input price is not in a valid format.
PROMOTION_INVALID_TIME The promotion time is invalid.
PROMOTION_CANNOT_SET_PERCENT_DISCOUNT_AND_MONEY_DISCOUNT Cannot set both percent discount and money discount fields.
PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT Cannot set both promotion code and orders over amount fields.
TOO_MANY_DECIMAL_PLACES_SPECIFIED This field has too many decimal places specified.
INVALID_LANGUAGE_CODE The language code is not valid.
UNSUPPORTED_LANGUAGE The language is not supported.
EXTENSION_SETTING_UPDATE_IS_A_NOOP The UPDATE operation does not specify any fields other than the resource name in the update mask.

FeedAttributeReferenceErrorEnum

Container for enum describing possible feed attribute reference errors.

FeedAttributeReferenceError

Enum describing possible feed attribute reference errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
CANNOT_REFERENCE_REMOVED_FEED A feed referenced by ID has been removed.
INVALID_FEED_NAME There is no enabled feed with the given name.
INVALID_FEED_ATTRIBUTE_NAME There is no feed attribute in an enabled feed with the given name.

FeedErrorEnum

Container for enum describing possible feed errors.

FeedError

Enum describing possible feed errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
ATTRIBUTE_NAMES_NOT_UNIQUE The names of the FeedAttributes must be unique.
ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES The attribute list must be an exact copy of the existing list if the attribute ID's are present.
CANNOT_SPECIFY_USER_ORIGIN_FOR_SYSTEM_FEED Cannot specify USER origin for a system generated feed.
CANNOT_SPECIFY_GOOGLE_ORIGIN_FOR_NON_SYSTEM_FEED Cannot specify GOOGLE origin for a non-system generated feed.
CANNOT_SPECIFY_FEED_ATTRIBUTES_FOR_SYSTEM_FEED Cannot specify feed attributes for system feed.
CANNOT_UPDATE_FEED_ATTRIBUTES_WITH_ORIGIN_GOOGLE Cannot update FeedAttributes on feed with origin GOOGLE.
FEED_REMOVED The given ID refers to a removed Feed. Removed Feeds are immutable.
INVALID_ORIGIN_VALUE The origin of the feed is not valid for the client.
FEED_ORIGIN_IS_NOT_USER A user can only create and modify feeds with USER origin.
INVALID_AUTH_TOKEN_FOR_EMAIL Invalid auth token for the given email.
INVALID_EMAIL Invalid email specified.
DUPLICATE_FEED_NAME Feed name matches that of another active Feed.
INVALID_FEED_NAME Name of feed is not allowed.
MISSING_OAUTH_INFO Missing OAuthInfo.
NEW_ATTRIBUTE_CANNOT_BE_PART_OF_UNIQUE_KEY New FeedAttributes must not affect the unique key.
TOO_MANY_ATTRIBUTES Too many FeedAttributes for a Feed.
INVALID_BUSINESS_ACCOUNT The business account is not valid.
BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT Business account cannot access Google My Business account.
INVALID_AFFILIATE_CHAIN_ID Invalid chain ID provided for affiliate location feed.
DUPLICATE_SYSTEM_FEED There is already a feed with the given system feed generation data.

FeedItemErrorEnum

Container for enum describing possible feed item errors.

FeedItemError

Enum describing possible feed item errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
CANNOT_CONVERT_ATTRIBUTE_VALUE_FROM_STRING Cannot convert the feed attribute value from string to its real type.
CANNOT_OPERATE_ON_REMOVED_FEED_ITEM Cannot operate on removed feed item.
DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE Date time zone does not match the account's time zone.
KEY_ATTRIBUTES_NOT_FOUND Feed item with the key attributes could not be found.
INVALID_URL Url feed attribute value is not valid.
MISSING_KEY_ATTRIBUTES Some key attributes are missing.
KEY_ATTRIBUTES_NOT_UNIQUE Feed item has same key attributes as another feed item.
CANNOT_MODIFY_KEY_ATTRIBUTE_VALUE Cannot modify key attributes on an existing feed item.
SIZE_TOO_LARGE_FOR_MULTI_VALUE_ATTRIBUTE The feed attribute value is too large.

FeedItemTargetErrorEnum

Container for enum describing possible feed item target errors.

FeedItemTargetError

Enum describing possible feed item target errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
MUST_SET_TARGET_ONEOF_ON_CREATE On CREATE, the FeedItemTarget must have a populated field in the oneof target.
FEED_ITEM_TARGET_ALREADY_EXISTS The specified feed item target already exists, so it cannot be added.
FEED_ITEM_SCHEDULES_CANNOT_OVERLAP The schedules for a given feed item cannot overlap.
TARGET_LIMIT_EXCEEDED_FOR_GIVEN_TYPE Too many targets of a given type were added for a single feed item.
TOO_MANY_SCHEDULES_PER_DAY Too many AdSchedules are enabled for the feed item for the given day.
CANNOT_HAVE_ENABLED_CAMPAIGN_AND_ENABLED_AD_GROUP_TARGETS A feed item may either have an enabled campaign target or an enabled ad group target.
DUPLICATE_AD_SCHEDULE Duplicate ad schedules aren't allowed.
DUPLICATE_KEYWORD Duplicate keywords aren't allowed.

FeedItemValidationErrorEnum

Container for enum describing possible validation errors of a feed item.

FeedItemValidationError

The possible validation errors of a feed item.

Enums
UNSPECIFIED No value has been specified.
UNKNOWN Used for return value only. Represents value unknown in this version.
STRING_TOO_SHORT String is too short.
STRING_TOO_LONG String is too long.
VALUE_NOT_SPECIFIED Value is not provided.
INVALID_DOMESTIC_PHONE_NUMBER_FORMAT Phone number format is invalid for region.
INVALID_PHONE_NUMBER String does not represent a phone number.
PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY Phone number format is not compatible with country code.
PREMIUM_RATE_NUMBER_NOT_ALLOWED Premium rate number is not allowed.
DISALLOWED_NUMBER_TYPE Phone number type is not allowed.
VALUE_OUT_OF_RANGE Specified value is outside of the valid range.
CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY Call tracking is not supported in the selected country.
CUSTOMER_NOT_WHITELISTED_FOR_CALLTRACKING Customer is not whitelisted for call tracking.
INVALID_COUNTRY_CODE Country code is invalid.
INVALID_APP_ID The specified mobile app id is invalid.
MISSING_ATTRIBUTES_FOR_FIELDS Some required field attributes are missing.
INVALID_TYPE_ID Invalid email button type for email extension.
INVALID_EMAIL_ADDRESS Email address is invalid.
INVALID_HTTPS_URL The HTTPS URL in email extension is invalid.
MISSING_DELIVERY_ADDRESS Delivery address is missing from email extension.
START_DATE_AFTER_END_DATE FeedItem scheduling start date comes after end date.
MISSING_FEED_ITEM_START_TIME FeedItem scheduling start time is missing.
MISSING_FEED_ITEM_END_TIME FeedItem scheduling end time is missing.
MISSING_FEED_ITEM_ID Cannot compute system attributes on a FeedItem that has no FeedItemId.
VANITY_PHONE_NUMBER_NOT_ALLOWED Call extension vanity phone numbers are not supported.
INVALID_REVIEW_EXTENSION_SNIPPET Invalid review text.
INVALID_NUMBER_FORMAT Invalid format for numeric value in ad parameter.
INVALID_DATE_FORMAT Invalid format for date value in ad parameter.
INVALID_PRICE_FORMAT Invalid format for price value in ad parameter.
UNKNOWN_PLACEHOLDER_FIELD Unrecognized type given for value in ad parameter.
REVIEW_EXTENSION_SOURCE_INELIGIBLE Review source is ineligible.
HYPHENS_IN_REVIEW_EXTENSION_SNIPPET Review text cannot contain hyphens or dashes.
DOUBLE_QUOTES_IN_REVIEW_EXTENSION_SNIPPET Review text cannot contain double quote characters.
QUOTES_IN_REVIEW_EXTENSION_SNIPPET Review text cannot contain quote characters.
INVALID_FORM_ENCODED_PARAMS Parameters are encoded in the wrong format.
INVALID_URL_PARAMETER_NAME URL parameter name must contain only letters, numbers, underscores, and dashes.
NO_GEOCODING_RESULT Cannot find address location.
SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT Review extension text has source name.
CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED Some phone numbers can be shorter than usual. Some of these short numbers are carrier-specific, and we disallow those in ad extensions because they will not be available to all users.
INVALID_PLACEHOLDER_FIELD_ID Triggered when a request references a placeholder field id that does not exist.
INVALID_URL_TAG URL contains invalid ValueTrack tags or format.
LIST_TOO_LONG Provided list exceeds acceptable size.
INVALID_ATTRIBUTES_COMBINATION Certain combinations of attributes aren't allowed to be specified in the same feed item.
DUPLICATE_VALUES An attribute has the same value repeatedly.
INVALID_CALL_CONVERSION_ACTION_ID Advertisers can link a conversion action with a phone number to indicate that sufficiently long calls forwarded to that phone number should be counted as conversions of the specified type. This is an error message indicating that the conversion action specified is invalid (e.g., the conversion action does not exist within the appropriate Google Ads account, or it is a type of conversion not appropriate to phone call conversions).
CANNOT_SET_WITHOUT_FINAL_URLS Tracking template requires final url to be set.
APP_ID_DOESNT_EXIST_IN_APP_STORE An app id was provided that doesn't exist in the given app store.
INVALID_FINAL_URL Invalid U2 final url.
INVALID_TRACKING_URL Invalid U2 tracking url.
INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL Final URL should start from App download URL.
LIST_TOO_SHORT List provided is too short.
INVALID_USER_ACTION User Action field has invalid value.
INVALID_TYPE_NAME Type field has invalid value.
INVALID_EVENT_CHANGE_STATUS Change status for event is invalid.
INVALID_SNIPPETS_HEADER The header of a structured snippets extension is not one of the valid headers.
NUMBER_TYPE_WITH_CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY Phone number incompatible with call tracking for country.
RESERVED_KEYWORD_OTHER The input is identical to a reserved keyword
DUPLICATE_OPTION_LABELS Each option label in the message extension must be unique.
DUPLICATE_OPTION_PREFILLS Each option prefill in the message extension must be unique.
UNEQUAL_LIST_LENGTHS In message extensions, the number of optional labels and optional prefills must be the same.
INCONSISTENT_CURRENCY_CODES All currency codes in an ad extension must be the same.
PRICE_EXTENSION_HAS_DUPLICATED_HEADERS Headers in price extension are not unique.
ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION Header and description in an item are the same.
PRICE_EXTENSION_HAS_TOO_FEW_ITEMS Price extension has too few items.
UNSUPPORTED_VALUE The given value is not supported.
INVALID_FINAL_MOBILE_URL Invalid final mobile url.
INVALID_KEYWORDLESS_AD_RULE_LABEL The given string value of Label contains invalid characters
VALUE_TRACK_PARAMETER_NOT_SUPPORTED The given URL contains value track parameters.
UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE The given value is not supported in the selected language of an extension.
PROMOTION_INVALID_TIME Promotion time is invalid.
PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF Both the percent off and money amount off fields are set.
PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT Both the promotion code and orders over amount fields are set.
TOO_MANY_DECIMAL_PLACES_SPECIFIED Too many decimal places are specified.
AD_CUSTOMIZERS_NOT_ALLOWED Ad Customizers are present and not allowed.
INVALID_LANGUAGE_CODE Language code is not valid.
UNSUPPORTED_LANGUAGE Language is not supported.
IF_FUNCTION_NOT_ALLOWED IF Function is present and not allowed.
INVALID_FINAL_URL_SUFFIX Final url suffix is not valid.
INVALID_TAG_IN_FINAL_URL_SUFFIX Final url suffix contains an invalid tag.
INVALID_FINAL_URL_SUFFIX_FORMAT Final url suffix is formatted incorrectly.
ONLY_ONE_DELIVERY_OPTION_IS_ALLOWED Multiple message delivery options are set.
NO_DELIVERY_OPTION_IS_SET No message delivery option is set.
INVALID_CONVERSION_REPORTING_STATE String value of conversion reporting state field is not valid.
IMAGE_SIZE_WRONG Image size is not right.
EMAIL_DELIVERY_NOT_AVAILABLE_IN_COUNTRY Email delivery is not supported in the country specified in the country code field.
AUTO_REPLY_NOT_AVAILABLE_IN_COUNTRY Auto reply is not supported in the country specified in the country code field.
INVALID_LATITUDE_VALUE Invalid value specified for latitude.
INVALID_LONGITUDE_VALUE Invalid value specified for longitude.
TOO_MANY_LABELS Too many label fields provided.
INVALID_IMAGE_URL Invalid image url.
MISSING_LATITUDE_VALUE Latitude value is missing.
MISSING_LONGITUDE_VALUE Longitude value is missing.
ADDRESS_NOT_FOUND Unable to find address.
ADDRESS_NOT_TARGETABLE Cannot target provided address.

FeedMappingErrorEnum

Container for enum describing possible feed item errors.

FeedMappingError

Enum describing possible feed item errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
INVALID_PLACEHOLDER_FIELD The given placeholder field does not exist.
INVALID_CRITERION_FIELD The given criterion field does not exist.
INVALID_PLACEHOLDER_TYPE The given placeholder type does not exist.
INVALID_CRITERION_TYPE The given criterion type does not exist.
NO_ATTRIBUTE_FIELD_MAPPINGS A feed mapping must contain at least one attribute field mapping.
FEED_ATTRIBUTE_TYPE_MISMATCH The type of the feed attribute referenced in the attribute field mapping must match the type of the placeholder field.
CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED A feed mapping for a system generated feed cannot be operated on.
MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE Only one feed mapping for a placeholder type is allowed per feed or customer (depending on the placeholder type).
MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE Only one feed mapping for a criterion type is allowed per customer.
MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD Only one feed attribute mapping for a placeholder field is allowed (depending on the placeholder type).
MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD Only one feed attribute mapping for a criterion field is allowed (depending on the criterion type).
UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS This feed mapping may not contain any explicit attribute field mappings.
LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS Location placeholder feed mappings can only be created for Places feeds.
CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED Mappings for typed feeds cannot be modified.
INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED The given placeholder type can only be mapped to system generated feeds.
INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE The given placeholder type cannot be mapped to a system generated feed with the given type.

FieldErrorEnum

Container for enum describing possible field errors.

FieldError

Enum describing possible field errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
REQUIRED The required field was not present.
IMMUTABLE_FIELD The field attempted to be mutated is immutable.
INVALID_VALUE The field's value is invalid.
VALUE_MUST_BE_UNSET The field cannot be set.
REQUIRED_NONEMPTY_LIST The required repeated field was empty.
FIELD_CANNOT_BE_CLEARED The field cannot be cleared.
BLACKLISTED_VALUE The field's value is on a blacklist for this field.

FieldMaskErrorEnum

Container for enum describing possible field mask errors.

FieldMaskError

Enum describing possible field mask errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
FIELD_MASK_MISSING The field mask must be provided for update operations.
FIELD_MASK_NOT_ALLOWED The field mask must be empty for create and remove operations.
FIELD_NOT_FOUND The field mask contained an invalid field.
FIELD_HAS_SUBFIELDS The field mask updated a field with subfields. Fields with subfields may be cleared, but not updated. To fix this, the field mask should select all the subfields of the invalid field.

FunctionErrorEnum

Container for enum describing possible function errors.

FunctionError

Enum describing possible function errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
INVALID_FUNCTION_FORMAT The format of the function is not recognized as a supported function format.
DATA_TYPE_MISMATCH Operand data types do not match.
INVALID_CONJUNCTION_OPERANDS The operands cannot be used together in a conjunction.
INVALID_NUMBER_OF_OPERANDS Invalid numer of Operands.
INVALID_OPERAND_TYPE Operand Type not supported.
INVALID_OPERATOR Operator not supported.
INVALID_REQUEST_CONTEXT_TYPE Request context type not supported.
INVALID_FUNCTION_FOR_CALL_PLACEHOLDER The matching function is not allowed for call placeholders
INVALID_FUNCTION_FOR_PLACEHOLDER The matching function is not allowed for the specified placeholder
INVALID_OPERAND Invalid operand.
MISSING_CONSTANT_OPERAND_VALUE Missing value for the constant operand.
INVALID_CONSTANT_OPERAND_VALUE The value of the constant operand is invalid.
INVALID_NESTING Invalid function nesting.
MULTIPLE_FEED_IDS_NOT_SUPPORTED The Feed ID was different from another Feed ID in the same function.
INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA The matching function is invalid for use with a feed with a fixed schema.
INVALID_ATTRIBUTE_NAME Invalid attribute name.

FunctionParsingErrorEnum

Container for enum describing possible function parsing errors.

FunctionParsingError

Enum describing possible function parsing errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
NO_MORE_INPUT Unexpected end of function string.
EXPECTED_CHARACTER Could not find an expected character.
UNEXPECTED_SEPARATOR Unexpected separator character.
UNMATCHED_LEFT_BRACKET Unmatched left bracket or parenthesis.
UNMATCHED_RIGHT_BRACKET Unmatched right bracket or parenthesis.
TOO_MANY_NESTED_FUNCTIONS Functions are nested too deeply.
MISSING_RIGHT_HAND_OPERAND Missing right-hand-side operand.
INVALID_OPERATOR_NAME Invalid operator/function name.
FEED_ATTRIBUTE_OPERAND_ARGUMENT_NOT_INTEGER Feed attribute operand's argument is not an integer.
NO_OPERANDS Missing function operands.
TOO_MANY_OPERANDS Function had too many operands.

GeoTargetConstantSuggestionErrorEnum

Container for enum describing possible geo target constant suggestion errors.

GeoTargetConstantSuggestionError

Enum describing possible geo target constant suggestion errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
LOCATION_NAME_SIZE_LIMIT A location name cannot be greater than 300 characters.
LOCATION_NAME_LIMIT At most 25 location names can be specified in a SuggestGeoTargetConstants method.
INVALID_COUNTRY_CODE The country code is invalid.
REQUEST_PARAMETERS_UNSET Geo target constant resource names or location names must be provided in the request.

GoogleAdsError

GoogleAds-specific error.

Fields
error_code

ErrorCode

An enum value that indicates which error occurred.

message

string

A human-readable description of the error.

trigger

Value

The value that triggered the error.

location

ErrorLocation

Describes the part of the request proto that caused the error.

details

ErrorDetails

Additional error details, which are returned by certain error codes. Most error codes do not include details.

GoogleAdsFailure

Describes how a GoogleAds API call failed. It's returned inside google.rpc.Status.details when a call fails.

Fields
errors[]

GoogleAdsError

The list of errors that occurred.

HeaderErrorEnum

Container for enum describing possible header errors.

HeaderError

Enum describing possible header errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
INVALID_LOGIN_CUSTOMER_ID The login customer id could not be validated.

IdErrorEnum

Container for enum describing possible id errors.

IdError

Enum describing possible id errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
NOT_FOUND Id not found

ImageErrorEnum

Container for enum describing possible image errors.

ImageError

Enum describing possible image errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
INVALID_IMAGE The image is not valid.
STORAGE_ERROR The image could not be stored.
BAD_REQUEST There was a problem with the request.
UNEXPECTED_SIZE The image is not of legal dimensions.
ANIMATED_NOT_ALLOWED Animated image are not permitted.
ANIMATION_TOO_LONG Animation is too long.
SERVER_ERROR There was an error on the server.
CMYK_JPEG_NOT_ALLOWED Image cannot be in CMYK color format.
FLASH_NOT_ALLOWED Flash images are not permitted.
FLASH_WITHOUT_CLICKTAG Flash images must support clickTag.
FLASH_ERROR_AFTER_FIXING_CLICK_TAG A flash error has occurred after fixing the click tag.
ANIMATED_VISUAL_EFFECT Unacceptable visual effects.
FLASH_ERROR There was a problem with the flash image.
LAYOUT_PROBLEM Incorrect image layout.
PROBLEM_READING_IMAGE_FILE There was a problem reading the image file.
ERROR_STORING_IMAGE There was an error storing the image.
ASPECT_RATIO_NOT_ALLOWED The aspect ratio of the image is not allowed.
FLASH_HAS_NETWORK_OBJECTS Flash cannot have network objects.
FLASH_HAS_NETWORK_METHODS Flash cannot have network methods.
FLASH_HAS_URL Flash cannot have a Url.
FLASH_HAS_MOUSE_TRACKING Flash cannot use mouse tracking.
FLASH_HAS_RANDOM_NUM Flash cannot have a random number.
FLASH_SELF_TARGETS Ad click target cannot be '_self'.
FLASH_BAD_GETURL_TARGET GetUrl method should only use '_blank'.
FLASH_VERSION_NOT_SUPPORTED Flash version is not supported.
FLASH_WITHOUT_HARD_CODED_CLICK_URL Flash movies need to have hard coded click URL or clickTAG
INVALID_FLASH_FILE Uploaded flash file is corrupted.
FAILED_TO_FIX_CLICK_TAG_IN_FLASH Uploaded flash file can be parsed, but the click tag can not be fixed properly.
FLASH_ACCESSES_NETWORK_RESOURCES Flash movie accesses network resources
FLASH_EXTERNAL_JS_CALL Flash movie attempts to call external javascript code
FLASH_EXTERNAL_FS_CALL Flash movie attempts to call flash system commands
FILE_TOO_LARGE Image file is too large.
IMAGE_DATA_TOO_LARGE Image data is too large.
IMAGE_PROCESSING_ERROR Error while processing the image.
IMAGE_TOO_SMALL Image is too small.
INVALID_INPUT Input was invalid.
PROBLEM_READING_FILE There was a problem reading the image file.

InternalErrorEnum

Container for enum describing possible internal errors.

InternalError

Enum describing possible internal errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
INTERNAL_ERROR Google Ads API encountered unexpected internal error.
ERROR_CODE_NOT_PUBLISHED The intended error code doesn't exist in specified API version. It will be released in a future API version.
TRANSIENT_ERROR Google Ads API encountered an unexpected transient error. The user should retry their request in these cases.

KeywordPlanAdGroupErrorEnum

Container for enum describing possible errors from applying a keyword plan ad group.

KeywordPlanAdGroupError

Enum describing possible errors from applying a keyword plan ad group.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
INVALID_NAME The keyword plan ad group name is missing, empty, longer than allowed limit or contains invalid chars.
DUPLICATE_NAME The keyword plan ad group name is duplicate to an existing keyword plan AdGroup name or other keyword plan AdGroup name in the request.

KeywordPlanCampaignErrorEnum

Container for enum describing possible errors from applying a keyword plan campaign.

KeywordPlanCampaignError

Enum describing possible errors from applying a keyword plan campaign.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
INVALID_NAME A keyword plan campaign name is missing, empty, longer than allowed limit or contains invalid chars.
INVALID_LANGUAGES A keyword plan campaign contains one or more untargetable languages.
INVALID_GEOS A keyword plan campaign contains one or more invalid geo targets.
DUPLICATE_NAME The keyword plan campaign name is duplicate to an existing keyword plan campaign name or other keyword plan campaign name in the request.
MAX_GEOS_EXCEEDED The number of geo targets in the keyword plan campaign exceeds limits.

KeywordPlanErrorEnum

Container for enum describing possible errors from applying a keyword plan resource (keyword plan, keyword plan campaign, keyword plan ad group or keyword plan keyword) or KeywordPlanService RPC.

KeywordPlanError

Enum describing possible errors from applying a keyword plan.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
BID_MULTIPLIER_OUT_OF_RANGE The plan's bid multiplier value is outside the valid range.
BID_TOO_HIGH The plan's bid value is too high.
BID_TOO_LOW The plan's bid value is too low.
BID_TOO_MANY_FRACTIONAL_DIGITS The plan's cpc bid is not a multiple of the minimum billable unit.
DAILY_BUDGET_TOO_LOW The plan's daily budget value is too low.
DAILY_BUDGET_TOO_MANY_FRACTIONAL_DIGITS The plan's daily budget is not a multiple of the minimum billable unit.
INVALID_VALUE The input has an invalid value.
KEYWORD_PLAN_HAS_NO_KEYWORDS The plan has no keyword.
KEYWORD_PLAN_NOT_ENABLED The plan is not enabled and API cannot provide mutation, forecast or stats.
KEYWORD_PLAN_NOT_FOUND The requested plan cannot be found for providing forecast or stats.
MISSING_BID The plan is missing a cpc bid.
MISSING_FORECAST_PERIOD The plan is missing required forecast_period field.
INVALID_FORECAST_DATE_RANGE The plan's forecast_period has invalid forecast date range.
INVALID_NAME The plan's name is invalid.

KeywordPlanIdeaErrorEnum

Container for enum describing possible errors from KeywordPlanIdeaService.

KeywordPlanIdeaError

Enum describing possible errors from KeywordPlanIdeaService.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
URL_CRAWL_ERROR Error when crawling the input URL.
INVALID_VALUE The input has an invalid value.

KeywordPlanKeywordErrorEnum

Container for enum describing possible errors from applying a keyword or a negative keyword from a keyword plan.

KeywordPlanKeywordError

Enum describing possible errors from applying a keyword plan keyword.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
INVALID_KEYWORD_MATCH_TYPE A keyword or negative keyword has invalid match type.
DUPLICATE_KEYWORD A keyword or negative keyword with same text and match type already exists.
KEYWORD_TEXT_TOO_LONG Keyword or negative keyword text exceeds the allowed limit.
KEYWORD_HAS_INVALID_CHARS Keyword or negative keyword text has invalid characters or symbols.
KEYWORD_HAS_TOO_MANY_WORDS Keyword or negative keyword text has too many words.
INVALID_KEYWORD_TEXT Keyword or negative keyword has invalid text.

KeywordPlanNegativeKeywordErrorEnum

Container for enum describing possible errors from applying a keyword plan negative keyword.

KeywordPlanNegativeKeywordError

Enum describing possible errors from applying a keyword plan negative keyword.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.

LabelErrorEnum

Container for enum describing possible label errors.

LabelError

Enum describing possible label errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
CANNOT_APPLY_INACTIVE_LABEL An inactive label cannot be applied.
CANNOT_APPLY_LABEL_TO_DISABLED_AD_GROUP_CRITERION A label cannot be applied to a disabled ad group criterion.
CANNOT_APPLY_LABEL_TO_NEGATIVE_AD_GROUP_CRITERION A label cannot be applied to a negative ad group criterion.
EXCEEDED_LABEL_LIMIT_PER_TYPE Cannot apply more than 50 labels per resource.
INVALID_RESOURCE_FOR_MANAGER_LABEL Labels from a manager account cannot be applied to campaign, ad group, ad group ad, or ad group criterion resources.
DUPLICATE_NAME Label names must be unique.
INVALID_LABEL_NAME Label names cannot be empty.
CANNOT_ATTACH_LABEL_TO_DRAFT Labels cannot be applied to a draft.
CANNOT_ATTACH_NON_MANAGER_LABEL_TO_CUSTOMER Labels not from a manager account cannot be applied to the customer resource.

LanguageCodeErrorEnum

Container for enum describing language code errors.

LanguageCodeError

Enum describing language code errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
LANGUAGE_CODE_NOT_FOUND The input language code is not recognized.
INVALID_LANGUAGE_CODE The language is not allowed to use.

ListOperationErrorEnum

Container for enum describing possible list operation errors.

ListOperationError

Enum describing possible list operation errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
REQUIRED_FIELD_MISSING Field required in value is missing.
DUPLICATE_VALUES Duplicate or identical value is sent in multiple list operations.

ManagerLinkErrorEnum

Container for enum describing possible ManagerLink errors.

ManagerLinkError

Enum describing possible ManagerLink errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING The manager and client have incompatible account types.
TOO_MANY_MANAGERS Client is already linked to too many managers.
TOO_MANY_INVITES Manager has too many pending invitations.
ALREADY_INVITED_BY_THIS_MANAGER Client is already invited by this manager.
ALREADY_MANAGED_BY_THIS_MANAGER The client is already managed by this manager.
ALREADY_MANAGED_IN_HIERARCHY Client is already managed in hierarchy.
DUPLICATE_CHILD_FOUND Manger and sub-manager to be linked have duplicate client.
CLIENT_HAS_NO_ADMIN_USER Client has no active user that can access the client account.
MAX_DEPTH_EXCEEDED Adding this link would exceed the maximum hierarchy depth.
CYCLE_NOT_ALLOWED Adding this link will create a cycle.
TOO_MANY_ACCOUNTS Manager account has the maximum number of linked clients.
TOO_MANY_ACCOUNTS_AT_MANAGER Parent manager account has the maximum number of linked clients.
SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS Your manager account is suspended, and you are no longer allowed to link to clients.

MediaBundleErrorEnum

Container for enum describing possible media bundle errors.

MediaBundleError

Enum describing possible media bundle errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
BAD_REQUEST There was a problem with the request.
DOUBLECLICK_BUNDLE_NOT_ALLOWED HTML5 ads using DoubleClick Studio created ZIP files are not supported.
EXTERNAL_URL_NOT_ALLOWED Cannot reference URL external to the media bundle.
FILE_TOO_LARGE Media bundle file is too large.
GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED ZIP file from Google Web Designer is not published.
INVALID_INPUT Input was invalid.
INVALID_MEDIA_BUNDLE There was a problem with the media bundle.
INVALID_MEDIA_BUNDLE_ENTRY There was a problem with one or more of the media bundle entries.
INVALID_MIME_TYPE The media bundle contains a file with an unknown mime type
INVALID_PATH The media bundle contain an invalid asset path.
INVALID_URL_REFERENCE HTML5 ad is trying to reference an asset not in .ZIP file
MEDIA_DATA_TOO_LARGE Media data is too large.
MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY The media bundle contains no primary entry.
SERVER_ERROR There was an error on the server.
STORAGE_ERROR The image could not be stored.
SWIFFY_BUNDLE_NOT_ALLOWED Media bundle created with the Swiffy tool is not allowed.
TOO_MANY_FILES The media bundle contains too many files.
UNEXPECTED_SIZE The media bundle is not of legal dimensions.
UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT Google Web Designer not created for "Google Ads" environment.
UNSUPPORTED_HTML5_FEATURE Unsupported HTML5 feature in HTML5 asset.
URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT URL in HTML5 entry is not ssl compliant.
CUSTOM_EXIT_NOT_ALLOWED Custom exits not allowed in HTML5 entry.

MediaFileErrorEnum

Container for enum describing possible media file errors.

MediaFileError

Enum describing possible media file errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
CANNOT_CREATE_STANDARD_ICON Cannot create a standard icon type.
CANNOT_SELECT_STANDARD_ICON_WITH_OTHER_TYPES May only select Standard Icons alone.
CANNOT_SPECIFY_MEDIA_FILE_ID_AND_DATA Image contains both a media file ID and data.
DUPLICATE_MEDIA A media file with given type and reference ID already exists.
EMPTY_FIELD A required field was not specified or is an empty string.
RESOURCE_REFERENCED_IN_MULTIPLE_OPS A media file may only be modified once per call.
FIELD_NOT_SUPPORTED_FOR_MEDIA_SUB_TYPE Field is not supported for the media sub type.
INVALID_MEDIA_FILE_ID The media file ID is invalid.
INVALID_MEDIA_SUB_TYPE The media subtype is invalid.
INVALID_MEDIA_FILE_TYPE The media file type is invalid.
INVALID_MIME_TYPE The mimetype is invalid.
INVALID_REFERENCE_ID The media reference ID is invalid.
INVALID_YOU_TUBE_ID The YouTube video ID is invalid.
MEDIA_FILE_FAILED_TRANSCODING Media file has failed transcoding
MEDIA_NOT_TRANSCODED Media file has not been transcoded.
MEDIA_TYPE_DOES_NOT_MATCH_MEDIA_FILE_TYPE The media type does not match the actual media file's type.
NO_FIELDS_SPECIFIED None of the fields have been specified.
NULL_REFERENCE_ID_AND_MEDIA_ID One of reference ID or media file ID must be specified.
TOO_LONG The string has too many characters.
UNSUPPORTED_TYPE The specified type is not supported.
YOU_TUBE_SERVICE_UNAVAILABLE YouTube is unavailable for requesting video data.
YOU_TUBE_VIDEO_HAS_NON_POSITIVE_DURATION The YouTube video has a non positive duration.
YOU_TUBE_VIDEO_NOT_FOUND The YouTube video ID is syntactically valid but the video was not found.

MediaUploadErrorEnum

Container for enum describing possible media uploading errors.

MediaUploadError

Enum describing possible media uploading errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
FILE_TOO_BIG The uploaded file is too big.
UNPARSEABLE_IMAGE Image data is unparseable.
ANIMATED_IMAGE_NOT_ALLOWED Animated images are not allowed.
FORMAT_NOT_ALLOWED The image or media bundle format is not allowed.

MultiplierErrorEnum

Container for enum describing possible multiplier errors.

MultiplierError

Enum describing possible multiplier errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
MULTIPLIER_TOO_HIGH Multiplier value is too high
MULTIPLIER_TOO_LOW Multiplier value is too low
TOO_MANY_FRACTIONAL_DIGITS Too many fractional digits
MULTIPLIER_NOT_ALLOWED_FOR_BIDDING_STRATEGY A multiplier cannot be set for this bidding strategy
MULTIPLIER_NOT_ALLOWED_WHEN_BASE_BID_IS_MISSING A multiplier cannot be set when there is no base bid (e.g., content max cpc)
NO_MULTIPLIER_SPECIFIED A bid multiplier must be specified
MULTIPLIER_CAUSES_BID_TO_EXCEED_DAILY_BUDGET Multiplier causes bid to exceed daily budget
MULTIPLIER_CAUSES_BID_TO_EXCEED_MONTHLY_BUDGET Multiplier causes bid to exceed monthly budget
MULTIPLIER_CAUSES_BID_TO_EXCEED_CUSTOM_BUDGET Multiplier causes bid to exceed custom budget
MULTIPLIER_CAUSES_BID_TO_EXCEED_MAX_ALLOWED_BID Multiplier causes bid to exceed maximum allowed bid
BID_LESS_THAN_MIN_ALLOWED_BID_WITH_MULTIPLIER Multiplier causes bid to become less than the minimum bid allowed
MULTIPLIER_AND_BIDDING_STRATEGY_TYPE_MISMATCH Multiplier type (cpc vs. cpm) needs to match campaign's bidding strategy

MutateErrorEnum

Container for enum describing possible mutate errors.

MutateError

Enum describing possible mutate errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
RESOURCE_NOT_FOUND Requested resource was not found.
ID_EXISTS_IN_MULTIPLE_MUTATES Cannot mutate the same resource twice in one request.
INCONSISTENT_FIELD_VALUES The field's contents don't match another field that represents the same data.
MUTATE_NOT_ALLOWED Mutates are not allowed for the requested resource.
RESOURCE_NOT_IN_GOOGLE_ADS The resource isn't in Google Ads. It belongs to another ads system.
RESOURCE_ALREADY_EXISTS The resource being created already exists.

MutateJobErrorEnum

Container for enum describing possible mutate job errors.

MutateJobError

Enum describing possible request errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
CANNOT_MODIFY_JOB_AFTER_JOB_STARTS_RUNNING The mutate job cannot add more operations or run after it has started running.
EMPTY_OPERATIONS The operations for an AddMutateJobOperations request were empty.
INVALID_SEQUENCE_TOKEN The sequence token for an AddMutateJobOperations request was invalid.
RESULTS_NOT_READY Mutate Job Results can only be retrieved once the job is finished.
INVALID_PAGE_SIZE The page size for ListMutateJobResults was invalid.

NewResourceCreationErrorEnum

Container for enum describing possible new resource creation errors.

NewResourceCreationError

Enum describing possible new resource creation errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
CANNOT_SET_ID_FOR_CREATE Do not set the id field while creating new resources.
DUPLICATE_TEMP_IDS Creating more than one resource with the same temp ID is not allowed.
TEMP_ID_RESOURCE_HAD_ERRORS Parent resource with specified temp ID failed validation, so no validation will be done for this child resource.

NotEmptyErrorEnum

Container for enum describing possible not empty errors.

NotEmptyError

Enum describing possible not empty errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
EMPTY_LIST Empty list.

NotWhitelistedErrorEnum

Container for enum describing possible not whitelisted errors.

NotWhitelistedError

Enum describing possible not whitelisted errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
CUSTOMER_NOT_WHITELISTED_FOR_THIS_FEATURE Customer is not whitelisted for accessing this feature.

NullErrorEnum

Container for enum describing possible null errors.

NullError

Enum describing possible null errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
NULL_CONTENT Specified list/container must not contain any null elements

OperationAccessDeniedErrorEnum

Container for enum describing possible operation access denied errors.

OperationAccessDeniedError

Enum describing possible operation access denied errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
ACTION_NOT_PERMITTED Unauthorized invocation of a service's method (get, mutate, etc.)
CREATE_OPERATION_NOT_PERMITTED Unauthorized CREATE operation in invoking a service's mutate method.
REMOVE_OPERATION_NOT_PERMITTED Unauthorized REMOVE operation in invoking a service's mutate method.
UPDATE_OPERATION_NOT_PERMITTED Unauthorized UPDATE operation in invoking a service's mutate method.
MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT A mutate action is not allowed on this campaign, from this client.
OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE This operation is not permitted on this campaign type
CREATE_AS_REMOVED_NOT_PERMITTED A CREATE operation may not set status to REMOVED.
OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE This operation is not allowed because the campaign or adgroup is removed.
OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE This operation is not permitted on this ad group type.
MUTATE_NOT_PERMITTED_FOR_CUSTOMER The mutate is not allowed for this customer.

OperatorErrorEnum

Container for enum describing possible operator errors.

OperatorError

Enum describing possible operator errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
OPERATOR_NOT_SUPPORTED Operator not supported.

PartialFailureErrorEnum

Container for enum describing possible partial failure errors.

PartialFailureError

Enum describing possible partial failure errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
PARTIAL_FAILURE_MODE_REQUIRED The partial failure field was false in the request. This method requires this field be set to true.

PolicyFindingDetails

Error returned as part of a mutate response. This error indicates one or more policy findings in the fields of a resource.

Fields
policy_topic_entries[]

PolicyTopicEntry

The list of policy topics for the resource. Contains the PROHIBITED or FULLY_LIMITED policy topic entries that prevented the resource from being saved (among any other entries the resource may also have).

PolicyFindingErrorEnum

Container for enum describing possible policy finding errors.

PolicyFindingError

Enum describing possible policy finding errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
POLICY_FINDING The resource has been disapproved since the policy summary includes policy topics of type PROHIBITED.
POLICY_TOPIC_NOT_FOUND The given policy topic does not exist.

PolicyValidationParameterErrorEnum

Container for enum describing possible policy validation parameter errors.

PolicyValidationParameterError

Enum describing possible policy validation parameter errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
UNSUPPORTED_AD_TYPE_FOR_IGNORABLE_POLICY_TOPICS Ignorable policy topics are not supported for the ad type.
UNSUPPORTED_AD_TYPE_FOR_EXEMPT_POLICY_VIOLATION_KEYS Exempt policy violation keys are not supported for the ad type.
CANNOT_SET_BOTH_IGNORABLE_POLICY_TOPICS_AND_EXEMPT_POLICY_VIOLATION_KEYS Cannot set ignorable policy topics and exempt policy violation keys in the same policy violation parameter.

PolicyViolationDetails

Error returned as part of a mutate response. This error indicates single policy violation by some text in one of the fields.

Fields
external_policy_description

string

Human readable description of policy violation.

key

PolicyViolationKey

Unique identifier for this violation. If policy is exemptible, this key may be used to request exemption.

external_policy_name

string

Human readable name of the policy.

is_exemptible

bool

Whether user can file an exemption request for this violation.

PolicyViolationErrorEnum

Container for enum describing possible policy violation errors.

PolicyViolationError

Enum describing possible policy violation errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
POLICY_ERROR A policy was violated. See PolicyViolationDetails for more detail.

QueryErrorEnum

Container for enum describing possible query errors.

QueryError

Enum describing possible query errors.

Enums
UNSPECIFIED Name unspecified.
UNKNOWN The received error code is not known in this version.
QUERY_ERROR Returned if all other query error reasons are not applicable.
BAD_ENUM_CONSTANT A condition used in the query references an invalid enum constant.
BAD_ESCAPE_SEQUENCE Query contains an invalid escape sequence.
BAD_FIELD_NAME Field name is invalid.
BAD_LIMIT_VALUE Limit value is invalid (i.e. not a number)
BAD_NUMBER Encountered number can not be parsed.
BAD_OPERATOR Invalid operator encountered.
BAD_PARAMETER_NAME Parameter unknown or not supported.
BAD_PARAMETER_VALUE Parameter have invalid value.
BAD_RESOURCE_TYPE_IN_FROM_CLAUSE Invalid resource type was specified in the FROM clause.
BAD_SYMBOL Non-ASCII symbol encountered outside of strings.
BAD_VALUE Value is invalid.
DATE_RANGE_TOO_WIDE Date filters fail to restrict date to a range smaller than 31 days. Applicable if the query is segmented by date.
DATE_RANGE_TOO_NARROW Filters on date/week/month/quarter have a start date after end date.
EXPECTED_AND Expected AND between values with BETWEEN operator.
EXPECTED_BY Expecting ORDER BY to have BY.
EXPECTED_DIMENSION_FIELD_IN_SELECT_CLAUSE There was no dimension field selected.
EXPECTED_FILTERS_ON_DATE_RANGE Missing filters on date related fields.
EXPECTED_FROM Missing FROM clause.
EXPECTED_LIST The operator used in the conditions requires the value to be a list.
EXPECTED_REFERENCED_FIELD_IN_SELECT_CLAUSE Fields used in WHERE or ORDER BY clauses are missing from the SELECT clause.
EXPECTED_SELECT SELECT is missing at the beginning of query.
EXPECTED_SINGLE_VALUE A list was passed as a value to a condition whose operator expects a single value.
EXPECTED_VALUE_WITH_BETWEEN_OPERATOR Missing one or both values with BETWEEN operator.
INVALID_DATE_FORMAT Invalid date format. Expected 'YYYY-MM-DD'.
INVALID_STRING_VALUE Value passed was not a string when it should have been. I.e., it was a number or unquoted literal.
INVALID_VALUE_WITH_BETWEEN_OPERATOR A String value passed to the BETWEEN operator does not parse as a date.
INVALID_VALUE_WITH_DURING_OPERATOR The value passed to the DURING operator is not a Date range literal
INVALID_VALUE_WITH_LIKE_OPERATOR A non-string value was passed to the LIKE operator.
OPERATOR_FIELD_MISMATCH An operator was provided that is inapplicable to the field being filtered.
PROHIBITED_EMPTY_LIST_IN_CONDITION A Condition was found with an empty list.
PROHIBITED_ENUM_CONSTANT A condition used in the query references an unsupported enum constant.
PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE Fields that are not allowed to be selected together were included in the SELECT clause.
PROHIBITED_FIELD_IN_ORDER_BY_CLAUSE A field that is not orderable was included in the ORDER BY clause.
PROHIBITED_FIELD_IN_SELECT_CLAUSE A field that is not selectable was included in the SELECT clause.
PROHIBITED_FIELD_IN_WHERE_CLAUSE A field that is not filterable was included in the WHERE clause.
PROHIBITED_RESOURCE_TYPE_IN_FROM_CLAUSE Resource type specified in the FROM clause is not supported by this service.
PROHIBITED_RESOURCE_TYPE_IN_SELECT_CLAUSE A field that comes from an incompatible resource was included in the SELECT clause.
PROHIBITED_RESOURCE_TYPE_IN_WHERE_CLAUSE A field that comes from an incompatible resource was included in the WHERE clause.
PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE A metric incompatible with the main resource or other selected segmenting resources was included in the SELECT or WHERE clause.
PROHIBITED_SEGMENT_IN_SELECT_OR_WHERE_CLAUSE A segment incompatible with the main resource or other selected segmenting resources was included in the SELECT or WHERE clause.
PROHIBITED_SEGMENT_WITH_METRIC_IN_SELECT_OR_WHERE_CLAUSE A segment in the SELECT clause is incompatible with a metric in the SELECT or WHERE clause.
LIMIT_VALUE_TOO_LOW The value passed to the limit clause is too low.
PROHIBITED_NEWLINE_IN_STRING Query has a string containing a newline character.
PROHIBITED_VALUE_COMBINATION_IN_LIST List contains values of different types.
PROHIBITED_VALUE_COMBINATION_WITH_BETWEEN_OPERATOR The values passed to the BETWEEN operator are not of the same type.
STRING_NOT_TERMINATED Query contains unterminated string.
TOO_MANY_SEGMENTS Too many segments are specified in SELECT clause.
UNEXPECTED_END_OF_QUERY Query is incomplete and cannot be parsed.
UNEXPECTED_FROM_CLAUSE FROM clause cannot be specified in this query.
UNRECOGNIZED_FIELD Query contains one or more unrecognized fields.
UNEXPECTED_INPUT Query has an unexpected extra part.
REQUESTED_METRICS_FOR_MANAGER Metrics cannot be requested for a manager account. To retrieve metrics, issue separate requests against each client account under the manager account.

QuotaErrorEnum

Container for enum describing possible quota errors.

QuotaError

Enum describing possible quota errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
RESOURCE_EXHAUSTED Too many requests.
ACCESS_PROHIBITED Access is prohibited.
RESOURCE_TEMPORARILY_EXHAUSTED Too many requests in a short amount of time.

RangeErrorEnum

Container for enum describing possible range errors.

RangeError

Enum describing possible range errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
TOO_LOW Too low.
TOO_HIGH Too high.

ReachPlanErrorEnum

Container for enum describing possible errors returned from the ReachPlanService.

ReachPlanError

Enum describing possible errors from ReachPlanService.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.

RecommendationErrorEnum

Container for enum describing possible errors from applying a recommendation.

RecommendationError

Enum describing possible errors from applying a recommendation.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
BUDGET_AMOUNT_TOO_SMALL The specified budget amount is too low e.g. lower than minimum currency unit or lower than ad group minimum cost-per-click.
BUDGET_AMOUNT_TOO_LARGE The specified budget amount is too large.
INVALID_BUDGET_AMOUNT The specified budget amount is not a valid amount. e.g. not a multiple of minimum currency unit.
POLICY_ERROR The specified keyword or ad violates ad policy.
INVALID_BID_AMOUNT The specified bid amount is not valid. e.g. too many fractional digits, or negative amount.
ADGROUP_KEYWORD_LIMIT The number of keywords in ad group have reached the maximum allowed.
RECOMMENDATION_ALREADY_APPLIED The recommendation requested to apply has already been applied.
RECOMMENDATION_INVALIDATED The recommendation requested to apply has been invalidated.
TOO_MANY_OPERATIONS The number of operations in a single request exceeds the maximum allowed.
NO_OPERATIONS There are no operations in the request.
DIFFERENT_TYPES_NOT_SUPPORTED Operations with multiple recommendation types are not supported when partial failure mode is not enabled.
DUPLICATE_RESOURCE_NAME Request contains multiple operations with the same resource_name.
RECOMMENDATION_ALREADY_DISMISSED The recommendation requested to dismiss has already been dismissed.
INVALID_APPLY_REQUEST The recommendation apply request was malformed and invalid.

RegionCodeErrorEnum

Container for enum describing possible region code errors.

RegionCodeError

Enum describing possible region code errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
INVALID_REGION_CODE Invalid region code.

RequestErrorEnum

Container for enum describing possible request errors.

RequestError

Enum describing possible request errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
RESOURCE_NAME_MISSING Resource name is required for this request.
RESOURCE_NAME_MALFORMED Resource name provided is malformed.
BAD_RESOURCE_ID Resource name provided is malformed.
INVALID_CUSTOMER_ID Customer ID is invalid.
OPERATION_REQUIRED Mutate operation should have either create, update, or remove specified.
RESOURCE_NOT_FOUND Requested resource not found.
INVALID_PAGE_TOKEN Next page token specified in user request is invalid.
EXPIRED_PAGE_TOKEN Next page token specified in user request has expired.
INVALID_PAGE_SIZE Page size specified in user request is invalid.
REQUIRED_FIELD_MISSING Required field is missing.
IMMUTABLE_FIELD The field cannot be modified because it's immutable. It's also possible that the field can be modified using 'create' operation but not 'update'.
TOO_MANY_MUTATE_OPERATIONS Received too many entries in request.
CANNOT_BE_EXECUTED_BY_MANAGER_ACCOUNT Request cannot be executed by a manager account.
CANNOT_MODIFY_FOREIGN_FIELD Mutate request was attempting to modify a readonly field. For instance, Budget fields can be requested for Ad Group, but are read-only for adGroups:mutate.
INVALID_ENUM_VALUE Enum value is not permitted.
DEVELOPER_TOKEN_PARAMETER_MISSING The developer-token parameter is required for all requests.
LOGIN_CUSTOMER_ID_PARAMETER_MISSING The login-customer-id parameter is required for this request.
VALIDATE_ONLY_REQUEST_HAS_PAGE_TOKEN page_token is set in the validate only request
CANNOT_RETURN_SUMMARY_ROW_FOR_REQUEST_WITHOUT_METRICS return_summary_row cannot be enabled if request did not select any metrics field.
CANNOT_RETURN_SUMMARY_ROW_FOR_VALIDATE_ONLY_REQUESTS return_summary_row should not be enabled for validate only requests.
INCONSISTENT_RETURN_SUMMARY_ROW_VALUE return_summary_row parameter value should be the same between requests with page_token field set and their original request.

ResourceAccessDeniedErrorEnum

Container for enum describing possible resource access denied errors.

ResourceAccessDeniedError

Enum describing possible resource access denied errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
WRITE_ACCESS_DENIED User did not have write access.

ResourceCountLimitExceededErrorEnum

Container for enum describing possible resource count limit exceeded errors.

ResourceCountLimitExceededError

Enum describing possible resource count limit exceeded errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
ACCOUNT_LIMIT Indicates that this request would exceed the number of allowed resources for the Google Ads account. The exact resource type and limit being checked can be inferred from accountLimitType.
CAMPAIGN_LIMIT Indicates that this request would exceed the number of allowed resources in a Campaign. The exact resource type and limit being checked can be inferred from accountLimitType, and the numeric id of the Campaign involved is given by enclosingId.
ADGROUP_LIMIT Indicates that this request would exceed the number of allowed resources in an ad group. The exact resource type and limit being checked can be inferred from accountLimitType, and the numeric id of the ad group involved is given by enclosingId.
AD_GROUP_AD_LIMIT Indicates that this request would exceed the number of allowed resources in an ad group ad. The exact resource type and limit being checked can be inferred from accountLimitType, and the enclosingId contains the ad group id followed by the ad id, separated by a single comma (,).
AD_GROUP_CRITERION_LIMIT Indicates that this request would exceed the number of allowed resources in an ad group criterion. The exact resource type and limit being checked can be inferred from accountLimitType, and the enclosingId contains the ad group id followed by the criterion id, separated by a single comma (,).
SHARED_SET_LIMIT Indicates that this request would exceed the number of allowed resources in this shared set. The exact resource type and limit being checked can be inferred from accountLimitType, and the numeric id of the shared set involved is given by enclosingId.
MATCHING_FUNCTION_LIMIT Exceeds a limit related to a matching function.
RESPONSE_ROW_LIMIT_EXCEEDED The response for this request would exceed the maximum number of rows that can be returned.
RESOURCE_LIMIT This request would exceed a limit on the number of allowed resources. The details of which type of limit was exceeded will eventually be returned in ErrorDetails.

SettingErrorEnum

Container for enum describing possible setting errors.

SettingError

Enum describing possible setting errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
SETTING_TYPE_IS_NOT_AVAILABLE The campaign setting is not available for this Google Ads account.
SETTING_TYPE_IS_NOT_COMPATIBLE_WITH_CAMPAIGN The setting is not compatible with the campaign.
TARGETING_SETTING_CONTAINS_INVALID_CRITERION_TYPE_GROUP The supplied TargetingSetting contains an invalid CriterionTypeGroup. See CriterionTypeGroup documentation for CriterionTypeGroups allowed in Campaign or AdGroup TargetingSettings.
TARGETING_SETTING_DEMOGRAPHIC_CRITERION_TYPE_GROUPS_MUST_BE_SET_TO_TARGET_ALL TargetingSetting must not explicitly set any of the Demographic CriterionTypeGroups (AGE_RANGE, GENDER, PARENT, INCOME_RANGE) to false (it's okay to not set them at all, in which case the system will set them to true automatically).
TARGETING_SETTING_CANNOT_CHANGE_TARGET_ALL_TO_FALSE_FOR_DEMOGRAPHIC_CRITERION_TYPE_GROUP TargetingSetting cannot change any of the Demographic CriterionTypeGroups (AGE_RANGE, GENDER, PARENT, INCOME_RANGE) from true to false.
DYNAMIC_SEARCH_ADS_SETTING_AT_LEAST_ONE_FEED_ID_MUST_BE_PRESENT At least one feed id should be present.
DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_DOMAIN_NAME The supplied DynamicSearchAdsSetting contains an invalid domain name.
DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_SUBDOMAIN_NAME The supplied DynamicSearchAdsSetting contains a subdomain name.
DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_LANGUAGE_CODE The supplied DynamicSearchAdsSetting contains an invalid language code.
TARGET_ALL_IS_NOT_ALLOWED_FOR_PLACEMENT_IN_SEARCH_CAMPAIGN TargetingSettings in search campaigns should not have CriterionTypeGroup.PLACEMENT set to targetAll.
UNIVERSAL_APP_CAMPAIGN_SETTING_DUPLICATE_DESCRIPTION Duplicate description in universal app setting description field.
UNIVERSAL_APP_CAMPAIGN_SETTING_DESCRIPTION_LINE_WIDTH_TOO_LONG Description line width is too long in universal app setting description field.
UNIVERSAL_APP_CAMPAIGN_SETTING_APP_ID_CANNOT_BE_MODIFIED Universal app setting appId field cannot be modified for COMPLETE campaigns.
TOO_MANY_YOUTUBE_MEDIA_IDS_IN_UNIVERSAL_APP_CAMPAIGN YoutubeVideoMediaIds in universal app setting cannot exceed size limit.
TOO_MANY_IMAGE_MEDIA_IDS_IN_UNIVERSAL_APP_CAMPAIGN ImageMediaIds in universal app setting cannot exceed size limit.
MEDIA_INCOMPATIBLE_FOR_UNIVERSAL_APP_CAMPAIGN Media is incompatible for universal app campaign.
TOO_MANY_EXCLAMATION_MARKS Too many exclamation marks in universal app campaign ad text ideas.

SharedCriterionErrorEnum

Container for enum describing possible shared criterion errors.

SharedCriterionError

Enum describing possible shared criterion errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
CRITERION_TYPE_NOT_ALLOWED_FOR_SHARED_SET_TYPE The criterion is not appropriate for the shared set type.

SharedSetErrorEnum

Container for enum describing possible shared set errors.

SharedSetError

Enum describing possible shared set errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
CUSTOMER_CANNOT_CREATE_SHARED_SET_OF_THIS_TYPE The customer cannot create this type of shared set.
DUPLICATE_NAME A shared set with this name already exists.
SHARED_SET_REMOVED Removed shared sets cannot be mutated.
SHARED_SET_IN_USE The shared set cannot be removed because it is in use.

SizeLimitErrorEnum

Container for enum describing possible size limit errors.

SizeLimitError

Enum describing possible size limit errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
REQUEST_SIZE_LIMIT_EXCEEDED The number of entries in the request exceeds the system limit.
RESPONSE_SIZE_LIMIT_EXCEEDED The number of entries in the response exceeds the system limit.

StringFormatErrorEnum

Container for enum describing possible string format errors.

StringFormatError

Enum describing possible string format errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
ILLEGAL_CHARS The input string value contains disallowed characters.
INVALID_FORMAT The input string value is invalid for the associated field.

StringLengthErrorEnum

Container for enum describing possible string length errors.

StringLengthError

Enum describing possible string length errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
TOO_SHORT Too short.
TOO_LONG Too long.

UrlFieldErrorEnum

Container for enum describing possible url field errors.

UrlFieldError

Enum describing possible url field errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
INVALID_TRACKING_URL_TEMPLATE The tracking url template is invalid.
INVALID_TAG_IN_TRACKING_URL_TEMPLATE The tracking url template contains invalid tag.
MISSING_TRACKING_URL_TEMPLATE_TAG The tracking url template must contain at least one tag (e.g. {lpurl}), This applies only to tracking url template associated with website ads or product ads.
MISSING_PROTOCOL_IN_TRACKING_URL_TEMPLATE The tracking url template must start with a valid protocol (or lpurl tag).
INVALID_PROTOCOL_IN_TRACKING_URL_TEMPLATE The tracking url template starts with an invalid protocol.
MALFORMED_TRACKING_URL_TEMPLATE The tracking url template contains illegal characters.
MISSING_HOST_IN_TRACKING_URL_TEMPLATE The tracking url template must contain a host name (or lpurl tag).
INVALID_TLD_IN_TRACKING_URL_TEMPLATE The tracking url template has an invalid or missing top level domain extension.
REDUNDANT_NESTED_TRACKING_URL_TEMPLATE_TAG The tracking url template contains nested occurrences of the same conditional tag (i.e. {ifmobile:{ifmobile:x}}).
INVALID_FINAL_URL The final url is invalid.
INVALID_TAG_IN_FINAL_URL The final url contains invalid tag.
REDUNDANT_NESTED_FINAL_URL_TAG The final url contains nested occurrences of the same conditional tag (i.e. {ifmobile:{ifmobile:x}}).
MISSING_PROTOCOL_IN_FINAL_URL The final url must start with a valid protocol.
INVALID_PROTOCOL_IN_FINAL_URL The final url starts with an invalid protocol.
MALFORMED_FINAL_URL The final url contains illegal characters.
MISSING_HOST_IN_FINAL_URL The final url must contain a host name.
INVALID_TLD_IN_FINAL_URL The tracking url template has an invalid or missing top level domain extension.
INVALID_FINAL_MOBILE_URL The final mobile url is invalid.
INVALID_TAG_IN_FINAL_MOBILE_URL The final mobile url contains invalid tag.
REDUNDANT_NESTED_FINAL_MOBILE_URL_TAG The final mobile url contains nested occurrences of the same conditional tag (i.e. {ifmobile:{ifmobile:x}}).
MISSING_PROTOCOL_IN_FINAL_MOBILE_URL The final mobile url must start with a valid protocol.
INVALID_PROTOCOL_IN_FINAL_MOBILE_URL The final mobile url starts with an invalid protocol.
MALFORMED_FINAL_MOBILE_URL The final mobile url contains illegal characters.
MISSING_HOST_IN_FINAL_MOBILE_URL The final mobile url must contain a host name.
INVALID_TLD_IN_FINAL_MOBILE_URL The tracking url template has an invalid or missing top level domain extension.
INVALID_FINAL_APP_URL The final app url is invalid.
INVALID_TAG_IN_FINAL_APP_URL The final app url contains invalid tag.
REDUNDANT_NESTED_FINAL_APP_URL_TAG The final app url contains nested occurrences of the same conditional tag (i.e. {ifmobile:{ifmobile:x}}).
MULTIPLE_APP_URLS_FOR_OSTYPE More than one app url found for the same OS type.
INVALID_OSTYPE The OS type given for an app url is not valid.
INVALID_PROTOCOL_FOR_APP_URL The protocol given for an app url is not valid. (E.g. "android-app://")
INVALID_PACKAGE_ID_FOR_APP_URL The package id (app id) given for an app url is not valid.
URL_CUSTOM_PARAMETERS_COUNT_EXCEEDS_LIMIT The number of url custom parameters for an resource exceeds the maximum limit allowed.
INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_KEY An invalid character appears in the parameter key.
INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_VALUE An invalid character appears in the parameter value.
INVALID_TAG_IN_URL_CUSTOM_PARAMETER_VALUE The url custom parameter value fails url tag validation.
REDUNDANT_NESTED_URL_CUSTOM_PARAMETER_TAG The custom parameter contains nested occurrences of the same conditional tag (i.e. {ifmobile:{ifmobile:x}}).
MISSING_PROTOCOL The protocol (http:// or https://) is missing.
INVALID_PROTOCOL Unsupported protocol in URL. Only http and https are supported.
INVALID_URL The url is invalid.
DESTINATION_URL_DEPRECATED Destination Url is deprecated.
INVALID_TAG_IN_URL The url contains invalid tag.
MISSING_URL_TAG The url must contain at least one tag (e.g. {lpurl}), This applies only to urls associated with website ads or product ads.
DUPLICATE_URL_ID Duplicate url id.
INVALID_URL_ID Invalid url id.
FINAL_URL_SUFFIX_MALFORMED The final url suffix cannot begin with '?' or '&' characters and must be a valid query string.
INVALID_TAG_IN_FINAL_URL_SUFFIX The final url suffix cannot contain {lpurl} related or {ignore} tags.
INVALID_TOP_LEVEL_DOMAIN The top level domain is invalid, e.g, not a public top level domain listed in publicsuffix.org.
MALFORMED_TOP_LEVEL_DOMAIN Malformed top level domain in URL.
MALFORMED_URL Malformed URL.
MISSING_HOST No host found in URL.
NULL_CUSTOM_PARAMETER_VALUE Custom parameter value cannot be null.

UserListErrorEnum

Container for enum describing possible user list errors.

UserListError

Enum describing possible user list errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED Creating and updating external remarketing user lists is not supported.
CONCRETE_TYPE_REQUIRED Concrete type of user list is required.
CONVERSION_TYPE_ID_REQUIRED Creating/updating user list conversion types requires specifying the conversion type Id.
DUPLICATE_CONVERSION_TYPES Remarketing user list cannot have duplicate conversion types.
INVALID_CONVERSION_TYPE Conversion type is invalid/unknown.
INVALID_DESCRIPTION User list description is empty or invalid.
INVALID_NAME User list name is empty or invalid.
INVALID_TYPE Type of the UserList does not match.
CAN_NOT_ADD_LOGICAL_LIST_AS_LOGICAL_LIST_OPERAND Embedded logical user lists are not allowed.
INVALID_USER_LIST_LOGICAL_RULE_OPERAND User list rule operand is invalid.
NAME_ALREADY_USED Name is already being used for another user list for the account.
NEW_CONVERSION_TYPE_NAME_REQUIRED Name is required when creating a new conversion type.
CONVERSION_TYPE_NAME_ALREADY_USED The given conversion type name has been used.
OWNERSHIP_REQUIRED_FOR_SET Only an owner account may edit a user list.
USER_LIST_MUTATE_NOT_SUPPORTED Creating user list without setting type in oneof user_list field, or creating/updating read-only user list types is not allowed.
INVALID_RULE Rule is invalid.
INVALID_DATE_RANGE The specified date range is empty.
CAN_NOT_MUTATE_SENSITIVE_USERLIST A UserList which is privacy sensitive or legal rejected cannot be mutated by external users.
MAX_NUM_RULEBASED_USERLISTS Maximum number of rulebased user lists a customer can have.
CANNOT_MODIFY_BILLABLE_RECORD_COUNT BasicUserList's billable record field cannot be modified once it is set.
APP_ID_NOT_SET crm_based_user_list.app_id field must be set when upload_key_type is MOBILE_ADVERTISING_ID.
USERLIST_NAME_IS_RESERVED_FOR_SYSTEM_LIST Name of the user list is reserved for system generated lists and cannot be used.
ADVERTISER_NOT_WHITELISTED_FOR_USING_UPLOADED_DATA Advertiser needs to be whitelisted to use remarketing lists created from advertiser uploaded data (e.g., Customer Match lists).
RULE_TYPE_IS_NOT_SUPPORTED The provided rule_type is not supported for the user list.
CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND Similar user list cannot be used as a logical user list operand.
CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS Logical user list should not have a mix of CRM based user list and other types of lists in its rules.

YoutubeVideoRegistrationErrorEnum

Container for enum describing YouTube video registration errors.

YoutubeVideoRegistrationError

Enum describing YouTube video registration errors.

Enums
UNSPECIFIED Enum unspecified.
UNKNOWN The received error code is not known in this version.
VIDEO_NOT_FOUND Video to be registered wasn't found.
VIDEO_NOT_ACCESSIBLE Video to be registered is not accessible (e.g. private).

Send feedback about...

Google Ads API Beta
Google Ads API Beta
Need help? Visit our support page.