Google Ads / API Reference
gads_get_conversion_tag_snippet
Google Ads tool (extended/low-level coverage). For common tasks prefer the RECOMMENDED google_ads_* actions; use these only for advanced operations those don't cover. Get the complete gtag snippet for a specific conversion action. Returns the global_site_tag (for <head>), event_snippet (fires on conversion), and the ready-to-use AW-XXXXXXXX/LABEL send_to string for WordPress injection. Args: conversion_action_id: The numeric conversion action ID. customer_id: Google Ads customer ID. Leave blank to use default.
This is a read-only tool: it retrieves conversion tag snippet from your Google Ads account. It changes nothing.
Ask Claude
You do not call this tool yourself. Ask for the outcome and the client picks the tool:
Get conversion tag snippet in my Google Ads account for [conversion action id].
It takes 1 required and 1 optional parameter.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
conversion_action_id | string | Yes | Conversion Action Id |
customer_id | string | No | Customer Id |
Related Google Ads tools
gads_get_conversion_upload_summarygads_get_account_budgetgads_get_account_conversion_idgads_get_account_infogads_get_account_statusgads_get_ad_asset_field_performance
Before you can call it
This tool needs a connected Google Ads account. The Google Ads connect guide covers the OAuth flow and the permissions it asks for, and the quickstart gets a client talking to the server in about five minutes.
Workflows that use this
Rather than calling tools one at a time, these skills run a whole procedure against the same account: