I can see in my account that there is a user list with Id 7563699192 but I 
am not able to get the details of that UserList using above query.

On Thursday, January 26, 2023 at 1:56:29 AM UTC+5:30 Ajit Trivedi wrote:

> I am using this Query SELECT user_list.id, user_list.name FROM user_list 
> WHERE user_list.resource_name ='customers/2787474591/userLists/7563699192'. 
> using java code to get the user List but I am not getting anything as the 
> output of that query. Can you please let me know why I am not getting any 
> result for that query?
>
> On Wednesday, January 25, 2023 at 7:57:25 PM UTC+5:30 adsapi wrote:
>
>> Hi Ajit,
>>
>> Thank you for your reply. We appreciate your patience with this concern. 
>>
>> To answer your questions, you may refer to this client library code 
>> example 
>> <https://developers.google.com/google-ads/api/samples/get-keyword-stats#java>.
>>  
>> To get the UserList associated, you may use this user_list report 
>> <https://developers.google.com/google-ads/api/fields/v12/user_list>. For 
>> a comprehensive overview of changes based from v11 to v12, you may refer to 
>> this *page* 
>> <https://developers.google.com/google-ads/api/docs/version-migration#v9-v10>
>> .
>>
>> You may use the below query:
>>
>> SELECT user_list.id, user_list.name, user_list.resource_name, 
>> user_list.read_only, user_list.type FROM user_list WHERE 
>> user_list.resource_name IN 
>> *('customers/{customer_id}/userLists/{user_list_id}')*
>>
>> Let me know if you have any further questions.
>>
>> Best regards,
>> [image: Google Logo] 
>> Jinky 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q2iNAzV: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/776e08b6-6f6e-42aa-9234-2cdc1b0fec13n%40googlegroups.com.
  • Wh... Ajit Trivedi
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Ajit Trivedi
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
          • ... Ajit Trivedi
            • ... Ajit Trivedi
              • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to