curl --request GET \
--url https://app.base44.com/api/apps/{app_id}/google-ads/analytics/asset-performance \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.base44.com/api/apps/{app_id}/google-ads/analytics/asset-performance"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.base44.com/api/apps/{app_id}/google-ads/analytics/asset-performance', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.base44.com/api/apps/{app_id}/google-ads/analytics/asset-performance",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.base44.com/api/apps/{app_id}/google-ads/analytics/asset-performance"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.base44.com/api/apps/{app_id}/google-ads/analytics/asset-performance")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.base44.com/api/apps/{app_id}/google-ads/analytics/asset-performance")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"resource_name": "customers/1234567890/assetGroupAssets/2145881234~9988776655~HEADLINE",
"field_type": "HEADLINE",
"text": "Handmade oak furniture",
"asset_name": "spring-hero-1200x628",
"type": "TEXT",
"image_url": "https://tpc.googlesyndication.com/simgad/1234567890",
"campaign": "Spring sale - Performance Max",
"asset_group_id": "9988776655",
"asset_group_name": "Spring sale - Asset Group",
"ad_strength": "GOOD",
"primary_status": "ELIGIBLE",
"performance_label": "LEARNING",
"video_id": "dQw4w9WgXcQ",
"primary_status_reasons": [
"TRADEMARKS_IN_AD_TEXT"
],
"policy_topics": [
"TRADEMARKS_IN_AD_TEXT"
],
"impressions": 18400,
"clicks": 612,
"cost_micros": 412500000
}
]List Google Ads asset performance
Returns every serving creative asset in the account’s Performance Max campaigns, with its status, any policy limits, and its traffic over the trailing 30 days.
The 30-day window is fixed and does not follow a date parameter.
Google attributes Performance Max metrics per served asset, so these numbers do not add up to the asset group’s or campaign’s totals. Use them to rank creatives against each other, not to reconcile spend.
Three kinds of row arrive in one list. Assets inside an asset group carry the full shape. Logos, business names, sitelinks and call assets attach to the campaign instead, so they have no asset group and no metrics; their policy_topics come from the asset itself and are often empty. Business names, sitelinks and call assets come last in the list. A campaign Google has not echoed back yet contributes rows built from the creative Base44 sent at launch, with a primary_status of GATHERING_DATA, an empty performance_label and no metrics.
curl --request GET \
--url https://app.base44.com/api/apps/{app_id}/google-ads/analytics/asset-performance \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.base44.com/api/apps/{app_id}/google-ads/analytics/asset-performance"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.base44.com/api/apps/{app_id}/google-ads/analytics/asset-performance', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.base44.com/api/apps/{app_id}/google-ads/analytics/asset-performance",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.base44.com/api/apps/{app_id}/google-ads/analytics/asset-performance"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.base44.com/api/apps/{app_id}/google-ads/analytics/asset-performance")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.base44.com/api/apps/{app_id}/google-ads/analytics/asset-performance")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"resource_name": "customers/1234567890/assetGroupAssets/2145881234~9988776655~HEADLINE",
"field_type": "HEADLINE",
"text": "Handmade oak furniture",
"asset_name": "spring-hero-1200x628",
"type": "TEXT",
"image_url": "https://tpc.googlesyndication.com/simgad/1234567890",
"campaign": "Spring sale - Performance Max",
"asset_group_id": "9988776655",
"asset_group_name": "Spring sale - Asset Group",
"ad_strength": "GOOD",
"primary_status": "ELIGIBLE",
"performance_label": "LEARNING",
"video_id": "dQw4w9WgXcQ",
"primary_status_reasons": [
"TRADEMARKS_IN_AD_TEXT"
],
"policy_topics": [
"TRADEMARKS_IN_AD_TEXT"
],
"impressions": 18400,
"clicks": 612,
"cost_micros": 412500000
}
]Authorizations
Personal access token, sent as Authorization: Bearer <token>. Each operation lists the permission it needs: read_only or full_access. A full-access token can call every operation. A read-only token can call only the operations that list read_only; anything else returns 403 read_only_credential_route_not_allowed.
Scopes
Response
One entry per serving asset, grouped by its role.
Base44's own band for the asset, since Google publishes no per-asset rating for Performance Max: LEARNING while the campaign is still in its launch window, then LOW, GOOD or EXCELLENT from the asset's click-through rate against a threshold for its field type. PENDING and DISAPPROVED pass the serving status through instead. Empty when the asset cannot be rated, which is permanent for assets attached to the campaign and for rows Base44 synthesized from launch creative.
"LEARNING"
The Google Ads policy topics limiting the asset, without the generic status reasons primary_status_reasons also carries. Taken from the asset itself for assets attached to the campaign, where Google often names none (a limited logo usually carries no topic), and absent on rows Base44 synthesized from launch creative.
["TRADEMARKS_IN_AD_TEXT"]
Was this page helpful?