unable to fetch list of values genders, age range, Audiences

30 views
Skip to first unread message

Shagufta Yasmin

unread,
Jul 15, 2022, 2:52:28 PM7/15/22
to Google Ads API and AdWords API Forum
Hi Team,

How to fetch list of all unique values for genders, age range, Audiences provided by google Ads Api?  
For example we had below option in Adwors API. 

ConstantDataServiceInterface constantDataService = adWordsServices.get(session,
ConstantDataServiceInterface.class);
genders = constantDataService.getGenderCriterion();

Can you please help us with this query.

Thanks



Google Ads API Forum Advisor

unread,
Jul 17, 2022, 10:27:55 PM7/17/22
to shag...@coditation.com, adwor...@googlegroups.com
Hi Shagufta,

Thank you for reaching us out. I am Sherwin from Google Ads API support team. I hope that you are doing well today.

Moving forward to your concern, for you to get the Gender and the Age range and audience, you may use the campaign_criterion report and include the campaign_criterion.age_range.type for age range type, campaign_criterion.combined_audience.combined_audience for CombinedAudience resource name and campaign_criterion.gender.type for gender type.

Kindly inform us if this works for you.

Kind regards,
Google Logo
Sherwin Vincent
Google Ads API Team
 


ref:_00D1U1174p._5004Q2cWboe:ref
Reply all
Reply to author
Forward
0 new messages