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

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

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

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

## Path parameters

- `customerId` string, required

## Request body

- GoogleAdsSearchads360V23ServicesMutateAdGroupLabelsRequest — Request message for AdGroupLabelService.MutateAdGroupLabels.
  - `validateOnly` boolean — If true, the request is validated but not executed. Only errors are returned, not results.
  - `operations` GoogleAdsSearchads360V23ServicesAdGroupLabelOperation[] — Required. The list of operations to perform on ad group labels.
    - `create` GoogleAdsSearchads360V23ResourcesAdGroupLabel — A relationship between an ad group and a label.
      - `label` string — Immutable. The label assigned to the ad group.
      - `ownerCustomerId` string, int64 — Output only. The ID of the Customer which owns the label.
      - `resourceName` string — Immutable. The resource name of the ad group label. Ad group label resource names have the form: `customers/{owner_customer_id}/adGroupLabels/{ad_group_id}~{label_id}`
      - `adGroup` string — Immutable. The ad group to which the label is attached.
    - `remove` string — Remove operation: A resource name for the ad group label being removed, in this format: `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}`
  - `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.

## 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)
