google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
83 lines (82 loc) • 3.15 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
* campaign.
*
* @generated from protobuf message google.ads.googleads.v11.errors.KeywordPlanCampaignErrorEnum
*/
export interface KeywordPlanCampaignErrorEnum {
}
/**
* Enum describing possible errors from applying a keyword plan campaign.
*
* @generated from protobuf enum google.ads.googleads.v11.errors.KeywordPlanCampaignErrorEnum.KeywordPlanCampaignError
*/
export declare enum KeywordPlanCampaignErrorEnum_KeywordPlanCampaignError {
/**
* 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,
/**
* A keyword plan campaign name is missing, empty, longer than allowed limit
* or contains invalid chars.
*
* @generated from protobuf enum value: INVALID_NAME = 2;
*/
INVALID_NAME = 2,
/**
* A keyword plan campaign contains one or more untargetable languages.
*
* @generated from protobuf enum value: INVALID_LANGUAGES = 3;
*/
INVALID_LANGUAGES = 3,
/**
* A keyword plan campaign contains one or more invalid geo targets.
*
* @generated from protobuf enum value: INVALID_GEOS = 4;
*/
INVALID_GEOS = 4,
/**
* The keyword plan campaign name is duplicate to an existing keyword plan
* campaign name or other keyword plan campaign name in the request.
*
* @generated from protobuf enum value: DUPLICATE_NAME = 5;
*/
DUPLICATE_NAME = 5,
/**
* The number of geo targets in the keyword plan campaign exceeds limits.
*
* @generated from protobuf enum value: MAX_GEOS_EXCEEDED = 6;
*/
MAX_GEOS_EXCEEDED = 6,
/**
* The number of languages in the keyword plan campaign exceeds limits.
*
* @generated from protobuf enum value: MAX_LANGUAGES_EXCEEDED = 7;
*/
MAX_LANGUAGES_EXCEEDED = 7
}
declare class KeywordPlanCampaignErrorEnum$Type extends MessageType<KeywordPlanCampaignErrorEnum> {
constructor();
create(value?: PartialMessage<KeywordPlanCampaignErrorEnum>): KeywordPlanCampaignErrorEnum;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: KeywordPlanCampaignErrorEnum): KeywordPlanCampaignErrorEnum;
internalBinaryWrite(message: KeywordPlanCampaignErrorEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.errors.KeywordPlanCampaignErrorEnum
*/
export declare const KeywordPlanCampaignErrorEnum: KeywordPlanCampaignErrorEnum$Type;
export {};