• Resolved RichardMisencik

    (@richardmisencik)


    Hello,
    I would like to ask for help in setting up some filters and rules to fix errors in our google feed, for example:

      1. “Field Is Too Long” – The value for description is longer than 9999 characters.
      2. “Invalid Currency Amount” – The amount in the sale_price field is either missing or includes too many decimal places. Please limit amounts to 2 decimal places.
      3. “Field contains all uppercase letters” – Consider reformatting your title field so your ads don’t use all uppercase letters.

    Is it possible to fix these issues?
    Thanks

Viewing 15 replies - 1 through 15 (of 20 total)
  • Hi Richard,

    Thanks for using our plugin and reaching out to us, appreciated.

    With regards to your questions:

    • “Field is too long:” You have added a product description to the feed that’s longer than 9999 characters which is too long according to Google. Unfortunately our plugin has no option to shorten it so you would have to make sure your own product descriptions are no longer then 9999 characters;
    • “Invalid Currency Amount:” This one is a bit hard to analyse without seeing the product feed itself. Can you share the product feed URL with us?
    • “Field contains all uppercase letters:” This is not something our plugin can change. It seems you added a product title to the feed which is entirely in uppercase letters. This is something you would have to change yourself on the product edit pages;

    All the best,
    Eva

    Thread Starter RichardMisencik

    (@richardmisencik)

    Hello Eva,
    thanks for your reply.

    • “Field is too long:” – we use feeds to import products so we need to manually edit affected products, but if there’s no function for this, I will do it manually
    • “Invalid Currency Amount:” – sorry I forgot to include this, the problem are prices with more than 2 decimal points so 56.9525 EUR, 66.45174 EUR, 47.4525 EUR, 14.20212 EUR, 7.55174475 EUR (can I share the feed privately?)
    • “Field contains all uppercase letters:” – thank you I will fix this manually

    Another question, when duplicate id is detected is it possible to exclude the product with duplicated id? Thank you.

    Can I share the feed privately?” –> Yes when you do not want to share the feed location in public you can send the plugins debug.log (which also holds the feed URL) to [email protected]. Please make sure to reference this topic in your email.

    Instructions on how to retrieve the debug.log can be found here:
    https://adtribes.io/send-your-debug-log-to-support/

    With regards to your duplicate ID question: the feed should not add duplicate products to the feed at all unless you did something unexpected to the feed configuration. Please make sure to leave the default field mapping for the g:id (to Product ID) in place, that will prevent duplicate ID’s. In theory you could create a filter to exclude products from the feed, however when the products are identical on all attributes and specifications then you would end up filtering both out.

    All the best,
    Eva

    Thread Starter RichardMisencik

    (@richardmisencik)

    Hello Eva,
    I sent the debug file to [email protected]

    I left the default field mapping for ID untouched, but I’m guessing some variable products were still getting duplicate IDs for some reason. I set up new group ID field as well with the value of parent SKU.

    Also another thing, I set up filters to exclude products with empty price, empty description and empty image link but those products are still showing up in the final feed. Why is this happening?

    Thanks.

    Hi,

    I believe the error lies in the fact that you have mapped the item group id field to your parent SKU attribute. You need to leave the original default mapping in place, this one: https://www.dropbox.com/s/kps95pmiwi4iqhx/Item-group-id-mapping.png?dl=0

    Because you changed it Google loses all reference between parent and variations and thus can’t judge if products belong together / grouped. This could very well cause the duplicate warnings you are seeing.

    Judging from your debug.log the filters you have set-up are fine, they really should work. Are you sure the feed is reprocessed AND you are not looking at an old cached version of your feed? Make sure to clear the caching of your browser or any caching plugin you might be using first.

    Thread Starter RichardMisencik

    (@richardmisencik)

    Hello,
    alright I rolled back the changes to how it was but i had this issue with the default setting already.

    I reprocessed the feeds again, cleared the cache and still the issue persists, please take a look: https://bikere.sk/wp-content/uploads/woo-product-feed-pro/xml/h4aesHbDDokUPVvMZk5sCcWojUd4VJFE.xml and search for example for ID 104767. Right now this product is included 3 times. It’s a simple product with no variations.

    The debug log should also be updated, i don’t understand why isn’t this working? Everything seems to be set up correctly.

    Hi,

    Duplicate products usually indicate there is an issue with the WP-cron not being able to process all batches of products correctly. Do you happen to know if your feed got stuck or did you run into a timeout or memory issue?

    You can check the WooCommerce fatal error logs of today and yesterday to see if there is anything in their that could explain this behaviour. Can you copy/past the content of the fatal error logs and share them with us? Instructions on how to retrieve those can be found here: https://docs.woocommerce.com/document/finding-php-error-logs/

    I also noticed that your feed contains the “condition” and “availability” twice. It isn’t the cause of the issue at hand but needs to be solved too, see: https://www.dropbox.com/s/wer18a654gw66nk/double-av-con.png?dl=0

    Hope this helps?

    Thread Starter RichardMisencik

    (@richardmisencik)

    Hello,
    the feeds might have gotten stuck while trying to regenerate all 8 of them since the interface is a bit buggy, while clicking the regenerate button it briefly switches to “processing (0%)” and then back to ready, but in the back end it’s running, so when clicking multiple times maybe the regenerate job stacked up multiple times and it bugged out.

    Thank you for the heads up, i removed the second condition and availability fields from the feeds. There are no fatal errors in woocommerce logs however.

    I cleaned up my list of cron jobs as well, there was a duplicite of woosea_cron_hook – woosea_create_all_feeds(), now there is only 1.

    I also excluded product variations from the feed and now there seems to be no duplicates. I re-included them again and 2 duplicates appearead.

    So I’m pretty sure the product variations option is causing the issue, just a note this product in question is just a simple product with no variations (weird).

    One more question, filters and rules only apply to product fields not products itself? For example when i create a filter to exclude when main image is empty, only the field will be exluded? Because products without images are still in the final feed, just missing the image field.

    Thank you.

    Hi Richard,

    Thanks for your detailed feedback on the issue, very helpful, I have passed it on to our developer hoping it will enable him to at least replicate the issue at hand and from there on try fixing it.

    With regards to your exclude filter question: the filters and rules apply to the product itself, so when you have created a filter to exclude all products that have an empty main image the entire product should be removed from the product feed.

    I have just tried to replicate that and this filter works fine for us:
    https://www.dropbox.com/s/ce6fc07e0rbile8/main-image-empty.png?dl=0

    Perhaps you are looking at an old cached version of your product feed? Make sure to clear your browser and/or caching plugin.

    Thread Starter RichardMisencik

    (@richardmisencik)

    Hello,
    I have the exact same filter but it only removes the fields not products.
    For example, a product without image and description:
    Filters setting: https://i.imgur.com/ZEqKy1u.png
    Product in the feed: https://i.imgur.com/XdBgQgm.png
    Product in dashboard: https://i.imgur.com/TeR22D6.png

    I tried clearing cache and force refreshing multiple times but no luck.
    What else can we try?
    Thanks for your time.

    Hi,

    The product is showing in your feed without an image and without a description but that’s because the product doesn’t have them. My guess is that we are still looking at a caching issue her. Could you update the debug.log and let me know which of your feeds you used in the above example?

    Thread Starter RichardMisencik

    (@richardmisencik)

    Hi,
    Yes I understand that, that’s why I want to remove products without images or descriptions from feeds because they can’t be uploaded to google/facebook shopping.

    Debug log: https://bikere.sk/wp-content/uploads/woo-product-feed-pro/logs/debug.log
    Feed [filename] => Y6RrZhW2OIDwtIVhDybimhtZ7ASFYja2
    What’s the difference between main image and featured image?

    Thank you.

    Hi,

    Thanks for sharing the debug.log. I had a look at your feed, the product you mentioned that was still in the feed (product ID 90902) is no longer in your feed, see: https://www.dropbox.com/s/c91vmkog13mgprd/90902.png?dl=0

    So, I think you are looking at a cached version of your feed. Make sure to clear all caching before you check your feed.

    Technically there is no difference between the main and featured images. However since WordPress users both are familiar with the term Main or Featured image we decided to add both the namings.

    Hope this helps.

    Thread Starter RichardMisencik

    (@richardmisencik)

    Hi,
    actually I manually set the products without images as drafts so they don’t show up.
    I also disabled cache plugin entirely but products without description will still show up, for example:

    View post on imgur.com

    Also I deleted and recreated filters and rules for the feed just to make sure they were registered correctly (because I copied my feeds and then changed settings) but that didn’t help and for some reason now category filter isn’t working either, all products show up in the feed.

    View post on imgur.com

    The only filter that seems to be working now is the price less than 20 and availability rule from backorder -> instock.

    I tried it on another install without a cache plugin as well, and description filter doesn’t work there either.

    I think I’ve run out of options but thank you for your help.

    Hi,

    I tried to replicate the issue at hand at one of our development websites.

    I have this product in a feed without a description:
    https://www.dropbox.com/s/n4gt9kl8y02alrf/empty-desc-2.png?dl=0

    I then create an exclude filter like this:
    https://www.dropbox.com/s/8mezhia45fxtalh/empty-desc-1.png?dl=0

    Which removes the product from my feed as expected.

    Are you sure your feed(s) are not cached somehow? (plugin, server caching, etc)

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Google feed errors’ is closed to new replies.