Class ExperimentServiceGrpc.ExperimentServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<ExperimentServiceGrpc.ExperimentServiceBlockingV2Stub>
com.google.ads.googleads.v23.services.ExperimentServiceGrpc.ExperimentServiceBlockingV2Stub
- Enclosing class:
- ExperimentServiceGrpc
public static final class ExperimentServiceGrpc.ExperimentServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<ExperimentServiceGrpc.ExperimentServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service ExperimentService.
Service to manage experiments.
-
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) com.google.protobuf.EmptyendExperiment(EndExperimentRequest request) Immediately ends an experiment, changing the experiment's scheduled end date and without waiting for end of day.com.google.protobuf.EmptyGraduates an experiment to a full campaign.Returns all errors that occurred during the last Experiment update (either scheduling or promotion).Creates, updates, or removes experiments.com.google.longrunning.OperationPromotes the trial campaign thus applying changes in the trial campaign to the base campaign.com.google.longrunning.OperationSchedule an experiment.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 ExperimentServiceGrpc.ExperimentServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ExperimentServiceGrpc.ExperimentServiceBlockingV2Stub>
-
mutateExperiments
public MutateExperimentsResponse mutateExperiments(MutateExperimentsRequest request) throws io.grpc.StatusException Creates, updates, or removes experiments. Operation statuses are returned. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [ExperimentError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]()
- Throws:
io.grpc.StatusException
-
endExperiment
public com.google.protobuf.Empty endExperiment(EndExperimentRequest request) throws io.grpc.StatusException Immediately ends an experiment, changing the experiment's scheduled end date and without waiting for end of day. End date is updated to be the time of the request. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [ExperimentError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]()
- Throws:
io.grpc.StatusException
-
listExperimentAsyncErrors
public ListExperimentAsyncErrorsResponse listExperimentAsyncErrors(ListExperimentAsyncErrorsRequest request) throws io.grpc.StatusException Returns all errors that occurred during the last Experiment update (either scheduling or promotion). Supports standard list paging. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]()
- Throws:
io.grpc.StatusException
-
graduateExperiment
public com.google.protobuf.Empty graduateExperiment(GraduateExperimentRequest request) throws io.grpc.StatusException Graduates an experiment to a full campaign. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [ExperimentError]() [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() [RequestError]()
- Throws:
io.grpc.StatusException
-
scheduleExperiment
public com.google.longrunning.Operation scheduleExperiment(ScheduleExperimentRequest request) throws io.grpc.StatusException Schedule an experiment. The in design campaign will be converted into a real campaign (called the experiment campaign) that will begin serving ads if successfully created. The experiment is scheduled immediately with status INITIALIZING. This method returns a long running operation that tracks the forking of the in design campaign. If the forking fails, a list of errors can be retrieved using the ListExperimentAsyncErrors method. The operation's metadata will be a string containing the resource name of the created experiment. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [ExperimentError]() [DatabaseError]() [DateError]() [DateRangeError]() [FieldError]() [HeaderError]() [InternalError]() [QuotaError]() [RangeError]() [RequestError]()
- Throws:
io.grpc.StatusException
-
promoteExperiment
public com.google.longrunning.Operation promoteExperiment(PromoteExperimentRequest request) throws io.grpc.StatusException Promotes the trial campaign thus applying changes in the trial campaign to the base campaign. This method returns a long running operation that tracks the promotion of the experiment campaign. If it fails, a list of errors can be retrieved using the ListExperimentAsyncErrors method. The operation's metadata will be a string containing the resource name of the created experiment. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [ExperimentError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]()
- Throws:
io.grpc.StatusException
-