Class ShareablePreviewServiceGrpc.ShareablePreviewServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<ShareablePreviewServiceGrpc.ShareablePreviewServiceStub>
com.google.ads.googleads.v25.services.ShareablePreviewServiceGrpc.ShareablePreviewServiceStub
- Enclosing class:
- ShareablePreviewServiceGrpc
public static final class ShareablePreviewServiceGrpc.ShareablePreviewServiceStub
extends io.grpc.stub.AbstractAsyncStub<ShareablePreviewServiceGrpc.ShareablePreviewServiceStub>
A stub to allow clients to do asynchronous rpc calls to service ShareablePreviewService.
Service to generate Shareable Previews. Only Performance Max asset groups and certain YouTube video/audio ad formats are supported. Other ad types, such as Responsive Search Ads or Responsive Display Ads, are not supported and return an `UNSUPPORTED_AD_TYPE` error. The generated preview URLs cannot be embedded in an iframe because the response headers include `X-Frame-Options: deny`.
-
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) voidgenerateShareablePreviews(GenerateShareablePreviewsRequest request, io.grpc.stub.StreamObserver<GenerateShareablePreviewsResponse> responseObserver) Returns the requested Shareable Preview.Methods inherited from class io.grpc.stub.AbstractAsyncStub
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 ShareablePreviewServiceGrpc.ShareablePreviewServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ShareablePreviewServiceGrpc.ShareablePreviewServiceStub>
-