Hello,

Apologies but my PHP knowledge is quite limited. However, seeing the codes, 
it *seems* that you have not yet added the CriterionUserList as the 
AdGroupCriterion. You seemed to be missing the *ADD* operator for the 
BiddableAdGroupCriterion 
<https://developers.google.com/adwords/api/docs/reference/v201605/AdGroupCriterionService.BiddableAdGroupCriterion>.
 
After doing the ADD operator, you need to call the 
AdGroupCriterionService.mutate 
<https://developers.google.com/adwords/api/docs/reference/v201605/AdGroupCriterionService#mutate>
 operation. 

To avoid confusion, I recommend to do the following:

1. Run the AddAdGroups.php  
<https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201605/BasicOperations/AddAdGroups.php>example
 
code with the TargetingSetting as USER_INTEREST_AND_LIST
2. After doing #1, run the AddKeywords.php  
<https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201605/BasicOperations/AddKeywords.php>example
 
code. Use the adGroupId obtained from #1. From the AddKeywords.php example 
code, just replace the Keyword object to be the CriterionUserList object.

Please let me know the results after doing the steps above.

Best Regards,
Joyce, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/8227c571-9ff5-45d5-b440-b129b55ab218%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to