I just migrated over to v201506 and my app is breaking.  My calls to 
download report_type: CAMPAIGN_PERFORMANCE_REPORT are failing and throwing 
AdwordsApi::Errors::ReportXmlError: AdwordsApi::Errors::ReportXmlError .

If I make :report_type => 'CRITERIA_PERFORMANCE_REPORT' it works fine.  To 
be clear, this following report definition will succeed in downloading the 
file:

# Define report definition. You can also pass your own XML text as a string.
    report_definition = {
      :selector => {
        :fields => ['CampaignName', 'ConvertedClicks', 'Impressions', 
'Clicks', 'Cost'],
        :date_range => {:min => date_begins, :max => date_ends},
        # Predicates are optional.
        :predicates => {
          :field => 'Status',
          :operator => 'IN',
          :values => ['ENABLED', 'PAUSED']
        }
      },
      :report_name => 'Last 7 days CRITERIA_PERFORMANCE_REPORT',
      :report_type => 'CRITERIA_PERFORMANCE_REPORT',
      :download_format => 'XML',
      :date_range_type => 'CUSTOM_DATE',
      # Enable to get rows with zero impressions.
      :include_zero_impressions => false
    }

However, this one will fail: 

# Define report definition. You can also pass your own XML text as a string.
    report_definition = {
      :selector => {
        :fields => ['CampaignName', 'ConvertedClicks', 'Impressions', 
'Clicks', 'Cost'],
        :date_range => {:min => date_begins, :max => date_ends},
        # Predicates are optional.
        :predicates => {
          :field => 'Status',
          :operator => 'IN',
          :values => ['ENABLED', 'PAUSED']
        }
      },
      :report_name => 'Last 7 days CRITERIA_PERFORMANCE_REPORT',
      :report_type => 'CAMPAIGN_PERFORMANCE_REPORT',
      :download_format => 'XML',
      :date_range_type => 'CUSTOM_DATE',
      # Enable to get rows with zero impressions.
      :include_zero_impressions => false
    }

I've been using that second one successfully for over two years.  I've 
checked the migration docs and have seen nothing related to this that would 
cause it to fail.

Please help.

Thank you.

Mike

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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].
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f82c6b48-1fba-4593-8c81-8f22d2028a61%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to