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

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

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

Creates and removes ad group criterion labels. Operation statuses are returned. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [FieldError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]()

## Path parameters

- `customerId` string, required

## Request body

- GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelsRequest — Request message for AdGroupCriterionLabelService.MutateAdGroupCriterionLabels.
  - `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` GoogleAdsSearchads360V23ServicesAdGroupCriterionLabelOperation[] — Required. The list of operations to perform on ad group criterion labels.
    - `create` GoogleAdsSearchads360V23ResourcesAdGroupCriterionLabel — A relationship between an ad group criterion and a label.
      - `label` string — Immutable. The label assigned to the ad group criterion.
      - `ownerCustomerId` string, int64 — Output only. The ID of the Customer which owns the label.
      - `adGroupCriterion` string — Immutable. The ad group criterion to which the label is attached.
      - `resourceName` string — Immutable. The resource name of the ad group criterion label. Ad group criterion label resource names have the form: `customers/{owner_customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}`
    - `remove` string — Remove operation: A resource name for the ad group criterion label being removed, in this format: `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}`

## 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/versions/40d087435afd/schema)
