Hello,

I've been testing the Adwords API with Ruby. And either I'm 
misunderstanding something or there's a bug: If I try to select both the 
Amount and the TotalBudget of a Campaign Performance Report, I end up with 
only a single column 'Budget' in the resulting CSV. Looking at the 
available fields 
at 
https://developers.google.com/adwords/api/docs/appendix/reports/campaign-performance-report
 
also shows that both the Amount and TotalBudget field have the same XML 
Attribute 'budget' which also strikes me as incorrect.

Here is a code snippet:

report_definition =
{
        :selector =>
        {
                :fields => ['Amount', 'TotalBudget']
        },

        :report_name => 'TEST CAMPAIGN_PERFORMANCE_REPORT',
        :report_type => 'CAMPAIGN_PERFORMANCE_REPORT',
        :download_format => 'CSV',
        :date_range_type => 'TODAY',
        :include_zero_impressions => true
}

report_utils.download_report_as_file(report_definition, "test.csv")

I'm using the :v201502 API-version and have attached the downloaded 
test.csv where you can see that only 1 column exists.

Could somebody tell me whether I'm doing something wrong or if this is 
actually a bug?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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.
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/4308c678-e6a6-4bde-85a5-04f207337dfc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
"TEST CAMPAIGN_PERFORMANCE_REPORT (May 29, 2015)"
Budget
1000000
Total

Reply via email to