google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
131 lines (130 loc) • 4.43 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 errors from applying a keyword plan
* resource (keyword plan, keyword plan campaign, keyword plan ad group or
* keyword plan keyword) or KeywordPlanService RPC.
*
* @generated from protobuf message google.ads.googleads.v11.errors.KeywordPlanErrorEnum
*/
export interface KeywordPlanErrorEnum {
}
/**
* Enum describing possible errors from applying a keyword plan.
*
* @generated from protobuf enum google.ads.googleads.v11.errors.KeywordPlanErrorEnum.KeywordPlanError
*/
export declare enum KeywordPlanErrorEnum_KeywordPlanError {
/**
* 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 plan's bid multiplier value is outside the valid range.
*
* @generated from protobuf enum value: BID_MULTIPLIER_OUT_OF_RANGE = 2;
*/
BID_MULTIPLIER_OUT_OF_RANGE = 2,
/**
* The plan's bid value is too high.
*
* @generated from protobuf enum value: BID_TOO_HIGH = 3;
*/
BID_TOO_HIGH = 3,
/**
* The plan's bid value is too low.
*
* @generated from protobuf enum value: BID_TOO_LOW = 4;
*/
BID_TOO_LOW = 4,
/**
* The plan's cpc bid is not a multiple of the minimum billable unit.
*
* @generated from protobuf enum value: BID_TOO_MANY_FRACTIONAL_DIGITS = 5;
*/
BID_TOO_MANY_FRACTIONAL_DIGITS = 5,
/**
* The plan's daily budget value is too low.
*
* @generated from protobuf enum value: DAILY_BUDGET_TOO_LOW = 6;
*/
DAILY_BUDGET_TOO_LOW = 6,
/**
* The plan's daily budget is not a multiple of the minimum billable unit.
*
* @generated from protobuf enum value: DAILY_BUDGET_TOO_MANY_FRACTIONAL_DIGITS = 7;
*/
DAILY_BUDGET_TOO_MANY_FRACTIONAL_DIGITS = 7,
/**
* The input has an invalid value.
*
* @generated from protobuf enum value: INVALID_VALUE = 8;
*/
INVALID_VALUE = 8,
/**
* The plan has no keyword.
*
* @generated from protobuf enum value: KEYWORD_PLAN_HAS_NO_KEYWORDS = 9;
*/
KEYWORD_PLAN_HAS_NO_KEYWORDS = 9,
/**
* The plan is not enabled and API cannot provide mutation, forecast or
* stats.
*
* @generated from protobuf enum value: KEYWORD_PLAN_NOT_ENABLED = 10;
*/
KEYWORD_PLAN_NOT_ENABLED = 10,
/**
* The requested plan cannot be found for providing forecast or stats.
*
* @generated from protobuf enum value: KEYWORD_PLAN_NOT_FOUND = 11;
*/
KEYWORD_PLAN_NOT_FOUND = 11,
/**
* The plan is missing a cpc bid.
*
* @generated from protobuf enum value: MISSING_BID = 13;
*/
MISSING_BID = 13,
/**
* The plan is missing required forecast_period field.
*
* @generated from protobuf enum value: MISSING_FORECAST_PERIOD = 14;
*/
MISSING_FORECAST_PERIOD = 14,
/**
* The plan's forecast_period has invalid forecast date range.
*
* @generated from protobuf enum value: INVALID_FORECAST_DATE_RANGE = 15;
*/
INVALID_FORECAST_DATE_RANGE = 15,
/**
* The plan's name is invalid.
*
* @generated from protobuf enum value: INVALID_NAME = 16;
*/
INVALID_NAME = 16
}
declare class KeywordPlanErrorEnum$Type extends MessageType<KeywordPlanErrorEnum> {
constructor();
create(value?: PartialMessage<KeywordPlanErrorEnum>): KeywordPlanErrorEnum;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: KeywordPlanErrorEnum): KeywordPlanErrorEnum;
internalBinaryWrite(message: KeywordPlanErrorEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.errors.KeywordPlanErrorEnum
*/
export declare const KeywordPlanErrorEnum: KeywordPlanErrorEnum$Type;
export {};