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?
On Thursday, June 21, 2018 at 10:55:26 AM UTC-4, [email protected] wrote: > > 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: > ) ... > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/466f6e17-0442-4103-9c16-27b06bad585f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
