Questions tagged [google-content-api]

The Content API for Shopping enables you to programmatically upload product listings and so make your products easily discoverable through Google Shopping.

The Content API for Shopping enables you to upload product listings by coding and so make your products easily discover-able through Google Shopping.

As of February 2015 version 1 will stop working please migrate to version 2.

35 questions
1
vote
0 answers

Google Content API - Not a valid origin for the client

I'm struggling with Google's Content API. I created a key on the authentication tab of the Merchant Center, as described here : https://developers.google.com/shopping-content/guides/quickstart/setting-up-a-client-library This downloads a JSON file…
SwammiM
  • 463
  • 6
  • 15
1
vote
0 answers

How to replace dryRun flag in Google Content API for Shopping v2.1

The dryRun mode flag in google content api v2 is extremely useful and it's going to be hard to live without in forth coming v2.1. Can someone suggest useful strategies to compensate? Thanks
Rich Johns
  • 81
  • 4
1
vote
1 answer

Google Shopping Content returnrefundlineitem API content.ContentErrorDomain Malformed request

I was trying to send Request to after seeing the documentation in google content api every thing looks correct https://www.googleapis.com/content/v2.1sandbox/myid/orders/orderid/returnRefundLineItem but google responded with 400 bad request "…
Amine Yakoubi
  • 11
  • 1
  • 5
1
vote
0 answers

Accessing Google contacts using google contact api in Android

I'm trying to access my Google account contacts using Google contacts API in my Android application using following codes. @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); …
TKumar
  • 818
  • 2
  • 10
  • 35
1
vote
0 answers

Content API for Shopping not working in OpenCart

I am trying to integrate the Content API for Shopping in OpenCart into my PHP app and getting this error: Fatal error: Uncaught exception 'GSC_ParseError' with message 'Not Found' in …
Sandy
  • 41
  • 7
1
vote
2 answers

Python - google content api and unicode

I've searched through so many pages to try and help myself that I'm now more confused on python2 and unicode than I was before I started. What I'm trying to achieve: Using the google content api v2 for python, I've written an implementation that…
Alex Hellier
  • 435
  • 1
  • 7
  • 15
1
vote
2 answers

How to update all product details using Google Content API for Shopping?

In the documentation for the Google Content API for Shopping, I found a section on updating products: Inventory: set. However, it only seems to update price, availability and quantity: { "price": { "value": string, "currency": string }, …
lth159856
  • 49
  • 7
1
vote
1 answer

Content API for Shopping with Java OAuth

I went threw the "Getting Started"-documentation https://developers.google.com/shopping-content/v2/quickstart by Google. I'm getting stuck at the "Authorization" part: import com.google.api.client.auth.oauth2.draft10.AccessTokenResponse; import…
Christian
  • 152
  • 1
  • 11
1
vote
1 answer

Is there any way to get only "My Contact" from my gmail account using api?

I made the following call to the Contacts API https://www.google.com/m8/feeds/contacts/default/full?alt=json&access_token=<>&max-results=5000&v=3.0 It return a list of all my contact gmail contacts. I want only the Contact that I…
0
votes
1 answer

Maximum Limit - List the products from Google Shopping Content API

I am using below code for getting list of products from Google Shopping content API. $products = $service->products->listProducts($merchantId, array('pageToken' => $nextPageToken, 'maxResults' =>…
Nagaraj Juro
  • 109
  • 10
0
votes
0 answers

Google Merchant Center : Content API - How to add product to datafeed of input type local product

I am using php, I have created datafeed using content API which is of contentType "local products". $apiUrl = "https://www.googleapis.com/content/v2.1/[Merchant_Id]/datafeeds?access_token=".[API_token]; $request = array( "contentType"=>"local…
0
votes
1 answer

Google Service Exception ShipmentInfos (Google Orders API)

I'm trying to add tracking data to an order and am getting the following error: Fatal error: Uncaught exception 'Google_Service_Exception' with message '{ "error": { "errors": [ { "domain": "global", "reason": "invalid", "message": "Invalid value…
0
votes
1 answer

Specify the API version using an Advanced Service within Google Apps Scripts?

I need to use version 2.1 of the Content API within my script however, I'm unsure how to pass the version number. Here's the relevant part of the code: var products = ShoppingContent.Products.list(merchantId, { pageToken: pageToken, …
0
votes
1 answer

Connecting to Google Content API via Python

I am kind of new in Google APIs and I am trying to connect to Google Content API via Python. I am using a service account for that. My script is quite easy and straightforward: from apiclient.discovery import build from oauth2client.service_account…
Nasia Ntalla
  • 1,559
  • 4
  • 16
  • 26
0
votes
1 answer

Adding product via google shopping json API 400 must specify product

I'm having trouble getting a product insertion request working with google shopping API (https://developers.google.com/shopping-content/v2/reference/v2/products/insert). I'm sending an authenticated post request to…
edruid
  • 693
  • 4
  • 14