Hi,
Thank you for reaching out to the Google Ads API support team.
By reviewing your concern, I understand that your concern is regarding passing the location that triggered your ad in a campaign with multiple locations. Based on your query, I understand that you're running a Google Ads campaign with various location targets set by latitude, longitude, and radius, and you wish to dynamically pass the specific location to your landing page URL when an ad is clicked.
You can do this by utilizing the ‘custom parameters’ for advanced tracking. By following the below steps you can set this up in your Google Ads account:
You can create up to 8 custom parameters at any level in your account, except for the account level. If you create custom parameters with the same name at different levels (like ad group and ad level), Google Ads will prioritize the most specific one.
For example: If you create a custom parameter at the ad group level (e.g., {_location}=US) and another at the ad level (e.g., {_location}=UK), Google Ads will use the ad-level custom parameter ({_location}=UK) when the ad is clicked.
- Define Your Custom Parameters:
Each custom parameter consists of two parts:
- Name: Up to 16 alphanumeric characters.
- Value: Up to 250 characters, which can include symbols such as | ; _ / ^ ( !), and other ValueTrack parameters.For example, if you have unique IDs for your locations, you can create a custom parameter like {_location}=8912.
- Set Up the Tracking Template:
Once you’ve defined your custom parameters, add them to your tracking template. For example, if you use {_location}, your tracking template might look like this: {lpurl}?location={_location}. Then it will pass the location-specific value to the landing page when the ad is clicked.
I would recommend you to refer to the help center article links on setting up custom parameters and tracking templates, also on About ValueTrack parameters for more information.
If you face any issue further, please provide us with the uncropped UI screenshot of the Google Ads account where you encountered the issue, to better assist you further.
You can send the details via Reply privately to the author option, or direct private reply to this email.
This message is in relation to case "ref:!00D1U01174p.!5004Q02vGd44:ref" (ADR-00271168)
Thanks,
 |
Google Ads API Team |
