Hello,
Welcome to Google Ads API Support team. Thank you for reaching out to us.
With regards to your concern, it appears that the resource name in your request is malformed as it has adGroups instead of the expected adGroupCriteria.
Resource name 'customers/7803661715/adGroups/151093305002~-1' is malformed: expected 'customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}'.
We would recommend that you follow this guidance https://developers.google.com/google-ads/api/rest/reference/rest/v13/customers.adGroupCriteria/mutate for your reference.
Let us know how it goes and if the issue persist, kindly provide to us the complete request and response logs with request id and request header generated on your end and we will be happy to look into it.
Note that these logs can be requested or provided to the developer handling the Google Ads API transactions when logging of the API requests has been enabled. You may check here (https://developers.google.com/google-ads/api/docs/best-practices/logging#client_library_logging) and click your client library for the specific guideline to enable it.
For REST interface requests, you can enable logging via the curl command by using the -i flag. This will cause the tool to include the HTTP response headers in the output.
Links to the highlighted words above:
Google Ads API Team |
Hello,
In addition to our previous response. You may send the requested details privately via “Reply To Author” option. If that option is not available to you, send it directly to googleadsa...@google.com instead, and let us know here once it is provided.
Hi,
Thanks for getting back with us.
It seems that you already have figured out the answer to your concern. Can you confirm if you have any more questions regarding Google Ads API related concerns? If so, then don't hesitate to contact us.
Hi DZ,
Thank you for the reply.
If you have additional questions that are specific with the Google Ads API(https://developers.google.com/google-ads/api/docs/start), feel free to send those over to our team and we would be happy to assist you further.
This message is in relation to case "ref:_00D1U1174p._5004Q2lsXxy:ref"
Hi Punit,
Thank you for reaching out to Google Ads API Forum.
Moving forward with your concern, you may try referring to this code example (https://developers.google.com/google-ads/api/samples/add-shopping-product-listing-group-tree) regarding Adding Shopping Product Listing Group Tree via client library. This example adds a shopping listing group tree to a shopping ad group.
Let us know if you have further questions.