BatchJobService: Create ImageAd

27 views
Skip to first unread message

Юрий Ильченко

unread,
Apr 13, 2016, 7:52:58 AM4/13/16
to AdWords API Forum
Hi.
I Can't create ImageAd in BatchJobService.
EROOR:
fieldPath = operations[0].operand.ad.image.data

EROOR:
fieldPath = operations[0].operand.ad.image.data


I send this Data:

[Apr 13 2016 14:32:03.000000 - INFO] effectiveUser= service=BatchJobService method=get operators={EQUALS: 1} responseTime=102 requestId=0005305c28a546f00ac14ce2d4001834 operations=1 units= server=adwords.google.com isFault=false faultMessage=null

With AdGroupAdService all ok.

Thank.

Michael Cloonan (AdWords API Team)

unread,
Apr 13, 2016, 10:22:21 AM4/13/16
to AdWords API Forum
Hello,

Can you please provide example XML, both for the working request with AdGroupService and the one that doesn't work using BatchJobService? Also, please let me know the batch job ID for the job that includes the failing operation.

This extra info will greatly aid in troubleshooting what may be going wrong.

Regards,
Mike, AdWords API Team

Юрий Ильченко

unread,
Apr 14, 2016, 3:27:20 AM4/14/16
to AdWords API Forum
Hi!
<< please let me know the batch job ID

<?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/v201601">
<requestId>0005305c28a546f00ac14ce2d4001834</requestId>
<serviceName>BatchJobService</serviceName>
<methodName>get</methodName>
<operations>1</operations>
<responseTime>102</responseTime>
</ResponseHeader>
</soap:Header>
<soap:Body>
<getResponse xmlns="https://adwords.google.com/api/adwords/cm/v201601">
<rval>
<totalNumEntries>1</totalNumEntries>
<Page.Type>BatchJobPage</Page.Type>
<entries>
<id>65436339</id>
<status>DONE</status>
<progressStats>
<numOperationsExecuted>3</numOperationsExecuted>
<numOperationsSucceeded>0</numOperationsSucceeded>
<estimatedPercentExecuted>100</estimatedPercentExecuted>
<numResultsWritten>3</numResultsWritten>
</progressStats>
<downloadUrl>
<url>https://batch-job-download-prod-ebe9b43.storage.googleapis.com/134719366/65436339.results.xml?GoogleAccessId=926043054183-rbu1gkdus...@developer.gserviceaccount.com&amp;Expires=1463139203&amp;Signature=CsLpXEoA7wcfu3kJKxVukzwBrk%2F80IGD7qUS5cjSGj2x2NrxTzPVzMKyqTwcw42d7mSK8OqLBCUcUcP%2FakTD5b1CcmMc%2FTlEliRPMUprL6rrSOnZtT2cl5gz0tcJMtpGT7TVtGn3T%2F2rRruDuwY0LQtBvcPa8bsAnG9fbwEMwbvi9mPNr5dKiTGlgTjw8owKIBYUBCgoe3R8cTru5YjaNyNBWIcI2kMuuEXON37Y9zIQ7QhBVmJsygxuDN%2Ba7SedZgU0PHCAykIuVUTbO7ewMUH9%2Bww5N3nzspmzg10Ay%2FHFX0locuaZHq7qEp7l70bE596X43pBZ%2BAeJwqVJ6cgdQ%3D%3D</url>
<expiration>20160513 143323 Europe/Kiev</expiration>
</downloadUrl>
</entries>
</rval>
</getResponse>
</soap:Body>
</soap:Envelope>





среда, 13 апреля 2016 г., 14:52:58 UTC+3 пользователь Юрий Ильченко написал:
Reply all
Reply to author
Forward
0 new messages