The link template [link_template] attribute is for the link to a storefront. If your account is activated for the merchant-hosted local storefront (full) feature or vehicle ads, when customers click your local ad or free local listing, theyâre sent to a landing page on your website for the product. The URL for this landing page should be set with the link for the merchant-hosted local storefront [link_template] attribute.
On this page
When to use
Required for all products.
link [link] attribute instead.Format
Follow these formatting guidelines to make sure Google understands the data you're submitting. Learn when and how to submit your product data in English.
| Formatting specifications | |
| Technical name | [link_template] |
|---|---|
| Repeated field | No |
File format examples
To ensure your attribute is recognized correctly, use the formatting specific to your data source type.
| Data source format | Examples |
|---|---|
| Type | URL. (Must start with 'http://' or 'https://'.) |
| Text data sources (TSV) | http://example.com/123?store={store_code} |
| XML data sources | <g:link_template>http://example.com/123?store={store_code}</g:link_template> |
| Merchant API | To format your data in the Merchant API, check the Merchant API resource. |
Minimum requirements
You must meet these requirements to show your product in Merchant Center. If you don't follow these requirements, your product will be disapproved. If your product isnât approved, you'll receive a notification in the "Needs attention" tab under the "Products" section of your Merchant Center account.
- Include the store code {
store_code} ValueTrack parameter. - Verify and claim your website URL, and ensure the domain in your link template matches your registered Merchant Center site. Learn more About online store URL verification.
Best practice
- Include URL tracking parameters in ads redirect
[ads_redirect]only.