Class CampaignDraftServiceGrpc.CampaignDraftServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<CampaignDraftServiceGrpc.CampaignDraftServiceBlockingV2Stub>
com.google.ads.googleads.v18.services.CampaignDraftServiceGrpc.CampaignDraftServiceBlockingV2Stub
- Enclosing class:
- CampaignDraftServiceGrpc
public static final class CampaignDraftServiceGrpc.CampaignDraftServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<CampaignDraftServiceGrpc.CampaignDraftServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service CampaignDraftService.
Service to manage campaign drafts.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) Returns all errors that occurred during CampaignDraft promote.Creates, updates, or removes campaign drafts.com.google.longrunning.OperationPromotes the changes in a draft back to the base campaign.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected CampaignDraftServiceGrpc.CampaignDraftServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<CampaignDraftServiceGrpc.CampaignDraftServiceBlockingV2Stub>
-
mutateCampaignDrafts
Creates, updates, or removes campaign drafts. Operation statuses are returned. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [CampaignDraftError]() [DatabaseError]() [FieldError]() [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() [RequestError]()
-
promoteCampaignDraft
Promotes the changes in a draft back to the base campaign. This method returns a Long Running Operation (LRO) indicating if the Promote is done. Use [Operations.GetOperation] to poll the LRO until it is done. Only a done status is returned in the response. See the status in the Campaign Draft resource to determine if the promotion was successful. If the LRO failed, use [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v18.services.CampaignDraftService.ListCampaignDraftAsyncErrors] to view the list of error reasons. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [CampaignDraftError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]()
-
listCampaignDraftAsyncErrors
public ListCampaignDraftAsyncErrorsResponse listCampaignDraftAsyncErrors(ListCampaignDraftAsyncErrorsRequest request) Returns all errors that occurred during CampaignDraft promote. Throws an error if called before campaign draft is promoted. Supports standard list paging. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]()
-