(URGENT!) Total : AdGroups Costs

64 views
Skip to first unread message

biu...@tatilsepeti.com

unread,
Oct 30, 2017, 10:49:37 AM10/30/17
to AdWords API Forum
Hi,

I have a problem. How to get the sum of the ad groups costs via adwords api.
I can reach the all cost but,
I dont want to get total campaign cost. I need only ' Total AdGroups' Costs.

Best regards,

Çağatay ERDOĞDU

Sreelakshmi Sasidharan (AdWords API Team)

unread,
Oct 30, 2017, 1:01:12 PM10/30/17
to AdWords API Forum
Hi, 

You could use the Ad Group Performance Report which includes all statistics aggregated by default at the ad group level. You will need to include Cost along with any other fields that you need to have in the your reports. For a sample in Java that downloads a reports, you can refer to this. Samples in other languages can also be found here. Let me know if you have any additional questions. 

Thanks,
Sreelakshmi, AdWords API Team

biu...@tatilsepeti.com

unread,
Oct 31, 2017, 1:28:53 AM10/31/17
to AdWords API Forum






Hi,
I am already using Ad Group Performance Report.
What I want is "Total: Ad groups" in the AdWords panel, how the cost data is calculated (the area marked in the example screen image # 1).
What I get with Api is the same as the AdWords panel (the area marked in the screenview example 2).
Do you understand?




Thanks,
Çağatay ERDOĞDU
Database Administrator

Shwetha Vastrad (AdWords API Team)

unread,
Oct 31, 2017, 11:18:31 AM10/31/17
to AdWords API Forum
Hi,

You can set the skipReportSummary request header to false to include the summary row in the downloaded responses which will contain the totals of the metrics requested.

Regards,
Shwetha, AdWords API Team.
Message has been deleted

Shwetha Vastrad (AdWords API Team)

unread,
Nov 1, 2017, 9:43:38 AM11/1/17
to AdWords API Forum
Hi, 

I had to delete your original post as it contained sensitive information(like access tokens, developer tokens). Please follow the AdWords API forum rules when you create a new post on the forum. I strongly suggest that you reset your developer token by following the instructions provided here

Shwetha Vastrad (AdWords API Team)

unread,
Nov 1, 2017, 1:46:38 PM11/1/17
to AdWords API Forum
Hi,

Were you able to download an AdGroup Performance Report as Sreelakshmi suggested? if you have set the skipReportSummary header to false, then the downloaded report should have a totals row at the end which is the sum of all the rows in the report. Please note that when you compare AdWords API reports with the data available in the UI, you need to ensure that you have selected the same fields, filters and dateRange in both reports. Could you try this out and let me know if you are able to get the totals? If the AdWords API report doesn't match, please provide the report definition and the clientCustomerId via the Reply privately to author option so I can take a look. 

biu...@tatilsepeti.com

unread,
Nov 3, 2017, 3:02:17 AM11/3/17
to AdWords API Forum
Hi,

I sent you a message with the reply privately to the author option.

If you answer within the day, I'd be happy

thanks for your interest.

Çağatay ERDOĞDU
Database Administrator

biu...@tatilsepeti.com

unread,
Nov 6, 2017, 7:45:54 AM11/6/17
to AdWords API Forum
Hi Shwetha,

The criteria you gave me in the mail you sent was important to me
(where AdGroupStatus = 'enabled').
I can access the requested data with this condition in the sql query,
Thanks for your help.

Çağatay ERDOĞDU
Database Administrator

On Friday, November 3, 2017 at 10:02:17 AM UTC+3, biu...@tatilsepeti.com wrote:
Hi,

I sent you a message with the reply privately to the author option.

If you answer within the day, I'd be happy

thanks for your interest.

Çağatay ERDOĞDU
Database Administrator
Reply all
Reply to author
Forward
0 new messages