---
title: "PATCH /userprofiles/{userprofilesId}/creativeGroups"
method: PATCH
path: "/userprofiles/{userprofilesId}/creativeGroups"
tags: ["creativeGroups"]
---

# PATCH /userprofiles/{userprofilesId}/creativeGroups

`PATCH /userprofiles/{userprofilesId}/creativeGroups`

## Request

- Base URL: `https://dfareporting.googleapis.com/dfareporting/v5`
- URL: `https://dfareporting.googleapis.com/dfareporting/v5/userprofiles/{userprofilesId}/creativeGroups`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/dfatrafficking`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/dfatrafficking`
- TypeScript: <https://skmtc.dev/google/apis/dfareporting/docs/userprofiles/:userprofilesId/creativeGroups/patch.ts> (a function with typed inputs; its response is checked against the schema)

Updates an existing creative group. This method supports patch semantics.

## Path parameters

- `userprofilesId` string, required

## Query parameters

- `id` string, int64, required

## Request body

- CreativeGroup: Contains properties of a creative group.
  - `accountId` string, int64: Account ID of this creative group. This is a read-only field that can be left blank.
  - `advertiserId` string, int64: Advertiser ID of this creative group. This is a required field on insertion.
  - `advertiserIdDimensionValue` DimensionValue: Represents a DimensionValue resource.
    - `dimensionName` string: The name of the dimension.
    - `etag` string: The eTag of this response for caching purposes.
    - `id` string: The ID associated with the value if available.
    - `kind` string: The kind of resource this is, in this case dfareporting#dimensionValue.
    - `matchType` 'EXACT' | 'BEGINS_WITH' | 'CONTAINS' | 'WILDCARD_EXPRESSION': Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    - `value` string: The value of the dimension.
  - `groupNumber` integer: Subgroup of the creative group. Assign your creative groups to a subgroup in order to filter or manage them more easily. This field is required on insertion and is read-only after insertion. Acceptable values are 1 to 2, inclusive.
  - `id` string, int64: ID of this creative group. This is a read-only, auto-generated field.
  - `kind` string: Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeGroup".
  - `name` string: Name of this creative group. This is a required field and must be less than 256 characters long and unique among creative groups of the same advertiser.
  - `subaccountId` string, int64: Subaccount ID of this creative group. This is a read-only field that can be left blank.

## Response `200`

Successful response

- CreativeGroup: Contains properties of a creative group.
  - `accountId` string, int64: Account ID of this creative group. This is a read-only field that can be left blank.
  - `advertiserId` string, int64: Advertiser ID of this creative group. This is a required field on insertion.
  - `advertiserIdDimensionValue` DimensionValue: Represents a DimensionValue resource.
    - `dimensionName` string: The name of the dimension.
    - `etag` string: The eTag of this response for caching purposes.
    - `id` string: The ID associated with the value if available.
    - `kind` string: The kind of resource this is, in this case dfareporting#dimensionValue.
    - `matchType` 'EXACT' | 'BEGINS_WITH' | 'CONTAINS' | 'WILDCARD_EXPRESSION': Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    - `value` string: The value of the dimension.
  - `groupNumber` integer: Subgroup of the creative group. Assign your creative groups to a subgroup in order to filter or manage them more easily. This field is required on insertion and is read-only after insertion. Acceptable values are 1 to 2, inclusive.
  - `id` string, int64: ID of this creative group. This is a read-only, auto-generated field.
  - `kind` string: Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeGroup".
  - `name` string: Name of this creative group. This is a required field and must be less than 256 characters long and unique among creative groups of the same advertiser.
  - `subaccountId` string, int64: Subaccount ID of this creative group. This is a read-only field that can be left blank.

---

[API](https://skmtc.dev/google/apis/dfareporting.md) - [All operations](https://skmtc.dev/google/apis/dfareporting/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/dfareporting/revisions/be73a9a450de?raw)
