Constructs an instance of HttpJsonAdUnitServiceStub, using the given settings. This is
protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
Constructs an instance of HttpJsonAdUnitServiceStub, using the given settings. This is
protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This page details the `HttpJsonAdUnitServiceStub` class, which is a REST stub implementation for the AdUnitService API, intended for advanced usage and direct API interaction."],["The `HttpJsonAdUnitServiceStub` class inherits from `AdUnitServiceStub` and extends it with specific methods like `getAdUnitCallable()` and `listAdUnitsCallable()`, along with paged version of the latter."],["Static factory methods such as `create(AdUnitServiceStubSettings settings)`, `create(ClientContext clientContext)`, and `create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)` allow for the creation of `HttpJsonAdUnitServiceStub` instances with various configurations, including custom settings and context."],["The class includes methods like `close()`, `shutdown()`, `shutdownNow()`, `awaitTermination()`, `isShutdown()`, and `isTerminated()` to manage the lifecycle and termination of the service stub, which provides control over resource usage."],["There are multiple past versions of the stub implementation available, including one as early as 0.1.0 and going all the way up to the latest 0.19.0, and the page provides links to each version."]]],[]]