MediaMath · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Campaigns Targeting Attachments API

11 actions 11 updates phrasing extends openapi/mediamath-targeting-attachments-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for MediaMath's API. It is a proposal applied on top of the contract, not a document MediaMath publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 11

$.info
$.paths['/attachments'].get
$.paths['/attachments'].post
$.paths['/attachment'].get
$.paths['/attachment'].post
$.paths['/attachments/{attachment_id}'].get
$.paths['/attachments/{attachment_id}'].post
$.paths['/attachments/{attachment_id}'].delete
$.paths['/attachment/{attachment_id}'].get
$.paths['/attachment/{attachment_id}'].put
$.paths['/attachment/{attachment_id}'].delete

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Campaigns Targeting Attachments API
  version: 1.0.0
extends: openapi/mediamath-targeting-attachments-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-10-01'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 10
- target: $.paths['/attachments'].get
  update:
    x-apievangelist-phrasing:
      intent: List targeting attachments
      effect: read
      questions:
      - Which targeting attachments are on a given strategy?
      - Can I search and sort targeting attachments by target or restriction?
      instructions:
      - text: List targeting attachments for strategy {strategy_id}.
        slots:
          strategy_id: query.strategy_id
      - text: Show targeting attachments matching {q}.
        slots:
          q: query.q
      - text: List attachments in targeting dimension {dimension}.
        slots:
          dimension: query.dimension
      method: generated
      generated: '2026-10-01'
- target: $.paths['/attachments'].post
  update:
    x-apievangelist-phrasing:
      intent: Attach a target to a strategy
      effect: write
      questions:
      - How do I attach a targeting value to a strategy?
      - Can I set whether an attached target is included or excluded?
      instructions:
      - text: Attach target {target_id} to strategy {strategy_id} as {restriction} with operator {operator}.
        slots:
          target_id: requestBody.target_id
          strategy_id: requestBody.strategy_id
          restriction: requestBody.restriction
          operator: requestBody.operator
      - text: Exclude target {target_id} from strategy {strategy_id} using operator {operator} and restriction {restriction}.
        slots:
          target_id: requestBody.target_id
          strategy_id: requestBody.strategy_id
          restriction: requestBody.restriction
          operator: requestBody.operator
      method: generated
      generated: '2026-10-01'
- target: $.paths['/attachment'].get
  update:
    x-apievangelist-phrasing:
      intent: List attachments via the legacy endpoint
      effect: read
      questions:
      - Is there an older endpoint that still lists targeting attachments?
      - How do I list attachments using the legacy singular attachment path?
      instructions:
      - text: List targeting attachments using the legacy endpoint.
      - text: Get all attachments from the older /attachment listing.
      method: generated
      generated: '2026-10-01'
- target: $.paths['/attachment'].post
  update:
    x-apievangelist-phrasing:
      intent: Attach a target via the legacy endpoint
      effect: write
      questions:
      - Can I still create a targeting attachment through the legacy endpoint?
      - How does creating an attachment work on the older singular path?
      instructions:
      - text: Using the legacy endpoint, attach target {target_id} to strategy {strategy_id} as {restriction} with {operator}.
        slots:
          target_id: requestBody.target_id
          strategy_id: requestBody.strategy_id
          restriction: requestBody.restriction
          operator: requestBody.operator
      - text: Create a legacy attachment linking target {target_id} and strategy {strategy_id}, restriction {restriction}, operator {operator}.
        slots:
          target_id: requestBody.target_id
          strategy_id: requestBody.strategy_id
          restriction: requestBody.restriction
          operator: requestBody.operator
      method: generated
      generated: '2026-10-01'
- target: $.paths['/attachments/{attachment_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a targeting attachment
      effect: read
      questions:
      - How do I look up one targeting attachment by its ID?
      - What target and strategy is a given attachment linked to?
      instructions:
      - text: Get targeting attachment {attachment_id}.
        slots:
          attachment_id: path.attachment_id
      - text: Show the details of attachment {attachment_id}.
        slots:
          attachment_id: path.attachment_id
      method: generated
      generated: '2026-10-01'
- target: $.paths['/attachments/{attachment_id}'].post
  update:
    x-apievangelist-phrasing:
      intent: Update a targeting attachment
      effect: write
      questions:
      - Can I change the restriction or operator on an existing attachment?
      - Why does updating an attachment require its version number?
      instructions:
      - text: Update attachment {attachment_id} at version {version} to restriction {restriction}.
        slots:
          attachment_id: path.attachment_id
          version: requestBody.version
          restriction: requestBody.restriction
      - text: Switch attachment {attachment_id} (version {version}) to operator {operator}.
        slots:
          attachment_id: path.attachment_id
          version: requestBody.version
          operator: requestBody.operator
      method: generated
      generated: '2026-10-01'
- target: $.paths['/attachments/{attachment_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a targeting attachment
      effect: destructive
      questions:
      - How do I remove a targeting attachment from a strategy?
      - Can I delete an attachment by its ID?
      instructions:
      - text: Delete targeting attachment {attachment_id}.
        slots:
          attachment_id: path.attachment_id
      - text: Remove attachment {attachment_id} from its strategy.
        slots:
          attachment_id: path.attachment_id
      method: generated
      generated: '2026-10-01'
- target: $.paths['/attachment/{attachment_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an attachment via the legacy endpoint
      effect: read
      questions:
      - Can I fetch a single attachment from the legacy singular path?
      - How do I read one attachment using the older endpoint?
      instructions:
      - text: Get attachment {attachment_id} from the legacy endpoint.
        slots:
          attachment_id: path.attachment_id
      - text: Look up attachment {attachment_id} using the older /attachment path.
        slots:
          attachment_id: path.attachment_id
      method: generated
      generated: '2026-10-01'
- target: $.paths['/attachment/{attachment_id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update an attachment via the legacy PUT
      effect: write
      questions:
      - Is there a legacy PUT endpoint for updating attachments?
      - How do I update an attachment through the older singular path?
      instructions:
      - text: Using the legacy PUT, update attachment {attachment_id} at version {version}.
        slots:
          attachment_id: path.attachment_id
          version: requestBody.version
      - text: Change legacy attachment {attachment_id} (version {version}) to target {target_id}.
        slots:
          attachment_id: path.attachment_id
          version: requestBody.version
          target_id: requestBody.target_id
      method: generated
      generated: '2026-10-01'
- target: $.paths['/attachment/{attachment_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an attachment via the legacy endpoint
      effect: destructive
      questions:
      - Can I delete an attachment through the legacy singular path?
      - How do I remove an attachment using the older endpoint?
      instructions:
      - text: Delete attachment {attachment_id} via the legacy endpoint.
        slots:
          attachment_id: path.attachment_id
      - text: Remove attachment {attachment_id} using the older /attachment path.
        slots:
          attachment_id: path.attachment_id
      method: generated
      generated: '2026-10-01'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • 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 overlay
curl "https://apis.io/api/v1/overlays/mediamath-targeting-attachments-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.