2017-06-12 15:09:44.085 |-INFO  [http-nio-8088-exec-6] 
com.google.api.ads.adwords.lib.client.AdWordsServiceClient.requestInfoLogger 
[107] -| Request made: Service: "CustomerServiceInterfacePort" Method: 
"getCustomers" URL: 
"https://adwords.google.com/api/adwords/mcm/v201702/CustomerService"; 
Request ID: "000551be03d624380abc7213d909555e"
2017-06-12 15:09:44.128  WARN 9936 --- [nio-8088-exec-6] 
c.g.a.a.a.l.c.A.soapXmlLogger            : SOAP Request:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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/v201702"; 
soapenv:mustUnderstand="0">
            <ns2:developerToken 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201702";>REDACTED</ns2:developerToken>
            <ns3:userAgent 
xmlns:ns3="https://adwords.google.com/api/adwords/cm/v201702";>unknown 
(AwApi-Java, AdWords-Axis/3.2.0, Common-Java/3.2.0, Axis/1.4, 
Java/1.8.0_121, maven)</ns3:userAgent>
            <ns4:validateOnly 
xmlns:ns4="https://adwords.google.com/api/adwords/cm/v201702";>false</ns4:validateOnly>
            <ns5:partialFailure 
xmlns:ns5="https://adwords.google.com/api/adwords/cm/v201702";>false</ns5:partialFailure>
        </ns1:RequestHeader>
    </soapenv:Header>
    <soapenv:Body>
        <getCustomers 
xmlns="https://adwords.google.com/api/adwords/mcm/v201702"/>
    </soapenv:Body>
</soapenv:Envelope>

2017-06-12 15:09:44.128 |-WARN  [http-nio-8088-exec-6] 
com.google.api.ads.adwords.lib.client.AdWordsServiceClient.soapXmlLogger 
[84] -| SOAP Request:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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/v201702"; 
soapenv:mustUnderstand="0">
            <ns2:developerToken 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201702";>REDACTED</ns2:developerToken>
            <ns3:userAgent 
xmlns:ns3="https://adwords.google.com/api/adwords/cm/v201702";>unknown 
(AwApi-Java, AdWords-Axis/3.2.0, Common-Java/3.2.0, Axis/1.4, 
Java/1.8.0_121, maven)</ns3:userAgent>
            <ns4:validateOnly 
xmlns:ns4="https://adwords.google.com/api/adwords/cm/v201702";>false</ns4:validateOnly>
            <ns5:partialFailure 
xmlns:ns5="https://adwords.google.com/api/adwords/cm/v201702";>false</ns5:partialFailure>
        </ns1:RequestHeader>
    </soapenv:Header>
    <soapenv:Body>
        <getCustomers 
xmlns="https://adwords.google.com/api/adwords/mcm/v201702"/>
    </soapenv:Body>
</soapenv:Envelope>

2017-06-12 15:09:44.128  WARN 9936 --- [nio-8088-exec-6] 
c.g.a.a.a.l.c.A.soapXmlLogger            : SOAP Response:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
    <soap:Header>
        <ResponseHeader 
xmlns="https://adwords.google.com/api/adwords/mcm/v201702"; 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201702";>
            <ns2:requestId>000551be03d624380abc7213d909555e</ns2:requestId>
            <ns2:serviceName>CustomerService</ns2:serviceName>
            <ns2:methodName>getCustomers</ns2:methodName>
            <ns2:operations>1</ns2:operations>
            <ns2:responseTime>703</ns2:responseTime>
        </ResponseHeader>
    </soap:Header>
    <soap:Body>
        <soap:Fault>
            <faultcode>soap:Server</faultcode>
            <faultstring>[AuthenticationError.CUSTOMER_NOT_FOUND @ 
]</faultstring>
            <detail>
                <ApiExceptionFault 
