
Hi,
Thank you for reaching out to the Google Ads API support team.
I would like to inform you that retrieval of tracking temple URLs can be retrieved from the campaign resource via the Google Ads API.
Here is a sample GAQL query to retrieve specified metrics:
SELECT campaign.tracking_url_template, campaign.tracking_setting.tracking_url, campaign.id, campaign.name FROM campaign
You can try making a request using the Search or SearchStream by passing the customer Id. Also, you can use Query Builder to create your query and Query Validator to validate your query. I hope this helps, let me know how this goes on your end.
![]() |
Google Ads API Team |
[2025-04-08 13:27:54Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01pS8r6:ref" (ADR-00298966)