DestinationsConnect Google Ads

Connect Google Ads

One-click Google Ads tracking — creates (or updates) the google_ads Data Manager server destination, plus a managed gtag browser tag when any event carries a conversion_label. Browser conversions carry transaction_id = event uuid so browser and server sends dedupe. Requires the google_ads Data Manager OAuth credential to be stored first (PUT /credentials/google_ads or POST /oauth/initiate).

curl -X POST "https://mythic-analytics.gulp.workers.dev/client/v1/destinations/integrations/google_ads" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
  "customer_id": "example_string",
  "event_mapping": {}
}'
{
  "success": true,
  "data": {
    "platform": "example_string",
    "destination_id": "example_string",
    "tag_id": "example_string",
    "browser_tag": true
  }
}
POST
/client/v1/destinations/integrations/google_ads
POST
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

Client key as bearer token. Use an agency key (Bearer ak_...) for read-write access or a location secret key (Bearer sk_...) for read-only access. Scoped keys (mcp_) are accepted too and need destinations:read or destinations:write. See Using an mcp_ key over HTTP.

Client key as bearer token. Use an agency key (Bearer ak_...) for read-write access or a location secret key (Bearer sk_...) for read-only access. Scoped keys (mcp_) are accepted too and need destinations:read or destinations:write. See Using an mcp_ key over HTTP.
Content-Typestring
Required

The media type of the request body

Options: application/json
customer_idstring
Required

Google Ads customer id (10 digits, no dashes).

Pattern: ^\d{10}$
event_mappingobject
Required

Mythic event name -> conversion spec.

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Client key as bearer token. Use an agency key (Bearer ak_...) for read-write access or a location secret key (Bearer sk_...) for read-only access. Scoped keys (mcp_) are accepted too and need destinations:read or destinations:write. See Using an mcp_ key over HTTP.

Body

application/json
customer_idstring
Required

Google Ads customer id (10 digits, no dashes).

event_mappingobject
Required

Mythic event name -\> conversion spec.

Responses