AI-generated Key Takeaways
-
The
RunBatchJob
RPC method runs a batch job using aRunBatchJobRequest
and returns a long-runningOperation
whose metadata type isBatchJobMetadata
. -
Upon completion, the long-running operation will not contain errors or a response; instead, the results should be retrieved using
ListBatchJobResults
. -
Running a batch job requires the
https://www.googleapis.com/auth/adwords
OAuth scope for authorization. -
The
RunBatchJob
method can throw various errors includingAuthenticationError
,AuthorizationError
,BatchJobError
,HeaderError
,InternalError
,QuotaError
, andRequestError
.
RunBatchJob |
|
---|---|
Runs the batch job. The Operation.metadata field type is BatchJobMetadata. When finished, the long running operation will not contain errors or a response. Instead, use ListBatchJobResults to get the results of the job. List of thrown errors: AuthenticationError AuthorizationError BatchJobError HeaderError InternalError QuotaError RequestError |
- Authorization scopes
-
Requires the following OAuth scope:
https://www.googleapis.com/auth/adwords
For more information, see the OAuth 2.0 Overview.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-26 UTC.