CreativesList reported Meta actions

List reported Meta actions

The Meta action types in this client's imported Meta Ads reports for the window, with the counts Meta reported per attribution window, to pick a meta: conversion. Not every event the Pixel or Conversions API received, and not event delivery status. No decisions or attribution are computed. The only filters are from, to and account_id, plus the usual location_id location context; any other parameter answers 400.

curl -X GET "https://mythic-analytics.gulp.workers.dev/client/v1/creatives/decisions/actions?location_id=example_string&from=2024-12-25&to=2024-12-25&account_id=act_315277422339436" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "success": true,
  "data": {
    "source": "meta_ads_reports",
    "meaning": "example_string",
    "window": {
      "from": "2024-12-25",
      "to": "2024-12-25",
      "days": 42
    },
    "account_id": "example_string",
    "data_state": "no_actions_copy",
    "imported": {
      "ad_days": 42,
      "ads": 42,
      "ad_days_with_actions": 42,
      "spend_ad_days": 42,
      "first_date": "2024-12-25",
      "last_date": "2024-12-25",
      "attribution_settings": [
        "example_string"
      ]
    },
    "action_types": [
      {
        "action_type": "offsite_conversion.fb_pixel_purchase",
        "key": "meta:offsite_conversion.fb_pixel_purchase",
        "selectable": true,
        "count": 3.14,
        "counts_by_window": {
          "7d_click": 12,
          "1d_view": 3,
          "value": 15
        },
        "ads": 42,
        "ad_days": 42
      }
    ],
    "limit": 200,
    "truncated": true
  }
}
GET
/client/v1/creatives/decisions/actions
GET
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

Agency key (ak_), location secret key (sk_, reads only) or a scoped mcp_ key with creative_analysis:read or creative_analysis:write. See Using an mcp_ key over HTTP.

Agency key (ak_), location secret key (sk_, reads only) or a scoped mcp_ key with creative_analysis:read or creative_analysis:write. See Using an mcp_ key over HTTP.
query
location_idstring

Location to scope to. Required for ak_ keys or send X-Location-Id. Ignored for sk_.

query
fromstring

First day. Default: 29 days before to.

Format: date
query
tostring

Last day. Default: today (UTC). At most 366 days in the window.

Format: date
query
account_idstring

Only this Meta ad account (act_ accepted).

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Agency key (ak_), location secret key (sk_, reads only) or a scoped mcp_ key with creative_analysis:read or creative_analysis:write. See Using an mcp_ key over HTTP.

Query Parameters

location_idstring

Location to scope to. Required for ak_ keys or send X-Location-Id. Ignored for sk_.

fromstring

First day. Default: 29 days before to.

tostring

Last day. Default: today (UTC). At most 366 days in the window.

account_idstring

Only this Meta ad account (act_ accepted).

Example:
act_315277422339436

Responses

successboolean
dataobject