Hi, I think I got this working by using an AdGroupCriterion and setting the UserInterestCategory, (snippet of php code below)
... $adGroupCriterion = new AdGroupCriterion(); $userInterestInfo = new UserInterestInfo(); $userInterestInfo->setUserInterestCategory(ResourceNames::forUserInterest($customerId, $interestId)); $adGroupCriterion->setUserInterest($userInterestInfo); $adGroupCriterion->setAdGroup(ResourceNames::forAdGroup($customerId, $adGroupId)); ... Does that sound right? Thanks On Thursday, 17 March 2022 at 10:37:35 UTC Patrick wrote: > Hi, > > Are there any guidelines on how to add specific affinity and In-market > audience segments to an adgroup in observation mode with the api? > > In the UI they are under Audience > Edit audience segments. Then from > there you can choose Observation > "What their interests and habits are" > (Affinity), etc. > > Thanks > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "Google Ads API and AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/e1f2dfc2-3b51-470c-8ed2-7778e540d2e1n%40googlegroups.com.
