I found error, but it was not correct audience type for me. I need custom intent, not "website visitors". I found it in v201806 How can I create correct Intent to use CriterionCustomIntent as next:
public function createCustomIntentCriterion(array $data) { $operations = []; foreach ($data as $item) { if (!isset($item['AdGroupId'])) { throw new AdWordsClientException('AdGroupId is not set'); } if (!isset($item['CustomIntentId'])) { throw new AdWordsClientException('CustomIntentId is not set'); } $userListCriterion = new CriterionCustomIntent(); $userListCriterion->setCustomIntentId($item['CustomIntentId']); $adGroupCriterion = new BiddableAdGroupCriterion(); $adGroupCriterion->setAdGroupId($item['AdGroupId']); $adGroupCriterion->setCriterion($userListCriterion); $operations[] = new AdGroupCriterionOperation(Operator::ADD, null, $adGroupCriterion); } return $this->mutateOperations($operations); } I did not find example how create intent, which will return data with CustomIntentId ? On Friday, June 22, 2018 at 11:15:44 AM UTC+3, Peter Oliquino (AdWords API Team) wrote: > > Hi Danny, > > Could you review your SOAP request if the below element is being included? > > <operand xmlns:ns8="https://adwords.google.com/api/adwords/rm/v201806" > *xsi:type="ns8:ExpressionRuleUserList"*> > > > If the above operand code is not present in your request, could you send > to me the complete SOAP request and response logs so I can further > investigate? > > You may reply to me via the *Reply privately to author* option. > > Thanks and regards, > Peter > AdWords API Team > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/8ad30c41-f0a3-4eec-81a3-1b764501c533%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.