Hi, i tried to pull data from my web application but unfortunately i got an 
error

I fill out the required properties in *adsapi_php.ini *file and set up the 
OAuth2 correctly

But when i tried to run *GetCampaigns.php *I got SOAP error

 

Soap Request & Response:

[2017-04-30 09:17:06] AW_SOAP.WARNING: clientCustomerId=847-178-9432 
operations=1 service=CampaignService method=get responseTime=67 
requestId=00054e5ec54568d10a37175f9e023d8d server=adwords.google.com 
isFault=1 faultMessage=[QuotaCheckError.ACCOUNT_INACTIVE @ ; 
trigger:'<null>']  

[2017-04-30 09:17:06] AW_SOAP.NOTICE: POST 
/api/adwords/cm/v201609/CampaignService?wsdl HTTP/1.1

Host: adwords.google.com

Connection: Keep-Alive

User-Agent: PHP-SOAP/5.6.30

Content-Type: text/xml; charset=utf-8

SOAPAction: ""

Content-Length: 916

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/v201609";><SOAP-ENV:Header><ns1:RequestHeader><ns1:clientCustomerId>847-178-9432</ns1:clientCustomerId><ns1:developerToken>REDACTED</ns1:developerToken><ns1:userAgent>unknown
 
(AwApi-PHP, googleads-php-lib/26.0.0, 
PHP/5.6.30)</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, 30 Apr 2017 09:17:07 GMT

Expires: Sun, 30 Apr 2017 09:17:07 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="37,36,35"

Accept-Ranges: none

Vary: Accept-Encoding

Transfer-Encoding: chunked

 

<soap:Envelope 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";><soap:Header><ResponseHeader
 
xmlns="https://adwords.google.com/api/adwords/cm/v201609";><requestId>00054e5ec54568d10a37175f9e023d8d</requestId><serviceName>CampaignService</serviceName><methodName>get</methodName><operations>1</operations><responseTime>67</responseTime></ResponseHeader></soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>[QuotaCheckError.ACCOUNT_INACTIVE
 
@ ; trigger:'&lt;null&gt;']</faultstring><detail><ApiExceptionFault xmlns="
https://adwords.google.com/api/adwords/cm/v201609";><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\v201609\cm\ApiException' with message 
'[QuotaCheckError.ACCOUNT_INACTIVE @ ; trigger:'<null>']' in 
/Users/galamitai/Desktop/googleads-php-lib-master/src/Google/AdsApi/Common/Util/Reflection.php:39

Stack trace:

#0 
/Users/***/Desktop/googleads-php-lib-master/src/Google/AdsApi/Common/Util/Reflection.php(39):
 
ReflectionClass->newInstanceArgs(Array)

#1 
/Users//***//Desktop/googleads-php-lib-master/src/Google/AdsApi/Common/AdsSoapClient.php(162):
 
Google\AdsApi\Common\Util\Reflection->createInstance('Google\\AdsApi\\A...', 
'[QuotaCheckErro...')

#2 
/Users//***//Desktop/googleads-php-lib-master/src/Google/AdsApi/Common/AdsSoapClient.php(126):
 
Google\AdsApi\Common\AdsSoapClient->parseApiExceptionFromSoapFault(Object(SoapFault))

#3 
/Users//***//Desktop/googleads-php-lib-master/src/Google/AdsApi/AdWords/v201609/cm/CampaignService.php(155):
 
Google\AdsApi\Common\AdsSoapClient->__soapCall('get', Array)

#4 /Users//***//Desktop/googleads-php-lib-master/GetCampaig in 
/Users/galamitai/Desktop/googleads-php-lib-master/src/Google/AdsApi/Common/Util/Reflection.php
 
on line 39



Can someone please advise?

 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/46f748a8-7d02-4680-a567-717e3bafa529%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • QuotaCheckError... Gal Amitai
    • Re: QuotaC... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum

Reply via email to