Google Campaign Manager Creative Groups API

The CreativeGroups API from Google Campaign Manager — 2 operation(s) for creativegroups.

GitHub OpenAPI

Operations 5

PATCH /dfareporting/v5/userprofiles/{userprofilesId}/creativeGroups Patch creativeGroups #
PUT /dfareporting/v5/userprofiles/{userprofilesId}/creativeGroups Update creativeGroups #
POST /dfareporting/v5/userprofiles/{userprofilesId}/creativeGroups Insert creativeGroups #
GET /dfareporting/v5/userprofiles/{userprofilesId}/creativeGroups List creativeGroups #
GET /dfareporting/v5/userprofiles/{userprofilesId}/creativeGroups/{creativeGroupsId} Get creativeGroups #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/google-campaign-manager:google-campaign-manager-creativegroups-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

google-campaign-manager-creativegroups-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Campaign Manager 360 Creative Groups API
  version: v5
  description: Generated from Google's published Discovery document for Campaign Manager 360 API (dfareporting v5, revision 20261107). 5 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://dfareporting.googleapis.com
tags:
- name: CreativeGroups
paths:
  /dfareporting/v5/userprofiles/{userprofilesId}/creativeGroups:
    patch:
      operationId: dfareporting.creativeGroups.patch
      summary: Patch creativeGroups
      description: Updates an existing creative group. This method supports patch semantics.
      parameters:
      - name: userprofilesId
        in: path
        required: true
        description: Resource name segment (userprofilesId).
        schema:
          type: string
      - name: id
        in: query
        required: true
        description: Required. Creative Group ID.
        schema:
          format: int64
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreativeGroup'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreativeGroup'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/dfatrafficking
      - apiKey: []
      tags:
      - CreativeGroups
    put:
      operationId: dfareporting.creativeGroups.update
      summary: Update creativeGroups
      description: Updates an existing creative group.
      parameters:
      - name: userprofilesId
        in: path
        required: true
        description: Resource name segment (userprofilesId).
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreativeGroup'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreativeGroup'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/dfatrafficking
      - apiKey: []
      tags:
      - CreativeGroups
    post:
      operationId: dfareporting.creativeGroups.insert
      summary: Insert creativeGroups
      description: Inserts a new creative group.
      parameters:
      - name: userprofilesId
        in: path
        required: true
        description: Resource name segment (userprofilesId).
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreativeGroup'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreativeGroup'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/dfatrafficking
      - apiKey: []
      tags:
      - CreativeGroups
    get:
      operationId: dfareporting.creativeGroups.list
      summary: List creativeGroups
      description: Retrieves a list of creative groups, possibly filtered. This method supports paging.
      parameters:
      - name: userprofilesId
        in: path
        required: true
        description: Resource name segment (userprofilesId).
        schema:
          type: string
      - name: advertiserIds
        in: query
        required: false
        description: Select only creative groups that belong to these advertisers.
        schema:
          type: array
          items:
            format: int64
            type: string
      - name: groupNumber
        in: query
        required: false
        description: Select only creative groups that belong to this subgroup.
        schema:
          type: integer
          format: int32
      - name: ids
        in: query
        required: false
        description: Select only creative groups with these IDs.
        schema:
          type: array
          items:
            format: int64
            type: string
      - name: maxResults
        in: query
        required: false
        description: Maximum number of results to return.
        schema:
          type: integer
          default: '1000'
          format: int32
      - name: pageToken
        in: query
        required: false
        description: Value of the nextPageToken from the previous result page.
        schema:
          type: string
      - name: searchString
        in: query
        required: false
        description: Allows searching for creative groups by name or ID. Wildcards (*) are allowed. For example, "creativegroup*2015" will return creative groups with names like "creativegroup June 2015", "creativegroup April 2015", or simply "creativegroup 2015". Most of the searches also add wild-cards implicitly at the start and the end of the search string. For example, a search string of "creativegroup" will match creative groups with the name "my creativegroup", "creativegroup 2015", or simply "creativegroup".
        schema:
          type: string
      - name: sortField
        in: query
        required: false
        description: Field by which to sort the list.
        schema:
          default: ID
          type: string
          enum:
          - ID
          - NAME
      - name: sortOrder
        in: query
        required: false
        description: Order of sorted results.
        schema:
          enum:
          - ASCENDING
          - DESCENDING
          default: ASCENDING
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreativeGroupsListResponse'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/dfatrafficking
      - apiKey: []
      tags:
      - CreativeGroups
  /dfareporting/v5/userprofiles/{userprofilesId}/creativeGroups/{creativeGroupsId}:
    get:
      operationId: dfareporting.creativeGroups.get
      summary: Get creativeGroups
      description: Gets one creative group by ID.
      parameters:
      - name: userprofilesId
        in: path
        required: true
        description: Resource name segment (userprofilesId).
        schema:
          type: string
      - name: creativeGroupsId
        in: path
        required: true
        description: Resource name segment (creativeGroupsId).
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreativeGroup'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/dfatrafficking
      - apiKey: []
      tags:
      - CreativeGroups
