# Requirements for generating a Google shopping feed

**URL:** <https://forum.litium.com/t/requirements-for-generating-a-google-shopping-feed/947>\
**Category:** Questions\
**Created:** [June 26, 2019, 2:57pm UTC](https://forum.litium.com/t/requirements-for-generating-a-google-shopping-feed/947 "2019-06-26T14:57:22Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mickeostling](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/mickeostling/32/101_2.png) [@mickeostling](https://forum.litium.com/u/mickeostling)\
**Post date:** [June 26, 2019, 2:57pm UTC](https://forum.litium.com/t/requirements-for-generating-a-google-shopping-feed/947/1 "2019-06-26T14:57:22Z")

</div>

I am trying to setup the Google shopping feed according to the docs;  
[https://docs.litium.com/documentation/litium-documentation/products/price-agents/google-shopping](https://docs.litium.com/documentation/litium-documentation/products/price-agents/google-shopping)

I have:

A) Enabled PriceAgents in site settings  
B) Made sure all required Google fields are mapped and has correct values

Still, when trying to load [mydomain.com//priceagent.axd/Googleshopping](http://mydomain.com//priceagent.axd/Googleshopping) URL, I get an empty feed.

What am I missing??

Litium version: 6

---

<div class="post-metadata">

**Author:** ![NilsN](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/nilsn/32/302_2.png) [@NilsN](https://forum.litium.com/u/NilsN)\
**Post date:** [June 27, 2019, 6:58am UTC](https://forum.litium.com/t/requirements-for-generating-a-google-shopping-feed/947/2 "2019-06-27T06:58:41Z")

</div>

Do the products have prices for the website? Products without prices are not added to the feed.

---

<div class="post-metadata">

**Author:** ![patric.forsgard](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/patric.forsgard/32/10_2.png) [@patric.forsgard](https://forum.litium.com/u/patric.forsgard)\
**Post date:** [June 27, 2019, 7:36am UTC](https://forum.litium.com/t/requirements-for-generating-a-google-shopping-feed/947/3 "2019-06-27T07:36:07Z")

</div>

Domain name also need to match the domain name on the website, otherwise it will not return any data.

---

<div class="post-metadata">

**Author:** ![mickeostling](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/mickeostling/32/101_2.png) [@mickeostling](https://forum.litium.com/u/mickeostling)\
**Post date:** [June 27, 2019, 11:29am UTC](https://forum.litium.com/t/requirements-for-generating-a-google-shopping-feed/947/4 "2019-06-27T11:29:56Z")

</div>

Yes, the products have prices. And the domain name is the same as the the web site.

Still, the feed is empty…

I had a look in the event log, I am getting 2 errors:

```
Date: 27.6.2019 13.27.02
Level: ERROR
Web server: LIT-DERWEB01
Event:
Additional text encountered after finished reading JSON content: :. Path '', line 18409, position 1.

Newtonsoft.Json.JsonReaderException: Additional text encountered after finished reading JSON content: :. Path '', line 18409, position 1.
   at Newtonsoft.Json.JsonTextReader.Read()
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   at Litium.Studio.Extenssions.BinaryExtenssons.LoadDataJson[T](FileInfo fileInfo, Boolean throwException)
   at Litium.Web.Products.PriceAgents.PriceAgentHandler.ItemHolder..ctor(Boolean refresh, WebSite webSite, IPriceAgentItemFactory itemFactory, ILogger logger)

```

And this one:

```
Date: 27.6.2019 13.27.02
Level: ERROR
Web server: LIT-DERWEB01
Event:
Value cannot be null.
Parameter name: source

System.ArgumentNullException: Value cannot be null.
Parameter name: source
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Litium.Web.Products.PriceAgents.GoogleShoppingPriceAgent.Render(TextWriter writer, IEnumerable`1 priceAgentItemResults)
   at Litium.Web.Products.PriceAgents.PriceAgentHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
```

---

<div class="post-metadata">

**Author:** ![patric.forsgard](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/patric.forsgard/32/10_2.png) [@patric.forsgard](https://forum.litium.com/u/patric.forsgard)\
**Post date:** [June 27, 2019, 1:05pm UTC](https://forum.litium.com/t/requirements-for-generating-a-google-shopping-feed/947/5 "2019-06-27T13:05:21Z")

</div>

It’s a issue in the version that you are using, please update to a later version.

---

<div class="post-metadata">

**Author:** ![mickeostling](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/mickeostling/32/101_2.png) [@mickeostling](https://forum.litium.com/u/mickeostling)\
**Post date:** [June 28, 2019, 8:48am UTC](https://forum.litium.com/t/requirements-for-generating-a-google-shopping-feed/947/6 "2019-06-28T08:48:11Z")

</div>

Thank you Patric.

We will upgrade to 6.3.4.

Br Micke

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/litium/original/1X/12eddac3b8b661de1db86af10ac8151b571e6fb9.png) [@system](https://forum.litium.com/u/system)\
**Post date:** [July 26, 2019, 8:56am UTC](https://forum.litium.com/t/requirements-for-generating-a-google-shopping-feed/947/7 "2019-07-26T08:56:25Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
