Hi, Like I said in the previous message, here <https://developers.google.com/google-ads/api/docs/remarketing/audience-types/custom-audiences> is the example on the documentation and $googleAdsClient->getCustomAudienceServiceClient() is undefined. Please try with PHP and let me know how I can create it.
Also, why do I need to create a custom audience when I wanna create adGroupCriterion with CustomAffinityInfo and CustomIntentInfo which requires CustomInterest resource name? Can I just create customInterest for adGroupCriterion or do I still need to create customAudience? Thank you. Yoshie On Thursday, April 22, 2021 at 12:00:55 AM UTC+9 adsapiforumadvisor wrote: > Hi Yoshie, > > Thank you for reaching out. You could first create the custom audience by > using this code snippet > <https://github.com/googleads/google-ads-java/blob/master/google-ads-examples/src/main/java/com/google/ads/googleads/examples/remarketing/AddCustomAudience.java>. > > Once you get the custom audience resource name, you could use it in this code > snippet > <https://github.com/googleads/google-ads-java/blob/master/google-ads-examples/src/main/java/com/google/ads/googleads/examples/remarketing/SetupRemarketing.java#L407-L435> > > to apply the custom audience to the targeted campaign. Let me know if you > have any further concerns. > > Thanks and regards, > Xiaoming, Google Ads API Team > > [image: Google Logo] > Xiaoming > Google Ads API Team > > > ref:_00D1U1174p._5004Q2FYPG1: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. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/cb55a92e-1545-4c12-9425-2e2f8da97eccn%40googlegroups.com.