Cause of EntityCountLimitExceededReason.ACCOUNT_LIMIT

85 views
Skip to first unread message

b...@venturestreet.com

unread,
Jun 21, 2018, 10:55:26 AM6/21/18
to AdWords API and Google Ads API Forum
We are getting the following error while adding geo locations to campaigns.  The error is sporadic.  We might update 300 campaigns without a single error.  Then the next day, updating the same 300 campaigns, we get the error on a dozen campaigns.  And retrying after a 30 second pause usually succeeds on the second or third try.  We are using VB.NET to interface with API and the error is being caught as AdWordsApiException.  AdWords docs say "Indicates that this request would exceed the number of allowed entities for the AdWords account. The exact entity type and limit being checked can be inferred from {@link #accountLimitType}."  Can someone show me how to access accountLimitType?

EntityCountLimitExceededReason.ACCOUNT_LIMIT. (Error: EntityCountLimitExceeded.ACCOUNT_LIMIT, FieldPath: operations[0], Trigger: ) 
EntityCountLimitExceededReason.ACCOUNT_LIMIT. (Error: EntityCountLimitExceeded.ACCOUNT_LIMIT, FieldPath: operations[1], Trigger: ) 
EntityCountLimitExceededReason.ACCOUNT_LIMIT. (Error: EntityCountLimitExceeded.ACCOUNT_LIMIT, FieldPath: operations[2], Trigger: ) ...

Bharani Cherukuri (AdWords API Team)

unread,
Jun 21, 2018, 3:08:01 PM6/21/18
to AdWords API and Google Ads API Forum
Hello, 

The ACCOUNT_LIMIT error is received when the specific account has reached the maximum account limits. Please check this guide for the targeting limits for the accounts. Could you enable logging and share the complete SOAP logs along with the client customer Id, so I can take a look? You can reply back via Reply privately to author option.

Thanks,
Bharani, AdWords API Team

Константин Латыпов

unread,
Jun 22, 2018, 2:37:08 AM6/22/18
to AdWords API and Google Ads API Forum
I recommend you to read this doc:


четверг, 21 июня 2018 г., 17:55:26 UTC+3 пользователь b...@venturestreet.com написал:

b...@venturestreet.com

unread,
Jun 22, 2018, 9:48:15 AM6/22/18
to AdWords API and Google Ads API Forum
According to the AdWords docs, EntityCountLimitExceeded has the following properties: reason, enclosingId, limit, accountLimitType, existingCount.  How do I access these properties from the Catch block for AdWordsApiException?     

Bharani Cherukuri (AdWords API Team)

unread,
Jun 22, 2018, 4:07:03 PM6/22/18
to AdWords API and Google Ads API Forum
Hello Bob, 

In addition to what Camroh suggested, if you continue to have an issue with this, please check this guide for the targeting limits for the accounts. You can check this guide on how to turn on logging for .NET client library. The ACCOUNT_LIMIT error can be inferred based on the limit and the AccountEntityType. The server logs will return the specific fields that you're looking for. Please find the sample error logs below:

error: unknown exclude error in adwords API Server raised fault: 
    '[EntityCountLimitExceeded.ACCOUNT_LIMIT @ operations[0] 
        (enclosingId=6329612332, limit=1000000, 
         accountLimitType=CAMPAIGN_CRITERIA_PER_ACCOUNT, 
         existingCount=1000129),

If the issue persists, you can use Reply privately to author option to share the logs, so I can take a look.

b...@venturestreet.com

unread,
Jun 22, 2018, 9:44:08 PM6/22/18
to AdWords API and Google Ads API Forum
Thanks Bharani.  I followed the logging guide and added the system.diagnostics section to my web.config but could not get any log files to show up.  I make sure my application had permissions to the log file location.  I set the trace switches to Information.  Not sure what I am missing.

Bharani Cherukuri (AdWords API Team)

unread,
Jun 25, 2018, 12:48:53 PM6/25/18
to AdWords API and Google Ads API Forum
Hello Bob, 

Could you share the web.config/app.config file, so I can take a closer look at the settings? You could reply back via Reply privately to author option. 
Reply all
Reply to author
Forward
0 new messages