AdError
|
Base error class for Ad Service.
Enumerations
-
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_TRACKING_URL_TEMPLATE
- Cannot specify a legacy url and a tracking url template simultaneously in a DSA.
-
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_DSA_URL_TAG
- Invalid use of Dynamic Search Ads tags ({lpurl} etc.)
-
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_DSA_TAG
- A url scheme is not allowed in front of tag in dest url (e.g. http://{lpurl})
-
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_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.
-
CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED
- Customer hasn't consented for call recording, which is required for adding/updating call-only
ads.
-
UNKNOWN
- An unexpected or unknown error occurred.
|
AdGroupAdError
|
Error information for AdGroupAdService.
Enumerations
-
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.
-
ENTITY_REFERENCED_IN_MULTIPLE_OPS
- An ad may only be modified once per call
-
UNSUPPORTED_OPERATION
- The specified operation is not supported. Only ADD, SET, and REMOVE
are supported
|
AdGroupCriterionError
|
Base error class for Ad Group Criterion Service.
Enumerations
-
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.
-
INVALID_PRODUCT_PARTITION_HIERARCHY
- Ad group is invalid due to the product partitions it contains.
-
PRODUCT_PARTITION_UNIT_CANNOT_HAVE_CHILDREN
- Product partition unit cannot have children.
-
PRODUCT_PARTITION_SUBDIVISION_REQUIRES_OTHERS_CASE
- Subdivided product partitions must have an "others" case.
-
PRODUCT_PARTITION_REQUIRES_SAME_DIMENSION_TYPE_AS_SIBLINGS
- Dimension type of product partition must be the same as that of its siblings.
-
PRODUCT_PARTITION_ALREADY_EXISTS
- Product partition cannot be added to the ad group because it already exists.
-
PRODUCT_PARTITION_DOES_NOT_EXIST
- Product partition referenced in the operation was not found in the ad group.
-
PRODUCT_PARTITION_CANNOT_BE_REMOVED
- Recursive removal failed because product partition subdivision is being created or modified
in this request.
-
INVALID_PRODUCT_PARTITION_TYPE
- Product partition type is not allowed for specified AdGroupCriterion type.
-
PRODUCT_PARTITION_ADD_MAY_ONLY_USE_TEMP_ID
- Product partition in an ADD operation specifies a non temporary CriterionId.
-
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.
-
UNKNOWN
|
AdGroupFeedError
|
Represents an error for the AdGroupFeedService.
Enumerations
-
FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE
- An active feed already exists for this adgroup and place holder type.
-
INVALID_ID
- The specified id does not exist.
-
CANNOT_ADD_FOR_DELETED_FEED
- The specified feed is deleted.
-
CANNOT_ADD_ALREADY_EXISTING_ADGROUP_FEED
- The AdGroupFeed already exists. SET should be used to modify the existing AdGroupFeed.
-
CANNOT_OPERATE_ON_REMOVED_ADGROUP_FEED
- Cannot operate on removed adgroup feed.
-
INVALID_PLACEHOLDER_TYPES
- Invalid placeholder type ids.
-
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.
-
UNKNOWN
|
AdGroupServiceError
|
Represents possible error codes in AdGroupService.
Enumerations
-
DUPLICATE_ADGROUP_NAME
- AdGroup with the same name already exists for the campaign.
-
INVALID_ADGROUP_NAME
- AdGroup name is not valid.
-
USE_SET_OPERATOR_AND_MARK_STATUS_TO_REMOVED
- Cannot remove an adgroup, adgroup status can be marked removed
using set operator.
-
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.
|
AdSharingError
|
Errors related using the AdGroupAdService to create an AdGroupAd
with a reference to an existing AdId.
Enumerations
-
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. For more details, look
at sharedAdError.
-
CANNOT_SHARE_INACTIVE_AD
- Cannot add AdGroupAd on inactive Ad.
|
AuthenticationError
|
Errors returned when Authentication failed.
Enumerations
-
AUTHENTICATION_FAILED
- Authentication of the request failed.
-
CLIENT_CUSTOMER_ID_IS_REQUIRED
- Client Customer Id is required if CustomerIdMode is set to CLIENT_EXTERNAL_CUSTOMER_ID.
Starting version V201409 ClientCustomerId will be required for all requests except
for CustomerService.get
-
CLIENT_EMAIL_REQUIRED
- Client Email is required if CustomerIdMode is set to CLIENT_EXTERNAL_EMAIL_FIELD.
-
CLIENT_CUSTOMER_ID_INVALID
- Client customer Id is not a number.
-
CLIENT_EMAIL_INVALID
- Client customer Id is not a number.
-
CLIENT_EMAIL_FAILED_TO_AUTHENTICATE
- Client email is not a valid customer email.
-
CUSTOMER_NOT_FOUND
- No customer found for the customer id provided in the header.
-
GOOGLE_ACCOUNT_DELETED
- Client's Google Account is deleted.
-
GOOGLE_ACCOUNT_COOKIE_INVALID
- Google account login token in the cookie is invalid.
-
FAILED_TO_AUTHENTICATE_GOOGLE_ACCOUNT
- 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.
-
LOGIN_COOKIE_REQUIRED
- Login cookie is required for authentication.
-
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.
-
LOGIN_COOKIE_INVALID
- Login cookie is not valid.
-
FAILED_TO_RETRIEVE_LOGIN_COOKIE
- Failed to decrypt the login cookie.
-
USER_ID_INVALID
- User Id in the header is not a valid id.
|
AuthorizationError
|
Errors encountered when trying to authorize a user.
Enumerations
-
UNABLE_TO_AUTHORIZE
- Could not complete authorization due to an internal problem.
-
NO_ADWORDS_ACCOUNT_FOR_CUSTOMER
- Customer has no AdWords account.
-
USER_PERMISSION_DENIED
- User doesn't have permission to access customer.
-
EFFECTIVE_USER_PERMISSION_DENIED
- Effective user doesn't have permission to access this customer.
-
CUSTOMER_NOT_ACTIVE
- Access denied since the customer is not active.
-
USER_HAS_READONLY_PERMISSION
- User has read-only permission cannot mutate.
-
NO_CUSTOMER_FOUND
- No customer found.
-
SERVICE_ACCESS_DENIED
- Developer doesn't have permission to access service.
-
TWO_STEP_VERIFICATION_NOT_ENROLLED
- The customer has a policy to enforce 2-Step Verification, but the user is not enrolled.
-
ADVANCED_PROTECTION_NOT_ENROLLED
- The customer has a policy to enforce enrollment in the Advanced Protection Program, but
the user is not enrolled.
|
BiddingErrors
|
Represents error codes for bidding strategy entities.
Enumerations
-
BIDDING_STRATEGY_TRANSITION_NOT_ALLOWED
- Cannot transition to new bidding strategy.
-
BIDDING_STRATEGY_NOT_COMPATIBLE_WITH_ADGROUP_OVERRIDES
- Bidding strategy cannot be overridden by current ad group bidding strategy.
-
BIDDING_STRATEGY_NOT_COMPATIBLE_WITH_ADGROUP_CRITERIA_OVERRIDES
- Bidding strategy cannot be overridden by current criteria bidding strategy.
-
CAMPAIGN_BIDDING_STRATEGY_CANNOT_BE_OVERRIDDEN
- Cannot override campaign bidding strategy.
-
ADGROUP_BIDDING_STRATEGY_CANNOT_BE_OVERRIDDEN
- Cannot override ad group bidding strategy.
-
CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN
- Cannot attach bidding strategy to campaign.
-
CANNOT_ATTACH_BIDDING_STRATEGY_TO_ADGROUP
- Cannot attach bidding strategy to ad group.
-
CANNOT_ATTACH_BIDDING_STRATEGY_TO_ADGROUP_CRITERIA
- Cannot attach bidding strategy to criteria.
-
INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE
- Bidding strategy is not supported or cannot be used as anonymous.
-
BIDS_NOT_ALLLOWED
- No bids may be set. The bid list must be null or empty.
-
DUPLICATE_BIDS
- The bid list contains two or more bids of the same type.
-
INVALID_BIDDING_SCHEME
- The bidding scheme does not match the bidding strategy type.
-
INVALID_BIDDING_STRATEGY_TYPE
- The type does not match the named strategy's type.
-
MISSING_BIDDING_STRATEGY_TYPE
- The bidding strategy type is missing.
-
NULL_BID
- The bid list contains a null entry.
-
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 in the campaign that has value-based
bidding transitions.
-
NOT_ENOUGH_CONVERSIONS
- Not enough conversions tracked for value-based bidding 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_AD_GROUP_LEVEL_POP_BIDDING_STRATEGY
- Cannot target content network only as ad group uses Page One Promoted bidding strategy.
-
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.
-
ENHANCED_CPC_ENABLED_NOT_SUPPORTED_ON_PORTFOLIO_TARGET_SPEND_STRATEGY
- EnhancedCpcEnabled cannot be set on portfolio Target Spend strategies.
-
BIDDING_STRATEGY_TYPE_NOT_ALLOWED_FOR_UNIVERSAL_APP_BIDDING_STRATEGY_GOAL_TYPE
- The bidding strategy is not allowed for the universal app bidding strategy goal type.
-
UNKNOWN
|
CampaignBidModifierError
|
Base error class for CampaignBidModifier Service.
Enumerations
-
CAMPAIGN_BID_MODIFIER_ERROR
|
CampaignCriterionError
|
Base error class for Campaign Criterion Service.
Enumerations
-
CONCRETE_TYPE_REQUIRED
- Concrete type of criterion (keyword v.s. placement) is required for
ADD and SET 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 operation 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.
-
UNKNOWN
-
CANNOT_ADD_EXISTING_FIELD
- The existing field can't be updated with ADD operation. It can be updated with
SET operation only.
|
CampaignError
|
Base error class for Campaign Service.
Enumerations
-
CANNOT_GO_BACK_TO_INCOMPLETE
- A complete campaign cannot go back to being incomplete
-
CANNOT_TARGET_CONTENT_NETWORK
- Cannot target content network.
-
CANNOT_TARGET_SEARCH_NETWORK
- Cannot target search network.
-
CANNOT_TARGET_SEARCH_NETWORK_WITHOUT_GOOGLE_SEARCH
- Cannot cover search network without google 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 @link{Experiment}s
so it cannot be shared.
-
CAMPAIGN_CANNOT_USE_SHARED_BUDGET
- Campaigns using @link{Experiment}s 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.
-
CAMPAIGN_CANNOT_USE_SHARED_BUDGET_WHILE_PART_OF_CAMPAIGN_GROUP
- A campaign cannot use a shared budget and be a part of a campaign group.
-
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.
-
UNKNOWN
- Default error
|
CampaignFeedError
|
Represents an error for the CampaignFeedService.
Enumerations
-
FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE
- An active feed already exists for this campaign and place holder type.
-
INVALID_ID
- The specified id does not exist.
-
CANNOT_ADD_FOR_DELETED_FEED
- The specified feed is deleted.
-
CANNOT_ADD_ALREADY_EXISTING_CAMPAIGN_FEED
- The CampaignFeed already exists. SET should be used to modify the existing CampaignFeed.
-
CANNOT_OPERATE_ON_REMOVED_CAMPAIGN_FEED
- Cannot operate on deleted campaign feed.
-
INVALID_PLACEHOLDER_TYPES
- Invalid placeholder type ids.
-
MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE
- Feed mapping for this placeholder type does not exist.
-
NO_EXISTING_LOCATION_CUSTOMER_FEED
- Location CampaignFeeds cannot be created unless there is a location CustomerFeed
for the specified feed.
-
UNKNOWN
|
CampaignPreferenceError
|
Represents error codes for campaign preferences.
Enumerations
-
PREFERENCE_ALREADY_EXISTS
- A campaign cannot have two preferences with the same preference key.
-
PREFERENCE_NOT_FOUND
- No preference matched the given preference key.
-
UNKNOWN
|
CampaignSharedSetError
|
Represents error codes for the CampaignSharedSetService.
Enumerations
-
CAMPAIGN_SHARED_SET_DOES_NOT_EXIST
-
UNKNOWN
|
ClientTermsError
|
Error due to user not accepting the AdWords terms of service.
Enumerations
-
INCOMPLETE_SIGNUP_CURRENT_ADWORDS_TNC_NOT_AGREED
-
Customer has not agreed to the latest AdWords Terms &
Conditions
|
CriterionError
|
Error class used for reporting criteria related errors.
Enumerations
-
CONCRETE_TYPE_REQUIRED
- Concrete type of criterion is required for ADD and SET 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_VERTICAL_PATH
- Invalid vertical 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.
-
CANNOT_ADD_POSITIVE_PLACEMENTS_TO_SEARCH_CAMPAIGNS
- Positive (targeted) criteria in the Placement targeting dimension (aka CriterionTypeGroup)
are not allowed in Search campaigns. They can only be excluded. The Placement targeting
dimension includes Placements, MobileApps, MobileAppCategories, YouTubeChannels,
YouTubeVideos, etc.
-
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 is too short.
-
INVALID_CITYNAME_LENGTH
- City name in the address is too short.
-
INVALID_REGIONCODE_LENGTH
- Region code in the address is too short.
-
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.
-
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 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_CANNOT_ADD_NON_SMART_TARGETING_TO_NON_DSA_AD_GROUP
- Only allow smart targeting on non-DSA ad groups.
-
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 platform 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.
-
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.
-
ADSENSE_FOR_MOBILE_APPS_PLACEMENT_DEPRECATED
- adsenseformobileapps.com placement is no longer supported.
-
UNKNOWN
|
DatabaseError
|
Errors that are thrown due to a database access problem.
Enumerations
-
CONCURRENT_MODIFICATION
- A concurrency problem occurred as two threads were attempting to modify same object.
-
PERMISSION_DENIED
- The permission was denied to access an object.
-
ACCESS_PROHIBITED
- The user's access to an object has been prohibited.
-
CAMPAIGN_PRODUCT_NOT_SUPPORTED
- Requested campaign belongs to a product that is not supported by the api.
-
DUPLICATE_KEY
- a duplicate key was detected upon insertion
-
DATABASE_ERROR
- a database error has occurred
-
UNKNOWN
- an unknown error has occurred
|
DateError
|
Errors associated with invalid dates and date ranges.
Enumerations
-
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 yyyymmdd.
-
INVALID_STRING_DATE_RANGE
- The string date range's format should be yyyymmdd yyyymmdd.
-
INVALID_STRING_DATE_TIME
- The string date time's format should be yyyymmdd hhmmss [tz].
-
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.
|
DateRangeError
|
A list of all the error codes being used for date range error.
Enumerations
-
DATE_RANGE_ERROR
-
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 campaign that has started.
|
DistinctError
|
Errors related to distinct ids or content.
Enumerations
-
DUPLICATE_ELEMENT
-
DUPLICATE_TYPE
|
EntityAccessDenied
|
Reports permission problems trying to access an entity.
Enumerations
-
READ_ACCESS_DENIED
- User did not have read access.
-
WRITE_ACCESS_DENIED
- User did not have write access.
|
EntityCountLimitExceeded
|
Signals that an entity count limit was exceeded for some level.
For example, too many criteria for a campaign.
Enumerations
-
ACCOUNT_LIMIT
- Indicates that this request would exceed the number of allowed entities for the AdWords
account. The exact entity type and limit being checked can be inferred from
accountLimitType.
-
CAMPAIGN_LIMIT
- Indicates that this request would exceed the number of allowed entities in a Campaign.
The exact entity 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 entities in
an ad group. The exact entity 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 entities in an ad group ad.
The exact entity 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 entities in an ad group
criterion. The exact entity 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 entities in
this shared set. The exact entity 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.
-
UNKNOWN
- Specific limit that has been exceeded is unknown (the client may be of an
older version than the server).
|
EntityNotFound
|
An id did not correspond to an entity, or it referred to an entity which does not belong to the
customer.
Enumerations
-
INVALID_ID
- The specified id refered to an entity which either doesn't exist or is not accessible to the
customer. e.g. campaign belongs to another customer.
|
FeedError
|
An error caused by an invalid Feed in a FeedService request.
Enumerations
-
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_CHANGE_ORIGIN
- Origin can only be set during Feed creation.
-
CANNOT_SPECIFY_USER_ORIGIN_FOR_SYSTEM_FEED
- Cannot specify USER origin for a system generated feed.
-
CANNOT_SPECIFY_ADWORDS_ORIGIN_FOR_NON_SYSTEM_FEED
- Cannot specify ADWORDS 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_ADWORDS
- Cannot update FeedAttributes on feed with origin adwords.
-
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 effect the unique key.
-
TOO_MANY_FEED_ATTRIBUTES_FOR_FEED
- 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.
-
CANNOT_CHANGE_SYSTEM_FEED_GENERATION_DATA_TYPE
- Cannot change system feed generation data type
-
UNSUPPORTED_AFFILIATE_LOCATION_RELATIONSHIP_TYPE
- Unsupported relationship type
-
UNKNOWN
|
FunctionError
|
Errors that indicate issues with the function.
Enumerations
-
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.
-
UNKNOWN
|
IdError
|
Errors associated with the ids.
Enumerations
-
NOT_FOUND
- Id not found
|
ImageError
|
Error class for errors associated with parsing image data.
Enumerations
-
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.
|
InternalApiError
|
Indicates that a server-side error has occured. InternalApiError s
are generally not the result of an invalid request or message sent by the
client.
Enumerations
-
UNEXPECTED_INTERNAL_API_ERROR
- API encountered an unexpected internal error.
-
TRANSIENT_ERROR
- A temporary error occurred during the request. Please retry.
-
UNKNOWN
- The cause of the error is not known or only defined in newer versions.
-
DOWNTIME
- The API is currently unavailable for a planned downtime.
-
ERROR_GENERATING_RESPONSE
- Mutate succeeded but server was unable to build response. Client should not retry mutate.
|
MediaError
|
Error class for media related errors.
Enumerations
-
CANNOT_ADD_STANDARD_ICON
- Cannot add a standard icon type
-
CANNOT_SELECT_STANDARD_ICON_WITH_OTHER_TYPES
- May only select Standard Icons alone
-
CANNOT_SPECIFY_MEDIA_ID_AND_DATA
- Image contains both a media ID and media data.
-
DUPLICATE_MEDIA
- A media with given type and reference id already exists
-
EMPTY_FIELD
- A required field was not specified or is an empty string.
-
ENTITY_REFERENCED_IN_MULTIPLE_OPS
- A media 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_ID
- The media id is invalid
-
INVALID_MEDIA_SUB_TYPE
- The media subtype is invalid
-
INVALID_MEDIA_TYPE
- The media 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_FAILED_TRANSCODING
- Media has failed transcoding
-
MEDIA_NOT_TRANSCODED
- Media has not been transcoded
-
MEDIA_TYPE_DOES_NOT_MATCH_OBJECT_TYPE
- The MediaType does not match the actual media object's type
-
NO_FIELDS_SPECIFIED
- None of the fields have been specified.
-
NULL_REFERENCE_ID_AND_MEDIA_ID
- One of reference Id or media Id must be specified
-
TOO_LONG
- The string has too many characters.
-
UNSUPPORTED_OPERATION
- The specified operation is not supported. Only ADD, SET, and REMOVE
are supported
-
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.
|
MultiplierError
|
Represents errors in bid multipliers.
Enumerations
-
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
-
MULTIPLIER_ERROR
|
NewEntityCreationError
|
Error associated with creation of new entities.
Enumerations
-
CANNOT_SET_ID_FOR_ADD
- Do not set the id field while creating new entities.
-
DUPLICATE_TEMP_IDS
- Creating more than one entity with the same temp ID is not allowed.
-
TEMP_ID_ENTITY_HAD_ERRORS
- Parent object with specified temp id failed validation, so no deep
validation will be done for this child entity.
|
NotEmptyError
|
Errors corresponding with violation of a NOT EMPTY check.
Enumerations
-
EMPTY_LIST
|
NullError
|
Errors associated with violation of a NOT NULL check.
Enumerations
-
NULL_CONTENT
- Specified list/container must not contain any null elements
|
OperationAccessDenied
|
Operation not permitted due to the invoked service's access policy.
Enumerations
-
ACTION_NOT_PERMITTED
- Unauthorized invocation of a service's method (get, mutate, etc.)
-
ADD_OPERATION_NOT_PERMITTED
- Unauthorized ADD operation in invoking a service's mutate method.
-
REMOVE_OPERATION_NOT_PERMITTED
- Unauthorized REMOVE operation in invoking a service's mutate method.
-
SET_OPERATION_NOT_PERMITTED
- Unauthorized SET 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
-
ADD_AS_REMOVED_NOT_PERMITTED
- An ADD operation may not set status to REMOVED.
-
OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY
- 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.
-
UNKNOWN
- The reason the invoked method or operation is prohibited is not known
(the client may be of an older version than the server).
|
OperatorError
|
Errors due to the use of unsupported operations.
Enumerations
-
OPERATOR_NOT_SUPPORTED
|
PagingError
|
Error codes for pagination.
Enumerations
-
START_INDEX_CANNOT_BE_NEGATIVE
- The start index value cannot be a negative number.
-
NUMBER_OF_RESULTS_CANNOT_BE_NEGATIVE
- The number of results cannot be a negative number.
-
UNKNOWN
-
|
PolicyViolationError
|
Represents violations of a single policy by some text in a field.
Violations of a single policy by the same string in multiple places
within a field is reported in one instance of this class and only one
exemption needs to be filed.
Violations of a single policy by two different strings is reported
as two separate instances of this class.
e.g. If 'ACME' violates 'capitalization' and occurs twice in a text ad it
would be represented by one instance. If the ad also contains 'INC' which
also violates 'capitalization' it would be represented in a separate
instance.
|
QueryError
|
A QueryError represents possible errors for query parsing and execution.
Enumerations
-
PARSING_FAILED
- Exception that happens when trying to parse a query that doesn't match the AWQL grammar.
-
MISSING_QUERY
- The provided query is an empty string.
-
MISSING_SELECT_CLAUSE
- The query does not contain the required SELECT clause or it is not in the
correct location.
-
MISSING_FROM_CLAUSE
- The query does not contain the required FROM clause or it is not in the correct location.
-
INVALID_SELECT_CLAUSE
- The SELECT clause could not be parsed.
-
INVALID_FROM_CLAUSE
- The FROM clause could not be parsed.
-
INVALID_WHERE_CLAUSE
- The WHERE clause could not be parsed.
-
INVALID_ORDER_BY_CLAUSE
- The ORDER BY clause could not be parsed.
-
INVALID_LIMIT_CLAUSE
- The LIMIT clause could not be parsed.
-
INVALID_START_INDEX_IN_LIMIT_CLAUSE
- The startIndex in the LIMIT clause does not contain a valid integer.
-
INVALID_PAGE_SIZE_IN_LIMIT_CLAUSE
- The pageSize in the LIMIT clause does not contain a valid integer.
-
INVALID_DURING_CLAUSE
- The DURING clause could not be parsed.
-
INVALID_MIN_DATE_IN_DURING_CLAUSE
- The minimum date in the DURING clause is not a valid date in YYYYMMDD format.
-
INVALID_MAX_DATE_IN_DURING_CLAUSE
- The maximum date in the DURING clause is not a valid date in YYYYMMDD format.
-
MAX_LESS_THAN_MIN_IN_DURING_CLAUSE
- The minimum date in the DURING is after the maximum date.
-
VALIDATION_FAILED
- The query matched the grammar, but is invalid in some way such as using a service that
isn't supported.
|
QuotaCheckError
|
Encapsulates the errors thrown during developer quota checks.
Enumerations
-
INVALID_TOKEN_HEADER
- Customer passed in an invalid token in the header.
-
ACCOUNT_DELINQUENT
- Customer is marked delinquent.
-
ACCOUNT_INACCESSIBLE
- Customer is a fraudulent.
-
ACCOUNT_INACTIVE
- Inactive Account.
-
INCOMPLETE_SIGNUP
- Signup not complete
-
DEVELOPER_TOKEN_NOT_APPROVED
- Developer token is not approved for production access, and the customer
is attempting to access a production account.
-
TERMS_AND_CONDITIONS_NOT_SIGNED
- Terms and conditions are not signed.
-
MONTHLY_BUDGET_REACHED
- Monthly budget quota reached.
-
QUOTA_EXCEEDED
- Monthly budget quota exceeded.
|
RangeError
|
A list of all errors associated with the Range constraint.
Enumerations
-
TOO_LOW
-
TOO_HIGH
|
RateExceededError
|
Signals that a call failed because a measured rate exceeded.
Enumerations
-
RATE_EXCEEDED
- Rate exceeded.
|
ReadOnlyError
|
Errors from attempting to write to read-only fields.
Enumerations
-
READ_ONLY
|
RejectedError
|
Indicates that a field was rejected due to compatibility issues.
Enumerations
-
UNKNOWN_VALUE
- Unknown value encountered
|
RequestError
|
Encapsulates the generic errors thrown when there's an error with user
request.
Enumerations
-
UNKNOWN
- Error reason is unknown.
-
INVALID_INPUT
- Invalid input.
-
UNSUPPORTED_VERSION
- The api version in the request has been discontinued. Please update
to the new AdWords API version.
|
RequiredError
|
Errors due to missing required field.
Enumerations
-
REQUIRED
- Missing required field.
|
SelectorError
|
Represents possible error codes for Selector.
Enumerations
-
INVALID_FIELD_NAME
- The field name is not valid.
-
MISSING_FIELDS
- The list of fields is null or empty.
-
MISSING_PREDICATES
- The list of predicates is null or empty.
-
OPERATOR_DOES_NOT_SUPPORT_MULTIPLE_VALUES
- Predicate operator does not support multiple values. Multiple values are
supported only for Predicate.Operator.IN and Predicate.Operator.NOT_IN.
-
INVALID_PREDICATE_ENUM_VALUE
- The predicate enum value is not valid.
-
MISSING_PREDICATE_OPERATOR
- The predicate operator is empty.
-
MISSING_PREDICATE_VALUES
- The predicate values are empty.
-
INVALID_PREDICATE_FIELD_NAME
- The predicate field name is not valid.
-
INVALID_PREDICATE_OPERATOR
- The predicate operator is not valid.
-
INVALID_FIELD_SELECTION
- Invalid selection of fields.
-
INVALID_PREDICATE_VALUE
- The predicate value is not valid.
-
INVALID_SORT_FIELD_NAME
- The sort field name is not valid or the field is not sortable.
-
SELECTOR_ERROR
- Standard error.
-
FILTER_BY_DATE_RANGE_NOT_SUPPORTED
- Filtering by date range is not supported.
-
START_INDEX_IS_TOO_HIGH
- Selector paging start index is too high.
-
TOO_MANY_PREDICATE_VALUES
- The values list in a predicate was too long.
-
UNKNOWN_ERROR
-
|
SettingError
|
Indicates a problem with campaign settings.
Enumerations
-
DUPLICATE_SETTING_TYPE
- The campaign already has a setting of the type that is being added.
-
SETTING_TYPE_IS_NOT_AVAILABLE
- The campaign setting is not available for this AdWords 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
- Starting with AdWords API v201802, 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
- Starting with AdWords API v201802,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.
-
UNKNOWN
- Unspecified campaign setting error.
|
SizeLimitError
|
Indicates that the number of entries in the request or response exceeds the system limit.
Enumerations
-
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.
-
INTERNAL_STORAGE_ERROR
- The account is too large to load.
-
UNKNOWN
-
|
StringFormatError
|
A list of error code for reporting invalid content of input strings.
Enumerations
-
UNKNOWN
-
ILLEGAL_CHARS
- The input string value contains disallowed characters.
-
INVALID_FORMAT
- The input string value is invalid for the associated field.
|
StringLengthError
|
Errors associated with the length of the given string being
out of bounds.
Enumerations
-
TOO_SHORT
-
TOO_LONG
|
UrlError
|
Url Validation errors.
Enumerations
-
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 entity exceeds the maximum limit allowed.
-
URL_CUSTOM_PARAMETER_REMOVAL_WITH_NON_NULL_VALUE
- The parameter has isRemove set to true but a value that is non-null.
-
CANNOT_REMOVE_URL_CUSTOM_PARAMETER_IN_ADD_OPERATION
- For add operations, there will not be any existing parameters to delete.
-
CANNOT_REMOVE_URL_CUSTOM_PARAMETER_DURING_FULL_REPLACEMENT
- When the doReplace flag is set to true, individual parameters cannot be deleted.
-
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.
-
NULL_CUSTOM_PARAMETER_VALUE_DURING_ADD_OR_FULL_REPLACEMENT
- For ADD operations and when the doReplace flag is set to true, custom parameter values
cannot be null.
-
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_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
-
INVALID_URL_ID
-
URL_ERROR
|
VideoError
|
Error class for errors associated with parsing video data.
Enumerations
-
INVALID_VIDEO
- Invalid video.
-
STORAGE_ERROR
- Storage error.
-
BAD_REQUEST
- Bad request.
-
ERROR_GENERATING_STREAMING_URL
- Server error.
-
UNEXPECTED_SIZE
- Unexpected size.
-
SERVER_ERROR
- Server error.
-
FILE_TOO_LARGE
- File too large.
-
VIDEO_PROCESSING_ERROR
- Video processing error.
-
INVALID_INPUT
- Invalid input.
-
PROBLEM_READING_FILE
- Problem reading file.
-
INVALID_ISCI
- Invalid ISCI.
-
INVALID_AD_ID
- Invalid AD-ID.
|