Google-shopping
Related pages:
Google-shopping Technical Notes
Description
A Google service that allows users to search for products on online shopping websites and compare prices between different vendors.
productId - unique product identifier. Consist of:
channel:contentLanguage:targetCountry:offerId
.
Component requires at least 1GB of RAM to work correct:
Set env variable EIO_REQUIRED_RAM_MB
to 1024
.
Credentials
Component supports Service account as authentication mechanism.
How to create credentials
- Open
- Sign up
- Select your country
- Enter name of store
- Click on “continue”
- Agree to the Terms & Conditions.
- agree with terms…
- Click on “continue”
- Click on skip
- Click on menu button and choose “COntent API”.
- Click on “authentication” tab.
- Click on Create API key.
- Click on “I have read and agree to the terms” and then “Accept & continue” in Google Cloud Platform section
- Click on “I have read and agree to the terms” and then “Accept & continue” in Google APIs Terms of Service section.
- Notification “A new API key is being created. This may take up to 30 seconds.” is shown on the screen.
- Pop-up API key created successfully. The only copy of this key (content-api.json) is saved on this computer. Store it securely.
- In addition, you now have a new Google Cloud project and service account. Learn more” is shown up.
- CLick “Ok”
- File content-api-key.json file has been downloaded.
How to insert credentials into elastic.io platform
- Settings -> Security credentials -> Google Shopping component -> Add New Account
- Enter Name of account.
- Copy-paste all text from content-api-key.json file into “googleKeyFile” field.
- Enter your Merchant ID from Google Merchant Center.
- Click on “Verify”.
- Click on “Save”.
merchantId
Id of customer’s merchant account.
googleKeyFile
Content of json file with google key.
Triggers
This component has no trigger functions. This means it will not be accessible to select as a first component during the integration flow design.
Actions
Upsert Product
Request JSON schema ./src/main/schemas/InsertProduct.in.json
Delete Product
Request JSON schema ./src/main/schemas/DeleteProduct.in.json
Get Product
Request JSON schema ./src/main/schemas/DeleteProduct.in.json
List Products
Product CustomBatch
Request JSON schema ./src/main/schemas/CustomBatchProduct.in.json
Get Product status info
Request JSON schema ./src/main/schemas/DeleteProduct.in.json
List all Accounts status info
Product CustomBatch
Request JSON schema ./src/main/schemas/CustomBatchProductStatuses.in.json
Update inventory and price
Request JSON schema ./src/main/schemas/SetPriceAndInventory.in.json
Inventory CustomBatch
Request JSON schema ./src/main/schemas/CustomBatchInventory.in.json
Get Account Authinfo
Claim Account Website
Request input parameters accountId
Get Account info
Request input parameters accountId
Delete Account
Request input parameters accountId
Get Accounts List
Create Account
Request JSON schema ./src/main/schemas/InsertAccount.in.json
Patch Account
Request JSON schema ./src/main/schemas/PatchAccount.in.json
Update Account
Request JSON schema ./src/main/schemas/UpdateAccount.in.json
Account CustomBatch
Request JSON schema ./src/main/schemas/CustomBatchAccount.in.json
Get Account tax List
Request input parameters accountId
Patch Account tax
Request JSON schema ./src/main/schemas/PatchAccountTax.in.json
Update Account tax
Request JSON schema ./src/main/schemas/UpdateAccountTax.in.json
Account tax CustomBatch
Request JSON schema ./src/main/schemas/CustomBatchAccountTax.in.json
Get Account status info
Request input parameters datafeedId
List all Accounts status info
Account CustomBatch
Request JSON schema ./src/main/schemas/CustomBatchAccountStatuses.in.json
Create Datafeed
Request JSON schema ./src/main/schemas/InsertDatafeed.in.json
Get Datafeed info
Request input parameters datafeedId
Get Datafeeds List
Delete Datafeed
Request input parameters datafeedId
Datafeed CustomBatch
Request JSON schema ./src/main/schemas/CustomBatchDatafeed.in.json
Update Datafeed
Request JSON schema ./src/main/schemas/UpdateDatafeed.in.json
Patch Datafeed
Request JSON schema ./src/main/schemas/PatchDatafeed.in.json
Get Datafeed status info
Request input parameters datafeedId
List all Datafeeds status info
Datafeed CustomBatch
Request JSON schema ./src/main/schemas/CustomBatchDatafeedStatuses.in.json