> if you're only interested in the total number, you can set the numberResults
> of the paging settings to zero and just use the totalNumEntries field of the
> returned page. This way, your request should not incur any API unit costs.

Perfect, it costs 1 API unit, thank you Dorian!

- Grant

>> I'm trying to retrieve the total number of keywords in a campaign.  To
>> avoid exceeding the size limit, I'm grabbing the number of keywords for each
>> ad group in the campaign and adding them up.  To do this I'm creating a
>> selector and using AdGroupCriterionService but it is very expensive as far
>> as API units.  Is there a more efficient way to do this?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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

Reply via email to