Get criterion id from AdGroupCriterion - MobileAppCategory

34 views
Skip to first unread message

Vedran Presečki

unread,
Feb 3, 2022, 12:08:30 PM2/3/22
to Google Ads API and AdWords API Forum
Hi, 

when using MobileAppCategoryService and trying to get for example "Medical" category, name returned is Google Play and/or Apple. But getName() will not return neither of those two, but only Medical.
Is there any way of getting also category for that medical (google play or apple), I understand there is CSV file, but can it be reached through code somehow?

Other part of the problem, when AdGroupCriterion is type of MobileAppCategory, in that scenario, getCriterionId will not return ID of Medical, but some other ID is generated for each AdGroupCriterion of type MobileAppCategory, how to get criterionID of mobile app category from ad group criterion? 
It's not consistant with other targeting types, for example: same action on AdGroupCriterion with AgeRage,  getCriterionId() will return the true criterionID of age range (the one from CSV table). 

Google Ads API Forum Advisor

unread,
Feb 3, 2022, 10:04:40 PM2/3/22
to vedran....@cloudsense.com, adwor...@googlegroups.com

Hi,

Thanks for reaching out to us.

To have further investigation into observed behavior, could you provide us with the complete request and response logs with the request-id generated when getName() did not returns google play or apple, so our team can better check? Also, could you please provide us the complete logs when you said some other ID is generated for each AdGroupCriterion of type MobileAppCategory, but did not get the criterion Id of Medical?

If you’re using a client library, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link

You may then send the requested information via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

Regards,

Google Logo
Yasar
Google Ads API Team
 

 

 



ref:_00D1U1174p._5004Q2W43ES:ref

Vedran Presečki

unread,
Feb 4, 2022, 6:57:47 AM2/4/22
to Google Ads API and AdWords API Forum
Message sent privately.

Google Ads API Forum Advisor

unread,
Feb 4, 2022, 1:21:44 PM2/4/22
to vedran....@cloudsense.com, adwor...@googlegroups.com
Hi Vedran,

i work with Yasar and will assist you. Thank you for your private explanation. I raised with my team your request for mobile_app_category_constant to reflect in their ad group criteria resource name and for mobile_app_category_constant to return whether it's an Apple app or a Google Play app. These requests are subject to review. You may monitor our blog for an update.

Regards,

Google Logo
Aryeh Baker
Google Ads API Team
 


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