AppLovin · Capability

AppLovin MAX Ad Unit Management API — Test Devices

AppLovin MAX Ad Unit Management API — Test Devices. 4 operations. Lead operation: Create Test Device. Self-contained Naftiko capability covering one Applovin business surface.

Run with Naftiko ApplovinTest Devices

What You Can Do

POST
Createtestdevice — Create Test Device
/v1/test-device
GET
Gettestdevice — Get Test Device
/v1/test-device/{test-device-id}
POST
Updatetestdevice — Update Test Device
/v1/test-device/{test-device-id}
GET
Listtestdevices — List Test Devices
/v1/test-devices

MCP Tools

create-test-device

Create Test Device

read-only
get-test-device

Get Test Device

read-only idempotent
update-test-device

Update Test Device

read-only
list-test-devices

List Test Devices

read-only idempotent

Capability Spec

max-ad-unit-management-test-devices.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: AppLovin MAX Ad Unit Management API — Test Devices
  description: 'AppLovin MAX Ad Unit Management API — Test Devices. 4 operations. Lead operation: Create Test Device. Self-contained
    Naftiko capability covering one Applovin business surface.'
  tags:
  - Applovin
  - Test Devices
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    APPLOVIN_API_KEY: APPLOVIN_API_KEY
capability:
  consumes:
  - type: http
    namespace: max-ad-unit-management-test-devices
    baseUri: https://o.applovin.com/mediation/v1
    description: AppLovin MAX Ad Unit Management API — Test Devices business capability. Self-contained, no shared references.
    resources:
    - name: test_device
      path: /test_device
      operations:
      - name: createtestdevice
        method: POST
        description: Create Test Device
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: test_device-test_device_id
      path: /test_device/{test_device_id}
      operations:
      - name: gettestdevice
        method: GET
        description: Get Test Device
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatetestdevice
        method: POST
        description: Update Test Device
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: test_devices
      path: /test_devices
      operations:
      - name: listtestdevices
        method: GET
        description: List Test Devices
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: Api-Key
      value: '{{env.APPLOVIN_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: max-ad-unit-management-test-devices-rest
    port: 8080
    description: REST adapter for AppLovin MAX Ad Unit Management API — Test Devices. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/test-device
      name: test-device
      description: REST surface for test_device.
      operations:
      - method: POST
        name: createtestdevice
        description: Create Test Device
        call: max-ad-unit-management-test-devices.createtestdevice
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/test-device/{test-device-id}
      name: test-device-test-device-id
      description: REST surface for test_device-test_device_id.
      operations:
      - method: GET
        name: gettestdevice
        description: Get Test Device
        call: max-ad-unit-management-test-devices.gettestdevice
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: updatetestdevice
        description: Update Test Device
        call: max-ad-unit-management-test-devices.updatetestdevice
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/test-devices
      name: test-devices
      description: REST surface for test_devices.
      operations:
      - method: GET
        name: listtestdevices
        description: List Test Devices
        call: max-ad-unit-management-test-devices.listtestdevices
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: max-ad-unit-management-test-devices-mcp
    port: 9090
    transport: http
    description: MCP adapter for AppLovin MAX Ad Unit Management API — Test Devices. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: create-test-device
      description: Create Test Device
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: max-ad-unit-management-test-devices.createtestdevice
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-test-device
      description: Get Test Device
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: max-ad-unit-management-test-devices.gettestdevice
      outputParameters:
      - type: object
        mapping: $.
    - name: update-test-device
      description: Update Test Device
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: max-ad-unit-management-test-devices.updatetestdevice
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: list-test-devices
      description: List Test Devices
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: max-ad-unit-management-test-devices.listtestdevices
      outputParameters:
      - type: object
        mapping: $.