Hi all,
I would like to generate a dataframe in spark to represent the performance of ad_groups segmented by Age, Gender and Device.
Device is easy to have in AdGroupPerformance report type, but how can I grab Age and Gender info in awql or other api calls?
It's not possible to join AdGroupPerformance, AgeRangePerformance and GenderPerformance reports dataframe to achieve the goal because I believe it's hard to segment the ad_group performances by gender and age by just joining Age and Gender tables, for example:
#assume I want some dataset like this below:
campaign_name ad_group_name gender age_range clicks impressions
campaign_1 ad_group_1 Male 18to24 14 203
campaign_1 ad_group_1 Female 18to24 34 455
campaign_1 ad_group_1 Male gt64 0 13
campaign_1 ad_group_1 Female gt64 2 24
Please let me know if any ways that I can pull data like this, bunch of thanks in advance !!
Thanks,
James