google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
50 lines (49 loc) • 1.67 kB
TypeScript
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 ID errors.
*
* @generated from protobuf message google.ads.googleads.v11.errors.IdErrorEnum
*/
export interface IdErrorEnum {
}
/**
* Enum describing possible ID errors.
*
* @generated from protobuf enum google.ads.googleads.v11.errors.IdErrorEnum.IdError
*/
export declare enum IdErrorEnum_IdError {
/**
* 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,
/**
* ID not found
*
* @generated from protobuf enum value: NOT_FOUND = 2;
*/
NOT_FOUND = 2
}
declare class IdErrorEnum$Type extends MessageType<IdErrorEnum> {
constructor();
create(value?: PartialMessage<IdErrorEnum>): IdErrorEnum;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: IdErrorEnum): IdErrorEnum;
internalBinaryWrite(message: IdErrorEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.errors.IdErrorEnum
*/
export declare const IdErrorEnum: IdErrorEnum$Type;
export {};