google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
96 lines (95 loc) • 3.33 kB
TypeScript
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import type { MutateFeedItemsResponse } from "./feed_item_service";
import type { MutateFeedItemsRequest } from "./feed_item_service";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
/**
* Service to manage feed items.
*
* @generated from protobuf service google.ads.googleads.v11.services.FeedItemService
*/
export interface IFeedItemServiceClient {
/**
* Creates, updates, or removes feed items. Operation statuses are
* returned.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [CollectionSizeError]()
* [CriterionError]()
* [DatabaseError]()
* [DateError]()
* [DistinctError]()
* [FeedItemError]()
* [FieldError]()
* [FieldMaskError]()
* [HeaderError]()
* [IdError]()
* [InternalError]()
* [ListOperationError]()
* [MutateError]()
* [NotEmptyError]()
* [NullError]()
* [OperatorError]()
* [QuotaError]()
* [RangeError]()
* [RequestError]()
* [SizeLimitError]()
* [StringFormatError]()
* [StringLengthError]()
* [UrlFieldError]()
*
* @generated from protobuf rpc: MutateFeedItems(google.ads.googleads.v11.services.MutateFeedItemsRequest) returns (google.ads.googleads.v11.services.MutateFeedItemsResponse);
*/
mutateFeedItems(input: MutateFeedItemsRequest, options?: RpcOptions): UnaryCall<MutateFeedItemsRequest, MutateFeedItemsResponse>;
}
/**
* Service to manage feed items.
*
* @generated from protobuf service google.ads.googleads.v11.services.FeedItemService
*/
export declare class FeedItemServiceClient implements IFeedItemServiceClient, 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 feed items. Operation statuses are
* returned.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [CollectionSizeError]()
* [CriterionError]()
* [DatabaseError]()
* [DateError]()
* [DistinctError]()
* [FeedItemError]()
* [FieldError]()
* [FieldMaskError]()
* [HeaderError]()
* [IdError]()
* [InternalError]()
* [ListOperationError]()
* [MutateError]()
* [NotEmptyError]()
* [NullError]()
* [OperatorError]()
* [QuotaError]()
* [RangeError]()
* [RequestError]()
* [SizeLimitError]()
* [StringFormatError]()
* [StringLengthError]()
* [UrlFieldError]()
*
* @generated from protobuf rpc: MutateFeedItems(google.ads.googleads.v11.services.MutateFeedItemsRequest) returns (google.ads.googleads.v11.services.MutateFeedItemsResponse);
*/
mutateFeedItems(input: MutateFeedItemsRequest, options?: RpcOptions): UnaryCall<MutateFeedItemsRequest, MutateFeedItemsResponse>;
}