google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
214 lines (213 loc) • 8.13 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 bidding errors.
*
* @generated from protobuf message google.ads.googleads.v11.errors.BiddingErrorEnum
*/
export interface BiddingErrorEnum {
}
/**
* Enum describing possible bidding errors.
*
* @generated from protobuf enum google.ads.googleads.v11.errors.BiddingErrorEnum.BiddingError
*/
export declare enum BiddingErrorEnum_BiddingError {
/**
* 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,
/**
* Cannot transition to new bidding strategy.
*
* @generated from protobuf enum value: BIDDING_STRATEGY_TRANSITION_NOT_ALLOWED = 2;
*/
BIDDING_STRATEGY_TRANSITION_NOT_ALLOWED = 2,
/**
* Cannot attach bidding strategy to campaign.
*
* @generated from protobuf enum value: CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN = 7;
*/
CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN = 7,
/**
* Bidding strategy is not supported or cannot be used as anonymous.
*
* @generated from protobuf enum value: INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE = 10;
*/
INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE = 10,
/**
* The type does not match the named strategy's type.
*
* @generated from protobuf enum value: INVALID_BIDDING_STRATEGY_TYPE = 14;
*/
INVALID_BIDDING_STRATEGY_TYPE = 14,
/**
* The bid is invalid.
*
* @generated from protobuf enum value: INVALID_BID = 17;
*/
INVALID_BID = 17,
/**
* Bidding strategy is not available for the account type.
*
* @generated from protobuf enum value: BIDDING_STRATEGY_NOT_AVAILABLE_FOR_ACCOUNT_TYPE = 18;
*/
BIDDING_STRATEGY_NOT_AVAILABLE_FOR_ACCOUNT_TYPE = 18,
/**
* Conversion tracking is not enabled in the campaign that has value-based
* bidding transitions.
*
* @generated from protobuf enum value: CONVERSION_TRACKING_NOT_ENABLED = 19;
*/
CONVERSION_TRACKING_NOT_ENABLED = 19,
/**
* Not enough conversions tracked for value-based bidding transitions.
*
* @generated from protobuf enum value: NOT_ENOUGH_CONVERSIONS = 20;
*/
NOT_ENOUGH_CONVERSIONS = 20,
/**
* Campaign can not be created with given bidding strategy. It can be
* transitioned to the strategy, once eligible.
*
* @generated from protobuf enum value: CANNOT_CREATE_CAMPAIGN_WITH_BIDDING_STRATEGY = 21;
*/
CANNOT_CREATE_CAMPAIGN_WITH_BIDDING_STRATEGY = 21,
/**
* Cannot target content network only as campaign uses Page One Promoted
* bidding strategy.
*
* @generated from protobuf enum value: CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CAMPAIGN_LEVEL_POP_BIDDING_STRATEGY = 23;
*/
CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CAMPAIGN_LEVEL_POP_BIDDING_STRATEGY = 23,
/**
* Budget Optimizer and Target Spend bidding strategies are not supported
* for campaigns with AdSchedule targeting.
*
* @generated from protobuf enum value: BIDDING_STRATEGY_NOT_SUPPORTED_WITH_AD_SCHEDULE = 24;
*/
BIDDING_STRATEGY_NOT_SUPPORTED_WITH_AD_SCHEDULE = 24,
/**
* Pay per conversion is not available to all the customer, only few
* customers on the allow-list can use this.
*
* @generated from protobuf enum value: PAY_PER_CONVERSION_NOT_AVAILABLE_FOR_CUSTOMER = 25;
*/
PAY_PER_CONVERSION_NOT_AVAILABLE_FOR_CUSTOMER = 25,
/**
* Pay per conversion is not allowed with Target CPA.
*
* @generated from protobuf enum value: PAY_PER_CONVERSION_NOT_ALLOWED_WITH_TARGET_CPA = 26;
*/
PAY_PER_CONVERSION_NOT_ALLOWED_WITH_TARGET_CPA = 26,
/**
* Cannot set bidding strategy to Manual CPM for search network only
* campaigns.
*
* @generated from protobuf enum value: BIDDING_STRATEGY_NOT_ALLOWED_FOR_SEARCH_ONLY_CAMPAIGNS = 27;
*/
BIDDING_STRATEGY_NOT_ALLOWED_FOR_SEARCH_ONLY_CAMPAIGNS = 27,
/**
* The bidding strategy is not supported for use in drafts or experiments.
*
* @generated from protobuf enum value: BIDDING_STRATEGY_NOT_SUPPORTED_IN_DRAFTS_OR_EXPERIMENTS = 28;
*/
BIDDING_STRATEGY_NOT_SUPPORTED_IN_DRAFTS_OR_EXPERIMENTS = 28,
/**
* Bidding strategy type does not support product type ad group criterion.
*
* @generated from protobuf enum value: BIDDING_STRATEGY_TYPE_DOES_NOT_SUPPORT_PRODUCT_TYPE_ADGROUP_CRITERION = 29;
*/
BIDDING_STRATEGY_TYPE_DOES_NOT_SUPPORT_PRODUCT_TYPE_ADGROUP_CRITERION = 29,
/**
* Bid amount is too small.
*
* @generated from protobuf enum value: BID_TOO_SMALL = 30;
*/
BID_TOO_SMALL = 30,
/**
* Bid amount is too big.
*
* @generated from protobuf enum value: BID_TOO_BIG = 31;
*/
BID_TOO_BIG = 31,
/**
* Bid has too many fractional digit precision.
*
* @generated from protobuf enum value: BID_TOO_MANY_FRACTIONAL_DIGITS = 32;
*/
BID_TOO_MANY_FRACTIONAL_DIGITS = 32,
/**
* Invalid domain name specified.
*
* @generated from protobuf enum value: INVALID_DOMAIN_NAME = 33;
*/
INVALID_DOMAIN_NAME = 33,
/**
* The field is not compatible with the payment mode.
*
* @generated from protobuf enum value: NOT_COMPATIBLE_WITH_PAYMENT_MODE = 34;
*/
NOT_COMPATIBLE_WITH_PAYMENT_MODE = 34,
/**
* The field is not compatible with the budget type.
*
* @generated from protobuf enum value: NOT_COMPATIBLE_WITH_BUDGET_TYPE = 35;
*/
NOT_COMPATIBLE_WITH_BUDGET_TYPE = 35,
/**
* The field is not compatible with the bidding strategy type.
*
* @generated from protobuf enum value: NOT_COMPATIBLE_WITH_BIDDING_STRATEGY_TYPE = 36;
*/
NOT_COMPATIBLE_WITH_BIDDING_STRATEGY_TYPE = 36,
/**
* Bidding strategy type is incompatible with shared budget.
*
* @generated from protobuf enum value: BIDDING_STRATEGY_TYPE_INCOMPATIBLE_WITH_SHARED_BUDGET = 37;
*/
BIDDING_STRATEGY_TYPE_INCOMPATIBLE_WITH_SHARED_BUDGET = 37,
/**
* The attached bidding strategy and budget must be aligned with each other
* if alignment is specified on either entity.
*
* @generated from protobuf enum value: BIDDING_STRATEGY_AND_BUDGET_MUST_BE_ALIGNED = 38;
*/
BIDDING_STRATEGY_AND_BUDGET_MUST_BE_ALIGNED = 38,
/**
* The attached bidding strategy and budget must be attached to the same
* campaigns to become aligned.
*
* @generated from protobuf enum value: BIDDING_STRATEGY_AND_BUDGET_MUST_BE_ATTACHED_TO_THE_SAME_CAMPAIGNS_TO_ALIGN = 39;
*/
BIDDING_STRATEGY_AND_BUDGET_MUST_BE_ATTACHED_TO_THE_SAME_CAMPAIGNS_TO_ALIGN = 39,
/**
* The aligned bidding strategy and budget must be removed at the same time.
*
* @generated from protobuf enum value: BIDDING_STRATEGY_AND_BUDGET_MUST_BE_REMOVED_TOGETHER = 40;
*/
BIDDING_STRATEGY_AND_BUDGET_MUST_BE_REMOVED_TOGETHER = 40
}
declare class BiddingErrorEnum$Type extends MessageType<BiddingErrorEnum> {
constructor();
create(value?: PartialMessage<BiddingErrorEnum>): BiddingErrorEnum;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: BiddingErrorEnum): BiddingErrorEnum;
internalBinaryWrite(message: BiddingErrorEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.errors.BiddingErrorEnum
*/
export declare const BiddingErrorEnum: BiddingErrorEnum$Type;
export {};