google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
111 lines (110 loc) • 4.32 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 campaign experiment errors.
*
* @generated from protobuf message google.ads.googleads.v11.errors.CampaignExperimentErrorEnum
*/
export interface CampaignExperimentErrorEnum {
}
/**
* Enum describing possible campaign experiment errors.
*
* @generated from protobuf enum google.ads.googleads.v11.errors.CampaignExperimentErrorEnum.CampaignExperimentError
*/
export declare enum CampaignExperimentErrorEnum_CampaignExperimentError {
/**
* 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 active campaign or experiment with this name already exists.
*
* @generated from protobuf enum value: DUPLICATE_NAME = 2;
*/
DUPLICATE_NAME = 2,
/**
* Experiment cannot be updated from the current state to the
* requested target state. For example, an experiment can only graduate
* if its status is ENABLED.
*
* @generated from protobuf enum value: INVALID_TRANSITION = 3;
*/
INVALID_TRANSITION = 3,
/**
* Cannot create an experiment from a campaign using an explicitly shared
* budget.
*
* @generated from protobuf enum value: CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET = 4;
*/
CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET = 4,
/**
* Cannot create an experiment for a removed base campaign.
*
* @generated from protobuf enum value: CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN = 5;
*/
CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN = 5,
/**
* Cannot create an experiment from a draft, which has a status other than
* proposed.
*
* @generated from protobuf enum value: CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT = 6;
*/
CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT = 6,
/**
* This customer is not allowed to create an experiment.
*
* @generated from protobuf enum value: CUSTOMER_CANNOT_CREATE_EXPERIMENT = 7;
*/
CUSTOMER_CANNOT_CREATE_EXPERIMENT = 7,
/**
* This campaign is not allowed to create an experiment.
*
* @generated from protobuf enum value: CAMPAIGN_CANNOT_CREATE_EXPERIMENT = 8;
*/
CAMPAIGN_CANNOT_CREATE_EXPERIMENT = 8,
/**
* Trying to set an experiment duration which overlaps with another
* experiment.
*
* @generated from protobuf enum value: EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP = 9;
*/
EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP = 9,
/**
* All non-removed experiments must start and end within their campaign's
* duration.
*
* @generated from protobuf enum value: EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION = 10;
*/
EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION = 10,
/**
* The experiment cannot be modified because its status is in a terminal
* state, such as REMOVED.
*
* @generated from protobuf enum value: CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS = 11;
*/
CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS = 11
}
declare class CampaignExperimentErrorEnum$Type extends MessageType<CampaignExperimentErrorEnum> {
constructor();
create(value?: PartialMessage<CampaignExperimentErrorEnum>): CampaignExperimentErrorEnum;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CampaignExperimentErrorEnum): CampaignExperimentErrorEnum;
internalBinaryWrite(message: CampaignExperimentErrorEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.errors.CampaignExperimentErrorEnum
*/
export declare const CampaignExperimentErrorEnum: CampaignExperimentErrorEnum$Type;
export {};