Class protos.google.ads.admanager.v1.ContentBundleService (0.6.0)

Represents a ContentBundleService

Inheritance

$protobuf.rpc.Service > protos.google.ads.admanager.v1.ContentBundleService

Package

@google-ads/admanager

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new ContentBundleService service.

Parameters
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ContentBundleService;

Creates new ContentBundleService service using the specified rpc implementation.

Parameters
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
Type Description
ContentBundleService

RPC service. Useful where requests and/or responses are streamed.

getContentBundle(request, callback)

public getContentBundle(request: google.ads.admanager.v1.IGetContentBundleRequest, callback: google.ads.admanager.v1.ContentBundleService.GetContentBundleCallback): void;

Calls GetContentBundle.

Parameters
Name Description
request IGetContentBundleRequest

GetContentBundleRequest message or plain object

callback GetContentBundleCallback

Node-style callback called with the error, if any, and ContentBundle

Returns
Type Description
void

getContentBundle(request)

public getContentBundle(request: google.ads.admanager.v1.IGetContentBundleRequest): Promise<google.ads.admanager.v1.ContentBundle>;

Calls GetContentBundle.

Parameter
Name Description
request IGetContentBundleRequest

GetContentBundleRequest message or plain object

Returns
Type Description
Promise<google.ads.admanager.v1.ContentBundle>

Promise

listContentBundles(request, callback)

public listContentBundles(request: google.ads.admanager.v1.IListContentBundlesRequest, callback: google.ads.admanager.v1.ContentBundleService.ListContentBundlesCallback): void;

Calls ListContentBundles.

Parameters
Name Description
request IListContentBundlesRequest

ListContentBundlesRequest message or plain object

callback ListContentBundlesCallback

Node-style callback called with the error, if any, and ListContentBundlesResponse

Returns
Type Description
void

listContentBundles(request)

public listContentBundles(request: google.ads.admanager.v1.IListContentBundlesRequest): Promise<google.ads.admanager.v1.ListContentBundlesResponse>;

Calls ListContentBundles.

Parameter
Name Description
request IListContentBundlesRequest

ListContentBundlesRequest message or plain object

Returns
Type Description
Promise<google.ads.admanager.v1.ListContentBundlesResponse>

Promise