Workspace

Get workspace media mix

Returns media mix rows across active workspace brandtrackers in one metered request. One credit is charged per returned row.

get/v1/workspace/media-mix

Request

  • Base URL: https://api.trendtrack.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.trendtrack.io/v1/workspace/media-mix
  • Auth: HTTP bearer

Query parameters

pageinteger
limitinteger

Maximum number of workspace aggregate rows to return. Must be <= 100.

brandtrackerIdsstring[]

Optional comma-separated or repeated public brandtracker ids.

folderIdsinteger[]

Optional comma-separated or repeated workspace brandtracker folder ids.

euOnlyboolean

Optional EU-only filter. When true, only EU-classified Facebook ads are included.

sortBy'activeAds' | 'image' | 'video' | 'dco' | 'other'

Response

Paginated workspace media mix response. The response also includes the X-Request-Id header.

requestIdstring required

Example response

{
  "requestId": "5d93d8de-0f6d-46a4-bd10-2e519b7e96bc",
  "data": [
    {
      "brandtracker": {
        "id": "1e08fa85-625a-4ba5-b673-d2a4b7bc7c55",
        "name": "Acme",
        "facebookPageId": "123456789012345"
      },
      "mediaMix": {
        "formatCount": {
          "image": 12,
          "video": 8,
          "dco": 2,
          "other": 1
        }
      },
      "metrics": {
        "activeAds": 23
      }
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 20,
    "total": 128,
    "totalPages": 7
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.