Google Ads Users API

The Users API from Google Ads — 2 operation(s) for users.

GitHub OpenAPI

Operations 2

POST /v1/users:remove Remove users #
POST /v1/users:ingest Ingest users #

Documentation

Specifications

Schemas & Data

Other Resources

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-ads:google-ads-users-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

google-ads-users-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Data Manager Users API
  version: v1
  description: Generated from Google's published Discovery document for Data Manager API (datamanager v1, revision 20261106). 2 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://datamanager.googleapis.com
tags:
- name: Users
paths:
  /v1/users:remove:
    post:
      operationId: datamanager.users.remove
      summary: Remove users
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RemoveUsersRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RemoveUsersResponse'
        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/datamanager
      - apiKey: []
      tags:
      - Users
  /v1/users:ingest:
    post:
      operationId: datamanager.users.ingest
      summary: Ingest users
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IngestUsersRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IngestUsersResponse'
        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/datamanager
      - apiKey: []
      tags:
      - Users
components:
  schemas:
    RemoveUsersResponse:
      type: object
      properties:
        requestId:
          type: string
    EncryptionInfo:
      properties:
        coordinatorKeyInfo:
          $ref: '#/components/schemas/CoordinatorKeyInfo'
        gcpWrappedKeyInfo:
          $ref: '#/components/schemas/GcpWrappedKeyInfo'
        awsWrappedKeyInfo:
          $ref: '#/components/schemas/AwsWrappedKeyInfo'
      type: object
    IngestUsersResponse:
      type: object
      properties:
        requestId:
          type: string
    IngestUsersRequest:
      properties:
        encryptionInfo:
          $ref: '#/components/schemas/EncryptionInfo'
        validateOnly:
          type: boolean
        users:
          type: array
          items:
            $ref: '#/components/schemas/User'
        destinations:
          type: array
          items:
            $ref: '#/components/schemas/Destination'
        encoding:
          type: string
          enum:
          - ENCODING_UNSPECIFIED
          - HEX
          - BASE64
      type: object
    UserIdentifier:
      type: object
      properties:
        phoneNumber:
          type: string
        emailAddress:
          type: string
        address:
          $ref: '#/components/schemas/AddressInfo'
    GcpWrappedKeyInfo:
      properties:
        keyType:
          type: string
          enum:
          - KEY_TYPE_UNSPECIFIED
          - XCHACHA20_POLY1305
        kekUri:
          type: string
        wipProvider:
          type: string
        encryptedDek:
          type: string
      type: object
    MobileData:
      properties:
        mobileIds:
          type: array
          items:
            type: string
      type: object
    ProductAccount:
      type: object
      properties:
        product:
          type: string
          enum:
          - PRODUCT_UNSPECIFIED
          - GOOGLE_ADS
          - DISPLAY_VIDEO_PARTNER
          - DISPLAY_VIDEO_ADVERTISER
          - DATA_PARTNER
          deprecated: true
        accountId:
          type: string
        accountType:
          type: string
          enum:
          - ACCOUNT_TYPE_UNSPECIFIED
          - GOOGLE_ADS
          - DISPLAY_VIDEO_PARTNER
          - DISPLAY_VIDEO_ADVERTISER
          - DATA_PARTNER
          - GOOGLE_ANALYTICS_PROPERTY
          - GOOGLE_AD_MANAGER_AUDIENCE_LINK
          - FLOODLIGHT_CONFIG
          - GOOGLE_AD_MANAGER
    CoordinatorKeyInfo:
      properties:
        keyId:
          type: string
      type: object
    AddressInfo:
      properties:
        addressLine:
          type: string
        familyName:
          type: string
        postalCode:
          type: string
        city:
          type: string
        administrativeArea:
          type: string
        regionCode:
          type: string
        givenName:
          type: string
      type: object
    AwsWrappedKeyInfo:
      properties:
        encryptedDek:
          type: string
        kekUri:
          type: string
        roleArn:
          type: string
        keyType:
          type: string
          enum:
          - KEY_TYPE_UNSPECIFIED
          - XCHACHA20_POLY1305
      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
    Destination:
      properties:
        reference:
          type: string
        productDestinationId:
          type: string
        loginAccount:
          $ref: '#/components/schemas/ProductAccount'
        linkedAccount:
          $ref: '#/components/schemas/ProductAccount'
        operatingAccount:
          $ref: '#/components/schemas/ProductAccount'
      type: object
    User:
      properties:
        userData:
          $ref: '#/components/schemas/UserData'
        mobileData:
          $ref: '#/components/schemas/MobileData'
      type: object
    UserData:
      properties:
        userIdentifiers:
          items:
            $ref: '#/components/schemas/UserIdentifier'
          type: array
      type: object
    RemoveUsersRequest:
      type: object
      properties:
        destinations:
          items:
            $ref: '#/components/schemas/Destination'
          type: array
        validateOnly:
          type: boolean
        encryptionInfo:
          $ref: '#/components/schemas/EncryptionInfo'
        encoding:
          type: string
          enum:
          - ENCODING_UNSPECIFIED
          - HEX
          - BASE64
        userData:
          items:
            $ref: '#/components/schemas/UserData'
          type: array
  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/datamanager: See, edit, create, import, or delete your customer data in Google Ads, Google Marketing Platform (Campaign Manager 360, Search Ads 360, Display & Video 360), and Google Analytics
            https://www.googleapis.com/auth/datamanager.partnerlink: View, create, or delete your partner links in Google Ads, Marketing Platform (Campaign Manager 360, Search Ads 360, Display & Video 360), and Analytics
externalDocs:
  url: https://developers.google.com/data-manager
x-provenance:
  method: harvested
  publisher: Google
  source: https://datamanager.googleapis.com/$discovery/rest?version=v1
  note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261106)