UNPKG

google-ads-api-client

Version:

A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.

64 lines (63 loc) 2.6 kB
import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import type { MutateCustomerLabelsResponse } from "./customer_label_service"; import type { MutateCustomerLabelsRequest } from "./customer_label_service"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * Service to manage labels on customers. * * @generated from protobuf service google.ads.googleads.v11.services.CustomerLabelService */ export interface ICustomerLabelServiceClient { /** * Creates and removes customer-label relationships. * Operation statuses are returned. * * List of thrown errors: * [AuthenticationError]() * [AuthorizationError]() * [DatabaseError]() * [HeaderError]() * [InternalError]() * [LabelError]() * [MutateError]() * [QuotaError]() * [RequestError]() * * @generated from protobuf rpc: MutateCustomerLabels(google.ads.googleads.v11.services.MutateCustomerLabelsRequest) returns (google.ads.googleads.v11.services.MutateCustomerLabelsResponse); */ mutateCustomerLabels(input: MutateCustomerLabelsRequest, options?: RpcOptions): UnaryCall<MutateCustomerLabelsRequest, MutateCustomerLabelsResponse>; } /** * Service to manage labels on customers. * * @generated from protobuf service google.ads.googleads.v11.services.CustomerLabelService */ export declare class CustomerLabelServiceClient implements ICustomerLabelServiceClient, 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 and removes customer-label relationships. * Operation statuses are returned. * * List of thrown errors: * [AuthenticationError]() * [AuthorizationError]() * [DatabaseError]() * [HeaderError]() * [InternalError]() * [LabelError]() * [MutateError]() * [QuotaError]() * [RequestError]() * * @generated from protobuf rpc: MutateCustomerLabels(google.ads.googleads.v11.services.MutateCustomerLabelsRequest) returns (google.ads.googleads.v11.services.MutateCustomerLabelsResponse); */ mutateCustomerLabels(input: MutateCustomerLabelsRequest, options?: RpcOptions): UnaryCall<MutateCustomerLabelsRequest, MutateCustomerLabelsResponse>; }