Temporary IDs in GoogleAdsService.Mutate

24 views
Skip to first unread message

Mike Eldridge

unread,
Feb 14, 2020, 1:40:55 PM2/14/20
to AdWords API and Google Ads API Forum
I'm having trouble with temporary IDs in GoogleAdsService.Mutate calls as described in the Google Ads documentation here:


Every time I try to use temporary IDs in resource names when creating extension feed items, the Google Ads API throws an exception telling me I cannot specify resource_name in a create operation.  Why, then, does the Google Ads API documentation say that I can do this?  The documentation literally says to specify resource_name using a negative ID:

    "You can do this by specifying the new resource's resource_name to use a negative ID."

What am I doing wrong?

Thanks,

Mike

Google Ads API Forum Advisor Prod

unread,
Feb 18, 2020, 4:39:08 PM2/18/20
to mike.e...@iinteractive.com, adwor...@googlegroups.com
Hi Mike,

Thank you for reaching out. Did you make sure that the order of your calls is correct (you're not referencing a negative ID that doesn't exist yet)? If so, please share your complete detailed request and response logs via Reply privately to author so that I can further investigate the issue. I know that the logs may be very long for a batch operation so if you could try and truncate it down to just the relevant calls that are causing the error that would be really helpful. You can find information on enabling logging in the dropdown of your client library on the left-hand side of the screen here.

Regards,
Mitchell
Google Ads API Team

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