Campaign Performance Report API

159 views
Skip to first unread message

Sunny Aggarwal

unread,
Sep 21, 2015, 9:02:42 AM9/21/15
to AdWords API Forum
Hiveminds,

I have been trying to get the daily budgets and costs around campaigns for an google adword accounts, with the following request:
<reportDefinition xmlns=\"https://adwords.google.com/api/adwords/cm/v201506\">
 <selector>
  <fields>CampaignId</fields>
  <fields>TotalCost</fields>
  <fields>TotalBudget</fields>
  <fields>Amount</fields>
  <fields>CampaignName</fields>
  <fields>CampaignStatus</fields>
  <predicates>
   <field>CampaignStatus</field>
   <operator>NOT_EQUALS</operator>
   <values>REMOVED</values>
  </predicates>
 </selector>
 <reportName>Campaign Performance Report</reportName>
 <reportType>CAMPAIGN_PERFORMANCE_REPORT</reportType>
 <dateRangeType>ALL_TIME</dateRangeType>
 <downloadFormat>XML</downloadFormat>
</reportDefinition>

But in response I am getting attributes request except the amount attribute:
<?xml version='1.0' encoding='UTF-8' standalone='yes'?><report><table><columns><column name='campaignID' display='Campaign ID'/><column name='totalCost' display='Total cost'/><column name='budget' display='Budget'/><column name='campaign' display='Campaign'/><column name='campaignState' display='Campaign state'/></columns><row campaignID='XXXX' totalCost='0' budget='1000000' campaign='[AV] Test 1' campaignState='paused'/></table></report>

Any help is appreciated. 
Thanks

Umesh Dengale

unread,
Sep 21, 2015, 4:19:50 PM9/21/15
to AdWords API Forum
Hello,

The Amount and TotalBudget fields are duplicates (both fields are displayed as Budget) in the CAMPAIGN_PERFORMANCE_REPORT. Please use the Amount field in the CAMPAIGN_PERFORMANCE_REPORT.

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