google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
181 lines (180 loc) • 6.99 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 asset link errors.
*
* @generated from protobuf message google.ads.googleads.v11.errors.AssetLinkErrorEnum
*/
export interface AssetLinkErrorEnum {
}
/**
* Enum describing possible asset link errors.
*
* @generated from protobuf enum google.ads.googleads.v11.errors.AssetLinkErrorEnum.AssetLinkError
*/
export declare enum AssetLinkErrorEnum_AssetLinkError {
/**
* 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,
/**
* Pinning is not supported for the given asset link field.
*
* @generated from protobuf enum value: PINNING_UNSUPPORTED = 2;
*/
PINNING_UNSUPPORTED = 2,
/**
* The given field type is not supported to be added directly through asset
* links.
*
* @generated from protobuf enum value: UNSUPPORTED_FIELD_TYPE = 3;
*/
UNSUPPORTED_FIELD_TYPE = 3,
/**
* The given asset's type and the specified field type are incompatible.
*
* @generated from protobuf enum value: FIELD_TYPE_INCOMPATIBLE_WITH_ASSET_TYPE = 4;
*/
FIELD_TYPE_INCOMPATIBLE_WITH_ASSET_TYPE = 4,
/**
* The specified field type is incompatible with the given campaign type.
*
* @generated from protobuf enum value: FIELD_TYPE_INCOMPATIBLE_WITH_CAMPAIGN_TYPE = 5;
*/
FIELD_TYPE_INCOMPATIBLE_WITH_CAMPAIGN_TYPE = 5,
/**
* The campaign advertising channel type cannot be associated with the given
* asset due to channel-based restrictions on the asset's fields.
*
* @generated from protobuf enum value: INCOMPATIBLE_ADVERTISING_CHANNEL_TYPE = 6;
*/
INCOMPATIBLE_ADVERTISING_CHANNEL_TYPE = 6,
/**
* The image asset provided is not within the dimension constraints
* specified for the submitted asset field.
*
* @generated from protobuf enum value: IMAGE_NOT_WITHIN_SPECIFIED_DIMENSION_RANGE = 7;
*/
IMAGE_NOT_WITHIN_SPECIFIED_DIMENSION_RANGE = 7,
/**
* The pinned field is not valid for the submitted asset field.
*
* @generated from protobuf enum value: INVALID_PINNED_FIELD = 8;
*/
INVALID_PINNED_FIELD = 8,
/**
* The media bundle asset provided is too large for the submitted asset
* field.
*
* @generated from protobuf enum value: MEDIA_BUNDLE_ASSET_FILE_SIZE_TOO_LARGE = 9;
*/
MEDIA_BUNDLE_ASSET_FILE_SIZE_TOO_LARGE = 9,
/**
* Not enough assets are available for use with other fields since other
* assets are pinned to specific fields.
*
* @generated from protobuf enum value: NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION = 10;
*/
NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION = 10,
/**
* Not enough assets with fallback are available. When validating the
* minimum number of assets, assets without fallback (for example, assets
* that contain location tag without default value "{LOCATION(City)}") will
* not be counted.
*
* @generated from protobuf enum value: NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK = 11;
*/
NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK = 11,
/**
* This is a combination of the
* NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION and
* NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK errors. Not enough assets
* with fallback are available since some assets are pinned.
*
* @generated from protobuf enum value: NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK_FOR_VALID_COMBINATION = 12;
*/
NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK_FOR_VALID_COMBINATION = 12,
/**
* The YouTube video referenced in the provided asset has been removed.
*
* @generated from protobuf enum value: YOUTUBE_VIDEO_REMOVED = 13;
*/
YOUTUBE_VIDEO_REMOVED = 13,
/**
* The YouTube video referenced in the provided asset is too long for the
* field submitted.
*
* @generated from protobuf enum value: YOUTUBE_VIDEO_TOO_LONG = 14;
*/
YOUTUBE_VIDEO_TOO_LONG = 14,
/**
* The YouTube video referenced in the provided asset is too short for the
* field submitted.
*
* @generated from protobuf enum value: YOUTUBE_VIDEO_TOO_SHORT = 15;
*/
YOUTUBE_VIDEO_TOO_SHORT = 15,
/**
* The specified field type is excluded for given campaign or ad group.
*
* @generated from protobuf enum value: EXCLUDED_PARENT_FIELD_TYPE = 16;
*/
EXCLUDED_PARENT_FIELD_TYPE = 16,
/**
* The status is invalid for the operation specified.
*
* @generated from protobuf enum value: INVALID_STATUS = 17;
*/
INVALID_STATUS = 17,
/**
* The YouTube video referenced in the provided asset has unknown duration.
* This might be the case for a livestream video or a video being currently
* uploaded to YouTube. In both cases, the video duration should eventually
* get resolved.
*
* @generated from protobuf enum value: YOUTUBE_VIDEO_DURATION_NOT_DEFINED = 18;
*/
YOUTUBE_VIDEO_DURATION_NOT_DEFINED = 18,
/**
* User cannot create automatically created links.
*
* @generated from protobuf enum value: CANNOT_CREATE_AUTOMATICALLY_CREATED_LINKS = 19;
*/
CANNOT_CREATE_AUTOMATICALLY_CREATED_LINKS = 19,
/**
* Advertiser links cannot link to automatically created asset.
*
* @generated from protobuf enum value: CANNOT_LINK_TO_AUTOMATICALLY_CREATED_ASSET = 20;
*/
CANNOT_LINK_TO_AUTOMATICALLY_CREATED_ASSET = 20,
/**
* Automatically created links cannot be changed into adveritser links or
* the reverse.
*
* @generated from protobuf enum value: CANNOT_MODIFY_ASSET_LINK_SOURCE = 21;
*/
CANNOT_MODIFY_ASSET_LINK_SOURCE = 21
}
declare class AssetLinkErrorEnum$Type extends MessageType<AssetLinkErrorEnum> {
constructor();
create(value?: PartialMessage<AssetLinkErrorEnum>): AssetLinkErrorEnum;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AssetLinkErrorEnum): AssetLinkErrorEnum;
internalBinaryWrite(message: AssetLinkErrorEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.errors.AssetLinkErrorEnum
*/
export declare const AssetLinkErrorEnum: AssetLinkErrorEnum$Type;
export {};