Facebook Ad
curl --request GET \
--url https://api.vexqo.dev/facebook/ads/{ad_id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.vexqo.dev/facebook/ads/{ad_id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.vexqo.dev/facebook/ads/{ad_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"ad": {
"ad_archive_id": "<string>",
"links": {
"details": "<string>",
"advertiser": "<string>"
},
"page_id": "<string>",
"page_name": "<string>",
"is_active": true,
"snapshot": {},
"creatives": [
{
"source": "<string>",
"text": "<string>",
"title": "<string>",
"description": "<string>",
"destination_url": "<string>",
"cta": "<string>",
"images": [
"<string>"
],
"videos": [
"<string>"
]
}
],
"ad_details": {},
"ad_details_status": "available",
"ad_details_reason": "<string>"
},
"ad_details": {},
"refused_requests": 1,
"links": {
"self": "<string>",
"next": "<string>"
},
"response_metadata": {}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Meta ads
Facebook Ad
GET
/
facebook
/
ads
/
{ad_id}
Facebook Ad
curl --request GET \
--url https://api.vexqo.dev/facebook/ads/{ad_id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.vexqo.dev/facebook/ads/{ad_id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.vexqo.dev/facebook/ads/{ad_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"ad": {
"ad_archive_id": "<string>",
"links": {
"details": "<string>",
"advertiser": "<string>"
},
"page_id": "<string>",
"page_name": "<string>",
"is_active": true,
"snapshot": {},
"creatives": [
{
"source": "<string>",
"text": "<string>",
"title": "<string>",
"description": "<string>",
"destination_url": "<string>",
"cta": "<string>",
"images": [
"<string>"
],
"videos": [
"<string>"
]
}
],
"ad_details": {},
"ad_details_status": "available",
"ad_details_reason": "<string>"
},
"ad_details": {},
"refused_requests": 1,
"links": {
"self": "<string>",
"next": "<string>"
},
"response_metadata": {}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}