Re: ArgumentError - Missing elements in :order! when using predicates

2013-01-30 Thread Richard Worrall
Thanks Danial, I figured out that was the answer :) On Wednesday, 30 January 2013 12:33:58 UTC, Danial Klimkin wrote: > > Hello Richard, > > > The keys are expected to be symbols, try changing: > > "field"=>"CampaignStatus", "operator"=>"NOT_EQUALS", "values"=>"DELETED" > > to: > > :field =>"C

Re: ArgumentError - Missing elements in :order! when using predicates

2013-01-30 Thread Danial Klimkin
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

ArgumentError - Missing elements in :order! when using predicates

2013-01-30 Thread richard . worrall
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",