Creative breakdown
curl --request POST \
--url https://api.aisa.one/apis/v1/upspring/ads/breakdown \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"group_by": "<string>"
}
'import requests
url = "https://api.aisa.one/apis/v1/upspring/ads/breakdown"
payload = { "group_by": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({group_by: '<string>'})
};
fetch('https://api.aisa.one/apis/v1/upspring/ads/breakdown', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/upspring/ads/breakdown",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'group_by' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/upspring/ads/breakdown"
payload := strings.NewReader("{\n \"group_by\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/upspring/ads/breakdown")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"group_by\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/upspring/ads/breakdown")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"group_by\": \"<string>\"\n}"
response = http.request(request)
puts response.read_bodyUpspring
Creative breakdown
Use for how a market advertises: the share of hooks, personas, offers or formats across a vertical, brand or filter. Run it twice, once with min_impressions=4, to see what the winning ads over-index on.
POST
https://api.aisa.one
/
apis
/
v1
/
upspring
/
ads
/
breakdown
Creative breakdown
curl --request POST \
--url https://api.aisa.one/apis/v1/upspring/ads/breakdown \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"group_by": "<string>"
}
'import requests
url = "https://api.aisa.one/apis/v1/upspring/ads/breakdown"
payload = { "group_by": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({group_by: '<string>'})
};
fetch('https://api.aisa.one/apis/v1/upspring/ads/breakdown', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/upspring/ads/breakdown",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'group_by' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/upspring/ads/breakdown"
payload := strings.NewReader("{\n \"group_by\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/upspring/ads/breakdown")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"group_by\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/upspring/ads/breakdown")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"group_by\": \"<string>\"\n}"
response = http.request(request)
puts response.read_bodyRequest contract
- Method and path: POST /apis/v1/upspring/ads/breakdown
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/upspring/ads/breakdown
{
"operationId": "upspring.ads.breakdown",
"method": "POST",
"path": "/apis/v1/upspring/ads/breakdown",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"additionalProperties": true,
"properties": {
"advertiser_id": {
"description": "Only ads from these advertiser ids.",
"items": {
"type": "string"
},
"type": "array"
},
"archetype": {
"description": "Only ads with this archetype id (OR across values). Ids from taxonomy/vertical's dimensions.",
"items": {
"type": "string"
},
"type": "array"
},
"category": {
"description": "One category id within a vertical, from taxonomy/verticals.",
"type": "string"
},
"claim_type": {
"description": "Only ads that use this claim type (an ad can carry several). Ids from taxonomy/vertical's dimensions.",
"items": {
"type": "string"
},
"type": "array"
},
"evidence_type": {
"description": "Only ads that use this evidence type (an ad can carry several). Ids from taxonomy/vertical's dimensions.",
"items": {
"type": "string"
},
"type": "array"
},
"funnel": {
"description": "Only ads with this funnel id (OR across values). Ids from taxonomy/vertical's dimensions.",
"items": {
"type": "string"
},
"type": "array"
},
"group_by": {
"description": "Dimension to break the matching ads down by.\n\nProvider reference: allowed values [\"media_type\", \"hook_archetype\", \"hook_polarity\", \"funnel\", \"persona\", \"archetype\", \"mechanism\", \"positioning\", \"offer_type\", \"persuasion_technique\", \"claim_type\", \"evidence_type\"].",
"type": "string"
},
"has_product": {
"description": "true for ads whose landing page has store data (price, vendor), false for ads without. Omit for both.\n\nProvider reference: allowed values [\"true\", \"false\"].",
"type": "string",
"x-alexandria-option-metadata": {
"oneOf": [
"true",
"false"
]
}
},
"hook_archetype": {
"description": "Only ads with this hook archetype id (OR across values). Ids from taxonomy/vertical's dimensions.",
"items": {
"type": "string"
},
"type": "array"
},
"hook_polarity": {
"description": "Only ads with this hook polarity id (OR across values). Ids from taxonomy/vertical's dimensions.",
"items": {
"type": "string"
},
"type": "array"
},
"is_active": {
"description": "true for ads running now, false for stopped ones. Omit for both.\n\nProvider reference: allowed values [\"true\", \"false\"].",
"type": "string",
"x-alexandria-option-metadata": {
"oneOf": [
"true",
"false"
]
}
},
"mechanism": {
"description": "Only ads with this mechanism id (OR across values). Ids from taxonomy/vertical's dimensions.",
"items": {
"type": "string"
},
"type": "array"
},
"media_type": {
"description": "Only ads with this media type id (OR across values). Ids from taxonomy/vertical's dimensions.",
"items": {
"type": "string"
},
"type": "array"
},
"min_impressions": {
"description": "Winners-only floor on Meta's 1 to 5 delivery-strength indicator. Excludes ads without one.\n\nProvider reference: minimum 1; maximum 5.",
"type": "number",
"x-alexandria-option-metadata": {
"max": 5,
"min": 1
}
},
"offer_type": {
"description": "Only ads with this offer type id (OR across values). Ids from taxonomy/vertical's dimensions.",
"items": {
"type": "string"
},
"type": "array"
},
"persona": {
"description": "Only ads with this persona id (OR across values). Ids from taxonomy/vertical's dimensions.",
"items": {
"type": "string"
},
"type": "array"
},
"persuasion_technique": {
"description": "Only ads that use this persuasion technique (an ad can carry several). Ids from taxonomy/vertical's dimensions.",
"items": {
"type": "string"
},
"type": "array"
},
"positioning": {
"description": "Only ads with this positioning id (OR across values). Ids from taxonomy/vertical's dimensions.",
"items": {
"type": "string"
},
"type": "array"
},
"recency_days": {
"description": "Only ads first seen in the last N days (1 to 365).\n\nProvider reference: minimum 1; maximum 365.",
"type": "number",
"x-alexandria-option-metadata": {
"max": 365,
"min": 1
}
},
"vertical": {
"description": "Vertical id(s), for example beverages or skincare. Ids come from taxonomy/verticals.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"group_by"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
application/json
Response
{data: rows, meta: {note}}: each value's share of the matching ads, unpaginated. Tag dimensions are multi-label, so their shares need not sum to 1.
The response contains the tool result directly.
The provider identifies data as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
id | string | Dimension value id. |
label | string | Display label. |
description | string | What the value means. |
share | number | Share of matching ads, 0 to 1. |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.