Skip to content
Skip to Content

Get ad

One ad in full: its card, how it is built, its breakdown once read, the other ads showing the same creative, and whether a workspace has it saved, with its note. The breakdown's layers, cards or scenes, structure and script are on Pro and Agency. Ids come from List ads or Search library. To read several, use Get ads.

get/api/v1/ads/{id}

Authentication

API key, OAuth token or signed-in session, sent as Authorization: Bearer <key or token> (a session rides on its cookie). An OAuth token needs mcp:read. See authentication.

Path parameters

  • idstringrequired

    The ad id, or its first 8 or more characters when they name one ad.

Query parameters

  • compactboolean

    true: a leaner answer for reading many ads. Leaves out make_yours and breakdown.remix (the same script and modes as remix_spec) and remix_spec.scenes (the same as breakdown.scenes). Default false. Default false.

  • workspacestring

    A workspace id or exact name from List workspaces, case-insensitive. Defaults to the current workspace. Only your own organization's workspaces resolve. 1 to 120 characters.

Response fields

  • adany

  • full_accessstring

Responses

  • 200

    The ad. Body: AdResponse.

  • 400

    A parameter is missing or out of range. Body: Problem.

  • 401

    No credentials, or the token is invalid or expired. The oauth2 security scheme says how to get one. Body: Problem.

  • 403

    The token lacks the mcp:read scope. workspace_locked: the workspace is past the plan's workspace count. Use an open one, or ask an admin to change the plan. Body: Problem.

  • 404

    No ad with that id. workspace_not_found: the organization has no workspace with that id or name. List workspaces lists them. Body: Problem.

  • 429

    rate_limited: more than 60 requests a minute from this account. quota_exceeded: the plan's MCP/API allowance is used up (10,000 a month on Pro, 50,000 a month on Agency, 200 a day on the 7-day free trial, UTC), or an account with no plan has used its 20 preview calls. detail says which limit and when it resets. resolution says what to do next and links to the plans page. Show both to the person. Body: Problem.

  • 503

    The library could not be read; retry shortly. Body: Problem.