Hi Mike, If you use paging and set the numberResults field to 0 then you will get back a page with no entries in it. The page object contains a totalNumEntries field though that will tell you the total number of entities that match the selector. Since you don't return any of the entities this operation only costs 1 unit.
Best, - Eric Koleda, AdWords API Team On Feb 18, 11:17 am, "mike-adwo...@pubget.com" <mike- adwo...@pubget.com> wrote: > Is there an efficient way to count the number of criteria and/or ads > in an ad group, other than doing a get? Right now I'm using the code > from the get_all_active_ad_group_criteria, and return the number of > entries. This seems a little expensive just to find out whether or not > I've populated my ad group with ads/criteria yet. > > Thanks, > Mike -- 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-...@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.