Re-posting the last inquiry [https://groups.google.com/g/adwords-api/c/Ak0MTglczxk] from the forum as it wasn't routed to our support queue.
Regards, Carmela Google Ads API Team On Thursday, December 1, 2022 at 4:35:58 PM UTC+8 Oksana Sulyma wrote: > Thanks for your answer Yasar. > My question was rather about how to understand what is segment type when > we get a constant as audience name. > As example, for this query: > SELECT ad_group_criterion.display_name, ad_group_criterion.type FROM > ad_group_audience_view I got > '*95008 ' and 'UNKNOWN'. * > How can I know if *95008 *is life_event.id or demographic.id? Any other > fields I need to pull from ad_group_audience_view to know audience segment > type? > Thanks you again for all the help on my questions! > Oksana > > On Monday, November 28, 2022 at 4:15:04 PM UTC+2 adsapi wrote: > >> Hi Oksana, >> >> Thanks for getting back to us. >> >> For your question “Could you please help me to understand a pattern on >> how to get Audience Segment NAME from API?”, you may use user_list.name >> field. However, for your question “*How can we know that display_name >> that we get in report (ex 95008 and 95009) is Life event segments or >> Detailed demographic segments or Custom audience segments?*” , you may >> see below: >> >> - Audience segments >> - User list segments —> user_list.name >> - Affinity or in-market segments —> user_interest.name >> - Life event segments—>life_event.name >> - Detailed demographic segments —>detailed_demographic.name >> - Custom audience segments—-->custom_audience.name >> >> >> >> If you're looking to replicate any Google Ads UI reports via Google Ads >> API, then you may provide us the complete Ads UI screenshot (not Excel >> screenshot) via reply privately to author option so that we can provide >> specific recommendations. >> >> Regards, >> [image: Google Logo] >> Yasar >> Google Ads API Team >> >> >> ref:_00D1U1174p._5004Q2g3RyN:ref >> > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "Google Ads API and AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/950bdea4-d2d0-4a7c-865a-03eec88014dcn%40googlegroups.com.