Re: Retrieve managed customers failed: SOAP response: <?xml version="1.0" encoding="UTF-8"?>Envelope>

19 views
Skip to first unread message
Message has been deleted
Message has been deleted

Peter Oliquino

unread,
Sep 25, 2017, 4:47:16 AM9/25/17
to AdWords API Forum
Hi,

I had to delete your previous posts as it contained sensitive information about your account. This being said, you may refer to our forum posting guidelines for your future posts. As for your concern, could you confirm if you are still encountering the issue? I tried your request and using the same version, however, I was not able to replicate the issue :

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Header>
        <ns1:RequestHeader xmlns:ns1="https://adwords.google.com/api/adwords/mcm/v201708" soapenv:mustUnderstand="0">
            <ns2:clientCustomerId xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201708">MY_CLIENT_CUSTOMER_ID</ns2:clientCustomerId>
            <ns3:developerToken xmlns:ns3="https://adwords.google.com/api/adwords/cm/v201708">MY_DEVELOPER_TOKEN</ns3:developerToken>
            <ns4:userAgent xmlns:ns4="https://adwords.google.com/api/adwords/cm/v201708">MY_USER_AGENT (AwApi-Java, AdWords-Axis/3.7.0, Common-Java/3.7.0, Axis/1.4, Java/1.8.0_112-google-v7, jars)</ns4:userAgent>
            <ns5:validateOnly xmlns:ns5="https://adwords.google.com/api/adwords/cm/v201708">false</ns5:validateOnly>
            <ns6:partialFailure xmlns:ns6="https://adwords.google.com/api/adwords/cm/v201708">false</ns6:partialFailure>
        </ns1:RequestHeader>
    </soapenv:Header>
    <soapenv:Body>
        <get xmlns="https://adwords.google.com/api/adwords/mcm/v201708">
            <serviceSelector>
                <ns7:fields xmlns:ns7="https://adwords.google.com/api/adwords/cm/v201708">CustomerId</ns7:fields>
                <ns8:fields xmlns:ns8="https://adwords.google.com/api/adwords/cm/v201708">Name</ns8:fields>
                <ns9:predicates xmlns:ns9="https://adwords.google.com/api/adwords/cm/v201708">
                    <ns9:field>CanManageClients</ns9:field>
                    <ns9:operator>EQUALS</ns9:operator>
                    <ns9:values>FALSE</ns9:values>
                </ns9:predicates>
                <ns10:predicates xmlns:ns10="https://adwords.google.com/api/adwords/cm/v201708">
                    <ns10:field>ExcludeHiddenAccounts</ns10:field>
                    <ns10:operator>EQUALS</ns10:operator>
                    <ns10:values>TRUE</ns10:values>
                </ns10:predicates>
            </serviceSelector>
        </get>
    </soapenv:Body>
