Hi, thank you. I'm using Google Ads API not Adwords and UserListService is not preset, but there are these:
[image: Schermata 2019-05-28 alle 16.24.44.png] Which do i have to use? Thank you 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 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 "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. 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/6ac646a9-e751-4fa0-8e8a-b76311fdce86%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.