Batch Job Service in Google Ads API

82 views
Skip to first unread message

Piyush Kumar

unread,
Nov 24, 2021, 4:04:15 AM11/24/21
to AdWords API and Google Ads API Forum
Hi Team,

I am planning to use the batch job service for Google Ads API. I have few queries related to the same : 

1. Some of the jobs have reached to terminal state i.e. DONE/FAILED, but there are still some jobs which are in PENDING state for that batch. At this time will the status of Batch Job be Success or PENDING?
2. Some of the jobs have reached to terminal state i.e. DONE/FAILED, but there are still some jobs which are in PENDING state for that batch. At this time, I want to cancel all the PENDING Jobs in that batch, is it possible?
3. Some of the jobs have reached to terminal state i.e. DONE/FAILED, but there are still some jobs which are in PENDING state for that batch. At this time what will happen if I cancel all the jobs of that batch, Will the DONE jobs be rollback?

Google Ads API Forum Advisor

unread,
Nov 24, 2021, 3:45:06 PM11/24/21
to piyush...@gmail.com, adwor...@googlegroups.com
Hi Piyush,

Is there a reason you aren't using bulk mutates using GoogleAdsService.Mutate instead? Cancelling a job is not currently supported.

For the batch jobs that is pending, could you privately send us a request and response log of API communication that returns this? 

The request and response appears similar to the JSON Mappings in our REST documentation. Our client libraries have loggers with logging instructions, to see these instructions you can click on the client library you use in the sidebar of our client library guide and click on "Logging". Setting the logger to 'DEBUG' will get the desired log.

Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021 Google Ads API and AdWords API Annual Survey
 
Regards,
 
Google Logo
Aryeh Baker
Google Ads API Team
 


ref:_00D1U1174p._5004Q2RvrZV:ref
Reply all
Reply to author
Forward
0 new messages