EntityCountLimitExceeded.ACCOUNT_LIMIT/ACTIVE_CAMPAIGN_FEEDS_PER_ACCOUNT

46 views
Skip to first unread message

Sylvain Beauregard

unread,
Nov 8, 2017, 1:12:48 PM11/8/17
to AdWords API Forum
Hi!

I just ran into a weird limit issue... that apparently is not listed in the limits page (https://developers.google.com/adwords/api/docs/appendix/limits#feed).

When trying to add Campaign Extensions (Callouts or Sitelinks) to campaigns on one of the accounts we manage, I got the following SOAP eror:


SoapVar Object
(
    [enc_type] => 0
    [enc_value] => EntityCountLimitExceeded Object
        (
            [reason] => ACCOUNT_LIMIT
            [enclosingId] => 7432854073
            [limit] => 50000
            [accountLimitType] => ACTIVE_CAMPAIGN_FEEDS_PER_ACCOUNT
            [existingCount] => 50004
            [fieldPath] => operations[0]
            [fieldPathElements] => Array
                (
                    [0] => FieldPathElement Object
                        (
                            [field] => operations
                            [index] => 0
                        )
                )
            [trigger] =>
            [errorString] => EntityCountLimitExceeded.ACCOUNT_LIMIT
            [ApiErrorType] => EntityCountLimitExceeded
            [_parameterMap:ApiError:private] => Array
                (
                    [ApiError.Type] => ApiErrorType
                )
        )
    [enc_stype] => EntityCountLimitExceeded
    [enc_ns] => https://adwords.google.com/api/adwords/cm/v201705
)

I got the list of the feeds in the account... there are 11 different feeds total.

I got the list of the feeditems, we have 6397 different feed items according toe the FeedItemService.   We re-use lots of the same FeedItem IDs on various campaigns.

The error talks about a limit of 50,000 but that limit number isn't listed anywhere in the feeds section of the limits page

Since the rest is just linking objects together... like FeeItemIDs to a campaignID, I don't think 50 000 would be a reasonable limit.

That account is pretty small... with about 500 campaigns at the moment (we have many with over 7,000).

Can you tell me which limit is involved here please and where do I look to clean it up if needed and monitor it for the future?

Thanks,

Sylvain

Bharani Cherukuri (AdWords API Team)

unread,
Nov 8, 2017, 4:44:02 PM11/8/17
to AdWords API Forum
Hi Sylvain, 

The ACTIVE_CAMPAIGN_FEEDS_PER_ACCOUNT limit applies to non-removed CampaignFeed objects in an account. If a set of FeedItems are added as extensions to N Campaigns, it counts as N campaign-level extensions. The number of FeedItems returned by FeedItemService may not be a good indicator of the total number of campaign-level extensions in an account. To free up space, you need to REMOVE the CampaignFeeds for your REMOVED campaigns using CampaignFeedService, then retry your request.

Regards,
Bharani, AdWords API Team

Sylvain Beauregard

unread,
Nov 12, 2017, 8:20:29 AM11/12/17
to AdWords API Forum
Thanks a lot.  That did fix the problem.

I couldn't find any information about this limit anywhere in the API documentation.
Reply all
Reply to author
Forward
0 new messages