How do I know which CriterionUserInterest is for Android and which for iOS?

75 views
Skip to first unread message

Victor Moroz

unread,
Feb 6, 2015, 4:30:12 PM2/6/15
to adwor...@googlegroups.com
Hi,

What I get from getUserInterestCriterion is this:

{:criterion_type=>"CriterionUserInterest", :user_interest_id=>87004, :user_interest_name=>"Books & Reference"}

How do I know it's in Android hierarchy?

Thank you.

Josh Radcliff (AdWords API Team)

unread,
Feb 9, 2015, 9:50:34 AM2/9/15
to adwor...@googlegroups.com
Hi,

That ID is not Android-specific. It's simply a category of user interests, regardless of the user's mobile device.

Cheers,
Josh, AdWords API Team

Victor Moroz

unread,
Feb 9, 2015, 10:20:45 AM2/9/15
to adwor...@googlegroups.com
I see a bit different picture:

{:operations=>[{:operator=>"ADD", :operand=>{:ad_group_id=>17070668653, :criterion=>{:user_interest_id=>87004, :order!=>[:user_interest_id]}, :order!=>[:ad_group_id, :criterion], :attributes!=>{:criterion=>{"xsi:type"=>"CriterionUserInterest"}}}, :order!=>[:operator, :operand], :attributes!=>{:operand=>{"xsi:type"=>"BiddableAdGroupCriterion"}}}], :order!=>[:operations]}

then in UI (if I add 87154 I will have iOS Apps, which clearly means there is a difference for Adwords):



 

Josh Radcliff (AdWords API Team)

unread,
Feb 9, 2015, 2:19:10 PM2/9/15
to adwor...@googlegroups.com
Hi,

Sorry, my mistake. I was looking at the output from ConstantDataService.getUserInterestCriterion and incorrectly assumed that the criteria are the same for iOS and Android.

I've looked around and even tried the AUDIENCE_PERFORMANCE_REPORT, but so far I have not been able to find a way to detect the Android vs. iOS attribute of those criteria. I'll ask around to see if this is available somewhere and I'm just missing it.

Thanks,
Josh, AdWords API Team

Josh Radcliff (AdWords API Team)

unread,
Mar 9, 2015, 11:22:42 AM3/9/15
to adwor...@googlegroups.com
Hi,

Unfortunately, the iOs/Android designation is not available via any services. As a workaround, you could download the app categories to CSV and construct a lookup table based on the Category path. Anything under /All Apps/Google Play (60000) is Android, and anything under /All Apps/Apple App Store (65000) is iOS.

In case it helps, I noticed that as the list stands today, all Android categories are in the range 60000-60099, and all the iOS categories are in the range 60500-60599.

Thanks,
Josh, AdWords API Team
Reply all
Reply to author
Forward
0 new messages