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.

176 lines (175 loc) 5.71 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 bundle errors. * * @generated from protobuf message google.ads.googleads.v11.errors.MediaBundleErrorEnum */ export interface MediaBundleErrorEnum { } /** * Enum describing possible media bundle errors. * * @generated from protobuf enum google.ads.googleads.v11.errors.MediaBundleErrorEnum.MediaBundleError */ export declare enum MediaBundleErrorEnum_MediaBundleError { /** * 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, /** * There was a problem with the request. * * @generated from protobuf enum value: BAD_REQUEST = 3; */ BAD_REQUEST = 3, /** * HTML5 ads using DoubleClick Studio created ZIP files are not supported. * * @generated from protobuf enum value: DOUBLECLICK_BUNDLE_NOT_ALLOWED = 4; */ DOUBLECLICK_BUNDLE_NOT_ALLOWED = 4, /** * Cannot reference URL external to the media bundle. * * @generated from protobuf enum value: EXTERNAL_URL_NOT_ALLOWED = 5; */ EXTERNAL_URL_NOT_ALLOWED = 5, /** * Media bundle file is too large. * * @generated from protobuf enum value: FILE_TOO_LARGE = 6; */ FILE_TOO_LARGE = 6, /** * ZIP file from Google Web Designer is not published. * * @generated from protobuf enum value: GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED = 7; */ GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED = 7, /** * Input was invalid. * * @generated from protobuf enum value: INVALID_INPUT = 8; */ INVALID_INPUT = 8, /** * There was a problem with the media bundle. * * @generated from protobuf enum value: INVALID_MEDIA_BUNDLE = 9; */ INVALID_MEDIA_BUNDLE = 9, /** * There was a problem with one or more of the media bundle entries. * * @generated from protobuf enum value: INVALID_MEDIA_BUNDLE_ENTRY = 10; */ INVALID_MEDIA_BUNDLE_ENTRY = 10, /** * The media bundle contains a file with an unknown mime type * * @generated from protobuf enum value: INVALID_MIME_TYPE = 11; */ INVALID_MIME_TYPE = 11, /** * The media bundle contain an invalid asset path. * * @generated from protobuf enum value: INVALID_PATH = 12; */ INVALID_PATH = 12, /** * HTML5 ad is trying to reference an asset not in .ZIP file * * @generated from protobuf enum value: INVALID_URL_REFERENCE = 13; */ INVALID_URL_REFERENCE = 13, /** * Media data is too large. * * @generated from protobuf enum value: MEDIA_DATA_TOO_LARGE = 14; */ MEDIA_DATA_TOO_LARGE = 14, /** * The media bundle contains no primary entry. * * @generated from protobuf enum value: MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY = 15; */ MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY = 15, /** * There was an error on the server. * * @generated from protobuf enum value: SERVER_ERROR = 16; */ SERVER_ERROR = 16, /** * The image could not be stored. * * @generated from protobuf enum value: STORAGE_ERROR = 17; */ STORAGE_ERROR = 17, /** * Media bundle created with the Swiffy tool is not allowed. * * @generated from protobuf enum value: SWIFFY_BUNDLE_NOT_ALLOWED = 18; */ SWIFFY_BUNDLE_NOT_ALLOWED = 18, /** * The media bundle contains too many files. * * @generated from protobuf enum value: TOO_MANY_FILES = 19; */ TOO_MANY_FILES = 19, /** * The media bundle is not of legal dimensions. * * @generated from protobuf enum value: UNEXPECTED_SIZE = 20; */ UNEXPECTED_SIZE = 20, /** * Google Web Designer not created for "Google Ads" environment. * * @generated from protobuf enum value: UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT = 21; */ UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT = 21, /** * Unsupported HTML5 feature in HTML5 asset. * * @generated from protobuf enum value: UNSUPPORTED_HTML5_FEATURE = 22; */ UNSUPPORTED_HTML5_FEATURE = 22, /** * URL in HTML5 entry is not ssl compliant. * * @generated from protobuf enum value: URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT = 23; */ URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT = 23, /** * Custom exits not allowed in HTML5 entry. * * @generated from protobuf enum value: CUSTOM_EXIT_NOT_ALLOWED = 24; */ CUSTOM_EXIT_NOT_ALLOWED = 24 } declare class MediaBundleErrorEnum$Type extends MessageType<MediaBundleErrorEnum> { constructor(); create(value?: PartialMessage<MediaBundleErrorEnum>): MediaBundleErrorEnum; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MediaBundleErrorEnum): MediaBundleErrorEnum; internalBinaryWrite(message: MediaBundleErrorEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.ads.googleads.v11.errors.MediaBundleErrorEnum */ export declare const MediaBundleErrorEnum: MediaBundleErrorEnum$Type; export {};