Share your feedback about the Google Ads (AdWords) API. Take the 2021 AdWords API and Google Ads API Annual Survey.

The AdWords API will sunset on April 27, 2022. Migrate to the Google Ads API to take advantage of the latest Google Ads features.

type AdGroupServiceError (v201809)

Represents possible error codes in AdGroupService.


Namespace
https://adwords.google.com/api/adwords/cm/v201809

Field

ApiError (inherited)

fieldPath

xsd:string

The OGNL field path to identify cause of error.

fieldPathElements

FieldPathElement[]

A parsed copy of the field path. For example, the field path "operations[1].operand" corresponds to this list: {FieldPathElement(field = "operations", index = 1), FieldPathElement(field = "operand", index = null)}.

trigger

xsd:string

The data that caused the error.

errorString

xsd:string

A simple string representation of the error and reason.

ApiError.Type

xsd:string

Indicates that this instance is a subtype of ApiError. Although this field is returned in the response, it is ignored on input and cannot be selected. Specify xsi:type instead.

AdGroupServiceError

reason

AdGroupServiceError.Reason

The error reason represented by an enum.


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.