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.

254 lines (253 loc) 8.54 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 media uploading errors. * * @generated from protobuf message google.ads.googleads.v11.errors.MediaUploadErrorEnum */ export interface MediaUploadErrorEnum { } /** * Enum describing possible media uploading errors. * * @generated from protobuf enum google.ads.googleads.v11.errors.MediaUploadErrorEnum.MediaUploadError */ export declare enum MediaUploadErrorEnum_MediaUploadError { /** * 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 uploaded file is too big. * * @generated from protobuf enum value: FILE_TOO_BIG = 2; */ FILE_TOO_BIG = 2, /** * Image data is unparseable. * * @generated from protobuf enum value: UNPARSEABLE_IMAGE = 3; */ UNPARSEABLE_IMAGE = 3, /** * Animated images are not allowed. * * @generated from protobuf enum value: ANIMATED_IMAGE_NOT_ALLOWED = 4; */ ANIMATED_IMAGE_NOT_ALLOWED = 4, /** * The image or media bundle format is not allowed. * * @generated from protobuf enum value: FORMAT_NOT_ALLOWED = 5; */ FORMAT_NOT_ALLOWED = 5, /** * Cannot reference URL external to the media bundle. * * @generated from protobuf enum value: EXTERNAL_URL_NOT_ALLOWED = 6; */ EXTERNAL_URL_NOT_ALLOWED = 6, /** * HTML5 ad is trying to reference an asset not in .ZIP file. * * @generated from protobuf enum value: INVALID_URL_REFERENCE = 7; */ INVALID_URL_REFERENCE = 7, /** * The media bundle contains no primary entry. * * @generated from protobuf enum value: MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY = 8; */ MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY = 8, /** * Animation has disallowed visual effects. * * @generated from protobuf enum value: ANIMATED_VISUAL_EFFECT = 9; */ ANIMATED_VISUAL_EFFECT = 9, /** * Animation longer than the allowed 30 second limit. * * @generated from protobuf enum value: ANIMATION_TOO_LONG = 10; */ ANIMATION_TOO_LONG = 10, /** * The aspect ratio of the image does not match the expected aspect ratios * provided in the asset spec. * * @generated from protobuf enum value: ASPECT_RATIO_NOT_ALLOWED = 11; */ ASPECT_RATIO_NOT_ALLOWED = 11, /** * Audio files are not allowed in bundle. * * @generated from protobuf enum value: AUDIO_NOT_ALLOWED_IN_MEDIA_BUNDLE = 12; */ AUDIO_NOT_ALLOWED_IN_MEDIA_BUNDLE = 12, /** * CMYK jpegs are not supported. * * @generated from protobuf enum value: CMYK_JPEG_NOT_ALLOWED = 13; */ CMYK_JPEG_NOT_ALLOWED = 13, /** * Flash movies are not allowed. * * @generated from protobuf enum value: FLASH_NOT_ALLOWED = 14; */ FLASH_NOT_ALLOWED = 14, /** * The frame rate of the video is higher than the allowed 5fps. * * @generated from protobuf enum value: FRAME_RATE_TOO_HIGH = 15; */ FRAME_RATE_TOO_HIGH = 15, /** * ZIP file from Google Web Designer is not published. * * @generated from protobuf enum value: GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED = 16; */ GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED = 16, /** * Image constraints are violated, but more details (like * DIMENSIONS_NOT_ALLOWED or ASPECT_RATIO_NOT_ALLOWED) can not be provided. * This happens when asset spec contains more than one constraint and * criteria of different constraints are violated. * * @generated from protobuf enum value: IMAGE_CONSTRAINTS_VIOLATED = 17; */ IMAGE_CONSTRAINTS_VIOLATED = 17, /** * Media bundle data is unrecognizable. * * @generated from protobuf enum value: INVALID_MEDIA_BUNDLE = 18; */ INVALID_MEDIA_BUNDLE = 18, /** * There was a problem with one or more of the media bundle entries. * * @generated from protobuf enum value: INVALID_MEDIA_BUNDLE_ENTRY = 19; */ INVALID_MEDIA_BUNDLE_ENTRY = 19, /** * The asset has an invalid mime type. * * @generated from protobuf enum value: INVALID_MIME_TYPE = 20; */ INVALID_MIME_TYPE = 20, /** * The media bundle contains an invalid asset path. * * @generated from protobuf enum value: INVALID_PATH = 21; */ INVALID_PATH = 21, /** * Image has layout problem. * * @generated from protobuf enum value: LAYOUT_PROBLEM = 22; */ LAYOUT_PROBLEM = 22, /** * An asset had a URL reference that is malformed per RFC 1738 convention. * * @generated from protobuf enum value: MALFORMED_URL = 23; */ MALFORMED_URL = 23, /** * The uploaded media bundle format is not allowed. * * @generated from protobuf enum value: MEDIA_BUNDLE_NOT_ALLOWED = 24; */ MEDIA_BUNDLE_NOT_ALLOWED = 24, /** * The media bundle is not compatible with the asset spec product type. * (For example, Gmail, dynamic remarketing, etc.) * * @generated from protobuf enum value: MEDIA_BUNDLE_NOT_COMPATIBLE_TO_PRODUCT_TYPE = 25; */ MEDIA_BUNDLE_NOT_COMPATIBLE_TO_PRODUCT_TYPE = 25, /** * A bundle being uploaded that is incompatible with multiple assets for * different reasons. * * @generated from protobuf enum value: MEDIA_BUNDLE_REJECTED_BY_MULTIPLE_ASSET_SPECS = 26; */ MEDIA_BUNDLE_REJECTED_BY_MULTIPLE_ASSET_SPECS = 26, /** * The media bundle contains too many files. * * @generated from protobuf enum value: TOO_MANY_FILES_IN_MEDIA_BUNDLE = 27; */ TOO_MANY_FILES_IN_MEDIA_BUNDLE = 27, /** * Google Web Designer not created for "Google Ads" environment. * * @generated from protobuf enum value: UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT = 28; */ UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT = 28, /** * Unsupported HTML5 feature in HTML5 asset. * * @generated from protobuf enum value: UNSUPPORTED_HTML5_FEATURE = 29; */ UNSUPPORTED_HTML5_FEATURE = 29, /** * URL in HTML5 entry is not SSL compliant. * * @generated from protobuf enum value: URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT = 30; */ URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT = 30, /** * Video file name is longer than the 50 allowed characters. * * @generated from protobuf enum value: VIDEO_FILE_NAME_TOO_LONG = 31; */ VIDEO_FILE_NAME_TOO_LONG = 31, /** * Multiple videos with same name in a bundle. * * @generated from protobuf enum value: VIDEO_MULTIPLE_FILES_WITH_SAME_NAME = 32; */ VIDEO_MULTIPLE_FILES_WITH_SAME_NAME = 32, /** * Videos are not allowed in media bundle. * * @generated from protobuf enum value: VIDEO_NOT_ALLOWED_IN_MEDIA_BUNDLE = 33; */ VIDEO_NOT_ALLOWED_IN_MEDIA_BUNDLE = 33, /** * This type of media cannot be uploaded through the Google Ads API. * * @generated from protobuf enum value: CANNOT_UPLOAD_MEDIA_TYPE_THROUGH_API = 34; */ CANNOT_UPLOAD_MEDIA_TYPE_THROUGH_API = 34, /** * The dimensions of the image are not allowed. * * @generated from protobuf enum value: DIMENSIONS_NOT_ALLOWED = 35; */ DIMENSIONS_NOT_ALLOWED = 35 } declare class MediaUploadErrorEnum$Type extends MessageType<MediaUploadErrorEnum> { constructor(); create(value?: PartialMessage<MediaUploadErrorEnum>): MediaUploadErrorEnum; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MediaUploadErrorEnum): MediaUploadErrorEnum; internalBinaryWrite(message: MediaUploadErrorEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.ads.googleads.v11.errors.MediaUploadErrorEnum */ export declare const MediaUploadErrorEnum: MediaUploadErrorEnum$Type; export {};