Hi David, The selector for AdGroupCriteria works a little differently than other selectors, and doesn't have an adGroupId field:
http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupCriterionService.AdGroupCriterionSelector.html Instead, a set of AdGroupCriterionIdFilters can be used: http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupCriterionService.AdGroupCriterionIdFilter.html An example request would look like: <v20:get> <v20:selector> <v20:idFilters> <v20:adGroupId>1371763225</v20:adGroupId> </v20:idFilters> </v20:selector> </v20:get> Best, - Eric Koleda, AdWords API Team On Dec 15, 6:45 pm, david <[email protected]> wrote: > Hi, > > The selector for ad group criteria does not appear to have any effect: > > selector = { > 'adGroupId': adgroup_id, > } > > crits = myservices.adgroup_criterion.Get(selector) > > This gets *all* criteria for all groups in all campaigns in the > account! > > If I put other meaningless things in the selector, they are ignored > (with no errors). > > In other words, no matter what I try, the selector is equivalent to > > {} > > Am I doing something wrong? > > Or is this a bug? > > Also, if you don't want stats, but only the criteria values, how to > you specify? > > Thanks! > > David -- 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.
