---
title: "POST /v23/customers/{+customerId}/customerNegativeCriteria:mutate"
method: POST
path: "/v23/customers/{+customerId}/customerNegativeCriteria:mutate"
tags: ["customers"]
---

# POST /v23/customers/{+customerId}/customerNegativeCriteria:mutate

`POST /v23/customers/{+customerId}/customerNegativeCriteria:mutate`

Creates or removes criteria. Operation statuses are returned. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [CriterionError]() [DatabaseError]() [FieldError]() [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() [RequestError]()

## Path parameters

- `customerId` string, required

## Request body

- GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaRequest — Request message for CustomerNegativeCriterionService.MutateCustomerNegativeCriteria.
  - `partialFailure` boolean — If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. Default is false.
  - `validateOnly` boolean — If true, the request is validated but not executed. Only errors are returned, not results.
  - `operations` GoogleAdsSearchads360V23ServicesCustomerNegativeCriterionOperation[] — Required. The list of operations to perform on individual criteria.
    - `create` GoogleAdsSearchads360V23ResourcesCustomerNegativeCriterion — A negative criterion for exclusions at the customer level.
      - `ipBlock` GoogleAdsSearchads360V23CommonIpBlockInfo — An IpBlock criterion used for excluding IP addresses. We support excluding individual IP addresses or CIDR blocks. Create one IpBlockInfo criterion for each individual IP address or CIDR block you want to exclude. You can exclude up to 500 IP addresses per campaign. For more details, see [Exclude IP addresses](//support.google.com/google-ads/answer/2456098). IPv4 examples: * Individual address: 192.168.0.1 * Individual address as CIDR block: 192.168.0.1/32 * CIDR block: 192.168.0.0/24 IPv6 examples: * Individual address: 2001:db8:a0b:12f0::1 * Individual address as CIDR block: 2001:db8:a0b:12f0::1/128 * CIDR block: 2001:db8::/48
        - `ipAddress` string — The IP address or the CIDR block to be excluded.
      - `type` 'UNSPECIFIED' | 'UNKNOWN' | 'KEYWORD' | 'PLACEMENT' | 'MOBILE_APP_CATEGORY' | 'MOBILE_APPLICATION' | 'DEVICE' | 'LOCATION' | 'LISTING_GROUP' | 'AD_SCHEDULE' | 'AGE_RANGE' | 'GENDER' | 'INCOME_RANGE' | 'PARENTAL_STATUS' | 'YOUTUBE_VIDEO' | 'YOUTUBE_CHANNEL' | 'USER_LIST' | 'PROXIMITY' | 'TOPIC' | 'LISTING_SCOPE' | 'LANGUAGE' | 'IP_BLOCK' | 'CONTENT_LABEL' | 'CARRIER' | 'USER_INTEREST' | 'WEBPAGE' | 'OPERATING_SYSTEM_VERSION' | 'APP_PAYMENT_MODEL' | 'MOBILE_DEVICE' | 'CUSTOM_AFFINITY' | 'CUSTOM_INTENT' | 'LOCATION_GROUP' | 'CUSTOM_AUDIENCE' | 'COMBINED_AUDIENCE' | 'KEYWORD_THEME' | 'AUDIENCE' | 'NEGATIVE_KEYWORD_LIST' | 'LOCAL_SERVICE_ID' | 'SEARCH_THEME' | 'BRAND' | 'BRAND_LIST' | 'LIFE_EVENT' | 'WEBPAGE_LIST' | 'VIDEO_LINEUP' | 'PLACEMENT_LIST' | 'VERTICAL_ADS_ITEM_GROUP_RULE_LIST' | 'VERTICAL_ADS_ITEM_GROUP_RULE' — Output only. The type of the criterion.
      - `mobileAppCategory` GoogleAdsSearchads360V23CommonMobileAppCategoryInfo — A mobile app category criterion.
        - `mobileAppCategoryConstant` string — The mobile app category constant resource name.
      - `resourceName` string — Immutable. The resource name of the customer negative criterion. Customer negative criterion resource names have the form: `customers/{customer_id}/customerNegativeCriteria/{criterion_id}`
      - `negativeKeywordList` GoogleAdsSearchads360V23CommonNegativeKeywordListInfo — A Negative Keyword List criterion. Represents a shared set of negative keywords that can be excluded at the account-level. Only one negative keyword list criterion can be attached per account.
        - `sharedSet` string — The NegativeKeywordListInfo shared set resource name.
      - `contentLabel` GoogleAdsSearchads360V23CommonContentLabelInfo — Content Label for category exclusion.
        - `type` 'UNSPECIFIED' | 'UNKNOWN' | 'SEXUALLY_SUGGESTIVE' | 'BELOW_THE_FOLD' | 'PARKED_DOMAIN' | 'JUVENILE' | 'PROFANITY' | 'TRAGEDY' | 'VIDEO' | 'VIDEO_RATING_DV_G' | 'VIDEO_RATING_DV_PG' | 'VIDEO_RATING_DV_T' | 'VIDEO_RATING_DV_MA' | 'VIDEO_NOT_YET_RATED' | 'EMBEDDED_VIDEO' | 'LIVE_STREAMING_VIDEO' | 'SOCIAL_ISSUES' | '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' — Content label type, required for CREATE operations.
      - `placement` GoogleAdsSearchads360V23CommonPlacementInfo — A placement criterion. This can be used to modify bids for sites when targeting the content network.
        - `url` string — URL of the placement. For example, "http://www.domain.com".
      - `youtubeChannel` GoogleAdsSearchads360V23CommonYouTubeChannelInfo — A YouTube Channel criterion.
        - `channelId` string — The YouTube uploader channel id or the channel code of a YouTube channel.
      - `youtubeVideo` GoogleAdsSearchads360V23CommonYouTubeVideoInfo — A YouTube Video criterion.
        - `videoId` string — YouTube video id as it appears on the YouTube watch page.
      - `mobileApplication` GoogleAdsSearchads360V23CommonMobileApplicationInfo — A mobile application criterion.
        - `appId` string — 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.
        - `name` string — Name of this mobile application.
      - `placementList` GoogleAdsSearchads360V23CommonPlacementListInfo — A Placement List criterion. Represents a shared set of placements that can be excluded at the account-level.
        - `sharedSet` string — The PlacementListInfo shared set resource name.
      - `id` string, int64 — Output only. The ID of the criterion.
    - `remove` string — Remove operation: A resource name for the removed criterion is expected, in this format: `customers/{customer_id}/customerNegativeCriteria/{criterion_id}`
  - `responseContentType` 'UNSPECIFIED' | 'RESOURCE_NAME_ONLY' | 'MUTABLE_RESOURCE' — The response content type setting. Determines whether the mutable resource or just the resource name should be returned post mutation.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/searchads360.md) · [All operations](https://skmtc.net/google/apis/searchads360/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/searchads360/revisions/40d087435afd/schema)