xmlns="https://adwords.google.com/api/adwords/mcm/v201702"; 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201702";>
                    <ns2:message>[AuthenticationError.CUSTOMER_NOT_FOUND @ 
]</ns2:message>
                    
<ns2:ApplicationException.Type>ApiException</ns2:ApplicationException.Type>
                    <ns2:errors 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="ns2:AuthenticationError">
                        <ns2:fieldPath/>
                        <ns2:trigger/>
                        
<ns2:errorString>AuthenticationError.CUSTOMER_NOT_FOUND</ns2:errorString>
                        
<ns2:ApiError.Type>AuthenticationError</ns2:ApiError.Type>
                        <ns2:reason>CUSTOMER_NOT_FOUND</ns2:reason>
                    </ns2:errors>
                </ApiExceptionFault>
            </detail>
        </soap:Fault>
    </soap:Body>
</soap:Envelope>

2017-06-12 15:09:44.128 |-WARN  [http-nio-8088-exec-6] 
com.google.api.ads.adwords.lib.client.AdWordsServiceClient.soapXmlLogger 
[85] -| SOAP Response:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
    <soap:Header>
        <ResponseHeader 
xmlns="https://adwords.google.com/api/adwords/mcm/v201702"; 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201702";>
            <ns2:requestId>000551be03d624380abc7213d909555e</ns2:requestId>
            <ns2:serviceName>CustomerService</ns2:serviceName>
            <ns2:methodName>getCustomers</ns2:methodName>
            <ns2:operations>1</ns2:operations>
            <ns2:responseTime>703</ns2:responseTime>
        </ResponseHeader>
    </soap:Header>
    <soap:Body>
        <soap:Fault>
            <faultcode>soap:Server</faultcode>
            <faultstring>[AuthenticationError.CUSTOMER_NOT_FOUND @ 
]</faultstring>
            <detail>
                <ApiExceptionFault 
xmlns="https://adwords.google.com/api/adwords/mcm/v201702"; 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201702";>
                    <ns2:message>[AuthenticationError.CUSTOMER_NOT_FOUND @ 
]</ns2:message>
                    
<ns2:ApplicationException.Type>ApiException</ns2:ApplicationException.Type>
                    <ns2:errors 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="ns2:AuthenticationError">
                        <ns2:fieldPath/>
                        <ns2:trigger/>
                        
<ns2:errorString>AuthenticationError.CUSTOMER_NOT_FOUND</ns2:errorString>
                        
<ns2:ApiError.Type>AuthenticationError</ns2:ApiError.Type>
                        <ns2:reason>CUSTOMER_NOT_FOUND</ns2:reason>
                    </ns2:errors>
                </ApiExceptionFault>
            </detail>
        </soap:Fault>
    </soap:Body>
</soap:Envelope>




Hello, ordinary adwords is not can not call api, only the manager account 
can call api? Because I have a Google account under a common adwords 
account and a manager account, their customerId is not the same, when I do 
not have a manager account, can not call Customer [] customers = 
adWordsServices.get (adWordsSession, CustomerServiceInterface.class). 
GetCustomers (); This method, after upgrading to a manager account,  can 
call this interface






在 2017年6月10日星期六 UTC+8上午3:11:15,Shwetha Vastrad (AdWords API Team)写道:
>
> Hi, 
>
> This error 
> <https://developers.google.com/adwords/api/docs/common-errors#AuthenticationError.CUSTOMER_NOT_FOUND>
>  
> occurs when no account was found for the customer ID provided in the header 
> which could be because you're trying to access an account that was just 
> created with ManagedCustomerService 
> <https://developers.google.com/adwords/api/docs/reference/v201705/ManagedCustomerService>
>  
> before the account is established in the backend. Could you enable logging 
> and provide the SOAP request and response logs so I can take a look? Please 
> use *Reply privately to author* when responding. 
>
> Regards,
> Shwetha, 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 [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 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/dea38942-e17c-4982-bfe4-bd6f6ef0c568%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to