Hi Darwin and team! Thanks so much for your response (I didn't get it via 
email for some reason) - this is very helpful info!!!

Could you please help me to understand a pattern on how to get Audience 
Segment NAME from API? 

>From https://developers.google.com/google-ads/api/docs/remarketing/audiences:

   - Audience segments
      - User list segments
      - Affinity or in-market segments
      - Life event segments
      - Detailed demographic segments
      - Custom audience segments
   

In our application we use 
https://developers.google.com/google-ads/api/fields/v12/ad_group_audience_view 
as data source and  pull ad_group_criterion.display_name, 
 ad_group_criterion.type, ad_group_criterion.user_list.user_list.
And in order to 'translate' display_name to 'human readable' Audience 
Segment (similarly to what we see in Google Ads UI )we use:

- Name from 
https://developers.google.com/google-ads/api/fields/v12/user_list  if 
ad_group_criterion.user_list.user_list 
is set (User list segments)
- Name from 
https://developers.google.com/google-ads/api/fields/v12/user_interest 
 if ad_group_criterion.type = 'USER_INERST'  (Affinity or in-market 
segments)

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?

Thanks so much for your help again! I'm sure this topic info will be 
valuable as it's not easy to find answers in documentation. 


On Thursday, November 24, 2022 at 4:10:02 PM UTC+2 adsapi wrote:

> Hi Oksana,
>
>
> I'm Darwin, also a member of the Google Ads API team. I work with Nirmita 
> & Yasar and allow me to assist you here. I hope you are doing well today.
>
>
> Moving forward to your concern, could you please confirm if this is the 
> subject of your private reply "*Private message regarding: 
> ad_group_audience_view, ad_group_criterion.type = UNKNOWN*"? If yes, 
> then, I want to inform you that my other colleague responded to your 
> concern there. Allow me to reiterate his response to that thread please see 
> below.
>  
>
> *"Thank you for your private response. I was able to identify the UNKNOWN 
> types (ex 95008 and 95009) as **life events* 
> <https://developers.google.com/google-ads/api/reference/data/codes-formats#expandable-8>*.
>  
> However, this specific type does not appear to be currently supported in 
> the **ad_group_criterion.type* 
> <https://developers.google.com/google-ads/api/fields/v12/ad_group_criterion#ad_group_criterion.type>*.
>  
> That said, you may instead retrieve their details using the **life_event* 
> <https://developers.google.com/google-ads/api/fields/v12/life_event>
> * (ex. **life_event.id* 
> <https://developers.google.com/google-ads/api/fields/v12/life_event#life_event.id>
> *, **life_event.name* 
> <https://developers.google.com/google-ads/api/fields/v12/life_event#life_event.name>*)
>  
> report. Let me know if this helps."*
>
>
> Let us know if you have further questions.
>
>
> Regards,
> [image: Google Logo] 
> Darwin 
> 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/1efd74ec-b692-4f74-b1f0-fce801599b8dn%40googlegroups.com.
  • Re... Google Ads API and AdWords API Forum
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... 'Oksana Sulyma' via Google Ads API and AdWords API Forum
      • ... 'Oksana Sulyma' via Google Ads API and AdWords API Forum
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
          • ... 'Oksana Sulyma' via Google Ads API and AdWords API Forum
            • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
              • ... 'Oksana Sulyma' via Google Ads API and AdWords API Forum
                • ... 'Oksana Sulyma' via Google Ads API and AdWords API Forum
                • ... Google Ads API and AdWords API Forum
                • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to