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.

113 lines (112 loc) 3.92 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 ad group ad errors. * * @generated from protobuf message google.ads.googleads.v11.errors.AdGroupAdErrorEnum */ export interface AdGroupAdErrorEnum { } /** * Enum describing possible ad group ad errors. * * @generated from protobuf enum google.ads.googleads.v11.errors.AdGroupAdErrorEnum.AdGroupAdError */ export declare enum AdGroupAdErrorEnum_AdGroupAdError { /** * 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, /** * No link found between the adgroup ad and the label. * * @generated from protobuf enum value: AD_GROUP_AD_LABEL_DOES_NOT_EXIST = 2; */ AD_GROUP_AD_LABEL_DOES_NOT_EXIST = 2, /** * The label has already been attached to the adgroup ad. * * @generated from protobuf enum value: AD_GROUP_AD_LABEL_ALREADY_EXISTS = 3; */ AD_GROUP_AD_LABEL_ALREADY_EXISTS = 3, /** * The specified ad was not found in the adgroup * * @generated from protobuf enum value: AD_NOT_UNDER_ADGROUP = 4; */ AD_NOT_UNDER_ADGROUP = 4, /** * Removed ads may not be modified * * @generated from protobuf enum value: CANNOT_OPERATE_ON_REMOVED_ADGROUPAD = 5; */ CANNOT_OPERATE_ON_REMOVED_ADGROUPAD = 5, /** * An ad of this type is deprecated and cannot be created. Only deletions * are permitted. * * @generated from protobuf enum value: CANNOT_CREATE_DEPRECATED_ADS = 6; */ CANNOT_CREATE_DEPRECATED_ADS = 6, /** * Text ads are deprecated and cannot be created. Use expanded text ads * instead. * * @generated from protobuf enum value: CANNOT_CREATE_TEXT_ADS = 7; */ CANNOT_CREATE_TEXT_ADS = 7, /** * A required field was not specified or is an empty string. * * @generated from protobuf enum value: EMPTY_FIELD = 8; */ EMPTY_FIELD = 8, /** * An ad may only be modified once per call * * @generated from protobuf enum value: RESOURCE_REFERENCED_IN_MULTIPLE_OPS = 9; */ RESOURCE_REFERENCED_IN_MULTIPLE_OPS = 9, /** * AdGroupAds with the given ad type cannot be paused. * * @generated from protobuf enum value: AD_TYPE_CANNOT_BE_PAUSED = 10; */ AD_TYPE_CANNOT_BE_PAUSED = 10, /** * AdGroupAds with the given ad type cannot be removed. * * @generated from protobuf enum value: AD_TYPE_CANNOT_BE_REMOVED = 11; */ AD_TYPE_CANNOT_BE_REMOVED = 11, /** * An ad of this type is deprecated and cannot be updated. Only removals * are permitted. * * @generated from protobuf enum value: CANNOT_UPDATE_DEPRECATED_ADS = 12; */ CANNOT_UPDATE_DEPRECATED_ADS = 12 } declare class AdGroupAdErrorEnum$Type extends MessageType<AdGroupAdErrorEnum> { constructor(); create(value?: PartialMessage<AdGroupAdErrorEnum>): AdGroupAdErrorEnum; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AdGroupAdErrorEnum): AdGroupAdErrorEnum; internalBinaryWrite(message: AdGroupAdErrorEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.ads.googleads.v11.errors.AdGroupAdErrorEnum */ export declare const AdGroupAdErrorEnum: AdGroupAdErrorEnum$Type; export {};