Thanks, Eric, but how would you do this in Python?

David.

On Dec 17, 10:47 am, AdWords API Advisor
<adwordsapiadvi...@google.com> wrote:
> 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/AdGroupCrite...
>
> Instead, a set of AdGroupCriterionIdFilters can be used:
>
>  http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupCrite...
>
> 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 <dgel...@gmail.com> 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 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.


Reply via email to