Hi team!

I found unexpected behavior today while attaching user list resources to a 
campaign. 
Here is what your doc says: UserListInfo 
<https://developers.google.com/google-ads/api/reference/rpc/v9/UserListInfo>
*user_list - string: The User List resource name.*

But when I'm trying to add user list resource name using this snippet:




*campaign_criterion.user_list = user_list_service.user_list_path(    
customer_id,    user_list_id, )*

I got such an error:
*Parameter to MergeFrom() must be instance of same class: expected 
google.ads.googleads.v9.common.UserListInfo got str.*

I am using google-ads = "==14.1.0"

Please, do fixes or update your doc. Or am I doing something wrong?

Thanks in advance!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 on the web visit 
https://groups.google.com/d/msgid/adwords-api/4fc7df86-0168-47cf-8e1c-478835576807n%40googlegroups.com.
  • Ca... Roman Bondarenko
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Roman Bondarenko

Reply via email to