Class protos.google.ads.admanager.v1.ThirdPartyCompanyService (0.7.0)

Represents a ThirdPartyCompanyService

Inheritance

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

Package

@google-ads/admanager

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new ThirdPartyCompanyService 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): ThirdPartyCompanyService;

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

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

getThirdPartyCompany(request, callback)

public getThirdPartyCompany(request: google.ads.admanager.v1.IGetThirdPartyCompanyRequest, callback: google.ads.admanager.v1.ThirdPartyCompanyService.GetThirdPartyCompanyCallback): void;

Calls GetThirdPartyCompany.

Parameters
Name Description
request IGetThirdPartyCompanyRequest

GetThirdPartyCompanyRequest message or plain object

callback GetThirdPartyCompanyCallback

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

Returns
Type Description
void

getThirdPartyCompany(request)

public getThirdPartyCompany(request: google.ads.admanager.v1.IGetThirdPartyCompanyRequest): Promise<google.ads.admanager.v1.ThirdPartyCompany>;

Calls GetThirdPartyCompany.

Parameter
Name Description
request IGetThirdPartyCompanyRequest

GetThirdPartyCompanyRequest message or plain object

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

Promise

listThirdPartyCompanies(request, callback)

public listThirdPartyCompanies(request: google.ads.admanager.v1.IListThirdPartyCompaniesRequest, callback: google.ads.admanager.v1.ThirdPartyCompanyService.ListThirdPartyCompaniesCallback): void;

Calls ListThirdPartyCompanies.

Parameters
Name Description
request IListThirdPartyCompaniesRequest

ListThirdPartyCompaniesRequest message or plain object

callback ListThirdPartyCompaniesCallback

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

Returns
Type Description
void

listThirdPartyCompanies(request)

public listThirdPartyCompanies(request: google.ads.admanager.v1.IListThirdPartyCompaniesRequest): Promise<google.ads.admanager.v1.ListThirdPartyCompaniesResponse>;

Calls ListThirdPartyCompanies.

Parameter
Name Description
request IListThirdPartyCompaniesRequest

ListThirdPartyCompaniesRequest message or plain object

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

Promise