Skip to main content
POST
Build Google Ads tracking fix prompt

Authorizations

api_key
string
header
required

Personal API key.

Path Parameters

app_id
string
required

ID of the app whose Google Ads conversion tracking you want to manage.

Body

application/json
wire_events
boolean
default:false

Whether the prompt should also wire the account's enabled conversion mappings (true) or only install the base tag (false).

Example:

true

Response

The prompt to send to the AI.

A ready-made instruction for the AI to install conversion tracking.

composer_prompt
string
required

The instruction to send to Send chat message. It ends with a reminder to publish, because Google Ads only records conversions from the published app. The value is an empty string when skipped_reason is set.

Example:

"Wire up Google Ads conversion tracking for this app.\n\nCall get_capability_guide(\"google_ads\") first, then follow it."

conversion_id
string | null

The gtag conversion ID baked into the prompt, or an empty string when the prompt tells the AI to look each one up instead of carrying a concrete ID. Absent when skipped_reason is set.

Example:

"AW-123456789"

actions_created_or_existing
integer | null

How many conversion goals the account has after this call, counting the ones it already had. Absent when skipped_reason is set.

Example:

10

wired_mappings
integer | null

How many of the account's conversion mappings the prompt carries wiring guidance for. When you send wire_events and the account has no enabled mapping, this reports the number of conversion categories the prompt offers instead, so read any value above 0 as a sign that the prompt carries wiring guidance rather than as a mapping count. Absent when skipped_reason is set.

Example:

3

skipped_reason
string | null

Why no prompt was produced. The only value is no_google_ads_account, which means the app has no Google Ads account that can carry conversion tracking. The field is absent whenever a prompt was produced.

Example:

"no_google_ads_account"