I noticed in the PHP library, BatchJobUtils' constructor has a
required $uploadUrl param. *Isn't upload URL unnecessary when polling a
In my case, I am using a queue system to poll the batch job.
Since I can't get the upload URL using BatchJobService->get (Doc says "This
field is only returned when calling BatchJobService.mutate
with an ADD operation."),
*it means that I have to store the redundant upload URL in my database.
Please let me know if this is true.*
Sample code for downloading batch job results:
$batchJobUtils = new \BatchJobUtils(*$batchJob->uploadUrl->url*);
if ($batchJob->downloadUrl !== null && $batchJob->downloadUrl->url !==
Reading the Java sample code, instead of BatchJobUtils it's BatchJobHelper.
BatchJobHelper does not have the required upload URL param.
AdWordsSession session = new
BatchJobHelper batchJobHelper = new BatchJobHelper(session);
Also find us on our blog and Google+:
You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to firstname.lastname@example.org
To unsubscribe from this group, send email to
For more options, visit this group at
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
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.