Get cost of account without downloading CSV

18 views
Skip to first unread message

edu...@agencywithin.com

unread,
Jan 8, 2018, 12:45:39 AM1/8/18
to AdWords API Forum
Hi,

I'm trying to get the cost of accounts without having to download a report. Is there a possible way to just fetch that data? I've looked through the reference logs and I can seem to grab other data (Account number, account labels, etc.), but can't seem to find if cost is available. Thanks in advance!

Luis Xander Talag (AdWords API Team)

unread,
Jan 8, 2018, 2:42:37 AM1/8/18
to AdWords API Forum
Hi Eduardo,

Since Cost is based on actual spend in performance, any statistics data will only be available through reports. You may want to check the Account Performance Report if you want to get the cost per account. Also, It is possible to get the report data as string by using the getAsString() method instead of saving it to a file. Please check this sample code (PHP client library) for reference.

Hope this helps!

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