Hi Team,
I hope you're doing well. I wanted to kindly follow up on my previous query. I understand that responses can take time, and I truly appreciate the effort your team puts into reviewing each case carefully. If there’s any update or further clarification needed from my end to help move things forward, please feel free to let me know. I’d be happy to assist. Looking forward to your response whenever possible. On Thursday, July 3, 2025 at 9:44:02 AM UTC+5:30 Amit Tomar wrote: > Dear Team, > > Thank you for your previous response and for raising a feature request > regarding the "Segment Type" support. > > I’d like to follow up on a couple of pending points for further > clarification: > ------------------------------ > 1. *Mapping of UI Audience Types to API UserListType Enums* > > The UI under *Audience Manager > Your data segments* provides the > following audience creation options: > > - > > Website visitors > - > > App users > - > > YouTube users > - > > Customer list > - > > Google Analytics > - > > Lead form segment > - > > Custom combination > > Could you please help map these UI options to the corresponding > UserListType enums such as: > > - > > REMARKETING > - > > RULE_BASED > - > > CRM_BASED > - > > LOGICAL > - > > EXTERNAL_REMARKETING > - > > etc. > > This mapping is essential to classify existing user lists programmatically > when retrieved via the API. > ------------------------------ > 2. *Identification of Special Audience Types* > > While user_list.resource_name and user_list.type give us basic > classification, how can we: > > - > > Identify whether a user list is a *Lead Form Segment* or from *Google > Analytics*? > - > > Distinguish between App Users, YouTube users, or Website Visitors > using API fields? > > Any pointers on which fields (e.g., data_source_type, integration_code, > etc.) or workaround queries would be helpful for segmenting audiences > properly. > ------------------------------ > > I truly appreciate your continued support and look forward to your > guidance on the above. > > Thanks > > On Wednesday, July 2, 2025 at 10:03:36 PM UTC+5:30 Google Ads API Forum > Advisor wrote: > >> Hi, >> >> Thank you for reaching out to the Google Ads API support team. >> >> By reviewing your query, I understand that you want to retrieve the >> "Customer Type" and "Segment Type" through the Google Ads API. Kindly note >> that retrieving the segment types are not yet supported in the *Google >> Ads API* <https://developers.google.com/google-ads/api/docs/start>. >> However, I'll raise a feature request for this to be available in the >> Google Ads API. I cannot provide a scheduled timeline for the availability >> of this request, I would recommend you to please follow our *release >> notes* <https://developers.google.com/google-ads/api/docs/release-notes> >> and *blog post* >> <https://ads-developers.googleblog.com/search/label/google_ads_api> for >> further updates. >> >> Please find the below GAQL query to retrieve the customer type of an >> audience from the *user_list_customer_type* >> <https://developers.google.com/google-ads/api/fields/latest/user_list_customer_type> >> >> resource: >> >> >> SELECT user_list_customer_type.customer_type_category FROM >> user_list_customer_type >> >> You can use the* search* >> <https://developers.google.com/google-ads/api/fields/v20/user_list_customer_type_query_builder> >> >> or* searchStream* >> <https://developers.google.com/google-ads/api/rest/reference/rest/v17/customers.googleAds/searchStream?apix=true> >> >> methods in making the API calls while retrieving the data. Additionally, >> you can utilize the *Google Ads Query Builder* >> <https://developers.google.com/google-ads/api/fields/v20/shopping_performance_view_query_builder> >> >> and *Query Validator* >> <https://developers.google.com/google-ads/api/fields/v17/query_validator> >> to build and validate the queries for retrieving the data from the Google >> Ads API. >> >> Regarding how each Google Ads UI audience type maps to the corresponding >> UserListType enum in the API, I have raised your concern with the rest of >> our team and one of my teammates will reach out to you once we have an >> update. Meanwhile, your patience is appreciated. >> Thanks, >> >> [image: Google Logo] Google Ads API Team >> Feedback >> How was our support today? >> >> [image: rating1] >> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=1&entry.295079254=500Ht00001rgydpIAA> >> >> [image: rating2] >> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=2&entry.295079254=500Ht00001rgydpIAA> >> >> [image: rating3] >> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=3&entry.295079254=500Ht00001rgydpIAA> >> >> [image: rating4] >> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=4&entry.295079254=500Ht00001rgydpIAA> >> >> [image: rating5] >> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=5&entry.295079254=500Ht00001rgydpIAA> >> [2025-07-02 16:32:55Z GMT] This message is in relation to case >> "ref:!00D1U01174p.!500Ht01rgydp:ref" (ADR-00316761) >> >> >> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. To view this discussion visit https://groups.google.com/d/msgid/adwords-api/3fc7d66a-48df-4f79-bd67-5d50ec27c27en%40googlegroups.com.
