google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
86 lines (85 loc) • 3.09 kB
TypeScript
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import type { MutateMediaFilesResponse } from "./media_file_service";
import type { MutateMediaFilesRequest } from "./media_file_service";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
/**
* Service to manage media files.
*
* @generated from protobuf service google.ads.googleads.v11.services.MediaFileService
*/
export interface IMediaFileServiceClient {
/**
* Creates media files. Operation statuses are returned.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [DatabaseError]()
* [DistinctError]()
* [FieldError]()
* [HeaderError]()
* [IdError]()
* [ImageError]()
* [InternalError]()
* [MediaBundleError]()
* [MediaFileError]()
* [NewResourceCreationError]()
* [NotEmptyError]()
* [NullError]()
* [OperatorError]()
* [QuotaError]()
* [RangeError]()
* [RequestError]()
* [SizeLimitError]()
* [StringFormatError]()
* [StringLengthError]()
*
* @generated from protobuf rpc: MutateMediaFiles(google.ads.googleads.v11.services.MutateMediaFilesRequest) returns (google.ads.googleads.v11.services.MutateMediaFilesResponse);
*/
mutateMediaFiles(input: MutateMediaFilesRequest, options?: RpcOptions): UnaryCall<MutateMediaFilesRequest, MutateMediaFilesResponse>;
}
/**
* Service to manage media files.
*
* @generated from protobuf service google.ads.googleads.v11.services.MediaFileService
*/
export declare class MediaFileServiceClient implements IMediaFileServiceClient, 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 media files. Operation statuses are returned.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [DatabaseError]()
* [DistinctError]()
* [FieldError]()
* [HeaderError]()
* [IdError]()
* [ImageError]()
* [InternalError]()
* [MediaBundleError]()
* [MediaFileError]()
* [NewResourceCreationError]()
* [NotEmptyError]()
* [NullError]()
* [OperatorError]()
* [QuotaError]()
* [RangeError]()
* [RequestError]()
* [SizeLimitError]()
* [StringFormatError]()
* [StringLengthError]()
*
* @generated from protobuf rpc: MutateMediaFiles(google.ads.googleads.v11.services.MutateMediaFilesRequest) returns (google.ads.googleads.v11.services.MutateMediaFilesResponse);
*/
mutateMediaFiles(input: MutateMediaFilesRequest, options?: RpcOptions): UnaryCall<MutateMediaFilesRequest, MutateMediaFilesResponse>;
}