Hi Dannison,

Thanks for your reply. As I mentioned, I have already canceled all jobs 
possible jobs, including any jobs in the AWAITING_FILE or ACTIVE status. I 
am aware of the 1GB limit and that is why I said there is no apparent 
reason for this error.

I have tried creating a BatchJob for the mentioned account (removing 
developerToken and formatting for readability):

2018-07-05 10:26:38,578 [DEBUG] (zeep.transports): HTTP Post to 
https://adwords.google.com/api/adwords/cm/v201806/BatchJobService:
<?xml version='1.0' encoding='utf-8'?>
<soap-env:Envelope 
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/";>
<soap-env:Header>
<ns0:RequestHeader 
xmlns:ns0="https://adwords.google.com/api/adwords/cm/v201806";>
<ns0:clientCustomerId>3059861169</ns0:clientCustomerId>
<ns0:developerToken></ns0:developerToken>
<ns0:userAgent>unknown (AwApi-Python, googleads/12.2.0, Python/3.6.2, 
zeep)</ns0:userAgent>
<ns0:validateOnly>false</ns0:validateOnly>
<ns0:partialFailure>false</ns0:partialFailure>
</ns0:RequestHeader>
</soap-env:Header>
<soap-env:Body>
<ns0:mutate xmlns:ns0="https://adwords.google.com/api/adwords/cm/v201806";>
<ns0:operations>
<ns0:operator>ADD</ns0:operator>
<ns0:operand/>
</ns0:operations>
</ns0:mutate>
</soap-env:Body>
</soap-env:Envelope>

Only to get the following reply:

2018-07-05 10:26:38,991 [DEBUG] (zeep.transports): HTTP Response from 
https://adwords.google.com/api/adwords/cm/v201806/BatchJobService (status: 
500):
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
<soap:Header>
<ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201806";>
<requestId>000570407f4052880a375a416d0d108d</requestId>
<serviceName>BatchJobService</serviceName>
<methodName>mutate</methodName>
<operations>1</operations>
<responseTime>129</responseTime>
</ResponseHeader>
</soap:Header>
<soap:Body>
<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>[BatchJobError.DISK_QUOTA_EXCEEDED @ 
operations[0]]</faultstring>
<detail>
<ApiExceptionFault 
xmlns="https://adwords.google.com/api/adwords/cm/v201806";>
<message>[BatchJobError.DISK_QUOTA_EXCEEDED @ operations[0]]</message>
<ApplicationException.Type>ApiException</ApplicationException.Type>
<errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="BatchJobError">
<fieldPath>operations[0]</fieldPath>
<fieldPathElements>
<field>operations</field>
<index>0</index>
</fieldPathElements>
<trigger/>
<errorString>BatchJobError.DISK_QUOTA_EXCEEDED</errorString>
<ApiError.Type>BatchJobError</ApiError.Type>
<reason>DISK_QUOTA_EXCEEDED</reason>
</errors>
</ApiExceptionFault>
</detail>
</soap:Fault>
</soap:Body>
</soap:Envelope>

As you can see, there is no information about the current used quota. I 
have checked for all previously created BatchJobs in this account and all 
of them are in the CANCELED or DONE status. Canceling jobs does not seem to 
do the trick. My other accounts work fine, this one is the only problematic 
one. I can't see any reason why there would be any disk quota used. 

If you have any other insights that I can try, I would really appreciate.

Regards,

Sam


On Thursday, July 5, 2018 at 2:42:35 AM UTC-3, Dannison Yao (AdWords API 
Team) wrote:
>
> Hi Sam,
>
> The error BatchJobError.DISK_QUOTA_EXCEEDED 
> <https://developers.google.com/adwords/api/docs/appendix/limits#batch-job> is 
> encountered when you have reached the size limit for batch job operations 
> which is a total of 1GB. What you could do is check for the 
> diskUsageQuotaBalance 
> <https://developers.google.com/adwords/api/docs/reference/v201806/BatchJobService.BatchJob#diskusagequotabalance>
>  which 
> will return the disk quota balance of the batch job's customer in KB. You 
> can check and cancel the batch jobs in the AWAITING_FILE or ACTIVE status 
> and retry the request or you could wait until the size of pending 
> operations falls below the limit before creating new jobs.
>
> Regards,
> Dannison
> 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 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 and Google Ads 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/021a79ce-84e9-481f-a185-2049fb39f2c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... Samuel Barbosa
    • ... 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
      • ... Samuel Barbosa
      • ... Alan Justino da Silva
        • ... 'Josh Radcliff (AdWords API Team)' via AdWords API and Google Ads API Forum
          • ... 'Josh Radcliff (AdWords API Team)' via AdWords API and Google Ads API Forum
            • ... Samuel Barbosa
              • ... Samuel Barbosa
                • ... 'Josh Radcliff (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to