Join us live on
Discord on the Google Advertising and Measurement Community server and on
YouTube on January 29th at 10:00 AM EST! We will discuss the new features added in v23 of the Google Ads API.
SettingError
Stay organized with collections
Save and categorize content based on your preferences.
| Enums |
BID_ONLY_IS_NOT_ALLOWED_TO_BE_MODIFIED_WITH_CUSTOMER_MATCH_TARGETING
|
Switching from observation setting to targeting setting is not allowed for Customer Match lists. See https://support.google.com/google-ads/answer/6299717. |
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_INVALID_LANGUAGE_CODE
|
The supplied DynamicSearchAdsSetting contains an invalid language code. |
DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_SUBDOMAIN_NAME
|
The supplied DynamicSearchAdsSetting contains a subdomain name. |
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. |
SETTING_VALUE_NOT_COMPATIBLE_WITH_CAMPAIGN
|
The setting value is not compatible with the campaign type. |
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. |
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). |
TARGET_ALL_IS_NOT_ALLOWED_FOR_PLACEMENT_IN_SEARCH_CAMPAIGN
|
TargetingSettings in search campaigns should not have CriterionTypeGroup.PLACEMENT set to targetAll. |
UNKNOWN
|
The received error code is not known in this version. |
UNSPECIFIED
|
Enum unspecified. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-22 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-01-22 UTC."],[],[]]