Google Ad Manager · Capability

Google Ad Manager API — adUnits

Google Ad Manager API — adUnits. 1 operations. Lead operation: Google Ad Manager List ad units. Self-contained Naftiko capability covering one Google Ad Manager business surface.

Run with Naftiko Google Ad ManageradUnits

What You Can Do

GET
Listadunits — Google Ad Manager List ad units
/v1/v1/{parent}/adunits

MCP Tools

google-ad-manager-list-ad

Google Ad Manager List ad units

read-only idempotent

Capability Spec

openapi-adunits.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Google Ad Manager API — adUnits
  description: 'Google Ad Manager API — adUnits. 1 operations. Lead operation: Google Ad Manager List ad units. Self-contained
    Naftiko capability covering one Google Ad Manager business surface.'
  tags:
  - Google Ad Manager
  - adUnits
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GOOGLE_AD_MANAGER_API_KEY: GOOGLE_AD_MANAGER_API_KEY
capability:
  consumes:
  - type: http
    namespace: openapi-adunits
    baseUri: https://admanager.googleapis.com
    description: Google Ad Manager API — adUnits business capability. Self-contained, no shared references.
    resources:
    - name: v1-parent-adUnits
      path: /v1/{parent}/adUnits
      operations:
      - name: listadunits
        method: GET
        description: Google Ad Manager List ad units
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: parent
          in: path
          type: string
          required: true
        - name: pageSize
          in: query
          type: integer
        - name: pageToken
          in: query
          type: string
    authentication:
      type: bearer
      token: '{{env.GOOGLE_AD_MANAGER_API_KEY}}'
  exposes:
  - type: rest
    namespace: openapi-adunits-rest
    port: 8080
    description: REST adapter for Google Ad Manager API — adUnits. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/{parent}/adunits
      name: v1-parent-adunits
      description: REST surface for v1-parent-adUnits.
      operations:
      - method: GET
        name: listadunits
        description: Google Ad Manager List ad units
        call: openapi-adunits.listadunits
        with:
          parent: rest.parent
          pageSize: rest.pageSize
          pageToken: rest.pageToken
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: openapi-adunits-mcp
    port: 9090
    transport: http
    description: MCP adapter for Google Ad Manager API — adUnits. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: google-ad-manager-list-ad
      description: Google Ad Manager List ad units
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: openapi-adunits.listadunits
      with:
        parent: tools.parent
        pageSize: tools.pageSize
        pageToken: tools.pageToken
      outputParameters:
      - type: object
        mapping: $.