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.86 kB
import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import type { MutateCustomerNegativeCriteriaResponse } from "./customer_negative_criterion_service"; import type { MutateCustomerNegativeCriteriaRequest } from "./customer_negative_criterion_service"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * Service to manage customer negative criteria. * * @generated from protobuf service google.ads.googleads.v11.services.CustomerNegativeCriterionService */ export interface ICustomerNegativeCriterionServiceClient { /** * Creates or removes criteria. Operation statuses are returned. * * List of thrown errors: * [AuthenticationError]() * [AuthorizationError]() * [CriterionError]() * [DatabaseError]() * [FieldError]() * [HeaderError]() * [InternalError]() * [MutateError]() * [QuotaError]() * [RequestError]() * * @generated from protobuf rpc: MutateCustomerNegativeCriteria(google.ads.googleads.v11.services.MutateCustomerNegativeCriteriaRequest) returns (google.ads.googleads.v11.services.MutateCustomerNegativeCriteriaResponse); */ mutateCustomerNegativeCriteria(input: MutateCustomerNegativeCriteriaRequest, options?: RpcOptions): UnaryCall<MutateCustomerNegativeCriteriaRequest, MutateCustomerNegativeCriteriaResponse>; } /** * Service to manage customer negative criteria. * * @generated from protobuf service google.ads.googleads.v11.services.CustomerNegativeCriterionService */ export declare class CustomerNegativeCriterionServiceClient implements ICustomerNegativeCriterionServiceClient, 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 or removes criteria. Operation statuses are returned. * * List of thrown errors: * [AuthenticationError]() * [AuthorizationError]() * [CriterionError]() * [DatabaseError]() * [FieldError]() * [HeaderError]() * [InternalError]() * [MutateError]() * [QuotaError]() * [RequestError]() * * @generated from protobuf rpc: MutateCustomerNegativeCriteria(google.ads.googleads.v11.services.MutateCustomerNegativeCriteriaRequest) returns (google.ads.googleads.v11.services.MutateCustomerNegativeCriteriaResponse); */ mutateCustomerNegativeCriteria(input: MutateCustomerNegativeCriteriaRequest, options?: RpcOptions): UnaryCall<MutateCustomerNegativeCriteriaRequest, MutateCustomerNegativeCriteriaResponse>; }