False error for exceeding resource limit while uploading customer asset

215 views
Skip to first unread message

Algirdas Jarockis

unread,
Oct 28, 2021, 3:58:57 AM10/28/21
to AdWords API and Google Ads API Forum
Hello.
I get this error (error message is formatted by me):

Message=[This request would exceed a limit on the number of allowed resources. The details of which type of limit was exceeded will eventually be returned in ErrorDetails.], Code: [{"resourceCountLimitExceededError":"RESOURCE_LIMIT"}], Trigger: [{"stringValue":"ENABLED_CALLOUT_ASSET_LINKS_PER_CUSTOMER"}], Details: [{"resourceCountDetails":{"enclosingId":"<hidden>","enclosingResource":"customer","limit":20,"limitType":"UNKNOWN","existingCount":18}}], Path: [mutate_operations.customer_asset_operation]

I'm aware that there is the limit (max 20 items per account) but as you can see there is recorded existing count of 18 in error message. I'm re-uploading same 18 items (assets are same with same resource names) and before doing re-upload I deleted every CustomerAsset (not assets themselves but relations to those assets, sorry but names such as CustomerAsset, AdGroupAsset are bit confusing, they should contain extra word like 'Relation' or 'Link' - just IMO). This deletion operation doesn't actually delete CustomerAssets but set status to DELETED. And when doing upload these items with status DELETED probably (my guess) count towards limit which shouldn't (I think). I checked in Ads UI: account I was uploading to didn't have any extensions assigned - deletion was successful. Please, any help appreciated :)

Google Ads API Forum Advisor

unread,
Oct 28, 2021, 3:36:04 PM10/28/21
to algirdas...@gmail.com, adwor...@googlegroups.com
Hi Algirdas,

Could you privately send us a request and response log of API communication that returns this error?  The request and response appears similar to the JSON Mappings in our REST documentation. Our client libraries have loggers with logging instructions, to see these instructions you can click on the client library you use in the sidebar of our client library guide and click on "Logging". Setting the logger to 'DEBUG' will get the desired log.

Regards,

Google Logo
Aryeh Baker
Google Ads API Team
 


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