Import a product feed from a URL
Downloads a Google Merchant Center product feed from a URL and imports it into the catalog.
The feed is downloaded during the request, so the response can take several seconds. The import itself runs in the background, in the same way as for an uploaded .xml file. To track it, use Check import status with the returned job_id. If the organization has no catalog, this method creates one.
The URL is saved for the catalog, and the feed is turned on so that it’s refreshed automatically. To replace the saved URL, call this method again with a new URL. Each call starts a new import. To stop automatic refreshes, use Turn a catalog feed on or off.
A feed that is on is refreshed about once an hour. If a refresh can’t download the feed or the feed isn’t valid, the catalog doesn’t change. If the import of a downloaded feed fails, products that were imported before the failure stay in the catalog. The next refresh tries again.
Each refresh is merged into the catalog in the same way as an upload. For the merge rules, see Catalog updates.
The feed must be in the Google Merchant Center format and can be up to 50MB. If the feed is rejected, the catalog doesn’t change.
accounts--my:roAuthorizations
Use your account ID as the username and your personal access token (PAT) as the password, or pass a Base64-encoded value directly in the Authorization header. For more information, see the personal access tokens guide.