RESOURCE_NOT_FOUND and BAD_RESOURCE_ID errors after making request

113 views
Skip to first unread message

S P

unread,
Jun 16, 2022, 2:45:55 PM6/16/22
to Google Ads API and AdWords API Forum
Hello,

after using googleads.v10.services.AdGroupCriterionService/MutateAdGroupCriteria to make a request and update ad group criterion I am getting 2 seperate errors:

1.

Fault: errors { error_code { request_error: BAD_RESOURCE_ID } message: "\'\' part of the resource name is invalid." 

2.

Fault: errors { error_code { mutate_error: RESOURCE_NOT_FOUND } message: "Resource was not found."

After looking at the resource string, it looks be syntactically okay so I am not sure what the issue is here 

example resource_name: "customers/xxxxxxx/adGroupCriteria/xxxxxx~xxxxxxx"

Regards,
Simron

Google Ads API Forum Advisor

unread,
Jun 17, 2022, 10:13:10 AM6/17/22
to spa...@ftoptimize.com, adwor...@googlegroups.com
Hi Simron,

Thank you for reaching out to our API support team.

In order for our team to investigate the exact cause of the 2 errors you encountered, could you share as well to our team their separate and complete request and response logs, and request-id?

If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation. You may then send the requested information via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

Best regards,

Google Logo
Peter Laurence
Google Ads API Team
 


ref:_00D1U1174p._5004Q2bx8WH:ref
Reply all
Reply to author
Forward
0 new messages