Hello,

There is discrepancy in operations between request and response in BatchJob 
1142912.

BatchJob should contain 25000 operations but there are only 24000 in 
downloaded response.

Also meta information return by get method contains information only about 
24000 processed operations and empty processingErrors:

<?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/v201509";>
  <SOAP-ENV:Header>
    <ns1:RequestHeader>
      <ns1:clientCustomerId>9103447240</ns1:clientCustomerId>
       ...
    </ns1:RequestHeader>
  </SOAP-ENV:Header>
  <SOAP-ENV:Body>
    <ns1:get>
      <ns1:selector>
        <ns1:fields>Id</ns1:fields>
        <ns1:fields>Status</ns1:fields>
        <ns1:fields>DownloadUrl</ns1:fields>
        <ns1:fields>ProcessingErrors</ns1:fields>
        <ns1:fields>ProgressStats</ns1:fields>
        <ns1:predicates>
          <ns1:field>Id</ns1:field>
          <ns1:operator>EQUALS</ns1:operator>
          <ns1:values>1142912</ns1:values>
        </ns1:predicates>
      </ns1:selector>
    </ns1:get>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

HTTP/1.1 200 OK
Content-Type: text/xml; charset=UTF-8
Content-Encoding: gzip
Date: Tue, 19 Jan 2016 10:32:43 GMT
Expires: Tue, 19 Jan 2016 10:32:43 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Content-Length: 910
Server: GSE

<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
  <soap:Header>
    <ResponseHeader 
xmlns="https://adwords.google.com/api/adwords/cm/v201509";>
      <requestId>000529ad63c5b6810a0deb0133093fd7</requestId>
      <serviceName>BatchJobService</serviceName>
      <methodName>get</methodName>
      <operations>1</operations>
      <responseTime>74</responseTime>
    </ResponseHeader>
  </soap:Header>
  <soap:Body>
    <getResponse xmlns="https://adwords.google.com/api/adwords/cm/v201509";>
      <rval>
        <totalNumEntries>1</totalNumEntries>
        <Page.Type>BatchJobPage</Page.Type>
        <entries>
          <id>1142912</id>
          <status>DONE</status>
          <progressStats>
            <numOperationsExecuted>24000</numOperationsExecuted>
            <numOperationsSucceeded>24000</numOperationsSucceeded>
            <estimatedPercentExecuted>100</estimatedPercentExecuted>
            <numResultsWritten>24000</numResultsWritten>
          </progressStats>
          <downloadUrl>
            <url>...</url>
            <expiration>20160217 111202 America/New_York</expiration>
          </downloadUrl>
        </entries>
      </rval>
    </getResponse>
  </soap:Body>
</soap:Envelope>

The problem here is that it's impossible to save correctly Adword's objects 
ids in local database.

1. How correctly process such situations?

2. Is there any other instruments (may be Lables could help) which can help 
to synchronise local database of campaigns with Adwords more accurately?

Thanks!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d721a878-7313-4657-81c7-81e6486f84b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to