Google Campaign Manager Account User Profiles API

The AccountUserProfiles API from Google Campaign Manager — 2 operation(s) for accountuserprofiles.

GitHub OpenAPI

Operations 5

PATCH /dfareporting/v5/userprofiles/{userprofilesId}/accountUserProfiles Patch accountUserProfiles #
PUT /dfareporting/v5/userprofiles/{userprofilesId}/accountUserProfiles Update accountUserProfiles #
POST /dfareporting/v5/userprofiles/{userprofilesId}/accountUserProfiles Insert accountUserProfiles #
GET /dfareporting/v5/userprofiles/{userprofilesId}/accountUserProfiles List accountUserProfiles #
GET /dfareporting/v5/userprofiles/{profileId}/accountUserProfiles/{accountUserProfilesId} Get accountUserProfiles #

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-accountuserprofiles-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-accountuserprofiles-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Campaign Manager 360 Account User Profiles 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: AccountUserProfiles
paths:
  /dfareporting/v5/userprofiles/{userprofilesId}/accountUserProfiles:
    patch:
      operationId: dfareporting.accountUserProfiles.patch
      summary: Patch accountUserProfiles
      description: Updates an existing account user profile. 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. AccountUserProfile ID.
        schema:
          type: string
          format: int64
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AccountUserProfile'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountUserProfile'
        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:
      - AccountUserProfiles
    put:
      operationId: dfareporting.accountUserProfiles.update
      summary: Update accountUserProfiles
      description: Updates an existing account user profile.
      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/AccountUserProfile'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountUserProfile'
        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:
      - AccountUserProfiles
    post:
      operationId: dfareporting.accountUserProfiles.insert
      summary: Insert accountUserProfiles
      description: Inserts a new account user profile.
      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/AccountUserProfile'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountUserProfile'
        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:
      - AccountUserProfiles
    get:
      operationId: dfareporting.accountUserProfiles.list
      summary: List accountUserProfiles
      description: Retrieves a list of account user profiles, possibly filtered. This method supports paging.
      parameters:
      - name: userprofilesId
        in: path
        required: true
        description: Resource name segment (userprofilesId).
        schema:
          type: string
      - name: active
        in: query
        required: false
        description: Select only active user profiles.
        schema:
          type: boolean
      - name: ids
        in: query
        required: false
        description: Select only user profiles with these IDs.
        schema:
          type: array
          items:
            type: string
            format: int64
      - name: maxResults
        in: query
        required: false
        description: Maximum number of results to return.
        schema:
          default: '1000'
          type: integer
          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 objects by name, ID or email. Wildcards (*) are allowed. For example, "user profile*2015" will return objects with names like "user profile June 2015", "user profile April 2015", or simply "user profile 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "user profile" will match objects with name "my user profile", "user profile 2015", or simply "user profile".
        schema:
          type: string
      - name: sortField
        in: query
        required: false
        description: Field by which to sort the list.
        schema:
          enum:
          - ID
          - NAME
          default: ID
          type: string
      - name: sortOrder
        in: query
        required: false
        description: Order of sorted results.
        schema:
          type: string
          enum:
          - ASCENDING
          - DESCENDING
          default: ASCENDING
      - name: subaccountId
        in: query
        required: false
        description: Select only user profiles with the specified subaccount ID.
        schema:
          format: int64
          type: string
      - name: userRoleId
        in: query
        required: false
        description: Select only user profiles with the specified user role ID.
        schema:
          type: string
          format: int64
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountUserProfilesListResponse'
        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:
      - AccountUserProfiles
  /dfareporting/v5/userprofiles/{profileId}/accountUserProfiles/{accountUserProfilesId}:
    get:
      operationId: dfareporting.accountUserProfiles.get
      summary: Get accountUserProfiles
      description: Gets one account user profile by ID.
      parameters:
      - name: profileId
        in: path
        required: true
        description: User profile ID associated with this request.
        schema:
          format: int64
          type: string
      - name: accountUserProfilesId
        in: path
        required: true
        description: Resource name segment (accountUserProfilesId).
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountUserProfile'
        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:
      - AccountUserProfiles
components:
  schemas:
    AccountUserProfilesListResponse:
      type: object
      properties:
        accountUserProfiles:
          items:
            $ref: '#/components/schemas/AccountUserProfile'
          description: Account user profile collection.
          type: array
        kind:
          description: 'Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountUserProfilesListResponse".'
          type: string
        nextPageToken:
          description: Pagination token to be used for the next list operation.
          type: string
      description: Account User Profile List Response
    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
    AccountUserProfile:
      type: object
      description: AccountUserProfiles contains properties of a Campaign Manager user profile. This resource is specifically for managing user profiles, whereas UserProfiles is for accessing the API.
      properties:
        id:
          description: ID of the user profile. This is a read-only, auto-generated field.
          type: string
          format: int64
        subaccountId:
          description: Subaccount ID of the user profile. This is a read-only field that can be left blank.
          type: string
          format: int64
        locale:
          description: 'Locale of the user profile. This is a required field. Acceptable values are: - "cs" (Czech) - "de" (German) - "en" (English) - "en-GB" (English United Kingdom) - "es" (Spanish) - "fr" (French) - "it" (Italian) - "ja" (Japanese) - "ko" (Korean) - "pl" (Polish) - "pt-BR" (Portuguese Brazil) - "ru" (Russian) - "sv" (Swedish) - "tr" (Turkish) - "zh-CN" (Chinese Simplified) - "zh-TW" (Chinese Traditional) '
          type: string
        siteFilter:
          $ref: '#/components/schemas/ObjectFilter'
          description: Filter that describes which sites are visible to the user profile.
        kind:
          description: 'Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountUserProfile".'
          type: string
        userRoleFilter:
          $ref: '#/components/schemas/ObjectFilter'
          description: Filter that describes which user roles are visible to the user profile.
        advertiserFilter:
          $ref: '#/components/schemas/ObjectFilter'
          description: Filter that describes which advertisers are visible to the user profile.
        comments:
          description: Comments for this user profile.
          type: string
        userAccessType:
          description: User type of the user profile. This is a read-only field that can be left blank.
          enum:
          - NORMAL_USER
          - SUPER_USER
          - INTERNAL_ADMINISTRATOR
          - READ_ONLY_SUPER_USER
          type: string
        accountId:
          type: string
          description: Account ID of the user profile. This is a read-only field that can be left blank.
          format: int64
        active:
          description: Whether this user profile is active. This defaults to false, and must be set true on insert for the user profile to be usable.
          type: boolean
        campaignFilter:
          $ref: '#/components/schemas/ObjectFilter'
          description: Filter that describes which campaigns are visible to the user profile.
        name:
          description: 'Name of the user profile. This is a required field. Must be less than 64 characters long, must be globally unique, and cannot contain whitespace or any of the following characters: "&;<>"#%,".'
          type: string
        email:
          type: string
          description: Email of the user profile. The email address must be linked to a Google Account. This field is required on insertion and is read-only after insertion.
        userRoleId:
          description: User role ID of the user profile. This is a required field.
          format: int64
          type: string
        traffickerType:
          enum:
          - INTERNAL_NON_TRAFFICKER
          - INTERNAL_TRAFFICKER
          - EXTERNAL_TRAFFICKER
          type: string
          description: Trafficker type of this user profile. This is a read-only field.
    ObjectFilter:
      type: object
      properties:
        kind:
          description: 'Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".'
          type: string
        objectIds:
          description: Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
          items:
            format: int64
            type: string
          type: array
        status:
          description: Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
          enum:
          - NONE
          - ASSIGNED
          - ALL
          type: string
      description: Object Filter.
  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)