Hello! I'm trying to get the total number of keywords. Using Google Adwords API (migration to Google Ads API is in progress) The goal is to see in advance if we're close to hitting the entity limit or not
This query gives me 4+ million keywords, though UI (with filters: all but removed & match type: broad, match and exact) show around 2.1 million. When I remove 'BROAD' from the API query, it gives 2.3 million Is it correct that BROAD keywords returned in API aren't counted in UI, since BROAD match is no longer used? $selector = self::GetSelector([ 'fields' => ['Id'], 'predicates' => [ ['CriteriaType', 'IN', ['KEYWORD']], ['ApprovalStatus', 'IN', ['APPROVED']], ['AdGroupStatus', 'IN', ['ENABLED', 'PAUSED']], ['Status', 'IN', ['ENABLED']], ['CampaignStatus', 'IN', ['ENABLED', 'PAUSED']], ['KeywordMatchType', 'IN', [ 'EXACT', 'PHRASE', 'BROAD']], ]]); $totalNumEntries = ->getAdWordsUser() ->GetService('AdGroupCriterionService') ->get($selector) ->getTotalNumEntries(); Appreciate your response! Best regards, Alex -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/94a336ee-ad97-4cd8-bf68-6a1b9640c39en%40googlegroups.com.