List saved and synced ads
curl --request GET \
--url https://omnicommerce.ai/api/v1/ads/campaigns \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omnicommerce.ai/api/v1/ads/campaigns', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.ai/api/v1/ads/campaigns"
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": [
{
"id": "<string>",
"planId": "<string>",
"groupId": "<string>",
"campaignId": "<string>",
"name": "<string>",
"marketplace": "<string>",
"country": "<string>",
"storeId": "<string>",
"status": "<string>",
"currency": "<string>",
"dailyBudget": "<string>",
"from": "<string>",
"to": "<string>",
"updatedAt": "<string>"
}
],
"total": 123,
"counts": {},
"nextOffset": 0,
"publishingReady": true
}
}Ads
List saved and synced ads
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
/
campaigns
List saved and synced ads
curl --request GET \
--url https://omnicommerce.ai/api/v1/ads/campaigns \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omnicommerce.ai/api/v1/ads/campaigns', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.ai/api/v1/ads/campaigns"
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": [
{
"id": "<string>",
"planId": "<string>",
"groupId": "<string>",
"campaignId": "<string>",
"name": "<string>",
"marketplace": "<string>",
"country": "<string>",
"storeId": "<string>",
"status": "<string>",
"currency": "<string>",
"dailyBudget": "<string>",
"from": "<string>",
"to": "<string>",
"updatedAt": "<string>"
}
],
"total": 123,
"counts": {},
"nextOffset": 0,
"publishingReady": true
}
}Authorizations
Query Parameters
Response
Operation result.