Hello Richard,
The keys are expected to be symbols, try changing: "field"=>"CampaignStatus", "operator"=>"NOT_EQUALS", "values"=>"DELETED" to: :field =>"CampaignStatus", :operator =>"NOT_EQUALS", :values => ["DELETED"] -Danial, AdWords API Team. On Monday, January 28, 2013 7:31:09 PM UTC+4, Richard Worrall wrote: > > Hi, > > I'm trying to use the following report definition: > > {:selector=>{:fields=>["Id", "Name", "Status", "AccountId"], > :predicates=>[{"field"=>"CampaignStatus", "operator"=>"NOT_EQUALS", > "values"=>"DELETED"}]}, :report_name=>"AdWords on Rails report", > :report_type=>"CAMPAIGN_PERFORMANCE_REPORT", > :download_format=>"GZIPPED_XML", :date_range_type=>"YESTERDAY", > :include_zero_impressions=>true} > > and I get the following error: > > Missing elements in :order! ["field", "operator", "values", "order!"] > > Really struggling to figure this one out as I could swear this was working > on Friday! Can you shed any light on this? > Cheers, > Richard > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.