Can't select both Amount and TotalBudget

56 views
Skip to first unread message

tu...@intelligentmobils.com

unread,
May 29, 2015, 9:47:21 AM5/29/15
to adwor...@googlegroups.com
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?
test.csv

Nadine Sundquist (AdWords API Team)

unread,
May 29, 2015, 12:57:34 PM5/29/15
to adwor...@googlegroups.com, tu...@intelligentmobils.com
Hi,

It looks like you are doing everything correctly. A quick check on our end shows that the two fields are pointing to the same data on the back-end. I'm having someone take a look to see if this is an issue or if this is documentation that needs to be updated.

Cheers,
Nadine, AdWords API Team

tu...@intelligentmobils.com

unread,
Jun 5, 2015, 9:38:02 AM6/5/15
to adwor...@googlegroups.com
Hello,

are there any news on this? Or is this still being looked into?

Nadine Sundquist (AdWords API Team)

unread,
Jun 5, 2015, 10:43:19 AM6/5/15
to adwor...@googlegroups.com, tu...@intelligentmobils.com
Hello,

I don't have an answer, yet. It's still being looked into by our engineers.

Best,
Nadine, AdWords API Team

Nadine Sundquist (AdWords API Team)

unread,
Aug 10, 2015, 2:27:42 PM8/10/15
to AdWords API Forum, tu...@intelligentmobils.com
Hi,

It took awhile to get sorted out what was going on since this was an unusual case. The engineers are working on removing TotalBudget from the report as a result of what you noticed. That field was not meant to be a field that was selectable in the Campaign Performance Report. Thanks for being so observant and reporting it to us.

Cheers,
Nadine, AdWords API Team
Reply all
Reply to author
Forward
0 new messages