components:
  schemas:
    CreativeGroup:
      properties:
        id:
          format: int64
          description: ID of this creative group. This is a read-only, auto-generated field.
          type: string
        advertiserId:
          description: Advertiser ID of this creative group. This is a required field on insertion.
          type: string
          format: int64
        accountId:
          type: string
          description: Account ID of this creative group. This is a read-only field that can be left blank.
          format: int64
        groupNumber:
          description: 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.
          type: integer
          format: int32
        subaccountId:
          format: int64
          description: Subaccount ID of this creative group. This is a read-only field that can be left blank.
          type: string
        advertiserIdDimensionValue:
          $ref: '#/components/schemas/DimensionValue'
          description: Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
        kind:
          type: string
          description: 'Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeGroup".'
        name:
          description: 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.
          type: string
      description: Contains properties of a creative group.
      type: object
    GoogleRpcError:
      type: object
      description: The error envelope every Google API returns.
      properties:
        error:
          type: object
          properties:
            code:
              type: integer
            message:
              type: string
            status:
              type: string
            details:
              type: array
              items:
                type: object
    CreativeGroupsListResponse:
      type: object
      properties:
        creativeGroups:
          description: Creative group collection.
          items:
            $ref: '#/components/schemas/CreativeGroup'
          type: array
        nextPageToken:
          type: string
          description: Pagination token to be used for the next list operation.
        kind:
          description: 'Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeGroupsListResponse".'
          type: string
      description: Creative Group List Response
    DimensionValue:
      type: object
      description: Represents a DimensionValue resource.
      properties:
        id:
          type: string
          description: The ID associated with the value if available.
        value:
          type: string
          description: The value of the dimension.
        dimensionName:
          description: The name of the dimension.
          type: string
        matchType:
          type: string
          enum:
          - EXACT
          - BEGINS_WITH
          - CONTAINS
          - WILDCARD_EXPRESSION
          description: 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.
        etag:
          type: string
          description: The eTag of this response for caching purposes.
        kind:
          description: The kind of resource this is, in this case dfareporting#dimensionValue.
          type: string
  securitySchemes:
    apiKey:
      type: apiKey
      in: query
      name: key
      description: API key; accepted by methods that do not need user data.
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://accounts.google.com/o/oauth2/auth
          tokenUrl: https://oauth2.googleapis.com/token
          scopes:
            https://www.googleapis.com/auth/ddmconversions: Manage DoubleClick Digital Marketing conversions
            https://www.googleapis.com/auth/dfatrafficking: View and manage your DoubleClick Campaign Manager's (DCM) display ad campaigns
            https://www.googleapis.com/auth/dfareporting: View and manage DoubleClick for Advertisers reports
externalDocs:
  url: https://developers.google.com/doubleclick-advertisers/
x-provenance:
  method: harvested
  publisher: Google
  source: https://dfareporting.googleapis.com/$discovery/rest?version=v5
  note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261107)