So I'm working on migrating from Adwords API to Ads api and I'm struck at one point, that is Targeting service. I cannot actually Target an Adgroup using the Ads API with either Topic or UserInterest as there are no examples available in the client libraries. I know that we have to create TopicInfo or UserInterestInfo for targeting. But how do we set the targeting Id or user interest id to the TopicInfo or UserInterestInfo, there are no setter methods for that.
val topicInfo = TopicInfo.newBuilder().setTopicConstant(StringValue.of("958")) .build() val interestInfo: UserInterestInfo = UserInterestInfo .newBuilder() .setUserInterestCategory(StringValue.of("80412")) .build() Using the above topicInfo and InterestInfo, google Ads API is failing while mutating with AdgroupCriterionServiceClient. Help me out. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/414e3fc3-8b92-4c64-b7f2-9e2c57f71f50%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.