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.

281 lines (280 loc) 8.39 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 image errors. * * @generated from protobuf message google.ads.googleads.v11.errors.ImageErrorEnum */ export interface ImageErrorEnum { } /** * Enum describing possible image errors. * * @generated from protobuf enum google.ads.googleads.v11.errors.ImageErrorEnum.ImageError */ export declare enum ImageErrorEnum_ImageError { /** * 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 image is not valid. * * @generated from protobuf enum value: INVALID_IMAGE = 2; */ INVALID_IMAGE = 2, /** * The image could not be stored. * * @generated from protobuf enum value: STORAGE_ERROR = 3; */ STORAGE_ERROR = 3, /** * There was a problem with the request. * * @generated from protobuf enum value: BAD_REQUEST = 4; */ BAD_REQUEST = 4, /** * The image is not of legal dimensions. * * @generated from protobuf enum value: UNEXPECTED_SIZE = 5; */ UNEXPECTED_SIZE = 5, /** * Animated image are not permitted. * * @generated from protobuf enum value: ANIMATED_NOT_ALLOWED = 6; */ ANIMATED_NOT_ALLOWED = 6, /** * Animation is too long. * * @generated from protobuf enum value: ANIMATION_TOO_LONG = 7; */ ANIMATION_TOO_LONG = 7, /** * There was an error on the server. * * @generated from protobuf enum value: SERVER_ERROR = 8; */ SERVER_ERROR = 8, /** * Image cannot be in CMYK color format. * * @generated from protobuf enum value: CMYK_JPEG_NOT_ALLOWED = 9; */ CMYK_JPEG_NOT_ALLOWED = 9, /** * Flash images are not permitted. * * @generated from protobuf enum value: FLASH_NOT_ALLOWED = 10; */ FLASH_NOT_ALLOWED = 10, /** * Flash images must support clickTag. * * @generated from protobuf enum value: FLASH_WITHOUT_CLICKTAG = 11; */ FLASH_WITHOUT_CLICKTAG = 11, /** * A flash error has occurred after fixing the click tag. * * @generated from protobuf enum value: FLASH_ERROR_AFTER_FIXING_CLICK_TAG = 12; */ FLASH_ERROR_AFTER_FIXING_CLICK_TAG = 12, /** * Unacceptable visual effects. * * @generated from protobuf enum value: ANIMATED_VISUAL_EFFECT = 13; */ ANIMATED_VISUAL_EFFECT = 13, /** * There was a problem with the flash image. * * @generated from protobuf enum value: FLASH_ERROR = 14; */ FLASH_ERROR = 14, /** * Incorrect image layout. * * @generated from protobuf enum value: LAYOUT_PROBLEM = 15; */ LAYOUT_PROBLEM = 15, /** * There was a problem reading the image file. * * @generated from protobuf enum value: PROBLEM_READING_IMAGE_FILE = 16; */ PROBLEM_READING_IMAGE_FILE = 16, /** * There was an error storing the image. * * @generated from protobuf enum value: ERROR_STORING_IMAGE = 17; */ ERROR_STORING_IMAGE = 17, /** * The aspect ratio of the image is not allowed. * * @generated from protobuf enum value: ASPECT_RATIO_NOT_ALLOWED = 18; */ ASPECT_RATIO_NOT_ALLOWED = 18, /** * Flash cannot have network objects. * * @generated from protobuf enum value: FLASH_HAS_NETWORK_OBJECTS = 19; */ FLASH_HAS_NETWORK_OBJECTS = 19, /** * Flash cannot have network methods. * * @generated from protobuf enum value: FLASH_HAS_NETWORK_METHODS = 20; */ FLASH_HAS_NETWORK_METHODS = 20, /** * Flash cannot have a Url. * * @generated from protobuf enum value: FLASH_HAS_URL = 21; */ FLASH_HAS_URL = 21, /** * Flash cannot use mouse tracking. * * @generated from protobuf enum value: FLASH_HAS_MOUSE_TRACKING = 22; */ FLASH_HAS_MOUSE_TRACKING = 22, /** * Flash cannot have a random number. * * @generated from protobuf enum value: FLASH_HAS_RANDOM_NUM = 23; */ FLASH_HAS_RANDOM_NUM = 23, /** * Ad click target cannot be '_self'. * * @generated from protobuf enum value: FLASH_SELF_TARGETS = 24; */ FLASH_SELF_TARGETS = 24, /** * GetUrl method should only use '_blank'. * * @generated from protobuf enum value: FLASH_BAD_GETURL_TARGET = 25; */ FLASH_BAD_GETURL_TARGET = 25, /** * Flash version is not supported. * * @generated from protobuf enum value: FLASH_VERSION_NOT_SUPPORTED = 26; */ FLASH_VERSION_NOT_SUPPORTED = 26, /** * Flash movies need to have hard coded click URL or clickTAG * * @generated from protobuf enum value: FLASH_WITHOUT_HARD_CODED_CLICK_URL = 27; */ FLASH_WITHOUT_HARD_CODED_CLICK_URL = 27, /** * Uploaded flash file is corrupted. * * @generated from protobuf enum value: INVALID_FLASH_FILE = 28; */ INVALID_FLASH_FILE = 28, /** * Uploaded flash file can be parsed, but the click tag can not be fixed * properly. * * @generated from protobuf enum value: FAILED_TO_FIX_CLICK_TAG_IN_FLASH = 29; */ FAILED_TO_FIX_CLICK_TAG_IN_FLASH = 29, /** * Flash movie accesses network resources * * @generated from protobuf enum value: FLASH_ACCESSES_NETWORK_RESOURCES = 30; */ FLASH_ACCESSES_NETWORK_RESOURCES = 30, /** * Flash movie attempts to call external javascript code * * @generated from protobuf enum value: FLASH_EXTERNAL_JS_CALL = 31; */ FLASH_EXTERNAL_JS_CALL = 31, /** * Flash movie attempts to call flash system commands * * @generated from protobuf enum value: FLASH_EXTERNAL_FS_CALL = 32; */ FLASH_EXTERNAL_FS_CALL = 32, /** * Image file is too large. * * @generated from protobuf enum value: FILE_TOO_LARGE = 33; */ FILE_TOO_LARGE = 33, /** * Image data is too large. * * @generated from protobuf enum value: IMAGE_DATA_TOO_LARGE = 34; */ IMAGE_DATA_TOO_LARGE = 34, /** * Error while processing the image. * * @generated from protobuf enum value: IMAGE_PROCESSING_ERROR = 35; */ IMAGE_PROCESSING_ERROR = 35, /** * Image is too small. * * @generated from protobuf enum value: IMAGE_TOO_SMALL = 36; */ IMAGE_TOO_SMALL = 36, /** * Input was invalid. * * @generated from protobuf enum value: INVALID_INPUT = 37; */ INVALID_INPUT = 37, /** * There was a problem reading the image file. * * @generated from protobuf enum value: PROBLEM_READING_FILE = 38; */ PROBLEM_READING_FILE = 38, /** * Image constraints are violated, but details like ASPECT_RATIO_NOT_ALLOWED * can't be provided. This happens when asset spec contains more than one * constraint and different criteria of different constraints are violated. * * @generated from protobuf enum value: IMAGE_CONSTRAINTS_VIOLATED = 39; */ IMAGE_CONSTRAINTS_VIOLATED = 39, /** * Image format is not allowed. * * @generated from protobuf enum value: FORMAT_NOT_ALLOWED = 40; */ FORMAT_NOT_ALLOWED = 40 } declare class ImageErrorEnum$Type extends MessageType<ImageErrorEnum> { constructor(); create(value?: PartialMessage<ImageErrorEnum>): ImageErrorEnum; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ImageErrorEnum): ImageErrorEnum; internalBinaryWrite(message: ImageErrorEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.ads.googleads.v11.errors.ImageErrorEnum */ export declare const ImageErrorEnum: ImageErrorEnum$Type; export {};