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.

100 lines (99 loc) 3.51 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 label errors. * * @generated from protobuf message google.ads.googleads.v11.errors.LabelErrorEnum */ export interface LabelErrorEnum { } /** * Enum describing possible label errors. * * @generated from protobuf enum google.ads.googleads.v11.errors.LabelErrorEnum.LabelError */ export declare enum LabelErrorEnum_LabelError { /** * 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, /** * An inactive label cannot be applied. * * @generated from protobuf enum value: CANNOT_APPLY_INACTIVE_LABEL = 2; */ CANNOT_APPLY_INACTIVE_LABEL = 2, /** * A label cannot be applied to a disabled ad group criterion. * * @generated from protobuf enum value: CANNOT_APPLY_LABEL_TO_DISABLED_AD_GROUP_CRITERION = 3; */ CANNOT_APPLY_LABEL_TO_DISABLED_AD_GROUP_CRITERION = 3, /** * A label cannot be applied to a negative ad group criterion. * * @generated from protobuf enum value: CANNOT_APPLY_LABEL_TO_NEGATIVE_AD_GROUP_CRITERION = 4; */ CANNOT_APPLY_LABEL_TO_NEGATIVE_AD_GROUP_CRITERION = 4, /** * Cannot apply more than 50 labels per resource. * * @generated from protobuf enum value: EXCEEDED_LABEL_LIMIT_PER_TYPE = 5; */ EXCEEDED_LABEL_LIMIT_PER_TYPE = 5, /** * Labels from a manager account cannot be applied to campaign, ad group, * ad group ad, or ad group criterion resources. * * @generated from protobuf enum value: INVALID_RESOURCE_FOR_MANAGER_LABEL = 6; */ INVALID_RESOURCE_FOR_MANAGER_LABEL = 6, /** * Label names must be unique. * * @generated from protobuf enum value: DUPLICATE_NAME = 7; */ DUPLICATE_NAME = 7, /** * Label names cannot be empty. * * @generated from protobuf enum value: INVALID_LABEL_NAME = 8; */ INVALID_LABEL_NAME = 8, /** * Labels cannot be applied to a draft. * * @generated from protobuf enum value: CANNOT_ATTACH_LABEL_TO_DRAFT = 9; */ CANNOT_ATTACH_LABEL_TO_DRAFT = 9, /** * Labels not from a manager account cannot be applied to the customer * resource. * * @generated from protobuf enum value: CANNOT_ATTACH_NON_MANAGER_LABEL_TO_CUSTOMER = 10; */ CANNOT_ATTACH_NON_MANAGER_LABEL_TO_CUSTOMER = 10 } declare class LabelErrorEnum$Type extends MessageType<LabelErrorEnum> { constructor(); create(value?: PartialMessage<LabelErrorEnum>): LabelErrorEnum; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LabelErrorEnum): LabelErrorEnum; internalBinaryWrite(message: LabelErrorEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.ads.googleads.v11.errors.LabelErrorEnum */ export declare const LabelErrorEnum: LabelErrorEnum$Type; export {};