Hi! 
I try use this example 
https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201710/AccountManagement/GetAccountChanges.php
 
bud I get error CUSTOMER_NOT_FOUND.
Another examples worked normaly. My Google AdWords Account have meny 
children account.
request:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
                   xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201710";
                   
xmlns:ns2="https://adwords.google.com/api/adwords/mcm/v201710";>
    <SOAP-ENV:Header>
        <ns2:RequestHeader>
            <ns1:clientCustomerId>88******61</ns1:clientCustomerId>
            <ns1:developerToken>REDACTED</ns1:developerToken>
            <ns1:userAgent>Siuc Adwords API client (AwApi-PHP, 
googleads-php-lib/32.1.0, PHP/7.0.8)</ns1:userAgent>
            <ns1:validateOnly>false</ns1:validateOnly>
            <ns1:partialFailure>false</ns1:partialFailure>
        </ns2:RequestHeader>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
        <ns2:get>
            <ns2:serviceSelector>
                <ns1:fields>CustomerId</ns1:fields>
                <ns1:fields>Name</ns1:fields>
                <ns1:ordering>
                    <ns1:field>CustomerId</ns1:field>
                    <ns1:sortOrder>ASCENDING</ns1:sortOrder>
                </ns1:ordering>
                <ns1:paging>
                    <ns1:startIndex>0</ns1:startIndex>
                    <ns1:numberResults>500</ns1:numberResults>
                </ns1:paging>
            </ns2:serviceSelector>
        </ns2:get>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>


response:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
<soap:Header>
    <ns2:ResponseHeader 
xmlns:ns2="https://adwords.google.com/api/adwords/mcm/v201710";
                        
xmlns="https://adwords.google.com/api/adwords/cm/v201710";>
        <requestId>00056509d83ebe980a1bccc1fa04d6ff</requestId>
        <serviceName>ManagedCustomerService</serviceName>
        <methodName>get</methodName>
        <operations>1</operations>
        <responseTime>129</responseTime>
    </ns2:ResponseHeader>
</soap:Header>
<soap:Body>
    <soap:Fault>
        <faultcode>soap:Server</faultcode>
        <faultstring>[AuthenticationError.CUSTOMER_NOT_FOUND @ ; 
trigger:'&lt;null&gt;']</faultstring>
        <detail>
            <ns2:ApiExceptionFault 
xmlns="https://adwords.google.com/api/adwords/cm/v201710";
                                   
xmlns:ns2="https://adwords.google.com/api/adwords/mcm/v201710";>
                <message>[AuthenticationError.CUSTOMER_NOT_FOUND @ ; 
trigger:'&lt;null&gt;']</message>
                
<ApplicationException.Type>ApiException</ApplicationException.Type>
                <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="AuthenticationError">
                    <fieldPath></fieldPath>
                    <trigger>&lt;null&gt;</trigger>
                    
<errorString>AuthenticationError.CUSTOMER_NOT_FOUND</errorString>
                    <ApiError.Type>AuthenticationError</ApiError.Type>
                    <reason>CUSTOMER_NOT_FOUND</reason>
                </errors>
            </ns2:ApiExceptionFault>
        </detail>
    </soap:Fault>
</soap:Body>
</soap:Envelope>



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
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/246a01c4-8e34-4c36-bd49-f36dccc290a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to