> [!CAUTION]
> **Caution:** This documentation is for Google Ads API **v25** . The latest active version is [**v26**](https://developers.google.com/google-ads/api/fields/latest/customer_negative_criterion).

[<button style="margin-top:15px">Help me build a query</button>](https://developers.google.com/google-ads/api/fields/v25/customer_negative_criterion_query_builder.md.txt) [<button style="margin-top:15px">Proto definition ![GitHub](https://developers.google.com/site-assets/logo-github.svg)</button>](https://github.com/googleapis/googleapis/blob/master/google/ads/googleads/v25/resources/customer_negative_criterion.proto)

A negative criterion for exclusions at the customer level.

| Attributed resources |
|---|
| [customer](https://developers.google.com/google-ads/api/fields/v25/customer.md.txt) |
| [mobile_app_category_constant](https://developers.google.com/google-ads/api/fields/v25/mobile_app_category_constant.md.txt) |
| [shared_set](https://developers.google.com/google-ads/api/fields/v25/shared_set.md.txt) |

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.
Category`ATTRIBUTE` Data Type `ENUM`
`BELOW_THE_FOLD``BRAND_SUITABILITY_CONTENT_FOR_FAMILIES``BRAND_SUITABILITY_GAMES_FIGHTING``BRAND_SUITABILITY_GAMES_MATURE``BRAND_SUITABILITY_HEALTH_SENSITIVE``BRAND_SUITABILITY_HEALTH_SOURCE_UNDETERMINED``BRAND_SUITABILITY_NEWS_RECENT``BRAND_SUITABILITY_NEWS_SENSITIVE``BRAND_SUITABILITY_NEWS_SOURCE_NOT_FEATURED``BRAND_SUITABILITY_POLITICS``BRAND_SUITABILITY_RELIGION``EMBEDDED_VIDEO``JUVENILE``LIVE_STREAMING_VIDEO``PARKED_DOMAIN``PROFANITY``SEXUALLY_SUGGESTIVE``SOCIAL_ISSUES``TRAGEDY``UNKNOWN``UNSPECIFIED``VIDEO``VIDEO_NOT_YET_RATED``VIDEO_RATING_DV_G``VIDEO_RATING_DV_MA``VIDEO_RATING_DV_PG``VIDEO_RATING_DV_T` Type URL`google.ads.googleads.v25.enums.ContentLabelTypeEnum.ContentLabelType` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[customer_negative_criterion](https://developers.google.com/google-ads/api/fields/v25/customer_negative_criterion.md.txt)

## customer_negative_criterion.id

Field descriptionOutput only. The ID of the criterion.
Category`ATTRIBUTE` Data Type`INT64` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[customer_negative_criterion](https://developers.google.com/google-ads/api/fields/v25/customer_negative_criterion.md.txt)

## customer_negative_criterion.ip_block.ip_address

Field descriptionThe IP address or the CIDR block to be excluded.
Category`ATTRIBUTE` Data Type`STRING` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[customer_negative_criterion](https://developers.google.com/google-ads/api/fields/v25/customer_negative_criterion.md.txt)

## customer_negative_criterion.mobile_app_category.mobile_app_category_constant

Field descriptionThe mobile app category constant resource name.
Category`ATTRIBUTE` Data Type`RESOURCE_NAME` Type URL`N/A` FilterableTrue SelectableTrue SortableFalse RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[customer_negative_criterion](https://developers.google.com/google-ads/api/fields/v25/customer_negative_criterion.md.txt)

## 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.
Category`ATTRIBUTE` Data Type`STRING` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[customer_negative_criterion](https://developers.google.com/google-ads/api/fields/v25/customer_negative_criterion.md.txt)

## customer_negative_criterion.mobile_application.name

Field descriptionName of this mobile application.
Category`ATTRIBUTE` Data Type`STRING` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[customer_negative_criterion](https://developers.google.com/google-ads/api/fields/v25/customer_negative_criterion.md.txt)

## customer_negative_criterion.negative_keyword_list.shared_set

Field descriptionThe NegativeKeywordListInfo shared set resource name.
Category`ATTRIBUTE` Data Type`RESOURCE_NAME` Type URL`N/A` FilterableTrue SelectableTrue SortableFalse RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[customer_negative_criterion](https://developers.google.com/google-ads/api/fields/v25/customer_negative_criterion.md.txt)

## customer_negative_criterion.placement.url

Field descriptionURL of the placement.

For example, "http://www.domain.com".
Category`ATTRIBUTE` Data Type`STRING` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[customer_negative_criterion](https://developers.google.com/google-ads/api/fields/v25/customer_negative_criterion.md.txt)

## customer_negative_criterion.placement_list.shared_set

Field descriptionThe PlacementListInfo shared set resource name.
Category`ATTRIBUTE` Data Type`RESOURCE_NAME` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[customer_negative_criterion](https://developers.google.com/google-ads/api/fields/v25/customer_negative_criterion.md.txt)

## 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}`
Category`ATTRIBUTE` Data Type`RESOURCE_NAME` Type URL`N/A` FilterableTrue SelectableTrue SortableFalse RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[customer_negative_criterion](https://developers.google.com/google-ads/api/fields/v25/customer_negative_criterion.md.txt)

## customer_negative_criterion.type

Field descriptionOutput only. The type of the criterion.
Category`ATTRIBUTE` Data Type `ENUM`
`AD_SCHEDULE``AGE_RANGE``APP_PAYMENT_MODEL``AUDIENCE``BRAND``BRAND_LIST``CARRIER``COMBINED_AUDIENCE``CONTENT_LABEL``CUSTOM_AFFINITY``CUSTOM_AUDIENCE``CUSTOM_INTENT``DEVICE``GENDER``INCOME_RANGE``IP_BLOCK``KEYWORD``KEYWORD_THEME``LANGUAGE``LIFE_EVENT``LISTING_GROUP``LISTING_SCOPE``LOCAL_SERVICE_ID``LOCATION``LOCATION_GROUP``MOBILE_APPLICATION``MOBILE_APP_CATEGORY``MOBILE_DEVICE``NEGATIVE_KEYWORD_LIST``OPERATING_SYSTEM_VERSION``PARENTAL_STATUS``PLACEMENT``PLACEMENT_LIST``PROXIMITY``RETAIL_FILTER``RETAIL_FILTER_BUNDLE``SEARCH_THEME``TOPIC``UNKNOWN``UNSPECIFIED``USER_INTEREST``USER_LIST``VERTICAL_ADS_ITEM_BID``VERTICAL_ADS_ITEM_GROUP_RULE``VERTICAL_ADS_ITEM_GROUP_RULE_LIST``VIDEO_LINEUP``WEBPAGE``WEBPAGE_LIST``YOUTUBE_CHANNEL``YOUTUBE_VIDEO` Type URL`google.ads.googleads.v25.enums.CriterionTypeEnum.CriterionType` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[customer_negative_criterion](https://developers.google.com/google-ads/api/fields/v25/customer_negative_criterion.md.txt)

## customer_negative_criterion.youtube_channel.channel_id

Field descriptionThe YouTube uploader channel id or the channel code of a YouTube channel.
Category`ATTRIBUTE` Data Type`STRING` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[customer_negative_criterion](https://developers.google.com/google-ads/api/fields/v25/customer_negative_criterion.md.txt)

## customer_negative_criterion.youtube_video.video_id

Field descriptionYouTube video id as it appears on the YouTube watch page.
Category`ATTRIBUTE` Data Type`STRING` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[customer_negative_criterion](https://developers.google.com/google-ads/api/fields/v25/customer_negative_criterion.md.txt)