Wrong RESOURCE_LIMIT error triggered

46 views
Skip to first unread message

Goncalo Pereira

unread,
Jul 12, 2022, 7:10:27 AM7/12/22
to Google Ads API and AdWords API Forum
Hi,

I have an automated process for interacting with Google Ads API (using REST API) that is managing IPs blocked in multiple campaigns from multiple ad accounts. This process takes into account that we have a 500 IPs limit per campaign and, on a daily basis, removes some IPs and adds some others, always within this limit.

However, recently when making an API call that does all the required operations I receive an error with code "resourceCountLimitExceededError": "RESOURCE_LIMIT" and the trigger as "NEGATIVE_IP_BLOCKS_PER_CAMPAIGN". But I am sure the math is correct.

On trying to address it, I can see that even when I delete something alone, the API still keeps counting those deleted IPs for an undetermined amount of time. But if I query for the IPs that are blocked they are not listed. After that undetermined amount of time that can range from some seconds to many minutes (and maybe hours in some cases) I am then finally able to add some IPs again.

However, in the past few weeks I have witnessed, first, a small increase in errors due to this issue, then in the last few days, a very significant increase causing many issues in my processes.

Is there any problem or a way to more correctly address this?

Thanks in advance,
Gonçalo

Google Ads API Forum Advisor

unread,
Jul 12, 2022, 9:33:51 AM7/12/22
to gon...@phybbit.com, adwor...@googlegroups.com
Hi Goncalo,

Thank you for raising this concern to the Google Ads API Forum.

To further investigate this issue, could you please provide the complete API request and response logs with request-id and login-customer-id that generated on your end? This information will help our team to better check the root cause of error. If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link.

You can provide it via the Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com

Best regards,
Google Logo
Jinky
Google Ads API Team
 


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