customer_negative_criterion

  • Customer negative criterion in Google Ads is used for exclusions at the customer level.

  • You can select fields from customer, mobile app category constant, and shared set resources along with the customer negative criterion resource in your SELECT and WHERE clauses.

  • Various fields are available for customer negative criterion, including content label type, ID, IP block address, mobile app category, mobile application details, negative keyword list, placement URL, resource name, type, YouTube channel ID, and YouTube video ID.

  • The resource name field provides an immutable identifier for a customer negative criterion.

  • The type field is output-only and indicates the type of the criterion, such as AD_SCHEDULE, KEYWORD, PLACEMENT, or YOUTUBE_CHANNEL.

A negative criterion for exclusions at the customer level.

Attributed resources
customer
mobile_app_category_constant
shared_set

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 descriptionContent label type, required for CREATE operations.
CategoryATTRIBUTE
Data Type
Type URLgoogle.ads.googleads.v20.enums.ContentLabelTypeEnum.ContentLabelType
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

customer_negative_criterion.id

Field descriptionOutput only. The ID of the criterion.
CategoryATTRIBUTE
Data TypeINT64
Type URLN/A
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

customer_negative_criterion.ip_block.ip_address

Field descriptionThe IP address of this IP block.
CategoryATTRIBUTE
Data TypeSTRING
Type URLN/A
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

customer_negative_criterion.mobile_app_category.mobile_app_category_constant

Field descriptionThe mobile app category constant resource name.
CategoryATTRIBUTE
Data TypeRESOURCE_NAME
Type URLN/A
FilterableTrue
SelectableTrue
SortableFalse
RepeatedFalse

customer_negative_criterion.mobile_application.app_id

Field descriptionA 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.
CategoryATTRIBUTE
Data TypeSTRING
Type URLN/A
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

customer_negative_criterion.mobile_application.name

Field descriptionName of this mobile application.
CategoryATTRIBUTE
Data TypeSTRING
Type URLN/A
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

customer_negative_criterion.negative_keyword_list.shared_set

Field descriptionThe NegativeKeywordListInfo shared set resource name.
CategoryATTRIBUTE
Data TypeRESOURCE_NAME
Type URLN/A
FilterableTrue
SelectableTrue
SortableFalse
RepeatedFalse

customer_negative_criterion.placement.url

Field descriptionURL of the placement. For example, "http://www.domain.com".
CategoryATTRIBUTE
Data TypeSTRING
Type URLN/A
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

customer_negative_criterion.resource_name

Field descriptionImmutable. The resource name of the customer negative criterion. Customer negative criterion resource names have the form: customers/{customer_id}/customerNegativeCriteria/{criterion_id}
CategoryATTRIBUTE
Data TypeRESOURCE_NAME
Type URLN/A
FilterableTrue
SelectableTrue
SortableFalse
RepeatedFalse

customer_negative_criterion.type

Field descriptionOutput only. The type of the criterion.
CategoryATTRIBUTE
Data Type
Type URLgoogle.ads.googleads.v20.enums.CriterionTypeEnum.CriterionType
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

customer_negative_criterion.youtube_channel.channel_id

Field descriptionThe YouTube uploader channel id or the channel code of a YouTube channel.
CategoryATTRIBUTE
Data TypeSTRING
Type URLN/A
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

customer_negative_criterion.youtube_video.video_id

Field descriptionYouTube video id as it appears on the YouTube watch page.
CategoryATTRIBUTE
Data TypeSTRING
Type URLN/A
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse