Hi.

I've problem with TOO_MANY_JOBS_IN_QUEUE error.
As I understand I've many jobs in PENDING or PROCESSING states.

I don't know their IDs and want to get all  jobs within current
Adwords account and terminate them with REMOVE operator.

Regarding your documentation
http://code.google.com/intl/ru-RU/apis/adwords/docs/reference/latest/BulkMutateJobService.BulkMutateJobSelector.html

Quote:
"The list of jobs, specified by IDs, to be selected. An empty list
indicates all jobs for the effective customer should be selected. This
field must contain distinct elements. This field must not contain null
elements."

But If I'm sending empty list - your server tell me that this field
not should be empty.
Where is error? In my code, your documentation, or your code?

If my idea about loading list of all Jobs is impossible - how I can
stop current jobs without knowledge of their IDs? Do they have some
lifetime?

This is query to your server:
<?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/
v201101" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  <SOAP-ENV:Header>
    <ns1:RequestHeader xsi:type="ns1:RequestHeader">
      <ns1:authToken>****ZxrJIgbIx</ns1:authToken>
      <ns1:clientCustomerId>******4590</ns1:clientCustomerId>
      <ns1:developerToken>*********0SQ-UA</ns1:developerToken>
      <ns1:userAgent>AwApi-PHP-2.5.1-Car Ads script v.0.5</
ns1:userAgent>
    </ns1:RequestHeader>
  </SOAP-ENV:Header>
  <SOAP-ENV:Body>
    <ns1:get>
        <ns1:selector xmlns:ns2="https://adwords.google.com/api/
adwords/cm/v201101" xsi:type="ns2:BulkMutateJobSelector"><ns1:jobIds/
></ns1:selector>
    </ns1:get>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

And this is answer from your server (FYI: RequestID is
bab7cb286d8d8bbf97b03e7216acd6d1):

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/
envelope/"><soap:Header><ResponseHeader xmlns="https://
adwords.google.com/api/adwords/cm/
v201101"><requestId>bab7cb286d8d8bbf97b03e7216acd6d1</
requestId><operations>1</operations><responseTime>387</
responseTime><units>1</units></ResponseHeader></
soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</
faultcode><faultstring>[NotEmptyError.EMPTY_LIST @ selector.jobIds]</
faultstring><detail><ApiExceptionFault xmlns="https://
adwords.google.com/api/adwords/cm/
v201101"><message>[NotEmptyError.EMPTY_LIST @ selector.jobIds]</
message><ApplicationException.Type>ApiException</
ApplicationException.Type><errors xmlns:xsi="http://www.w3.org/2001/
XMLSchema-instance"
xsi:type="NotEmptyError"><fieldPath>selector.jobIds</
fieldPath><trigger></trigger><errorString>NotEmptyError.EMPTY_LIST</
errorString><ApiError.Type>NotEmptyError</
ApiError.Type><reason>EMPTY_LIST</reason></errors></
ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope>

I appreciate if you will give me answer ASAP, I'm in a time rush with
this project.

Regards,

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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

Reply via email to