customer_negative_criterion
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
A customer_negative_criterion in the Google Ads API represents an exclusion applied at the customer level.
You can select fields from customer, mobile_app_category_constant, and shared_set resources along with customer_negative_criterion in your SELECT and WHERE clauses, but these will not segment metrics.
The customer_negative_criterion resource has various fields for specifying exclusion types like content labels, IP addresses, mobile apps, negative keyword lists, placements, YouTube channels, and YouTube videos.
Key output-only fields include customer_negative_criterion.id, customer_negative_criterion.resource_name, and customer_negative_criterion.type, which indicates the criterion type.
A negative criterion for exclusions at the customer level.
Fields from the above resources may be selected along with this
resource in your SELECT and WHERE clauses. These fields will not segment
metrics in your SELECT clause.
customer_negative_criterion.content_label.type
Field description
Content label type, required for CREATE operations.
A string that uniquely identifies a mobile application to Google Ads API. The format of this string is "{platform}-{platform_native_id}", where platform is "1" for iOS apps and "2" for Android apps, and where platform_native_id is the mobile application identifier native to the corresponding platform. For iOS, this native identifier is the 9 digit string that appears at the end of an App Store URL (for example, "476943146" for "Flood-It! 2" whose App Store link is "http://itunes.apple.com/us/app/flood-it!-2/id476943146"). For Android, this native identifier is the application's package name (for example, "com.labpixies.colordrips" for "Color Drips" given Google Play link "https://play.google.com/store/apps/details?id=com.labpixies.colordrips"). A well formed app id for Google Ads API would thus be "1-476943146" for iOS and "2-com.labpixies.colordrips" for Android. This field is required and must be set in CREATE operations.
The NegativeKeywordListInfo shared set resource name.
Category
ATTRIBUTE
Data Type
RESOURCE_NAME
Type URL
N/A
Filterable
True
Selectable
True
Sortable
False
Repeated
False
customer_negative_criterion.placement.url
Field description
URL of the placement. For example, "http://www.domain.com".
Category
ATTRIBUTE
Data Type
STRING
Type URL
N/A
Filterable
True
Selectable
True
Sortable
True
Repeated
False
customer_negative_criterion.resource_name
Field description
Immutable. The resource name of the customer negative criterion. Customer negative criterion resource names have the form: customers/{customer_id}/customerNegativeCriteria/{criterion_id}
[[["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 2025-10-16 UTC."],[],[]]