Re: Expression Rule User List Error

2018-07-12 Thread danny+awtest
For all who will has same problem as me. Here is solution: Correct code : In CustomAffinityService (initialized with *Google\AdsApi\AdWords\v201806\rm\CustomAffinityService*) you need create Custom Intent: /** * $data example: * [ * 'test' => 'www.test.com', * 'test 2' =>

Re: Expression Rule User List Error

2018-07-12 Thread danny+awtest
For all who will has same problem as me. Here is solution: Correct code : In CustomAffinityService (initialized with Google\AdsApi\AdWords\v201806\rm\ CustomAffinityService) you need create Custom Intent: /** * $data example: * [ * 'test' => 'www.test.com', * 'test 2' =>

Re: Expression Rule User List Error

2018-07-11 Thread 'Nadine Sundquist (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello Danny, I do understand that you told me that you can create a Custom Intent in that account. However, the request ID you sent me and the error you sent me are tied to a request to create a Custom Intent failed. I was only debugging exactly what you sent me. Now, i'm guessing you may have

Re: Expression Rule User List Error

2018-07-11 Thread danny+awtest
Hi Nadine! As I explained before, I am creating custom intent in one part of code, and created it successful. I am getting response with all info about custom intent (id, name, desc etc.). May be I need create Intent with AdGroupCriterion, not as separate logic? But CriterionCustomAffinity has

Re: Expression Rule User List Error

2018-07-10 Thread 'Nadine Sundquist (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello Danny, I think there may be a bit confusion here in what I explained, so let me take a set back here to explain. Your error is not happening in the second step that you're explaining here. Your error is happening even before you create the criterion. When you first create your

Re: Expression Rule User List Error

2018-07-10 Thread danny+awtest
Hi Nadine! Glad to see you again! But I can not see how set name for ADD operation. At first I created CriterionCustomAffinity or CriterionCustomIntent (tried both) Than set custom affinity/intent id (2608877). also added criterion type - CUSTOM_INTENT or CUSTOM_AFFINITY (but I created

Re: Expression Rule User List Error

2018-07-09 Thread 'Nadine Sundquist (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Danny, I'm back from the holidays! Woohoo! Thank you for letting me get the chance to take a break, and thank you for sending me the request ID. That makes it s much easier for me. So, here's your request and response that I've found on our servers for that request ID. You should

Re: Expression Rule User List Error

2018-07-04 Thread danny+awtest
Hi Nadine, I have enabled logs already, so here is requestId - 00057017946dc9980a0dc447e2010d3a Sure, I will wait for your answer. Have a nice holidays) Danny. On Tuesday, July 3, 2018 at 9:46:58 PM UTC+3, Nadine Sundquist (AdWords API Team) wrote: > > Hello Danny, > > Could you please send

Re: Expression Rule User List Error

2018-07-03 Thread 'Nadine Sundquist (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello Danny, Could you please send me the *requestId* that comes back with your request? You should see it in your SOAP XML logs, and it would look similar to the one in this example . It's much easier to find the

Re: Expression Rule User List Error

2018-07-03 Thread danny+awtest
Hi Nadine! I tried code for: [AdGroupId] => 25768077653 [CustomIntentId] => 2608877 This AdGroup has display type, it's campaign also, I checked. But I am still having error "*[RequiredError.REQUIRED @ operations[0].operand.name*". Something is wrong. Maybe I set not all necessary parameters?

Re: Expression Rule User List Error

2018-06-28 Thread 'Nadine Sundquist (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Danny, My apologies for the delay. At first it looked like in your post that you had solved the issue. I just re-read it, and I can see that you're still trying to get this figured out. So, I searched through our logs for your request and your response. I found the reason why you're having

Re: Expression Rule User List Error

2018-06-26 Thread danny+awtest
I also added next value: $userListCriterion->setCriterionType(CriterionType::CUSTOM_INTENT); so now I have: $userListCriterion = new CriterionCustomIntent(); $userListCriterion->setCustomIntentId($item['CustomIntentId']); $userListCriterion->setCriterionType(CriterionType::CUSTOM_INTENT);

Re: Expression Rule User List Error

2018-06-26 Thread danny+awtest
I checked creation of intent, and got successful response: Array ( [0] => Array ( [Id] => 2610756 [Status] => ENABLED [Name] => Test Custom Audience 3 [Type] => CUSTOM_INTENT [Description] => Test Custom Audience 3

Re: Expression Rule User List Error

2018-06-26 Thread 'Nadine Sundquist (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello Danny, That first error that you have with the REQUIRED is actually coming from CustomAffinityService. This is when you are creating your audience. It's saying that a name is

Re: Expression Rule User List Error

2018-06-26 Thread danny+awtest
Hi Nadine! Thank you, I successfully created Custom Intent due to your manual, but now have trouble how to link Intent to AdGroup if I have IntentID and AdGroup ID? My way with error: $operations = []; foreach ($data as $item) { if (!isset($item['AdGroupId'])) { throw new

Re: Expression Rule User List Error

2018-06-25 Thread 'Nadine Sundquist (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello Danny, There was a new service introduced in v201806 called CustomAffinityService . If you already have custom audiences in your account, then you'll see them there. You can use the ID from those.

Re: Expression Rule User List Error

2018-06-25 Thread danny+awtest
Yes. Error with ExpressionRuleUserList was that in including files part I had different library versions for classes. It produced incorrect SOAP request. But after execution code I understood that it was not what I needed. I need a CriterionCustomIntent

Re: Expression Rule User List Error

2018-06-24 Thread 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Danny, Could you first confirm if you no longer have any issues with the ExpressionRuleUserList ADD request, and that what originally intended was to create a CriterionCustomIntent

Re: Expression Rule User List Error

2018-06-22 Thread danny+awtest
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

Re: Expression Rule User List Error

2018-06-22 Thread danny+awtest
On Friday, June 22, 2018 at 9:37:08 AM UTC+3, danny+...@pdffiller.com wrote: > > Hi! I am trying to create custom audience, but have > UserListError.CONCRETE_TYPE_REQUIRE > Error. > Here is my code on PHP (used example from >

Re: Expression Rule User List Error

2018-06-22 Thread 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Danny, Could you review your SOAP request if the below element is being included? 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

Expression Rule User List Error

2018-06-22 Thread danny+awtest
Hi! I am trying to create custom audience, but have UserListError.CONCRETE_TYPE_REQUIRE Error. Here is my code on PHP (used example from https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201806/Remarketing/AddRuleBasedUserLists.php ): public function