Hi Mike,
This is Ciara from the Content API support team. Thank you for reaching out to us.
I understand that you'd like to update ~50k products on your account. From the Content API's perspective, you can update those existing products and there is no need to delete them first, you can use the supplemental feed or products.update method to send updates to those products. In addition, according to our best practices, instead of making many sequential or parallel requests to the same service, make a single custombatch request that contains all the desired requests, with that said you can also utilize the products.custombatch:update method. Take note of the limits for the custombatch method.
Regarding your question about how to delete the products, you can use the products.delete method, which is a different method from the products.list method which is only used to lists the products in your Merchant Center account. The response might contain fewer items than specified by maxResults. Rely on nextPageToken to determine if there are more items to be requested.
Let me know if you have any questions.
Regards,
|
||||||
Hello Vadim,
I’m James, also a member of the Content API Team. Allow me to assist you further.
For question #1, can you please clarify what you meant by mentioning missing items? In the given context, are you asking how you can find and update those 50 out of 100 items using the API? If yes, as mentioned by my colleague in her previous response, you can still use the products.custombatch but this time you need to use the update method. You may refer here for more information.
As for question #2, when making changes to your existing product data, it is not necessary to delete all the GMC items and re-insert all of them containing the updated data again because it is indeed that might affect the performance of your products. Instead, you need to only specify and update only the expected items that you want to update.
Please note that the Content API for Shopping imposes quotas and hard limitations on its features, you may refer here for more information. Therefore, it’s recommended that if updates become available individually(using products.update method), send them individually, don't wait until there are several updates so you can batch them up. Likewise, if updates are available in batches(using products.custombatch:update method), send them in batches, do not break them up into individual requests.
If we misunderstood your concern, feel free to correct us and provide more details to your concern so that we can assist you accurately.
Regards,
|
|
|
|
Hi everyone,
Thank you for the additional context regarding your concern. Now, with your first concern wherein the number of items does not match between your feed(system) and the Merchant Center, if the items that are still on your Merchant account but not on your feed(system) is no longer needed, then you may delete those items from the Merchant Center using the products.delete method.
I understand that on your system, many items can be updated at the same time. For updating multiple products on your Merchant account, you can use the products.custombatch and use the update method. Now, can you confirm if you are not able to determine on your end what product changes you made on your feed? If you are unable to do so, then you can post process the result of products.list and compare to your products on the feed to check what attributes you need to update.
Hope this helps. Let me know if you have any questions.
Regards,
|
|
ref:_00D1U1174p._5004Q2iPWRk:ref --
You received this message because you are subscribed to a topic in the Google Groups "Google Content API for Shopping" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-content-api-for-shopping/3YUmDjCsDVU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-content-api-fo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-content-api-for-shopping/PAPV2000000000000000000000000000000000000000000000RPEDWH00Jj5FgUNYSCSoy768CUtmDA%40sfdc.net.