Instruction Google Content API for Shopping for PrestaShop1.7

Instruction GOOGLE CONTENT API FOR SHOPPING for PRESTASHOP 1.7


Download and install


  1. Download the plugin archive from the Shop Pinta store and save it on your computer.

  2. In the admin panel of your website, select Modules (1) > Module Manager (2).



  1. Next, click the Upload a module button.



  1. In the opened window, click on select file (1).

  2. Select the plugin archive (2) and click the Open button᠎ (3).



  1. Wait for a message about "Module installed!".

  2. To configure the plugin, click the Configure button.





Plugin page


The plugin page includes:


  1. The Content Language field - to select the language of the uploaded data.

  2. The Currency field - to select the product currency.

  3. The Target Country field - to select the target country.

  4. The Merchant id field - to enter the account ID from Google Merchant Center.

  5. The Category Status checkbox - to enable / disable the use of Google categories.

  6. The Taxes checkbox - to enable / disable the display of the price with tax.

  7. The Prefix offer Id field - to enter a prefix for the product ID. You can add any word to the product ID, if necessary.

  8. The Your Access Token field - to enter the token after setting up an account in the Google Merchant Center.

This field is filled in automatically when uploading a json file.

  1. The Your Access Code field - to enter the code after setting up an account in the Google Merchant Center.

This field is filled in automatically when uploading a json file.



  1. The Upload json file block allows you to synchronize your website with the account in the Google Merchant Center. This block consists of:

  • The LOAD button - to load a json file with the access token and the access code.

  • The Your redirect url field - use this redirect URL when setting up an account in the Google Merchant Center.

  • The LOGIN button - to authorize data.

After successful authorization, the Your Access Token and the Your Access Code fields are automatically filled.

  1. The Trigger edit and add product field - to enable / disable automatic updating of product data in the Google Merchant Center. To update the data after the editing / creating of products, select the Enabled position.

  2. The Trigger delete product field - to enable / disable automatic updating of product data in the Google Merchant Center. To update the data after the deleting of products, select the Enabled position.


  1. The LOAD PRODUCTS button - to load all the products of your website in the Google Merchant Center.

  2. The Delete all Products button - to remove all products of your website from the Google Merchant Center.

  3. The Clear logs - to delete logs of the using the plugin.





Uploading products to Google Merchant Center



* https://support.google.com/merchants/answer/188924


Copy the account ID and add it on the plugin page (to the Merchant id field).




  • Use the Google API to set up integration with the Google Merchant Center.


To do it, you need to create a new project in the Google Cloud Console. For example, My Project 10854 (1).

* https://support.google.com/cloudidentity/topic/7555414


Next, go to the Library menu (2).



Using the search, find the required library - Content API for Shopping.

After selecting, confirm the connection of this library to the project (the ENABLE button).



Next, you need to generate a json file with authorization data:


  1. Go to the Credentials menu (1) and select CREATE CREDENTIALS (2) > OAuth client ID (3).



  1. Select the Web application option in the Application type field.

  2. Enter the client name, for example, Web client 2.



  1. Add your redirect᠎ URL in the Authorized redirect URIs block:

  • To display the field for entering the redirect URL, click the ADD URI button.

  • Copy the redirect URL on the plugin page (the Your redirect url field).



  • Paste to the URIs 1 field (1) the redirect URL copied from your website's admin panel.

  • Click the CREATE button (2).



  1. To download a json file, click the DOWNLOAD JSON button.



  1. Go to the OAuth consent screen menu (1).

  2. In the Publishing status block, select the In production option.

  3. Next, click the BACK TO TESTING button (2).




  • To authorize data on the plugin page, upload a json file.


To do it, click the LOAD button (1) and select the previously downloaded json file (2, 3).

Next, click the SAVE button (4) to save the current data.

And click the LOGIN button (5).



After successful authorization, the Your Access Token and the Your Access Code fields are automatically filled.




  • Upload your products to your Google Merchant Center account.


To load products correctly, first create the Feed (menu Products > Feeds). And select Content API as the data input method.



Next, click the LOAD PRODUCTS button and go to your Google Merchant Center account (menu Products > All products).



Now you can quickly upload all the products of your website to your Google Merchant Center account.




VIDEO INSTRUCTION