</soapenv:Envelope>
[25 Sep 2017 16:23:05,921-soapXmlLogger:DEBUG:main] SOAP response:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header>
        <ns2:ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201708" xmlns:ns2="https://adwords.google.com/api/adwords/mcm/v201708">
            <requestId>000559ff448f4d800abc748dcb0778d4</requestId>
            <serviceName>ManagedCustomerService</serviceName>
            <methodName>get</methodName>
            <operations>1</operations>
            <responseTime>397</responseTime>
        </ns2:ResponseHeader>
    </soap:Header>
    <soap:Body>
        <ns2:getResponse xmlns="https://adwords.google.com/api/adwords/cm/v201708" xmlns:ns2="https://adwords.google.com/api/adwords/mcm/v201708">
            <ns2:rval>
                <totalNumEntries>8</totalNumEntries>
                <Page.Type>ManagedCustomerPage</Page.Type>
                <ns2:entries>
                    <ns2:name>testacctone</ns2:name>
                    <ns2:customerId>CLIENT_ID_1</ns2:customerId>
                </ns2:entries>
                <ns2:entries>
                    <ns2:name>testaccttwo</ns2:name>
                    <ns2:customerId>CLIENT_ID_2</ns2:customerId>
                </ns2:entries>
                <ns2:entries>
                    <ns2:name>Customer created with ManagedCustomerService on 2016-04-14T22:04:00.116+08:00</ns2:name>
                    <ns2:customerId>CLIENT_ID_3</ns2:customerId>
                </ns2:entries>
                <ns2:entries>
                    <ns2:name>Customer created 1 with ManagedCustomerService on 2016-04-27T01:58:05.329+08:00</ns2:name>
                    <ns2:customerId>CLIENT_ID_4</ns2:customerId>
                </ns2:entries>
                <ns2:entries>
                    <ns2:name>Test Keywords Account</ns2:name>
                    <ns2:customerId>CLIENT_ID_5</ns2:customerId>
                </ns2:entries>
                <ns2:entries>
                    <ns2:name>Test Account Name 2017-03-09T16:04:15.543+08:00</ns2:name>
                    <ns2:customerId>CLIENT_ID_6</ns2:customerId>
                </ns2:entries>
                <ns2:entries>
                    <ns2:name>Ireland Account 2017-08-07T16:44:51.390+08:00</ns2:name>
                    <ns2:customerId>CLIENT_ID_7</ns2:customerId>
                </ns2:entries>
                <ns2:entries>
                    <ns2:name>France Account 2017-08-07T17:12:14.698+08:00</ns2:name>
                    <ns2:customerId>CLIENT_ID_8</ns2:customerId>
                </ns2:entries>
                <ns2:links>
                    <ns2:managerCustomerId>MY_MCC_ID</ns2:managerCustomerId>
                    <ns2:clientCustomerId>CLIENT_ID_4</ns2:clientCustomerId>
                    <ns2:isHidden>false</ns2:isHidden>
                </ns2:links>
                <ns2:links>
                    <ns2:managerCustomerId>MY_MCC_ID</ns2:managerCustomerId>
                    <ns2:clientCustomerId>CLIENT_ID_5</ns2:clientCustomerId>
                    <ns2:isHidden>false</ns2:isHidden>
                </ns2:links>
                <ns2:links>
                    <ns2:managerCustomerId>MY_MCC_ID</ns2:managerCustomerId>
                    <ns2:clientCustomerId>CLIENT_ID_2</ns2:clientCustomerId>
                    <ns2:isHidden>false</ns2:isHidden>
                </ns2:links>
                <ns2:links>
                    <ns2:managerCustomerId>MY_MCC_ID</ns2:managerCustomerId>
                    <ns2:clientCustomerId>CLIENT_ID_3</ns2:clientCustomerId>
                    <ns2:isHidden>false</ns2:isHidden>
                </ns2:links>
                <ns2:links>
                    <ns2:managerCustomerId>MY_MCC_ID</ns2:managerCustomerId>
                    <ns2:clientCustomerId>CLIENT_ID_8</ns2:clientCustomerId>
                    <ns2:isHidden>false</ns2:isHidden>
                </ns2:links>
                <ns2:links>
                    <ns2:managerCustomerId>MY_MCC_ID</ns2:managerCustomerId>
                    <ns2:clientCustomerId>CLIENT_ID_6</ns2:clientCustomerId>
                    <ns2:isHidden>false</ns2:isHidden>
                </ns2:links>
                <ns2:links>
                    <ns2:managerCustomerId>MY_MCC_ID</ns2:managerCustomerId>
                    <ns2:clientCustomerId>CLIENT_ID_7</ns2:clientCustomerId>
                    <ns2:isHidden>false</ns2:isHidden>
                </ns2:links>
                <ns2:links>
                    <ns2:managerCustomerId>MY_MCC_ID</ns2:managerCustomerId>
                    <ns2:clientCustomerId>CLIENT_ID_1</ns2:clientCustomerId>
                    <ns2:isHidden>false</ns2:isHidden>
                </ns2:links>
            </ns2:rval>
        </ns2:getResponse>
    </soap:Body>
</soap:Envelope>

This being said, could you confirm if you were able to setup your Java client library correctly as discussed here?

Best regards,
Peter
AdWords API Team
Reply all
Reply to author
Forward
0 new messages