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.

81 lines (80 loc) 2.88 kB
import type { BinaryWriteOptions } from "@protobuf-ts/runtime"; import type { IBinaryWriter } from "@protobuf-ts/runtime"; import type { BinaryReadOptions } from "@protobuf-ts/runtime"; import type { IBinaryReader } from "@protobuf-ts/runtime"; import type { PartialMessage } from "@protobuf-ts/runtime"; import { MessageType } from "@protobuf-ts/runtime"; /** * Container for enum describing possible batch job errors. * * @generated from protobuf message google.ads.googleads.v11.errors.BatchJobErrorEnum */ export interface BatchJobErrorEnum { } /** * Enum describing possible request errors. * * @generated from protobuf enum google.ads.googleads.v11.errors.BatchJobErrorEnum.BatchJobError */ export declare enum BatchJobErrorEnum_BatchJobError { /** * Enum unspecified. * * @generated from protobuf enum value: UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * The received error code is not known in this version. * * @generated from protobuf enum value: UNKNOWN = 1; */ UNKNOWN = 1, /** * The batch job cannot add more operations or run after it has started * running. * * @generated from protobuf enum value: CANNOT_MODIFY_JOB_AFTER_JOB_STARTS_RUNNING = 2; */ CANNOT_MODIFY_JOB_AFTER_JOB_STARTS_RUNNING = 2, /** * The operations for an AddBatchJobOperations request were empty. * * @generated from protobuf enum value: EMPTY_OPERATIONS = 3; */ EMPTY_OPERATIONS = 3, /** * The sequence token for an AddBatchJobOperations request was invalid. * * @generated from protobuf enum value: INVALID_SEQUENCE_TOKEN = 4; */ INVALID_SEQUENCE_TOKEN = 4, /** * Batch job results can only be retrieved once the job is finished. * * @generated from protobuf enum value: RESULTS_NOT_READY = 5; */ RESULTS_NOT_READY = 5, /** * The page size for ListBatchJobResults was invalid. * * @generated from protobuf enum value: INVALID_PAGE_SIZE = 6; */ INVALID_PAGE_SIZE = 6, /** * The batch job cannot be removed because it has started running. * * @generated from protobuf enum value: CAN_ONLY_REMOVE_PENDING_JOB = 7; */ CAN_ONLY_REMOVE_PENDING_JOB = 7 } declare class BatchJobErrorEnum$Type extends MessageType<BatchJobErrorEnum> { constructor(); create(value?: PartialMessage<BatchJobErrorEnum>): BatchJobErrorEnum; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: BatchJobErrorEnum): BatchJobErrorEnum; internalBinaryWrite(message: BatchJobErrorEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.ads.googleads.v11.errors.BatchJobErrorEnum */ export declare const BatchJobErrorEnum: BatchJobErrorEnum$Type; export {};