title: Google Shopping API node.js product insert returns "INSERT request must specify product" error
body: <p>I'm trying to insert a product to the Google Shopping API using the following node.js code but I keep getting the error:</p>
  
  <pre><code>{ [Error: [product] INSERT request must specify product]
  code: 400,
  errors:
  [ { domain: 'global',
     reason: 'required',
     message: '[product] INSERT request must specify product' } ] }
  </code></pre>
  
  <p>Here is my javascript code (I'm using the node client here: <a href="https://github.com/google/google-api-nodejs-client/" rel="nofollow">https://github.com/google/google-api-nodejs-client/</a>):</p>
  
  <pre><code>var google = require('googleapis');
  
  var OAuth2 = google.auth.OAuth2;
  var oauth2Client = new OAuth2(*OAUTHDETAILS*);
  
  oauth2Client.setCredentials({
      access_token: '*ACCESSTOKEN*',
    //refresh_token: 'REFRESH TOKEN HERE'
  });
  
  var content = google.content({ version: 'v2', auth: oauth2Client });
  
  var product = {
      "channel": "online",
      "contentLanguage": "en",
      "offerId": *PRODUCTID*,
      "targetCountry": "us",
      "identifierExists": false,
      "condition": "new",
      "link": "*PRODUCTLINK*",
      "price": {
          "currency": "usd",
          "value": *VALUE*
      },
      "title": *PRODUCTTITLE*,
      "availability": "in stock",
      "description": *DESCRIPTION*,
      "googleProductCategory": *PRODUCTCATEGORY*,
      "ageGroup": "adult",
      "color": *PRODUCTCOLOR*,
      "gender": "unisex",
      "sizes": [
          "XS",
          'S',
          'M',
          'L',
          'XL'
      ],
      "imageLink": *IMGURL*
  };
  
  content.products.insert({merchantId:*MERCHANTID*,product:product},function(err, resp) {
      // handle err and response
      console.log(err);
      console.log(resp);
  });
  </code></pre>
  
  <p>Thanks in advance for any help!</p>