issue with campaign management

17 views
Skip to first unread message

ser...@southpigalle.io

unread,
Feb 21, 2018, 5:29:21 PM2/21/18
to AdWords API Forum
Hello everyone,

I have an issue on Adwords API. Indeed, I can't do a report correctly on the API.

So my problem is the following:
I request request and access tokens (I get them).
I create a new AdwordsReport (I create it correctly).

When I do

report.getReport('v201710'{
       reportName
: 'Custom Adgroup Performance Report',
       reportType
: 'CAMPAIGN_PERFORMANCE_REPORT',
       fields
: ['CampaignId', "CampaignName", 'Impressions', 'Clicks', 'Cost', 'Amount'],
       dateRangeType
: 'LAST_7_DAYS',
       format
: "CSV"
   
});


I get a report, but empty and I don't understand why, because I have this configuration :

I have an adword manager account and a test account who is linked with the manager account.
Manager account and test account have campaigns and my billing addresses (both of them).
I do that request with my test account to get a report from my test campaigns.

I'm currently using a node module "node-adwords" to do these operations because the API doesn't offers a REST or node solution (or if it offers, could you give me the doc for that I searched a lot without a response), but I don't think that the problem is coming from that module because I've got my tokens from it.

Thanks for reading and have a nice day.
Serguei

Luis Xander Talag (AdWords API Team)

unread,
Feb 22, 2018, 12:16:17 AM2/22/18
to AdWords API Forum
Hi Serguei,

Unfortunately, I am unable to provide you a guide on the implementation of AdWords API reports using Node.js as this is not included in the current supported client libraries. However, you may check this reporting basic guides since it still has the same structure when creating a report in the AdWords API. To further investigate your issue, could you provide your CID and reply to me via the Reply privately to author?

Thanks and regards,
Luis
AdWords API Team
Reply all
Reply to author
Forward
0 new messages