curl --request GET \
--url https://app.base44.com/api/apps/{app_id}/google-ads/accounts \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.base44.com/api/apps/{app_id}/google-ads/accounts"
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/accounts', 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/accounts",
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/accounts"
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/accounts")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.base44.com/api/apps/{app_id}/google-ads/accounts")
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{
"id": "68b1c0d4e7b91d003c45a1f8",
"account_name": "Nordwind Furniture",
"google_customer_id": "1234567890",
"status": "ACTIVE",
"currency_code": "EUR",
"timezone": "Europe/Berlin",
"budget_active": true,
"billing_cadence": "1w",
"charge_trigger_mode": "cadence",
"monthly_spend_cap_micros": 500000000,
"auto_renew": true,
"business_profile_location_id": "locations/12345",
"created_date": "2026-08-25T11:20:00Z",
"updated_date": "2026-08-25T14:05:00Z",
"budget_window_end": "2026-09-30T23:59:59Z",
"terms_accepted_at": "2026-08-25T11:20:00Z",
"customer_grade": 1,
"active_campaign_limit": 3,
"total_campaign_limit": 5
}Get Google Ads account
Returns the app’s Google Ads account: its status, currency, billing cadence, spend cap and the Google Business Profile linked to it.
An app has at most one Google Ads account, and returns null with a 200 when it has none — that is the normal state for an app that has never advertised, not an error. status is the field to read before anything else, because only an ACTIVE account can create or resume campaigns. budget_active is the second. A campaign cannot serve without a live Google Ads budget behind it.
curl --request GET \
--url https://app.base44.com/api/apps/{app_id}/google-ads/accounts \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.base44.com/api/apps/{app_id}/google-ads/accounts"
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/accounts', 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/accounts",
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/accounts"
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/accounts")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.base44.com/api/apps/{app_id}/google-ads/accounts")
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{
"id": "68b1c0d4e7b91d003c45a1f8",
"account_name": "Nordwind Furniture",
"google_customer_id": "1234567890",
"status": "ACTIVE",
"currency_code": "EUR",
"timezone": "Europe/Berlin",
"budget_active": true,
"billing_cadence": "1w",
"charge_trigger_mode": "cadence",
"monthly_spend_cap_micros": 500000000,
"auto_renew": true,
"business_profile_location_id": "locations/12345",
"created_date": "2026-08-25T11:20:00Z",
"updated_date": "2026-08-25T14:05:00Z",
"budget_window_end": "2026-09-30T23:59:59Z",
"terms_accepted_at": "2026-08-25T11:20:00Z",
"customer_grade": 1,
"active_campaign_limit": 3,
"total_campaign_limit": 5
}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
Successful Response
The account fields this API commits to.
How far the workspace has earned higher limits by paying on time. 0 until 3 invoices in a row are paid with no decline, then 1, rising by one per further clean invoice. It never goes down; it reads 0 only while an account in the workspace is on hold or blocked.
1
Was this page helpful?