Class ShareablePreviewServiceGrpc.ShareablePreviewServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<ShareablePreviewServiceGrpc.ShareablePreviewServiceBlockingStub>
com.google.ads.googleads.v25.services.ShareablePreviewServiceGrpc.ShareablePreviewServiceBlockingStub
- Enclosing class:
- ShareablePreviewServiceGrpc
public static final class ShareablePreviewServiceGrpc.ShareablePreviewServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<ShareablePreviewServiceGrpc.ShareablePreviewServiceBlockingStub>
A stub to allow clients to do limited synchronous 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) Returns the requested Shareable Preview.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 ShareablePreviewServiceGrpc.ShareablePreviewServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ShareablePreviewServiceGrpc.ShareablePreviewServiceBlockingStub>
-