Hi, The targeting options listed here <https://developers.google.com/adwords/api/docs/appendix/criteria-usage> which are available at the AdGroup level count toward the limit of 5 million ad group targeting items per account. Both positive and negative criterion contribute to this limit. Since status at the campaign level impacts the status of the ad groups, ads, and keywords within it, the criterion in removed adgroups/campaigns will have an effective removed status. You need to use CampaignService <https://developers.google.com/adwords/api/docs/reference/v201702/CampaignService> and AdGroupService <https://developers.google.com/adwords/api/docs/reference/v201702/AdGroupService> to retrieve the Ids of removed Campaigns and AdGroups and include these Ids in a predicate to exclude criteria from these campaigns or ad groups when you get the totalNumEntries to count the number of targeting items.
Regards, Shwetha, AdWords API Team. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. 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/609011c7-beee-43c6-873e-0bdb70647521%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.