Yes , i was tried it 

CampaignCriterion.newBuilder()
.setCampaign(StringValue.of(campaignResourceName))
.setUserInterest(UserInterestInfo.newBuilder().setUserInterestCategory(StringValue.of("customers/123456789/userInterests/92949")).build())
.build();


but in this  i need UserInterest ResourceName 
it is StringValue.of("customers/123456789/userInterests/92949")

So how can i generate it ?

can i create it Sting as menually ?



 
On Friday, November 22, 2019 at 2:22:19 AM UTC+5:30, adsapiforumadvisor 
wrote:
>
> Hi Rakesh,
>
> Here is an example of a builder you can use to create the user interest:
> CampaignCriterion.newBuilder()
> .setCampaign(StringValue.of(campaignResourceName))
>
> .setUserInterest(UserInterestInfo.newBuilder().setUserInterestCategory(StringValue.of("customers/123456789/userInterests/92949")).build())
> .build();
>
> Regards,
> Anthony
> Google Ads API Team
>
> ref:_00D1U1174p._5001UOCINy: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/2105beab-f063-407e-8d9f-63d7a17850d6%40googlegroups.com.

Reply via email to