List Ads accounts and capabilities
curl --request GET \
--url https://omnicommerce.ai/api/v1/ads/accounts \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omnicommerce.ai/api/v1/ads/accounts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.ai/api/v1/ads/accounts"
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": {
"coverage": [
{
"marketplace": "shopee",
"kind": "product",
"reason": "<string>"
}
],
"stores": [
{
"marketplace": "shopee",
"country": "<string>",
"storeId": "<string>",
"label": "<string>",
"canConnect": true,
"adsSupported": true,
"canWrite": true,
"canApprove": true,
"kind": "product",
"reason": "<string>",
"adFormats": [
{
"id": "<string>",
"label": "<string>",
"publishable": true,
"requirements": "<string>",
"source": "<string>",
"biddingStrategies": [
"auto"
]
}
]
}
]
}
}Ads
List Ads accounts and capabilities
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
/
accounts
List Ads accounts and capabilities
curl --request GET \
--url https://omnicommerce.ai/api/v1/ads/accounts \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omnicommerce.ai/api/v1/ads/accounts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.ai/api/v1/ads/accounts"
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": {
"coverage": [
{
"marketplace": "shopee",
"kind": "product",
"reason": "<string>"
}
],
"stores": [
{
"marketplace": "shopee",
"country": "<string>",
"storeId": "<string>",
"label": "<string>",
"canConnect": true,
"adsSupported": true,
"canWrite": true,
"canApprove": true,
"kind": "product",
"reason": "<string>",
"adFormats": [
{
"id": "<string>",
"label": "<string>",
"publishable": true,
"requirements": "<string>",
"source": "<string>",
"biddingStrategies": [
"auto"
]
}
]
}
]
}
}Authorizations
Query Parameters
Response
Operation result.