The mobile link [mobile_link]
attribute lets you include a URL to a mobile-optimized version of your landing page. This mobile version will be shown to users on mobile devices, like phones or tablets. When using this attribute, you’ll also see additional reporting in Merchant Center for potential issues with your mobile-optimized landing pages.
Create a mobile-optimized site to help ensure that your landing page looks right on mobile devices. These types of sites often load faster on mobile phones.
In this article
When to use
Optional for each product
If you submit the mobile link [mobile_link]
attribute in addition to the link [link]
attribute, all mobile device users will be directed to the landing page specified in the mobile link attribute. However, if you also submit a value for the ads redirect [ads_redirect]
attribute, users who click on Shopping ads will be sent to that URL rather than the URL that you submit for link or mobile link attributes.
Users who click on free product listings will still be directed to the URL listed in the link or mobile link attributes provided. Learn more about how the link, mobile link, and ads redirect attributes work together
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
Type | URL (including http or https ), ASCII characters only, and RFC 3986 compliant |
---|---|
Limits | 1–2,000 characters |
Repeated field | No |
File format | Example value |
---|---|
Text feeds | https://www.m.example.com/writing/fiji-pens |
XML feeds | <g:mobile_link>https://www.m.example.com/writing/fiji-pens</g:mobile_link> |
Deep links for app ads
For guidance on how to properly implement mobile app deep links in your feed, please see the following resources:
To format your data for Content API, see the Content API for Shopping resource.
Minimum requirements
These are the requirements you'll need to meet to show your product. If you don't follow these requirements, we'll disapprove your product and let you know in your Merchant Center account.
- Meet the requirements of the link attribute with the value that you submit for the mobile link
[mobile_link]
attribute. - Submit the link attribute, which is the page that desktop users will see.
Best practices
These best practices can help you go beyond the basic requirements to optimize your product data for performance.
- Follow the best practices of the link attribute with the value that you submit for the mobile link [mobile_link] attribute.
- Link to a landing page that renders properly on mobile devices. Some elements that you shouldn’t use on your landing page include Flash, Silverlight, and ActiveX. Learn more about creating mobile-optimized websites
- If you use tracking parameters in your mobile link [mobile_link] attribute, we recommend using the Google Search index
[canonical_link]
attribute in your feed to provide a canonical URL. Use the Google Search index [canonical_link] attribute to ensure products are associated with the correct URL in the Google Search index as it’ll improve Google’s understanding about the product. Learn more about canonical links- If the Google Search index
[canonical_link]
attribute isn’t used, there’s a chance the URL provided in the mobile link[mobile_link]
feed attribute will be indexed. To prevent indexing, add the noindex tag to your pages if appropriate or use the Google Search index[canonical_link]
attribute in your feed.
- If the Google Search index
Examples
Products without variantsWhen using mobile link [mobile_link]
, remember to also provide the link [link]
attribute. Mobile users will be sent to the URL that you provide for the mobile link attribute, but desktop users will still be sent to the URL that you provide for the link attribute.
Product data for Google pens, black ink | |
Attribute | Value |
Mobile link [mobile_link] |
https://mobile.example.com/writing/google-pens |
Link [link] |
https://example.com/writing/google-pens |
When including a URL for a product with variants, make sure that the variant is automatically selected based on the URL.
Product data for Google pens with black ink | |
Attribute | Value |
Mobile link [mobile_link] |
https://mobile.example.com/writing/google-pens?color=black |
Link [link] |
https://example.com/writing/google-pens?color=black |
Product data for Google pens with red ink | |
Attribute | Value |
Mobile link [mobile_link] |
https://mobile.example.com/writing/google-pens?color=red |
Link [link] |
https://example.com/writing/google-pens?color=red |