curl --request POST \
--url https://app.base44.com/api/apps/{app_id}/google-ads/campaign-briefs/generate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"platform_type": "SMART",
"business_name": "Nordwind Furniture",
"business_description": "Handmade oak furniture, delivered across Germany.",
"landing_page_url": "https://example.com/spring",
"keywords": [
"oak furniture"
]
}
'import requests
url = "https://app.base44.com/api/apps/{app_id}/google-ads/campaign-briefs/generate"
payload = {
"platform_type": "SMART",
"business_name": "Nordwind Furniture",
"business_description": "Handmade oak furniture, delivered across Germany.",
"landing_page_url": "https://example.com/spring",
"keywords": ["oak furniture"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
platform_type: 'SMART',
business_name: 'Nordwind Furniture',
business_description: 'Handmade oak furniture, delivered across Germany.',
landing_page_url: 'https://example.com/spring',
keywords: ['oak furniture']
})
};
fetch('https://app.base44.com/api/apps/{app_id}/google-ads/campaign-briefs/generate', 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/campaign-briefs/generate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'platform_type' => 'SMART',
'business_name' => 'Nordwind Furniture',
'business_description' => 'Handmade oak furniture, delivered across Germany.',
'landing_page_url' => 'https://example.com/spring',
'keywords' => [
'oak furniture'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.base44.com/api/apps/{app_id}/google-ads/campaign-briefs/generate"
payload := strings.NewReader("{\n \"platform_type\": \"SMART\",\n \"business_name\": \"Nordwind Furniture\",\n \"business_description\": \"Handmade oak furniture, delivered across Germany.\",\n \"landing_page_url\": \"https://example.com/spring\",\n \"keywords\": [\n \"oak furniture\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.base44.com/api/apps/{app_id}/google-ads/campaign-briefs/generate")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"platform_type\": \"SMART\",\n \"business_name\": \"Nordwind Furniture\",\n \"business_description\": \"Handmade oak furniture, delivered across Germany.\",\n \"landing_page_url\": \"https://example.com/spring\",\n \"keywords\": [\n \"oak furniture\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.base44.com/api/apps/{app_id}/google-ads/campaign-briefs/generate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"platform_type\": \"SMART\",\n \"business_name\": \"Nordwind Furniture\",\n \"business_description\": \"Handmade oak furniture, delivered across Germany.\",\n \"landing_page_url\": \"https://example.com/spring\",\n \"keywords\": [\n \"oak furniture\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": "68b1c0d4e7b91d003c45a1f5",
"platform_type": "PERFORMANCE_MAX",
"source": "user",
"business_name": "Nordwind Furniture",
"business_description": "Handmade oak furniture, delivered across Germany.",
"landing_page_url": "https://example.com/spring",
"language": "en",
"keywords": [
"oak furniture",
"handmade table"
],
"target_audience": "Homeowners aged 30 to 55",
"daily_budget_micros": 15000000,
"geo_targets": [
"1003854"
],
"headlines": [
"Handmade oak furniture"
],
"descriptions": [
"Built to last. Delivered free."
],
"schedule_type": "always",
"schedule_days": [
{
"day": "MONDAY",
"end_hour": 17,
"start_hour": 9
}
],
"created_date": "2026-08-25T11:20:00Z",
"updated_date": "2026-08-25T14:05:00Z"
}Generate Google Ads campaign brief
Writes a campaign brief for you from a few business details, and saves it.
Send the business name, what it does, its landing page, and any keywords you already have. Base44 writes ad headlines and descriptions from those details, and saves them as a new brief. source on the response is ai, which is how you tell a generated brief from one you wrote.
The copy is written in whichever language the details you send are in, and that language is recorded on the brief. Base44 does not open the landing page to work this out, so it passes the URL along as text and nothing more. A German site described in English produces English copy.
This runs a language model, so it is slower than the other endpoints here and it draws on a per-app quota shared with the other Google Ads generation endpoints. The default is 20 requests a minute, and your workspace’s plan can raise it, so treat the 429 rather than a fixed count as the signal you have run out.
headlines and descriptions are empty, still marked source: ai. Check that those two lists are non-empty before you use the result.curl --request POST \
--url https://app.base44.com/api/apps/{app_id}/google-ads/campaign-briefs/generate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"platform_type": "SMART",
"business_name": "Nordwind Furniture",
"business_description": "Handmade oak furniture, delivered across Germany.",
"landing_page_url": "https://example.com/spring",
"keywords": [
"oak furniture"
]
}
'import requests
url = "https://app.base44.com/api/apps/{app_id}/google-ads/campaign-briefs/generate"
payload = {
"platform_type": "SMART",
"business_name": "Nordwind Furniture",
"business_description": "Handmade oak furniture, delivered across Germany.",
"landing_page_url": "https://example.com/spring",
"keywords": ["oak furniture"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
platform_type: 'SMART',
business_name: 'Nordwind Furniture',
business_description: 'Handmade oak furniture, delivered across Germany.',
landing_page_url: 'https://example.com/spring',
keywords: ['oak furniture']
})
};
fetch('https://app.base44.com/api/apps/{app_id}/google-ads/campaign-briefs/generate', 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/campaign-briefs/generate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'platform_type' => 'SMART',
'business_name' => 'Nordwind Furniture',
'business_description' => 'Handmade oak furniture, delivered across Germany.',
'landing_page_url' => 'https://example.com/spring',
'keywords' => [
'oak furniture'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.base44.com/api/apps/{app_id}/google-ads/campaign-briefs/generate"
payload := strings.NewReader("{\n \"platform_type\": \"SMART\",\n \"business_name\": \"Nordwind Furniture\",\n \"business_description\": \"Handmade oak furniture, delivered across Germany.\",\n \"landing_page_url\": \"https://example.com/spring\",\n \"keywords\": [\n \"oak furniture\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.base44.com/api/apps/{app_id}/google-ads/campaign-briefs/generate")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"platform_type\": \"SMART\",\n \"business_name\": \"Nordwind Furniture\",\n \"business_description\": \"Handmade oak furniture, delivered across Germany.\",\n \"landing_page_url\": \"https://example.com/spring\",\n \"keywords\": [\n \"oak furniture\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.base44.com/api/apps/{app_id}/google-ads/campaign-briefs/generate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"platform_type\": \"SMART\",\n \"business_name\": \"Nordwind Furniture\",\n \"business_description\": \"Handmade oak furniture, delivered across Germany.\",\n \"landing_page_url\": \"https://example.com/spring\",\n \"keywords\": [\n \"oak furniture\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": "68b1c0d4e7b91d003c45a1f5",
"platform_type": "PERFORMANCE_MAX",
"source": "user",
"business_name": "Nordwind Furniture",
"business_description": "Handmade oak furniture, delivered across Germany.",
"landing_page_url": "https://example.com/spring",
"language": "en",
"keywords": [
"oak furniture",
"handmade table"
],
"target_audience": "Homeowners aged 30 to 55",
"daily_budget_micros": 15000000,
"geo_targets": [
"1003854"
],
"headlines": [
"Handmade oak furniture"
],
"descriptions": [
"Built to last. Delivered free."
],
"schedule_type": "always",
"schedule_days": [
{
"day": "MONDAY",
"end_hour": 17,
"start_hour": 9
}
],
"created_date": "2026-08-25T11:20:00Z",
"updated_date": "2026-08-25T14:05:00Z"
}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
Body
Response
Successful Response
A saved campaign brief.
Was this page helpful?