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

Represents an AdReviewCenterAdService

Inheritance

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

Package

@google-ads/admanager

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new AdReviewCenterAdService service.

Parameters
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

batchAllowAdReviewCenterAds(request, callback)

public batchAllowAdReviewCenterAds(request: google.ads.admanager.v1.IBatchAllowAdReviewCenterAdsRequest, callback: google.ads.admanager.v1.AdReviewCenterAdService.BatchAllowAdReviewCenterAdsCallback): void;

Calls BatchAllowAdReviewCenterAds.

Parameters
Name Description
request IBatchAllowAdReviewCenterAdsRequest

BatchAllowAdReviewCenterAdsRequest message or plain object

callback BatchAllowAdReviewCenterAdsCallback

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

Returns
Type Description
void

batchAllowAdReviewCenterAds(request)

public batchAllowAdReviewCenterAds(request: google.ads.admanager.v1.IBatchAllowAdReviewCenterAdsRequest): Promise<google.longrunning.Operation>;

Calls BatchAllowAdReviewCenterAds.

Parameter
Name Description
request IBatchAllowAdReviewCenterAdsRequest

BatchAllowAdReviewCenterAdsRequest message or plain object

Returns
Type Description
Promise<google.longrunning.Operation>

Promise

batchBlockAdReviewCenterAds(request, callback)

public batchBlockAdReviewCenterAds(request: google.ads.admanager.v1.IBatchBlockAdReviewCenterAdsRequest, callback: google.ads.admanager.v1.AdReviewCenterAdService.BatchBlockAdReviewCenterAdsCallback): void;

Calls BatchBlockAdReviewCenterAds.

Parameters
Name Description
request IBatchBlockAdReviewCenterAdsRequest

BatchBlockAdReviewCenterAdsRequest message or plain object

callback BatchBlockAdReviewCenterAdsCallback

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

Returns
Type Description
void

batchBlockAdReviewCenterAds(request)

public batchBlockAdReviewCenterAds(request: google.ads.admanager.v1.IBatchBlockAdReviewCenterAdsRequest): Promise<google.longrunning.Operation>;

Calls BatchBlockAdReviewCenterAds.

Parameter
Name Description
request IBatchBlockAdReviewCenterAdsRequest

BatchBlockAdReviewCenterAdsRequest message or plain object

Returns
Type Description
Promise<google.longrunning.Operation>

Promise

create(rpcImpl, requestDelimited, responseDelimited)

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

Creates new AdReviewCenterAdService 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
AdReviewCenterAdService

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

searchAdReviewCenterAds(request, callback)

public searchAdReviewCenterAds(request: google.ads.admanager.v1.ISearchAdReviewCenterAdsRequest, callback: google.ads.admanager.v1.AdReviewCenterAdService.SearchAdReviewCenterAdsCallback): void;

Calls SearchAdReviewCenterAds.

Parameters
Name Description
request ISearchAdReviewCenterAdsRequest

SearchAdReviewCenterAdsRequest message or plain object

callback SearchAdReviewCenterAdsCallback

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

Returns
Type Description
void

searchAdReviewCenterAds(request)

public searchAdReviewCenterAds(request: google.ads.admanager.v1.ISearchAdReviewCenterAdsRequest): Promise<google.ads.admanager.v1.SearchAdReviewCenterAdsResponse>;

Calls SearchAdReviewCenterAds.

Parameter
Name Description
request ISearchAdReviewCenterAdsRequest

SearchAdReviewCenterAdsRequest message or plain object

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

Promise