How to pull cumulative data of gender and agegroup for adword account

56 views
Skip to first unread message

Nishant Sehgal

unread,
Jan 4, 2021, 2:28:26 AM1/4/21
to AdWords API and Google Ads API Forum
Hi all community members, 
We are trying to build an app that wants to show the conversion value segregated by age and gender.
The Age and gender groups are relevant to each account and the campaigns within that account.

The Google Adwords dashboard allows a user to see the relevant age groups in an account as well as which Age Group has what value of conversions (irrespective of the campaigns.) Screenshot - http://prntscr.com/wc4o8a

But when we try to access this same information from the API, then that is not possible. The API doesn't have any way to obtain how many age groups are there in a Google adwords account and what is the conversion value of a specific adwords account without first diving into the individual campaign and obtaining the conversion value of each campaign on each single day.

This is the API we are trying to use for obtaining the desired data - https://developers.google.com/adwords/api/docs/appendix/reports/account-performance-report

So now, first we track the account we need to obtain data for.

Then we try to obtain all the age ranges for that account using this API - https://developers.google.com/adwords/api/docs/appendix/reports/age-range-performance-report

The response of this API doesn't give us the total conversion value for each unique age range, INSTEAD, it gives us response with age range for each campaign and it's adword account.
Screenshot- http://prntscr.com/wc5adf

Surprisingly, going this way through the API, we are getting more campaigns as compared to what we have in the Google Adwords dashboard. 
So we can also say that through the API, we are getting some not required/additional data which makes our calculations mismatch with what we see in the adwords dashboard. 

Is there any way to directly fetch the Gender and Agegroup data through API for an account rather then getting data of each campaign id first and then manually having to deal with it? 

Any suggestions would be appreciated.

Google Ads API Forum Advisor Prod

unread,
Jan 4, 2021, 1:11:28 PM1/4/21
to nishan...@gmail.com, adwor...@googlegroups.com

Hi Nishant,

Unfortunately, these criteria reports cannot be aggregated from the account level. They can only be done from either the campaign or ad group criteria level.

Regards,
Anthony
 

Google Logo
Anthony
Google Ads API Team
 

 



ref:_00D1U1174p._5004Q2AH50a:ref

Nishant Sehgal

unread,
Jan 5, 2021, 8:47:10 AM1/5/21
to AdWords API and Google Ads API Forum
Hi Anthony, 

Thanks for getting back to me. 

In that case, I think the question comes down to why the data calculated in the Ads dashboard is different than the data calculated for the campaigns fetched through the API. 

To give you some insight, we are fetching the data using ConversionValue API which gives us the response in the following way - https://prnt.sc/wc5adf

We use this data to identify all the unique campaigns and the total conversion values of each campaign programmatically. 

However it seems like we are getting data of one extra campaign through API request whose data doesn't seem to be included in the Google ads dashboard. 

Someone suggested adding a condition of pulling data from API where Adnetworktype1 is true. I am not sure what this variable is about and how it affects the query to pull campaigns and their conversion value. 

Any insights about the Adnetworktype1 segmentation option for the API? The details in the API documentation are not very clear. 

Thanks.

Google Ads API Forum Advisor Prod

unread,
Jan 5, 2021, 1:37:31 PM1/5/21
to nishan...@gmail.com, adwor...@googlegroups.com
Hello,

Is the campaign from the screenshot the campaign you don't see in the UI? Because I was able to see this campaign in the UI, along with its age range data. The AdNetworkType1 is the same as segmenting your UI by Network. If you want me to have a look at your full report, please send them over so I can see why there may be issues.

Nishant Sehgal

unread,
Jan 11, 2021, 2:06:25 AM1/11/21
to AdWords API and Google Ads API Forum
Thanks for the past response, and i think we narrowed down the issue to some other reason. 

On another note - 

Can you help explain the difference between Ads API v201809  and  v6. 

It seems like v6 is a more recent version of the API but I have not been able to identify anything mentioning that v201809 is outdated or going to be deprecated soon. 

Should I be worried using v201809 while v6 is rolled out? 

Is there a specific scenario when someone might be using v201809 and not v6? 

Any light you could shed on this would be much appreciated. 

Thanks

Google Ads API Forum Advisor Prod

unread,
Jan 11, 2021, 11:50:47 AM1/11/21
to nishan...@gmail.com, adwor...@googlegroups.com
Hi Nishant,

Both of these APIs are safe to use in production. However, we recommend implementing any new features against the Google Ads API. Back in July 2019, we reverted Google Ads API to beta status. As of September 2020, Google Ads API is ready to use in production systems.  

There are no sunset plans for AdWords API that we can share with you at this point in time. We will announce the sunset date of it at least 1 year in advance. Please keep an eye out on our Developer blog for future announcements.
Reply all
Reply to author
Forward
0 new messages