List advertising assets
curl --request GET \
--url https://app.bily.ai/api/customer/v1/platform/{storeUrl}/assets \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://app.bily.ai/api/customer/v1/platform/{storeUrl}/assets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.bily.ai/api/customer/v1/platform/{storeUrl}/assets"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"assets": [
{
"key": "<string>",
"platform": "<string>",
"adAccountId": "<string>",
"assetType": "campaign",
"assetId": "<string>",
"name": "<string>",
"supportedWrites": [
"name"
],
"parentAssetId": "<string>",
"status": "<string>",
"effectiveStatus": "<string>",
"dailyBudget": 123,
"lifetimeBudget": 123,
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}{
"error": "Store not found",
"requestId": "<string>",
"details": "<unknown>",
"retryAfter": "<string>"
}{
"error": "Store not found",
"requestId": "<string>",
"details": "<unknown>",
"retryAfter": "<string>"
}{
"error": "Store not found",
"requestId": "<string>",
"details": "<unknown>",
"retryAfter": "<string>"
}{
"error": "Store not found",
"requestId": "<string>",
"details": "<unknown>",
"retryAfter": "<string>"
}{
"error": "Store not found",
"requestId": "<string>",
"details": "<unknown>",
"retryAfter": "<string>"
}Connections
List advertising assets
Lists normalized campaigns, ad sets, and ads for enabled accounts in the store.
GET
/
platform
/
{storeUrl}
/
assets
List advertising assets
curl --request GET \
--url https://app.bily.ai/api/customer/v1/platform/{storeUrl}/assets \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://app.bily.ai/api/customer/v1/platform/{storeUrl}/assets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.bily.ai/api/customer/v1/platform/{storeUrl}/assets"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"assets": [
{
"key": "<string>",
"platform": "<string>",
"adAccountId": "<string>",
"assetType": "campaign",
"assetId": "<string>",
"name": "<string>",
"supportedWrites": [
"name"
],
"parentAssetId": "<string>",
"status": "<string>",
"effectiveStatus": "<string>",
"dailyBudget": 123,
"lifetimeBudget": 123,
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}{
"error": "Store not found",
"requestId": "<string>",
"details": "<unknown>",
"retryAfter": "<string>"
}{
"error": "Store not found",
"requestId": "<string>",
"details": "<unknown>",
"retryAfter": "<string>"
}{
"error": "Store not found",
"requestId": "<string>",
"details": "<unknown>",
"retryAfter": "<string>"
}{
"error": "Store not found",
"requestId": "<string>",
"details": "<unknown>",
"retryAfter": "<string>"
}{
"error": "Store not found",
"requestId": "<string>",
"details": "<unknown>",
"retryAfter": "<string>"
}Authorizations
ApiKeyAuthBearerAuth
A server-side Bily API key created under Settings > MCP > Access key fallback. Select the intended store before creating it.
Headers
An organization ID returned by GET /context or GET /organizations. Required for GET /stores and optional for store-scoped paths.
Example:
"org_01J8W7T9G3E6ZQ4M2K5N8P1R0S"
Path Parameters
The exact store URL returned by GET /context or GET /stores.
Example:
"store.example.com"
Query Parameters
Filter by platform ID.
Filter by asset type.
Available options:
campaign, adset, ad Case-insensitive search across name, asset ID, and account ID.
Filter by status.
Maximum results.
Required range:
1 <= x <= 500Response
Request completed successfully.
Show child attributes
Show child attributes