Hey all,

I have problems retrieving Ad Performance Report when adding a predicate to 
the selector fields. I get a AdwordsApi::Errors::ReportXmlError.
My ad report definition is as follows (I'm using the ruby client library 
v201302):

ad_report_definition = {
  :selector => {
    :fields => fields,
    :predicates => {
      :field => 'Status',
      :operator => 'IN',
      :values => ['ACTIVE', 'PAUSED']
    },
    :date_range => {
      :min => start_date.gsub('-',''),
      :max => end_date.gsub('-','')
    }
  },
  :report_name => 'Custom AD_PERFORMANCE_REPORT',
  :report_type => 'AD_PERFORMANCE_REPORT',
  :date_range_type => 'CUSTOM_DATE',
  :download_format => 'CSV',
  :include_zero_impressions => true
}

I wanted to include paused ads in the report, because it seems they are not 
included by default so I added the predicate with the Status condition, but 
this change breaks the report request. 
If I remove the :predicate part the request finishes successfully. Any 
ideas what I might be missing/misconfiguring?

Thanks,
Szabolcs.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to