Hello Eric,

Yes, it is possible with Generic Selectors. You can use the IN predicate as 
long as you have the ids of all ad groups. For example, in Ruby:

  selector = {                                                               
                                                                           
    :fields => ['Id', 'Status'],                                             
                                                                           
    :ordering => [{:field => 'Id', :sort_order => 'ASCENDING'}],             
                                                                           
    :predicates => [                                                         
                                                                           
      {:field => 'AdGroupId', :operator => 'IN', :values => [id1, id2, 
id3...]}
    ]                                                                       
                                                                            
  }

So you can do one query to get AdGroups list and another one to get all ads 
of it.


-Danial, AdWords API Team.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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

Reply via email to