How to setting AdGroupCriterion with unknown type throuph Google Ads API?

50 views
Skip to first unread message

shunzhang Yan

unread,
Dec 9, 2021, 11:03:26 PM12/9/21
to AdWords API and Google Ads API Forum

Snipaste_2021-12-10_11-53-18.png
I find some types is UNKNOWN in the target setting ,therefore I don't known how to setting these types  through Google Ads API.  refers AdGroupCriterion

Google Ads API Forum Advisor

unread,
Dec 10, 2021, 12:27:25 PM12/10/21
to luren...@gmail.com, adwor...@googlegroups.com
Hello,

Thanks for reaching out. Please note that our team can only use English language screenshots. However, it is not possible to set an ad group criterion as UNKNOWN.

Please let us know if we can help with anything else.

Regards,
Matt
Google Ads API Team


Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021 Google Ads API and AdWords API Annual Survey
 
Google Logo
Matt
Google Ads API Team
 


ref:_00D1U1174p._5004Q2Sdopo:ref

shunzhang Yan

unread,
Dec 13, 2021, 2:56:32 AM12/13/21
to AdWords API and Google Ads API Forum
Snipaste_2021-12-13_14-52-29.pngSnipaste_2021-12-13_14-53-10.png
Snipaste_2021-12-13_15-48-50.png
I setting  Audience Segments through Google Ads Web, but find the type these in label 'part1' or 'part2' is UNKNOWN querying through Google Ads Api,
so, I don't know how to setting Audience Segments through Google Ads Api,
can you give me a Demo Java Code about how to setting Audience Segments 'part1' or 'part2'

Google Ads API Forum Advisor

unread,
Dec 13, 2021, 11:43:19 AM12/13/21
to luren...@gmail.com, adwor...@googlegroups.com
Hello,

You can set user interests with the AdGroupCriterionService. More details are given on this page discussing ad group criteria targeting. Please see this code example that shows how to add demographic targeting criteria to ad groups. 

shunzhang Yan

unread,
Dec 14, 2021, 6:00:36 AM12/14/21
to AdWords API and Google Ads API Forum
Snipaste_2021-12-14_18-36-42.pngSnipaste_2021-12-14_18-42-56.pngSnipaste_2021-12-14_18-50-39.png
I think you don't understand what I was said .
As those pictures,I has setting "Purchasing a Home Soon" and "Coffee Shop Regulars" for Audience Segments,
 when I querying throuogh Google Ads Api I got 2 ad_group_criterion, the one is 93007 and the type of 93007 is USER_INTEREST
but the another one is 95033 and the type of 95033 is UNKNOWN.
Inaddition,I can find 93007 in UserInterest list but 95033 is not find
Therefore I don't known how to create a AdGroupCriterion through Google Ads API ? 
Hope to get your reply as soon as possible.

Google Ads API Forum Advisor

unread,
Dec 14, 2021, 9:19:48 PM12/14/21
to luren...@gmail.com, adwor...@googlegroups.com
Hi Shunzhang,

Thank you for raising your concern to my team.

So that I can further check your concern, would you be able to provide the complete request and response logs with request ID and request header where we can see the UNKNOWN values?

You can provide it via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


ref:_00D1U1174p._5004Q2Sdopo:ref

Google Ads API Forum Advisor

unread,
Dec 15, 2021, 11:15:54 AM12/15/21
to luren...@gmail.com, adwor...@googlegroups.com
Hi Shunzhang,

I work with Ernie and will assist you. Thank you for privately sending us the log. You can use life_event to find information on this criterion.

I raised with my team your request for support for life events in ads api.This request is subject to review. You may monitor our blog for an update.


Regards,

Google Logo
Aryeh Baker
Google Ads API Team
 

 

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