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

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

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

Creates audiences. Operation statuses are returned. List of thrown errors: [AudienceError]()

## Path parameters

- `customerId` string, required

## Request body

- GoogleAdsSearchads360V23ServicesMutateAudiencesRequest — Request message for AudienceService.MutateAudiences.
  - `validateOnly` boolean — If true, the request is validated but not executed. Only errors are returned, not results.
  - `operations` GoogleAdsSearchads360V23ServicesAudienceOperation[] — Required. The list of operations to perform on individual audiences.
    - `create` GoogleAdsSearchads360V23ResourcesAudience — Audience is an effective targeting option that lets you intersect different segment attributes, such as detailed demographics and affinities, to create audiences that represent sections of your target segments.
      - `resourceName` string — Immutable. The resource name of the audience. Audience names have the form: `customers/{customer_id}/audiences/{audience_id}`
      - `id` string, int64 — Output only. ID of the audience.
      - `description` string — Description of this audience.
      - `exclusionDimension` GoogleAdsSearchads360V23CommonAudienceExclusionDimension — Negative dimension specifying users to exclude from the audience.
        - `exclusions` GoogleAdsSearchads360V23CommonExclusionSegment[] — Audience segment to be excluded.
          - `userList` GoogleAdsSearchads360V23CommonUserListSegment — User list segment.
            - `userList` string — The user list resource.
      - `name` string — Name of the audience. It should be unique across all audiences within the account. It must have a minimum length of 1 and maximum length of 255. Required when scope is not set or is set to CUSTOMER. Cannot be set or updated when scope is ASSET_GROUP.
      - `scope` 'UNSPECIFIED' | 'UNKNOWN' | 'CUSTOMER' | 'ASSET_GROUP' — Defines the scope this audience can be used in. By default, the scope is CUSTOMER. Audiences can be created with a scope of ASSET_GROUP for exclusive use by a single asset_group. Scope may change from ASSET_GROUP to CUSTOMER but not from CUSTOMER to ASSET_GROUP.
      - `assetGroup` string — Immutable. The asset group that this audience is scoped under. Must be set if and only if scope is ASSET_GROUP. Immutable after creation. If an audience with ASSET_GROUP scope is upgraded to CUSTOMER scope, this field will automatically be cleared.
      - `status` 'UNSPECIFIED' | 'UNKNOWN' | 'ENABLED' | 'REMOVED' — Output only. Status of this audience. Indicates whether the audience is enabled or removed.
      - `dimensions` GoogleAdsSearchads360V23CommonAudienceDimension[] — Positive dimensions specifying the audience composition.
        - `gender` GoogleAdsSearchads360V23CommonGenderDimension — Dimension specifying users by their gender.
          - `genders` string[] — Included gender demographic segments.
          - `includeUndetermined` boolean — Include users whose gender is not determined.
        - `audienceSegments` GoogleAdsSearchads360V23CommonAudienceSegmentDimension — Dimension specifying users by their membership in other audience segments.
          - `segments` GoogleAdsSearchads360V23CommonAudienceSegment[] — Included audience segments. Users are included if they belong to at least one segment.
            - `detailedDemographic` GoogleAdsSearchads360V23CommonDetailedDemographicSegment — Detailed demographic segment.
              - …
            - `customAudience` GoogleAdsSearchads360V23CommonCustomAudienceSegment — Custom audience segment.
              - …
            - `userList` GoogleAdsSearchads360V23CommonUserListSegment — User list segment.
              - …
            - `userInterest` GoogleAdsSearchads360V23CommonUserInterestSegment — User interest segment.
              - …
            - `lifeEvent` GoogleAdsSearchads360V23CommonLifeEventSegment — Live event segment.
              - …
        - `householdIncome` GoogleAdsSearchads360V23CommonHouseholdIncomeDimension — Dimension specifying users by their household income.
          - `includeUndetermined` boolean — Include users whose household income is not determined.
          - `incomeRanges` string[] — Included household income demographic segments.
        - `age` GoogleAdsSearchads360V23CommonAgeDimension — Dimension specifying users by their age.
          - `includeUndetermined` boolean — Include users whose age is not determined.
          - `ageRanges` GoogleAdsSearchads360V23CommonAgeSegment[] — Contiguous age range to be included in the dimension.
            - `minAge` integer — Minimum age to include. A minimum age must be specified and must be at least 18. Allowed values are 18, 25, 35, 45, 55, and 65.
            - `maxAge` integer — Maximum age to include. A maximum age need not be specified. If specified, max_age must be greater than min_age, and allowed values are 24, 34, 44, 54, and 64.
        - `parentalStatus` GoogleAdsSearchads360V23CommonParentalStatusDimension — Dimension specifying users by their parental status.
          - `parentalStatuses` string[] — Included parental status demographic segments.
          - `includeUndetermined` boolean — Include users whose parental status is undetermined.
    - `update` GoogleAdsSearchads360V23ResourcesAudience — Audience is an effective targeting option that lets you intersect different segment attributes, such as detailed demographics and affinities, to create audiences that represent sections of your target segments.
      - `resourceName` string — Immutable. The resource name of the audience. Audience names have the form: `customers/{customer_id}/audiences/{audience_id}`
      - `id` string, int64 — Output only. ID of the audience.
      - `description` string — Description of this audience.
      - `exclusionDimension` GoogleAdsSearchads360V23CommonAudienceExclusionDimension — Negative dimension specifying users to exclude from the audience.
        - `exclusions` GoogleAdsSearchads360V23CommonExclusionSegment[] — Audience segment to be excluded.
          - `userList` GoogleAdsSearchads360V23CommonUserListSegment — User list segment.
            - `userList` string — The user list resource.
      - `name` string — Name of the audience. It should be unique across all audiences within the account. It must have a minimum length of 1 and maximum length of 255. Required when scope is not set or is set to CUSTOMER. Cannot be set or updated when scope is ASSET_GROUP.
      - `scope` 'UNSPECIFIED' | 'UNKNOWN' | 'CUSTOMER' | 'ASSET_GROUP' — Defines the scope this audience can be used in. By default, the scope is CUSTOMER. Audiences can be created with a scope of ASSET_GROUP for exclusive use by a single asset_group. Scope may change from ASSET_GROUP to CUSTOMER but not from CUSTOMER to ASSET_GROUP.
      - `assetGroup` string — Immutable. The asset group that this audience is scoped under. Must be set if and only if scope is ASSET_GROUP. Immutable after creation. If an audience with ASSET_GROUP scope is upgraded to CUSTOMER scope, this field will automatically be cleared.
      - `status` 'UNSPECIFIED' | 'UNKNOWN' | 'ENABLED' | 'REMOVED' — Output only. Status of this audience. Indicates whether the audience is enabled or removed.
      - `dimensions` GoogleAdsSearchads360V23CommonAudienceDimension[] — Positive dimensions specifying the audience composition.
        - `gender` GoogleAdsSearchads360V23CommonGenderDimension — Dimension specifying users by their gender.
          - `genders` string[] — Included gender demographic segments.
          - `includeUndetermined` boolean — Include users whose gender is not determined.
        - `audienceSegments` GoogleAdsSearchads360V23CommonAudienceSegmentDimension — Dimension specifying users by their membership in other audience segments.
          - `segments` GoogleAdsSearchads360V23CommonAudienceSegment[] — Included audience segments. Users are included if they belong to at least one segment.
            - `detailedDemographic` GoogleAdsSearchads360V23CommonDetailedDemographicSegment — Detailed demographic segment.
              - …
            - `customAudience` GoogleAdsSearchads360V23CommonCustomAudienceSegment — Custom audience segment.
              - …
            - `userList` GoogleAdsSearchads360V23CommonUserListSegment — User list segment.
              - …
            - `userInterest` GoogleAdsSearchads360V23CommonUserInterestSegment — User interest segment.
              - …
            - `lifeEvent` GoogleAdsSearchads360V23CommonLifeEventSegment — Live event segment.
              - …
        - `householdIncome` GoogleAdsSearchads360V23CommonHouseholdIncomeDimension — Dimension specifying users by their household income.
          - `includeUndetermined` boolean — Include users whose household income is not determined.
          - `incomeRanges` string[] — Included household income demographic segments.
        - `age` GoogleAdsSearchads360V23CommonAgeDimension — Dimension specifying users by their age.
          - `includeUndetermined` boolean — Include users whose age is not determined.
          - `ageRanges` GoogleAdsSearchads360V23CommonAgeSegment[] — Contiguous age range to be included in the dimension.
            - `minAge` integer — Minimum age to include. A minimum age must be specified and must be at least 18. Allowed values are 18, 25, 35, 45, 55, and 65.
            - `maxAge` integer — Maximum age to include. A maximum age need not be specified. If specified, max_age must be greater than min_age, and allowed values are 24, 34, 44, 54, and 64.
        - `parentalStatus` GoogleAdsSearchads360V23CommonParentalStatusDimension — Dimension specifying users by their parental status.
          - `parentalStatuses` string[] — Included parental status demographic segments.
          - `includeUndetermined` boolean — Include users whose parental status is undetermined.
    - `updateMask` string, google-fieldmask — FieldMask that determines which resource fields are modified in an update.
  - `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.
  - `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/revisions/40d087435afd/schema)
