Thanks a lot for the reply. Another question is: if I do not specify paging, will it return all the creatives?
Thanks Eric On Mon, Aug 8, 2011 at 5:19 AM, AdWords API Advisor < adwordsapiadvi...@google.com> wrote: > 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 > -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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