Get performance
curl --request GET \
--url https://fandom-api-preview.vercel.app/api/v1/google-ads/performance \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://fandom-api-preview.vercel.app/api/v1/google-ads/performance', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://fandom-api-preview.vercel.app/api/v1/google-ads/performance"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"customerId": "<string>",
"dateRange": {
"preset": "<string>",
"startDate": "<string>",
"endDate": "<string>"
},
"campaigns": [
{
"campaignId": "<string>",
"name": "<string>",
"googleAdsCampaignId": "<string>",
"campaignType": "<string>",
"status": "<string>",
"impressions": 123,
"clicks": 123,
"cost": 123,
"conversions": 123,
"ctr": 123,
"cpc": 123,
"costPerConversion": 123,
"roas": 123
}
],
"daily": [
{
"date": "<string>",
"impressions": 123,
"clicks": 123,
"cost": 123,
"conversions": 123
}
]
}{
"error": {
"code": "not_found",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"code": "not_found",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"code": "not_found",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"code": "not_found",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"code": "not_found",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"code": "not_found",
"message": "<string>",
"requestId": "<string>"
}
}Google Ads
Get performance
Impressions, clicks, cost and conversions for the Fandom campaigns in one account.
Scope: google-ads:read.
GET
/
google-ads
/
performance
Get performance
curl --request GET \
--url https://fandom-api-preview.vercel.app/api/v1/google-ads/performance \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://fandom-api-preview.vercel.app/api/v1/google-ads/performance', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://fandom-api-preview.vercel.app/api/v1/google-ads/performance"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"customerId": "<string>",
"dateRange": {
"preset": "<string>",
"startDate": "<string>",
"endDate": "<string>"
},
"campaigns": [
{
"campaignId": "<string>",
"name": "<string>",
"googleAdsCampaignId": "<string>",
"campaignType": "<string>",
"status": "<string>",
"impressions": 123,
"clicks": 123,
"cost": 123,
"conversions": 123,
"ctr": 123,
"cpc": 123,
"costPerConversion": 123,
"roas": 123
}
],
"daily": [
{
"date": "<string>",
"impressions": 123,
"clicks": 123,
"cost": 123,
"conversions": 123
}
]
}{
"error": {
"code": "not_found",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"code": "not_found",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"code": "not_found",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"code": "not_found",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"code": "not_found",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"code": "not_found",
"message": "<string>",
"requestId": "<string>"
}
}Authorizations
An API key from Settings → API access, starting with fnd_.
Query Parameters
Google Ads customer id, with or without dashes.
Pattern:
^\d{3}-?\d{3}-?\d{4}$Default LAST_30_DAYS.

