Adwords API - Campaign performance report returns nothing

40 views
Skip to first unread message

wy...@datahero.com

unread,
Nov 29, 2017, 4:45:19 AM11/29/17
to AdWords API Forum

I have had code that was working in production with Adwords API 201609. I have upgraded to v201702 and it stopped working. There are no notes in the migration manual.

var request = require('unirest'); var builtAWQL = "__rdquery=SELECT+StartDate,EndDate+FROM+CAMPAIGN_PERFORMANCE_REPORT+DURING+20171124,20171124&__fmt=TSV";

request.post(host) .header(header) .send(builtAWQL) .end(function (results) { console.log(results.body); });

I get a result with no data in it. Any ideas?

It used to return a report with all campaigns, start dates and end dates.

wy...@datahero.com

unread,
Nov 29, 2017, 4:46:15 AM11/29/17
to AdWords API Forum

Bharani Cherukuri (AdWords API Team)

unread,
Nov 29, 2017, 1:01:39 PM11/29/17
to AdWords API Forum
Hi Wyatt, 

Based on the query, the Campaign Performance report must return the startDate and endDate of the campaigns associated with the account. To investigate the issue further, could you provide us the clientCustomerId, so I can take a look? Please use Reply privately to author option to provide the details. 

Regards,
Bharani, AdWords API Team

wy...@datahero.com

unread,
Nov 29, 2017, 8:08:21 PM11/29/17
to AdWords API Forum
I replied privately!

wy...@datahero.com

unread,
Nov 29, 2017, 8:47:01 PM11/29/17
to AdWords API Forum
Hey,

I was able to fix this by removing all of the oauth tokens from 201609 and having all users re-auth.
That code snippet returns results then. Thank you!


On Thursday, November 30, 2017 at 3:01:39 AM UTC+9, Bharani Cherukuri (AdWords API Team) wrote:

Bharani Cherukuri (AdWords API Team)

unread,
Nov 30, 2017, 8:48:45 AM11/30/17
to AdWords API Forum
Hello Wyatt, 

I'm glad that your issue has been resolved. Feel free to write back to us if you have any other API related concerns.

Regards,
Bharani, AdWords API Team

On Wednesday, November 29, 2017 at 4:45:19 AM UTC-5, wy...@datahero.com wrote:
Reply all
Reply to author
Forward
0 new messages