google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
182 lines (181 loc) • 5.94 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 media file errors.
*
* @generated from protobuf message google.ads.googleads.v11.errors.MediaFileErrorEnum
*/
export interface MediaFileErrorEnum {
}
/**
* Enum describing possible media file errors.
*
* @generated from protobuf enum google.ads.googleads.v11.errors.MediaFileErrorEnum.MediaFileError
*/
export declare enum MediaFileErrorEnum_MediaFileError {
/**
* 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,
/**
* Cannot create a standard icon type.
*
* @generated from protobuf enum value: CANNOT_CREATE_STANDARD_ICON = 2;
*/
CANNOT_CREATE_STANDARD_ICON = 2,
/**
* May only select Standard Icons alone.
*
* @generated from protobuf enum value: CANNOT_SELECT_STANDARD_ICON_WITH_OTHER_TYPES = 3;
*/
CANNOT_SELECT_STANDARD_ICON_WITH_OTHER_TYPES = 3,
/**
* Image contains both a media file ID and data.
*
* @generated from protobuf enum value: CANNOT_SPECIFY_MEDIA_FILE_ID_AND_DATA = 4;
*/
CANNOT_SPECIFY_MEDIA_FILE_ID_AND_DATA = 4,
/**
* A media file with given type and reference ID already exists.
*
* @generated from protobuf enum value: DUPLICATE_MEDIA = 5;
*/
DUPLICATE_MEDIA = 5,
/**
* A required field was not specified or is an empty string.
*
* @generated from protobuf enum value: EMPTY_FIELD = 6;
*/
EMPTY_FIELD = 6,
/**
* A media file may only be modified once per call.
*
* @generated from protobuf enum value: RESOURCE_REFERENCED_IN_MULTIPLE_OPS = 7;
*/
RESOURCE_REFERENCED_IN_MULTIPLE_OPS = 7,
/**
* Field is not supported for the media sub type.
*
* @generated from protobuf enum value: FIELD_NOT_SUPPORTED_FOR_MEDIA_SUB_TYPE = 8;
*/
FIELD_NOT_SUPPORTED_FOR_MEDIA_SUB_TYPE = 8,
/**
* The media file ID is invalid.
*
* @generated from protobuf enum value: INVALID_MEDIA_FILE_ID = 9;
*/
INVALID_MEDIA_FILE_ID = 9,
/**
* The media subtype is invalid.
*
* @generated from protobuf enum value: INVALID_MEDIA_SUB_TYPE = 10;
*/
INVALID_MEDIA_SUB_TYPE = 10,
/**
* The media file type is invalid.
*
* @generated from protobuf enum value: INVALID_MEDIA_FILE_TYPE = 11;
*/
INVALID_MEDIA_FILE_TYPE = 11,
/**
* The mimetype is invalid.
*
* @generated from protobuf enum value: INVALID_MIME_TYPE = 12;
*/
INVALID_MIME_TYPE = 12,
/**
* The media reference ID is invalid.
*
* @generated from protobuf enum value: INVALID_REFERENCE_ID = 13;
*/
INVALID_REFERENCE_ID = 13,
/**
* The YouTube video ID is invalid.
*
* @generated from protobuf enum value: INVALID_YOU_TUBE_ID = 14;
*/
INVALID_YOU_TUBE_ID = 14,
/**
* Media file has failed transcoding
*
* @generated from protobuf enum value: MEDIA_FILE_FAILED_TRANSCODING = 15;
*/
MEDIA_FILE_FAILED_TRANSCODING = 15,
/**
* Media file has not been transcoded.
*
* @generated from protobuf enum value: MEDIA_NOT_TRANSCODED = 16;
*/
MEDIA_NOT_TRANSCODED = 16,
/**
* The media type does not match the actual media file's type.
*
* @generated from protobuf enum value: MEDIA_TYPE_DOES_NOT_MATCH_MEDIA_FILE_TYPE = 17;
*/
MEDIA_TYPE_DOES_NOT_MATCH_MEDIA_FILE_TYPE = 17,
/**
* None of the fields have been specified.
*
* @generated from protobuf enum value: NO_FIELDS_SPECIFIED = 18;
*/
NO_FIELDS_SPECIFIED = 18,
/**
* One of reference ID or media file ID must be specified.
*
* @generated from protobuf enum value: NULL_REFERENCE_ID_AND_MEDIA_ID = 19;
*/
NULL_REFERENCE_ID_AND_MEDIA_ID = 19,
/**
* The string has too many characters.
*
* @generated from protobuf enum value: TOO_LONG = 20;
*/
TOO_LONG = 20,
/**
* The specified type is not supported.
*
* @generated from protobuf enum value: UNSUPPORTED_TYPE = 21;
*/
UNSUPPORTED_TYPE = 21,
/**
* YouTube is unavailable for requesting video data.
*
* @generated from protobuf enum value: YOU_TUBE_SERVICE_UNAVAILABLE = 22;
*/
YOU_TUBE_SERVICE_UNAVAILABLE = 22,
/**
* The YouTube video has a non positive duration.
*
* @generated from protobuf enum value: YOU_TUBE_VIDEO_HAS_NON_POSITIVE_DURATION = 23;
*/
YOU_TUBE_VIDEO_HAS_NON_POSITIVE_DURATION = 23,
/**
* The YouTube video ID is syntactically valid but the video was not found.
*
* @generated from protobuf enum value: YOU_TUBE_VIDEO_NOT_FOUND = 24;
*/
YOU_TUBE_VIDEO_NOT_FOUND = 24
}
declare class MediaFileErrorEnum$Type extends MessageType<MediaFileErrorEnum> {
constructor();
create(value?: PartialMessage<MediaFileErrorEnum>): MediaFileErrorEnum;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MediaFileErrorEnum): MediaFileErrorEnum;
internalBinaryWrite(message: MediaFileErrorEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.errors.MediaFileErrorEnum
*/
export declare const MediaFileErrorEnum: MediaFileErrorEnum$Type;
export {};