google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
94 lines (93 loc) • 3.21 kB
TypeScript
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import type { MutateFeedsResponse } from "./feed_service";
import type { MutateFeedsRequest } from "./feed_service";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
/**
* Service to manage feeds.
*
* @generated from protobuf service google.ads.googleads.v11.services.FeedService
*/
export interface IFeedServiceClient {
/**
* Creates, updates, or removes feeds. Operation statuses are
* returned.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [CollectionSizeError]()
* [DatabaseError]()
* [DistinctError]()
* [FeedError]()
* [FieldError]()
* [FieldMaskError]()
* [HeaderError]()
* [IdError]()
* [InternalError]()
* [ListOperationError]()
* [MutateError]()
* [NewResourceCreationError]()
* [NotEmptyError]()
* [NullError]()
* [OperatorError]()
* [QuotaError]()
* [RangeError]()
* [RequestError]()
* [ResourceCountLimitExceededError]()
* [SizeLimitError]()
* [StringFormatError]()
* [StringLengthError]()
*
* @generated from protobuf rpc: MutateFeeds(google.ads.googleads.v11.services.MutateFeedsRequest) returns (google.ads.googleads.v11.services.MutateFeedsResponse);
*/
mutateFeeds(input: MutateFeedsRequest, options?: RpcOptions): UnaryCall<MutateFeedsRequest, MutateFeedsResponse>;
}
/**
* Service to manage feeds.
*
* @generated from protobuf service google.ads.googleads.v11.services.FeedService
*/
export declare class FeedServiceClient implements IFeedServiceClient, 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 feeds. Operation statuses are
* returned.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [CollectionSizeError]()
* [DatabaseError]()
* [DistinctError]()
* [FeedError]()
* [FieldError]()
* [FieldMaskError]()
* [HeaderError]()
* [IdError]()
* [InternalError]()
* [ListOperationError]()
* [MutateError]()
* [NewResourceCreationError]()
* [NotEmptyError]()
* [NullError]()
* [OperatorError]()
* [QuotaError]()
* [RangeError]()
* [RequestError]()
* [ResourceCountLimitExceededError]()
* [SizeLimitError]()
* [StringFormatError]()
* [StringLengthError]()
*
* @generated from protobuf rpc: MutateFeeds(google.ads.googleads.v11.services.MutateFeedsRequest) returns (google.ads.googleads.v11.services.MutateFeedsResponse);
*/
mutateFeeds(input: MutateFeedsRequest, options?: RpcOptions): UnaryCall<MutateFeedsRequest, MutateFeedsResponse>;
}