-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update / synchronize products in bulk not working #59
Comments
I have had the same problem and I believe that when google-api-php-client merges pull request #654: googleapis/google-api-php-client#654 we should implement into GoogleShoppingApi. |
@behunin cant get it :( how to do? |
Which branch of google-api-php-client are you on? |
I have similar problem, I freequently get time outs trying to synchronize products. It used to work for me, by more and more I find that my PLA campaigns are stopping because GoogleShopping API has failed to sync and google merchant has dropped my products because they expire after 30 days. |
The main problem here is that the code in this project does not utilize batch requests. When you are adding multiple products they are all sent in serial, which as you can imagine takes a long time for 500+ requests and the resulting responses to be completed. When I looked into how to implement batching I noticed that google-api-php-client has batching but they are working on a much better solution right now that uses GuzzleHttp, so I stopped my development and will continue after they have finished refactoring. |
I know about the problems with a big catalog. For this reason batch processing was always an important TODO on my list. Furthermore I will introduce a shell script which gives you the ability to create a separate cronjob. |
Which branch of the google-api-php-client do you test against? |
Master branch - release 1.1.4 with autoloader fix. Check for 1.1.5 is also on the TODO-list... |
OK I will switch over to 1.1.4 for testing but I have been working with the v2-dev branch and will test with that as well. |
@behunin I've uploaded a really early version of the shell script in the last commit.
Please make sure that the same php.ini is used as your webserver uses:
|
I have two issues:
I'm trying to use an automatic reprice if the API work like that I wont have any inventory on Google Shopping.
Any Ideas how to fix this? |
Hi, I have noticed that after uploading ±500 products the feed kills itself.
Perhaps because the process has been running to long? there is 10,000+ products and i am trying to synchronize all product it will kills feed after approx uploading 500 products. is there any way so, that i can upload bulk product? Why it stops after 500 products?
Thank you.
The text was updated successfully, but these errors were encountered: