Cannot create Rule Based Remarketing List

79 views
Skip to first unread message

Victor Andrey

unread,
Jan 5, 2015, 10:37:30 PM1/5/15
to adwor...@googlegroups.com

I am trying to create a rule based remarketing list and the api keeps on throwing an exception. 

And to confirm, I even tried exactly the same example as described here:

https://github.com/googleads/google-api-ads-ruby/blob/master/adwords_api/examples/v201409/remarketing/add_rule_based_user_lists.rb

Though,  I still get the exception.

I have attached the soap request and response.

Could anyone assist on this one ?

soap_request.xml
soap_response.xml

Michael Cloonan (AdWords API Team)

unread,
Jan 7, 2015, 10:38:51 AM1/7/15
to adwor...@googlegroups.com
Hello,

I ran the example and it worked fine for me, but the XML is different.

Here's an XML snippet from your request:

<items xsi:type="StringRuleItem">
  <key>
    <name>ecomm_pagetype</name>
  </key>
  <op>EQUALS</op>
  <value>checkout</value>
</items>

And here's the same snippet from my request:

<StringRuleItem>
  <key>
    <name>ecomm_pagetype</name>
  </key>
  <op>EQUALS</op>
  <value>checkout</value>
</StringRuleItem>

The same pattern holds true for each instance of this. Yours is likely wrong because you have an outdated version of ads_common. Please try upgrading your ads_common library and then try the request again. We made some changes to allow choice-type requests in ads_common specifically for the rule-based remarketing feature.

Regards,
Mike, AdWords API Team

Victor Andrey

unread,
Jan 7, 2015, 3:42:08 PM1/7/15
to adwor...@googlegroups.com
Thank you. That was the issue. I just had to update google-ads-common.
Reply all
Reply to author
Forward
0 new messages