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.

132 lines (131 loc) 4.75 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 errors from applying a recommendation. * * @generated from protobuf message google.ads.googleads.v11.errors.RecommendationErrorEnum */ export interface RecommendationErrorEnum { } /** * Enum describing possible errors from applying a recommendation. * * @generated from protobuf enum google.ads.googleads.v11.errors.RecommendationErrorEnum.RecommendationError */ export declare enum RecommendationErrorEnum_RecommendationError { /** * 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 specified budget amount is too low for example, lower than minimum * currency unit or lower than ad group minimum cost-per-click. * * @generated from protobuf enum value: BUDGET_AMOUNT_TOO_SMALL = 2; */ BUDGET_AMOUNT_TOO_SMALL = 2, /** * The specified budget amount is too large. * * @generated from protobuf enum value: BUDGET_AMOUNT_TOO_LARGE = 3; */ BUDGET_AMOUNT_TOO_LARGE = 3, /** * The specified budget amount is not a valid amount, for example, not a * multiple of minimum currency unit. * * @generated from protobuf enum value: INVALID_BUDGET_AMOUNT = 4; */ INVALID_BUDGET_AMOUNT = 4, /** * The specified keyword or ad violates ad policy. * * @generated from protobuf enum value: POLICY_ERROR = 5; */ POLICY_ERROR = 5, /** * The specified bid amount is not valid, for example, too many fractional * digits, or negative amount. * * @generated from protobuf enum value: INVALID_BID_AMOUNT = 6; */ INVALID_BID_AMOUNT = 6, /** * The number of keywords in ad group have reached the maximum allowed. * * @generated from protobuf enum value: ADGROUP_KEYWORD_LIMIT = 7; */ ADGROUP_KEYWORD_LIMIT = 7, /** * The recommendation requested to apply has already been applied. * * @generated from protobuf enum value: RECOMMENDATION_ALREADY_APPLIED = 8; */ RECOMMENDATION_ALREADY_APPLIED = 8, /** * The recommendation requested to apply has been invalidated. * * @generated from protobuf enum value: RECOMMENDATION_INVALIDATED = 9; */ RECOMMENDATION_INVALIDATED = 9, /** * The number of operations in a single request exceeds the maximum allowed. * * @generated from protobuf enum value: TOO_MANY_OPERATIONS = 10; */ TOO_MANY_OPERATIONS = 10, /** * There are no operations in the request. * * @generated from protobuf enum value: NO_OPERATIONS = 11; */ NO_OPERATIONS = 11, /** * Operations with multiple recommendation types are not supported when * partial failure mode is not enabled. * * @generated from protobuf enum value: DIFFERENT_TYPES_NOT_SUPPORTED = 12; */ DIFFERENT_TYPES_NOT_SUPPORTED = 12, /** * Request contains multiple operations with the same resource_name. * * @generated from protobuf enum value: DUPLICATE_RESOURCE_NAME = 13; */ DUPLICATE_RESOURCE_NAME = 13, /** * The recommendation requested to dismiss has already been dismissed. * * @generated from protobuf enum value: RECOMMENDATION_ALREADY_DISMISSED = 14; */ RECOMMENDATION_ALREADY_DISMISSED = 14, /** * The recommendation apply request was malformed and invalid. * * @generated from protobuf enum value: INVALID_APPLY_REQUEST = 15; */ INVALID_APPLY_REQUEST = 15 } declare class RecommendationErrorEnum$Type extends MessageType<RecommendationErrorEnum> { constructor(); create(value?: PartialMessage<RecommendationErrorEnum>): RecommendationErrorEnum; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RecommendationErrorEnum): RecommendationErrorEnum; internalBinaryWrite(message: RecommendationErrorEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.ads.googleads.v11.errors.RecommendationErrorEnum */ export declare const RecommendationErrorEnum: RecommendationErrorEnum$Type; export {};