I will send here as i am not sure you received and i don't want to have 
viruses.

235-894-7710 - Ads user - i have to get balance from it and receive an 
error. (prepaid)
677-390-5764 - MCC user - if i get balance for it - it's fine and correct.
They are on the same account.

API server response:

[2018-12-11 08:18:21] AW_SOAP.WARNING: clientCustomerId=235-894-7710 
operations=1 service=BudgetOrderService method=get responseTime=65 requestId
=00057cbab97800a00ac10b8a180eb3c5 server=adwords.google.com isFault=1 
faultMessage=[NotWhitelistedError.CUSTOMER_NOT_WHITELISTED_FOR_API @ ; 
trigger:'Customer is not a manager']
[2018-12-11 08:18:21] AW_SOAP.NOTICE: POST /api/adwords/billing/v201806/
BudgetOrderService?wsdl HTTP/1.1
Host: adwords.google.com
Connection: close
User-Agent: PHP-SOAP/7.1.19
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 809
Authorization: REDACTED


<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV=
"http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ns1=
"https://adwords.google.com/api/adwords/cm/v201806"; xmlns:ns2=
"https://adwords.google.com/api/adwords/billing/v201806";><SOAP-ENV:Header><
ns2:RequestHeader><ns1:clientCustomerId>235-894-7710<
/ns1:clientCustomerId><ns1:developerToken>REDACTED</ns1:developerToken><ns1:
userAgent>unknown (AwApi-PHP, googleads-php-lib/37.1.0, PHP/7.1.19)</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>spendingLimit</ns1:fields><ns1:fields>totalAdjustments</ns1:
fields></ns2:serviceSelector></ns2:get></SOAP-ENV:Body></SOAP-ENV:Envelope>


HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Date: Tue, 11 Dec 2018 08:18:21 GMT
Expires: Tue, 11 Dec 2018 08:18:21 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE
Alt-Svc: quic=":443"; ma=2592000; v="44,43,39,35"
Accept-Ranges: none
Vary: Accept-Encoding
Connection: close


<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";><soap:
Header><ResponseHeader xmlns:ns2=
"https://adwords.google.com/api/adwords/cm/v201806"; xmlns=
"https://adwords.google.com/api/adwords/billing/v201806";><ns2:requestId>
00057cbab97800a00ac10b8a180eb3c5<
/ns2:requestId><ns2:serviceName>BudgetOrderService</ns2:serviceName><ns2:
methodName>get</ns2:methodName><ns2:operations>1</ns2:operations><ns2:
responseTime>65</ns2:responseTime></ResponseHeader></soap:Header><soap:Body
><soap:Fault><faultcode>soap:Server</faultcode><faultstring>[NotWhitelistedError.CUSTOMER_NOT_WHITELISTED_FOR_API
> 
@ ; trigger:'Customer is not a manager']</faultstring><detail><
ApiExceptionFault xmlns=
"https://adwords.google.com/api/adwords/billing/v201806"; xmlns:ns2=
"https://adwords.google.com/api/adwords/cm/v201806";><ns2:message>[
NotWhitelistedError.CUSTOMER_NOT_WHITELISTED_FOR_API @ ; trigger:'Customer 
is not a 
manager']</ns2:message><ns2:ApplicationException.Type>ApiException</ns2:ApplicationException.Type><ns2:errors
 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:type="ns2:
NotWhitelistedError"><ns2:fieldPath></ns2:fieldPath><ns2:trigger>Customer 
is not a 
manager</ns2:trigger><ns2:errorString>NotWhitelistedError.CUSTOMER_NOT_WHITELISTED_FOR_API</ns2:errorString><ns2:ApiError.Type>NotWhitelistedError</ns2:ApiError.Type><ns2:reason>CUSTOMER_NOT_WHITELISTED_FOR_API</ns2:reason></ns2:errors></ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope>


Error in session builder or BudgetOrderServicestring(94) "[
NotWhitelistedError.CUSTOMER_NOT_WHITELISTED_FOR_API @ ; trigger:'Customer 
is not a manager']"

I will be thankful if you could help.
Yana


пятница, 7 декабря 2018 г., 22:07:50 UTC+2 пользователь Dhanya Sundararaju 
(AdWords API Team) написал:
>
> Hi Yana,
>
> Could you reply back with both the client customer ids and also SOAP 
> request and response which shows the error? You may opt to *reply 
> privately to author*.
>
> Regards,
> Dhanya, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1c528625-0a64-4ce0-8546-394a8f2cacab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... Yana Sergeeva
    • ... 'Dhanya Sundararaju (AdWords API Team)' via AdWords API and Google Ads API Forum
      • ... Yana Sergeeva
      • ... Yana Sergeeva
      • ... Yana Sergeeva
        • ... 'Dhanya Sundararaju (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to