Read persisted campaign reports
curl --request GET \
--url https://omnicommerce.ai/api/v1/ads/reports \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omnicommerce.ai/api/v1/ads/reports', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.ai/api/v1/ads/reports"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"ok": true,
"apiVersion": "developer_v1",
"operationId": "<string>",
"status": "accepted",
"warnings": [
"<string>"
],
"recommendations": [
"<string>"
],
"links": {},
"data": {
"rows": [
{
"marketplace": "<string>",
"country": "<string>",
"storeId": "<string>",
"campaignId": "<string>",
"name": "<string>",
"groupId": "<string>",
"currency": "<string>",
"attribution": "<string>",
"spend": 123,
"sales": 123,
"orders": 123,
"impressions": 123,
"clicks": 123,
"roas": 123,
"ctr": 123,
"cpc": 123,
"cpa": 123,
"reportedDays": 123,
"updatedAt": "<string>"
}
],
"nextOffset": 0
}
}Ads
Read persisted campaign reports
Requires ads:read. Every target is organization/store scoped.
Partial failures are explicit in data.success and ordered results.
Shopee and Lazada support only the formats returned by accounts. Other marketplaces report a concrete limitation. External campaign IDs differ from saved campaign group UUIDs.
GET
/
api
/
v1
/
ads
/
reports
Read persisted campaign reports
curl --request GET \
--url https://omnicommerce.ai/api/v1/ads/reports \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omnicommerce.ai/api/v1/ads/reports', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.ai/api/v1/ads/reports"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"ok": true,
"apiVersion": "developer_v1",
"operationId": "<string>",
"status": "accepted",
"warnings": [
"<string>"
],
"recommendations": [
"<string>"
],
"links": {},
"data": {
"rows": [
{
"marketplace": "<string>",
"country": "<string>",
"storeId": "<string>",
"campaignId": "<string>",
"name": "<string>",
"groupId": "<string>",
"currency": "<string>",
"attribution": "<string>",
"spend": 123,
"sales": 123,
"orders": 123,
"impressions": 123,
"clicks": 123,
"roas": 123,
"ctr": 123,
"cpc": 123,
"cpa": 123,
"reportedDays": 123,
"updatedAt": "<string>"
}
],
"nextOffset": 0
}
}Authorizations
Query Parameters
Response
Operation result.