Re: API Error : QuotaCheckError.ACCOUNT_INACTIVE

22 views
Skip to first unread message
Message has been deleted

Vincent Racaza (AdWords API Team)

unread,
Apr 2, 2018, 1:07:18 AM4/2/18
to AdWords API Forum
Hi,

I deleted your original post as it contains your private information. In the future, please do not include any confidential information such as clientCustomerId in your public post. You may refer to this guide before posting. Re-posting with your masked information:

Hello! Anyone can tell me anything?

A test account was created, there is a test token developer, a campaign was created in the test account.

[2018-04-01 02:01:58] AW_SOAP.WARNING: clientCustomerId=XXX-XXX-XXXX operations=1 service=CampaignService method=get responseTime=103 requestId=000568bfdbb8f4580a37a2459e0a618e server=adwords.google.com isFault=1 faultMessage=[QuotaCheckError.ACCOUNT_INACTIVE @ ; trigger:'<null>']
[2018-04-01 02:01:58] AW_SOAP.NOTICE: POST /api/adwords/cm/v201802/CampaignService?wsdl HTTP/1.1
Host: adwords.google.com
Connection: close
User-Agent: PHP-SOAP/5.6.32
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 932
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/v201802"><SOAP-ENV:Header><ns1:RequestHeader><ns1:clientCustomerId>XXX-XXX-XXXX</ns1:clientCustomerId><ns1:developerToken>REDACTED</ns1:developerToken><ns1:userAgent>XXXXXXXX(AwApi-PHP, googleads-php-lib/33.1.0, PHP/5.6.32)</ns1:userAgent><ns1:validateOnly>false</ns1:validateOnly><ns1:partialFailure>false</ns1:partialFailure></ns1:RequestHeader></SOAP-ENV:Header><SOAP-ENV:Body><ns1:get><ns1:serviceSelector><ns1:fields>Id</ns1:fields><ns1:fields>Name</ns1:fields><ns1:ordering><ns1:field>Name</ns1:field><ns1:sortOrder>ASCENDING</ns1:sortOrder></ns1:ordering><ns1:paging><ns1:startIndex>0</ns1:startIndex><ns1:numberResults>500</ns1:numberResults></ns1:paging></ns1:serviceSelector></ns1:get></SOAP-ENV:Body></SOAP-ENV:Envelope>

HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Date: Sun, 01 Apr 2018 02:01:58 GMT
Expires: Sun, 01 Apr 2018 02:01:58 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: hq=":443"; ma=2592000; quic=51303432; quic=51303431; quic=51303339; quic=51303335,quic=":443"; ma=2592000; v="42,41,39,35"
Accept-Ranges: none
Vary: Accept-Encoding
Connection: close

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201802"><requestId>000568bfdbb8f4580a37a2459e0a618e</requestId><serviceName>CampaignService</serviceName><methodName>get</methodName><operations>1</operations><responseTime>103</responseTime></ResponseHeader></soap:Header><soap:Body><soap:Fault><faultcode>soap:Client</faultcode><faultstring>[QuotaCheckError.ACCOUNT_INACTIVE @ ; trigger:'&lt;null&gt;']</faultstring><detail><ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/cm/v201802"><message>[QuotaCheckError.ACCOUNT_INACTIVE @ ; trigger:'&lt;null&gt;']</message><ApplicationException.Type>ApiException</ApplicationException.Type><errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="QuotaCheckError"><fieldPath></fieldPath><trigger>&lt;null&gt;</trigger><errorString>QuotaCheckError.ACCOUNT_INACTIVE</errorString><ApiError.Type>QuotaCheckError</ApiError.Type><reason>ACCOUNT_INACTIVE</reason></errors></ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope>

PHP Fatal error:  Uncaught exception 'Google\AdsApi\AdWords\v201802\cm\ApiException' with message '[QuotaCheckError.ACCOUNT_INACTIVE @ ; trigger:'<null>']' in /test/datamining/g.adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php:43
Stack trace:
#0 /test/datamining/g.adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php(43): ReflectionClass->newInstanceArgs(Array)
#1 /test/datamining/g.adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php(203): Google\AdsApi\Common\Util\Reflection->createInstance('Google\\AdsApi\\A...', '[QuotaCheckErro...')
#2 /test/datamining/g.adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php(164): Google\AdsApi\Common\AdsSoapClient->parseApiExceptionFromSoapFault(Object(SoapFault))
#3 /test/datamining/g.adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/AdWords/v201802/cm/CampaignService.php(163): Google\AdsApi\Common\AdsSoapClient->__soapCall('get', Array)
#4  in /test/datamining/g.adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php on line 43

Thanks,
Vincent
AdWords API Team

Vincent Racaza (AdWords API Team)

unread,
Apr 2, 2018, 1:08:02 AM4/2/18
to AdWords API Forum
Hi,

Can you confirm if you are using a developer token from your production manager account? If yes, can you provide to me the MCC Id that has the developer token that you used so I can further check? Kindly use the Reply privately to author option.
Reply all
Reply to author
Forward
0 new messages