google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
90 lines (89 loc) • 3.27 kB
TypeScript
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import type { MutateSharedSetsResponse } from "./shared_set_service";
import type { MutateSharedSetsRequest } from "./shared_set_service";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
/**
* Service to manage shared sets.
*
* @generated from protobuf service google.ads.googleads.v11.services.SharedSetService
*/
export interface ISharedSetServiceClient {
/**
* Creates, updates, or removes shared sets. Operation statuses are returned.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [DatabaseError]()
* [DateError]()
* [DistinctError]()
* [FieldError]()
* [FieldMaskError]()
* [HeaderError]()
* [IdError]()
* [InternalError]()
* [MutateError]()
* [NewResourceCreationError]()
* [NotEmptyError]()
* [NullError]()
* [OperatorError]()
* [QuotaError]()
* [RangeError]()
* [RequestError]()
* [ResourceCountLimitExceededError]()
* [SharedSetError]()
* [SizeLimitError]()
* [StringFormatError]()
* [StringLengthError]()
*
* @generated from protobuf rpc: MutateSharedSets(google.ads.googleads.v11.services.MutateSharedSetsRequest) returns (google.ads.googleads.v11.services.MutateSharedSetsResponse);
*/
mutateSharedSets(input: MutateSharedSetsRequest, options?: RpcOptions): UnaryCall<MutateSharedSetsRequest, MutateSharedSetsResponse>;
}
/**
* Service to manage shared sets.
*
* @generated from protobuf service google.ads.googleads.v11.services.SharedSetService
*/
export declare class SharedSetServiceClient implements ISharedSetServiceClient, ServiceInfo {
private readonly _transport;
typeName: string;
methods: import("@protobuf-ts/runtime-rpc").MethodInfo<any, any>[];
options: {
[extensionName: string]: import("@protobuf-ts/runtime").JsonValue;
};
constructor(_transport: RpcTransport);
/**
* Creates, updates, or removes shared sets. Operation statuses are returned.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [DatabaseError]()
* [DateError]()
* [DistinctError]()
* [FieldError]()
* [FieldMaskError]()
* [HeaderError]()
* [IdError]()
* [InternalError]()
* [MutateError]()
* [NewResourceCreationError]()
* [NotEmptyError]()
* [NullError]()
* [OperatorError]()
* [QuotaError]()
* [RangeError]()
* [RequestError]()
* [ResourceCountLimitExceededError]()
* [SharedSetError]()
* [SizeLimitError]()
* [StringFormatError]()
* [StringLengthError]()
*
* @generated from protobuf rpc: MutateSharedSets(google.ads.googleads.v11.services.MutateSharedSetsRequest) returns (google.ads.googleads.v11.services.MutateSharedSetsResponse);
*/
mutateSharedSets(input: MutateSharedSetsRequest, options?: RpcOptions): UnaryCall<MutateSharedSetsRequest, MutateSharedSetsResponse>;
}