google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
84 lines (83 loc) • 3.19 kB
TypeScript
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import type { MutateSharedCriteriaResponse } from "./shared_criterion_service";
import type { MutateSharedCriteriaRequest } from "./shared_criterion_service";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
/**
* Service to manage shared criteria.
*
* @generated from protobuf service google.ads.googleads.v11.services.SharedCriterionService
*/
export interface ISharedCriterionServiceClient {
/**
* Creates or removes shared criteria. Operation statuses are returned.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [CriterionError]()
* [DatabaseError]()
* [DistinctError]()
* [FieldError]()
* [HeaderError]()
* [IdError]()
* [InternalError]()
* [MutateError]()
* [NotEmptyError]()
* [NullError]()
* [OperatorError]()
* [QuotaError]()
* [RangeError]()
* [RequestError]()
* [ResourceCountLimitExceededError]()
* [SizeLimitError]()
* [StringFormatError]()
* [StringLengthError]()
*
* @generated from protobuf rpc: MutateSharedCriteria(google.ads.googleads.v11.services.MutateSharedCriteriaRequest) returns (google.ads.googleads.v11.services.MutateSharedCriteriaResponse);
*/
mutateSharedCriteria(input: MutateSharedCriteriaRequest, options?: RpcOptions): UnaryCall<MutateSharedCriteriaRequest, MutateSharedCriteriaResponse>;
}
/**
* Service to manage shared criteria.
*
* @generated from protobuf service google.ads.googleads.v11.services.SharedCriterionService
*/
export declare class SharedCriterionServiceClient implements ISharedCriterionServiceClient, 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 shared criteria. Operation statuses are returned.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [CriterionError]()
* [DatabaseError]()
* [DistinctError]()
* [FieldError]()
* [HeaderError]()
* [IdError]()
* [InternalError]()
* [MutateError]()
* [NotEmptyError]()
* [NullError]()
* [OperatorError]()
* [QuotaError]()
* [RangeError]()
* [RequestError]()
* [ResourceCountLimitExceededError]()
* [SizeLimitError]()
* [StringFormatError]()
* [StringLengthError]()
*
* @generated from protobuf rpc: MutateSharedCriteria(google.ads.googleads.v11.services.MutateSharedCriteriaRequest) returns (google.ads.googleads.v11.services.MutateSharedCriteriaResponse);
*/
mutateSharedCriteria(input: MutateSharedCriteriaRequest, options?: RpcOptions): UnaryCall<MutateSharedCriteriaRequest, MutateSharedCriteriaResponse>;
}