Hi All, I have updated my old code into the new version v201705.
//Bulk Adwords functions public function createBatchJob($clientId, $operations) { $oAuth2Credential = (new OAuth2TokenBuilder()) ->fromFile() ->build(); // Construct an API session configured from a properties file and the OAuth2 // credentials above. $session = (new AdWordsSessionBuilder()) ->fromFile() ->withOAuth2Credential($oAuth2Credential) ->withClientCustomerId($clientId) ->build(); $adWordsServices = new AdWordsServices(); $batchJobService = $adWordsServices->get($session, BatchJobService::class); // Create a BatchJob. $addOp = new BatchJobOperation(); $addOp->setOperator(Operator::ADD); $addOp->setOperand(new BatchJob()); $result = $batchJobService->mutate([$addOp]); $batchJob = $result->getValue()[0]; $uploadUrl = $batchJob->getUploadUrl()->getUrl(); $batchJobs = new BatchJobs($session); $batchJobs->uploadBatchJobOperations($operations, $uploadUrl); if (!empty($batchJob->getUploadUrl()->getUrl())) { $jobDetails = new stdClass(); $jobDetails->job_id = $batchJob->getId(); $jobDetails->client_id = $clientId; return $jobDetails; } } The following code gets a unique batch job id but doesn't mutate objects (like pausing or unpausing campaigns) in Google Server. For example, I get batch job ids with status AWAITING FILE and it seems never changes. Please help with it. Thanks, Kanan -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/13335707-0bc9-495a-965d-6666e6dbef84%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.