List creatives
The client's Meta ads that are active or had spend in the last 90 days, highest 90-day spend first, with their creative, analysis headline and a signed thumbnail URL (about an hour). Ads no longer covered are left out unless include_gone=true or status=gone.
curl -X GET "https://mythic-analytics.gulp.workers.dev/client/v1/creatives?location_id=example_string&account_id=example_string&campaign_id=example_string&adset_id=example_string&status=example_string&format=image&has_video=true&tag=example_string&epic=in_order&since=example_string&include_gone=true&limit=50&cursor=example_string" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN"
import requests
import json
url = "https://mythic-analytics.gulp.workers.dev/client/v1/creatives?location_id=example_string&account_id=example_string&campaign_id=example_string&adset_id=example_string&status=example_string&format=image&has_video=true&tag=example_string&epic=in_order&since=example_string&include_gone=true&limit=50&cursor=example_string"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_TOKEN"
}
response = requests.get(url, headers=headers)
print(response.json())
const response = await fetch("https://mythic-analytics.gulp.workers.dev/client/v1/creatives?location_id=example_string&account_id=example_string&campaign_id=example_string&adset_id=example_string&status=example_string&format=image&has_video=true&tag=example_string&epic=in_order&since=example_string&include_gone=true&limit=50&cursor=example_string", {
method: "GET",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_TOKEN"
}
});
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"net/http"
)
func main() {
req, err := http.NewRequest("GET", "https://mythic-analytics.gulp.workers.dev/client/v1/creatives?location_id=example_string&account_id=example_string&campaign_id=example_string&adset_id=example_string&status=example_string&format=image&has_video=true&tag=example_string&epic=in_order&since=example_string&include_gone=true&limit=50&cursor=example_string", nil)
if err != nil {
panic(err)
}
req.Header.Set("Content-Type", "application/json")
req.Header.Set("Authorization", "Bearer YOUR_API_TOKEN")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
fmt.Println("Response Status:", resp.Status)
}
require 'net/http'
require 'json'
uri = URI('https://mythic-analytics.gulp.workers.dev/client/v1/creatives?location_id=example_string&account_id=example_string&campaign_id=example_string&adset_id=example_string&status=example_string&format=image&has_video=true&tag=example_string&epic=in_order&since=example_string&include_gone=true&limit=50&cursor=example_string')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Get.new(uri)
request['Content-Type'] = 'application/json'
request['Authorization'] = 'Bearer YOUR_API_TOKEN'
response = http.request(request)
puts response.body
{
"success": true,
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"ad_id": "example_string",
"account_id": "example_string",
"campaign_id": "example_string",
"adset_id": "example_string",
"ad_name": "John Doe",
"adset_name": "John Doe",
"campaign_name": "John Doe",
"effective_status": "ACTIVE",
"gone": true,
"gone_at": "2024-12-25T10:00:00Z",
"ad_created_at": "2024-12-25T10:00:00Z",
"creative_id": "example_string",
"creative_found": true,
"display_format": "image",
"title": "example_string",
"body": "example_string",
"link_description": "example_string",
"cta_type": "LEARN_MORE",
"cta_text": "Learn More",
"link_url": "example_string",
"has_video": true,
"video_id": "example_string",
"video_duration_s": 3.14,
"spend_90d": 3.14,
"impressions_90d": 42,
"last_spend_date": "2024-12-25",
"spend_30d": 3.14,
"impressions_30d": 42,
"media_status": "pending",
"analysis_status": "pending",
"hook": "example_string",
"hook_start_s": 3.14,
"hook_end_s": 3.14,
"tags": {},
"epic": {
"all_stages_in_order": true,
"rules_met": 42,
"rules_total": 42
},
"thumbnail_url": "example_string",
"first_seen_at": "2024-12-25T10:00:00Z",
"last_seen_at": "2024-12-25T10:00:00Z"
}
],
"next_cursor": "example_string",
"spend_error": "example_string",
"meta": {
"spend_error": "example_string"
}
}
{
"error": "Bad Request",
"message": "The request contains invalid parameters or malformed data",
"code": 400,
"details": [
{
"field": "email",
"message": "Invalid email format"
}
]
}
{
"error": "Unauthorized",
"message": "Authentication required. Please provide a valid API token",
"code": 401
}
{
"error": "Error",
"message": "Error. The code names the cause, e.g. `feature_not_in_plan`, `agency_required`, `not_found`, `sync_throttled`, `sync_in_progress`, `no_meta_source`, `pipeline_disabled`.",
"code": 402
}
/client/v1/creatives
Target server for requests. Edit to use your own host.
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.
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.Location to scope to. Required for ak_ keys or send X-Location-Id. Ignored for sk_.
Meta effective_status such as ACTIVE or PAUSED, or gone.
An analysis tag as family.tag, e.g. offer.guarantee.
in_order: only creatives whose copy or transcript reads all four E.P.I.C. stages in order.
Ads created on or after this ISO date.
next_cursor from the previous page.
Request Preview
Response
Response will appear here after sending the request
Authentication
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 to scope to. Required for ak_ keys or send X-Location-Id. Ignored for sk_.
Meta effective_status such as ACTIVE or PAUSED, or gone.
imagevideocarouseldynamicunknownAn analysis tag as family.tag, e.g. offer.guarantee.
in_order: only creatives whose copy or transcript reads all four E.P.I.C. stages in order.
in_orderAds created on or after this ISO date.
next_cursor from the previous page.
Responses
Set when 30-day spend could not be read; spend_30d is then null.