Hello,

I'm Kevin's colleague addressing your concern as he is out of office. I
understand you're looking to create an ExpressionRuleUserList. The error
you're receiving indicates that you're missing to define some required
entities in your request. In this case, the missed field is Rule
<https://developers.google.com/adwords/api/docs/reference/v201809/AdwordsUserListService.ExpressionRuleUserList#rule>.
Please check this guide
<https://developers.google.com/adwords/api/docs/guides/remarketing#remarketing_with_rule-based_user_lists> on
how to create Rule-based user lists. You may refer to the code sample in
the shared link as a reference. You will need to create a Rule with rule
item groups to AND their rules together. Could you please refer to the
shared code samples and let me know if you have any other questions?

Regards,
Bharani, AdWords API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 02/25/19 02:16:17 [email protected] wrote:

Hi Kevin,

Apologies for the delay in responding. I was away for work for a
significant amount of time and this got skipped.

I checked the example given by you. But it doesn't have a method to create
the LogicalUserList which I am trying to create.

Can you please be more specific what I am missing here?

Many Thanks in advance,


On Wednesday, January 23, 2019 at 1:21:45 PM UTC+5:30,
googleadsapi-forumadvisor wrote:

Hi,

Thank you for the details you've provided. Based on your code, it appears
that you are not setting up the rule properly. Kindly refer to the Python sample
code
<https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/v201809/remarketing/add_rule_based_user_lists.py> as
a reference.

Let me know if you have further clarifications.

Thanks,
Kevin
AdWords API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a
short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey
<https://support.google.com/google-ads/contact/survey_transactional?caseid=4-5870000025522&hl=en&ctx=1>

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
On 01/22/19 19:32:33 [email protected] wrote:

Hi Team,

I am trying to add a logical user list in one of my client account.

I use the attached python script for the same.

I get the following SOAP request generated at run-time:

INFO:googleads.soap:Request made: Service: "AdwordsUserListService" Method:
"mutate" URL: "https://adwords.google.com/api/adwords/rm/v201809/
AdwordsUserListService"
DEBUG:googleads.soap:Outgoing request: {'SOAPAction': '""', 'Content-Type':
'text/xml; charset=utf-8', 'authorization': 'REDACTED'}
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/
">
  <soap-env:Header>
    <ns0:RequestHeader xmlns:ns0="https://adwords.google.com/api/adwords/rm/
v201809">
      <ns1:clientCustomerId xmlns:ns1="https://adwords.
google.com/api/adwords/cm/v201809">1191454216</ns1:clientCustomerId>
      <ns2:developerToken xmlns:ns2="https://adwords.
google.com/api/adwords/cm/v201809">xxxxxxxxxxxxxxxxxxxx</ns2:developerToken>
      <ns3:userAgent xmlns:ns3="https://adwords.google.com/api/adwords/cm/
v201809">unknown (AwApi-Python, googleads/14.1.0, Python/2.7.12,
zeep)</ns3:userAgent>
      <ns4:validateOnly xmlns:ns4="https://adwords.
google.com/api/adwords/cm/v201809">false</ns4:validateOnly>
      <ns5:partialFailure xmlns:ns5="https://adwords.
google.com/api/adwords/cm/v201809">false</ns5:partialFailure>
    </ns0:RequestHeader>
  </soap-env:Header>
  <soap-env:Body>
    <ns0:mutate xmlns:ns0="https://adwords.google.com/api/adwords/rm/v201809
">
      <ns0:operations>
        <ns1:operator xmlns:ns1="https://adwords.google.com/api/adwords/cm/
v201809">ADD</ns1:operator>
        <ns0:operand xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:type="ns0:LogicalUserList">
          <ns0:name>userlist_logical_samir</ns0:name>
          <ns0:description>logical user list</ns0:description>
          <ns0:rules>
            <ns0:operator>ANY</ns0:operator>
            <ns0:ruleOperands>
              <ns0:UserList xsi:type="ns0:ExpressionRuleUserList">
                <ns0:id>753510197</ns0:id>
              </ns0:UserList>
            </ns0:ruleOperands>
            <ns0:ruleOperands>
              <ns0:UserList xsi:type="ns0:ExpressionRuleUserList">
                <ns0:id>753510200</ns0:id>
              </ns0:UserList>
            </ns0:ruleOperands>
          </ns0:rules>
        </ns0:operand>
      </ns0:operations>
    </ns0:mutate>
  </soap-env:Body>
</soap-env:Envelope>

I get the following error upon processing the request:

[RequiredError.REQUIRED @ operations[0].operand.rules[0].ruleOperands[0].rule,
RequiredError.REQUIRED @ operations[0].operand.rules[0]
.ruleOperands[1].rule]

Can you please help me understand the issue?

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
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/1a3f9445-cfaa-4749-9957-efbf4410cea1%40googlegroups.com
<https://groups.google.com/d/msgid/adwords-api/1a3f9445-cfaa-4749-9957-efbf4410cea1%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
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/2b056d23-35ac-449f-a8e2-bf3f04d47f46%40googlegroups.com
<https://groups.google.com/d/msgid/adwords-api/2b056d23-35ac-449f-a8e2-bf3f04d47f46%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 "AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
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/ijlio23rp000000084ree4001juhv8x6gmjae1n60o30c1g68qjachi%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
  • Error [... The DiMaAg
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
      • ... The DiMaAg
        • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
          • ... The DiMaAg
            • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Reply via email to