Hi, thank you.
I tried to follow the getCampaign example but setCustomerId, setPageSize 
and setQuery are not members of GetUserListRequest
How can i fix it?

[image: Schermata 2019-05-28 alle 17.05.38.png]


On Tuesday, 28 May 2019 11:56:41 UTC+2, adsapiforumadvisor wrote:
>
> Hi Andrea,
>
> There is currently no available example for retrieving your audience lists 
> via the Google Ads API. You may, however, use the 
> UserListService.GetUserList 
> <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.services#userlistservice>
>  
> to retrieve all your UserList 
> <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.resources#google.ads.googleads.v1.resources.UserList>
>  
> information.
>
> As for associating a userlist into an adgroup or a campaign, you can use 
> either the AdGroupCriterionService.MutateAdGroupCriteria 
> <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.services#adgroupcriterionservice>
>  to 
> create an AdGroupCriterion 
> <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.resources#google.ads.googleads.v1.resources.AdGroupCriterion>
>  
> of type user_list (UserListInfo 
> <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.common#google.ads.googleads.v1.common.UserListInfo>),
>  
> or the CampaignCriterionService.MutateCampaignCriteria 
> <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.services#campaigncriterionservice>
>  to 
> create a CampaignCriterion 
> <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.resources#google.ads.googleads.v1.resources.CampaignCriterion>
>  also of 
> type user_list (UserListInfo 
> <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.common#google.ads.googleads.v1.common.UserListInfo>
> ).
>
> I hope this helps.
>
> Thanks and regards,
> Peter
> Google Ads API Team
>
> ref:_00D1U1174p._5001UAqoH2: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 [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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d88fdecf-e4de-49a1-a177-3cdc97396350%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to