Skip to content
Skip to Content

Get brand activity

One library brand's weeks on Meta, newest first: ads launched, ads stopped, ads that climbed Meta's ordering into its most shown, and tests resolved. A week with no change is left out. No spend or results. One call. Same as the MCP tool list_brand_activity.

get/api/v1/brands/{slug}/activity

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

  • slugstringrequired

    The brand slug, as in /brands/{slug}, from Search library or the page URL.

Query parameters

  • weeksinteger

    How many weeks back, this week included, 1 to 12. Default 4.

  • 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

  • brandobject

    With name, slug, url.

  • trackedboolean or null

  • weeksarray of object

    Each with week, period, events.

  • ordering_notestring

  • notestring

  • workspaceobject

    The workspace a call read or changed: the one workspace named, else the current one.

Responses

  • 200

    The brand's weeks. Body: BrandActivity.

  • 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

    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.