Class protos.google.ads.admanager.v1.CreativeSetService (0.14.1)

Represents a CreativeSetService

Inheritance

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

Package

@google-ads/admanager

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

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

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

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

createCreativeSet(request, callback)

public createCreativeSet(request: google.ads.admanager.v1.ICreateCreativeSetRequest, callback: google.ads.admanager.v1.CreativeSetService.CreateCreativeSetCallback): void;

Calls CreateCreativeSet.

Parameters
Name Description
request ICreateCreativeSetRequest

CreateCreativeSetRequest message or plain object

callback CreateCreativeSetCallback

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

Returns
Type Description
void

createCreativeSet(request)

public createCreativeSet(request: google.ads.admanager.v1.ICreateCreativeSetRequest): Promise<google.ads.admanager.v1.CreativeSet>;

Calls CreateCreativeSet.

Parameter
Name Description
request ICreateCreativeSetRequest

CreateCreativeSetRequest message or plain object

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

Promise

getCreativeSet(request, callback)

public getCreativeSet(request: google.ads.admanager.v1.IGetCreativeSetRequest, callback: google.ads.admanager.v1.CreativeSetService.GetCreativeSetCallback): void;

Calls GetCreativeSet.

Parameters
Name Description
request IGetCreativeSetRequest

GetCreativeSetRequest message or plain object

callback GetCreativeSetCallback

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

Returns
Type Description
void

getCreativeSet(request)

public getCreativeSet(request: google.ads.admanager.v1.IGetCreativeSetRequest): Promise<google.ads.admanager.v1.CreativeSet>;

Calls GetCreativeSet.

Parameter
Name Description
request IGetCreativeSetRequest

GetCreativeSetRequest message or plain object

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

Promise

listCreativeSets(request, callback)

public listCreativeSets(request: google.ads.admanager.v1.IListCreativeSetsRequest, callback: google.ads.admanager.v1.CreativeSetService.ListCreativeSetsCallback): void;

Calls ListCreativeSets.

Parameters
Name Description
request IListCreativeSetsRequest

ListCreativeSetsRequest message or plain object

callback ListCreativeSetsCallback

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

Returns
Type Description
void

listCreativeSets(request)

public listCreativeSets(request: google.ads.admanager.v1.IListCreativeSetsRequest): Promise<google.ads.admanager.v1.ListCreativeSetsResponse>;

Calls ListCreativeSets.

Parameter
Name Description
request IListCreativeSetsRequest

ListCreativeSetsRequest message or plain object

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

Promise

updateCreativeSet(request, callback)

public updateCreativeSet(request: google.ads.admanager.v1.IUpdateCreativeSetRequest, callback: google.ads.admanager.v1.CreativeSetService.UpdateCreativeSetCallback): void;

Calls UpdateCreativeSet.

Parameters
Name Description
request IUpdateCreativeSetRequest

UpdateCreativeSetRequest message or plain object

callback UpdateCreativeSetCallback

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

Returns
Type Description
void

updateCreativeSet(request)

public updateCreativeSet(request: google.ads.admanager.v1.IUpdateCreativeSetRequest): Promise<google.ads.admanager.v1.CreativeSet>;

Calls UpdateCreativeSet.

Parameter
Name Description
request IUpdateCreativeSetRequest

UpdateCreativeSetRequest message or plain object

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

Promise