get Campaign Total Cost (PHP)

25 views
Skip to first unread message

Dima Taras

unread,
Dec 9, 2014, 2:34:27 PM12/9/14
to adwor...@googlegroups.com
Hi!
I have just putted the API to my server and it returns nothing. Like just a blank page although I think I should fill some auth info (but I didn't)

I need  to get just total cost of a campaign by id (or anything I could get from adwords dashboard)

Is there any simple way to do this like run some http request and get it. It seems not wise to have installed big library for getting one number


Michael Cloonan (AdWords API Team)

unread,
Dec 9, 2014, 7:54:03 PM12/9/14
to adwor...@googlegroups.com
Hello,

There is no way to simply get the total cost of a campaign from the API. You would have to fetch a CAMPAIGN_PERFORMANCE_REPORT, including the cost field.

Setting up the API is more involved than a simple HTTP request, so this might not be the right solution.

Regards,
Mike, AdWords API Team
Reply all
Reply to author
Forward
0 new messages