Understand the AdGroupAdLabelService transport inheritance structure
mainThe AdGroupAdLabelService uses a specific inheritance hierarchy to support different communication protocols (gRPC vs. REST) and execution models (Synchronous vs. Asynchronous). When choosing a transport, select the class that matches your required protocol and concurrency model.
Available Transports
- gRPC (Synchronous): Use
AdGroupAdLabelServiceGrpcTransportfor standard synchronous gRPC calls. Defined ingrpc.py. - gRPC (Asynchronous): Use
AdGroupAdLabelServiceGrpcAsyncIOTransportfor non-blocking asynchronous gRPC calls usingasyncio. Defined ingrpc_asyncio.py. - REST (Synchronous): Use
AdGroupAdLabelServiceRestTransportfor standard synchronous REST calls. Defined inrest.py. This class usesMETHODinner classes derived from the private_BaseMETHODclasses. - REST (Base/Internal):
_BaseAdGroupAdLabelServiceRestTransportserves as the base for REST implementations and is not intended for direct public use. It is defined inrest_base.py.