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.

133 lines (132 loc) 4.86 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 ad group errors. * * @generated from protobuf message google.ads.googleads.v11.errors.AdGroupErrorEnum */ export interface AdGroupErrorEnum { } /** * Enum describing possible ad group errors. * * @generated from protobuf enum google.ads.googleads.v11.errors.AdGroupErrorEnum.AdGroupError */ export declare enum AdGroupErrorEnum_AdGroupError { /** * 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, /** * AdGroup with the same name already exists for the campaign. * * @generated from protobuf enum value: DUPLICATE_ADGROUP_NAME = 2; */ DUPLICATE_ADGROUP_NAME = 2, /** * AdGroup name is not valid. * * @generated from protobuf enum value: INVALID_ADGROUP_NAME = 3; */ INVALID_ADGROUP_NAME = 3, /** * Advertiser is not allowed to target sites or set site bids that are not * on the Google Search Network. * * @generated from protobuf enum value: ADVERTISER_NOT_ON_CONTENT_NETWORK = 5; */ ADVERTISER_NOT_ON_CONTENT_NETWORK = 5, /** * Bid amount is too big. * * @generated from protobuf enum value: BID_TOO_BIG = 6; */ BID_TOO_BIG = 6, /** * AdGroup bid does not match the campaign's bidding strategy. * * @generated from protobuf enum value: BID_TYPE_AND_BIDDING_STRATEGY_MISMATCH = 7; */ BID_TYPE_AND_BIDDING_STRATEGY_MISMATCH = 7, /** * AdGroup name is required for Add. * * @generated from protobuf enum value: MISSING_ADGROUP_NAME = 8; */ MISSING_ADGROUP_NAME = 8, /** * No link found between the ad group and the label. * * @generated from protobuf enum value: ADGROUP_LABEL_DOES_NOT_EXIST = 9; */ ADGROUP_LABEL_DOES_NOT_EXIST = 9, /** * The label has already been attached to the ad group. * * @generated from protobuf enum value: ADGROUP_LABEL_ALREADY_EXISTS = 10; */ ADGROUP_LABEL_ALREADY_EXISTS = 10, /** * The CriterionTypeGroup is not supported for the content bid dimension. * * @generated from protobuf enum value: INVALID_CONTENT_BID_CRITERION_TYPE_GROUP = 11; */ INVALID_CONTENT_BID_CRITERION_TYPE_GROUP = 11, /** * The ad group type is not compatible with the campaign channel type. * * @generated from protobuf enum value: AD_GROUP_TYPE_NOT_VALID_FOR_ADVERTISING_CHANNEL_TYPE = 12; */ AD_GROUP_TYPE_NOT_VALID_FOR_ADVERTISING_CHANNEL_TYPE = 12, /** * The ad group type is not supported in the country of sale of the * campaign. * * @generated from protobuf enum value: ADGROUP_TYPE_NOT_SUPPORTED_FOR_CAMPAIGN_SALES_COUNTRY = 13; */ ADGROUP_TYPE_NOT_SUPPORTED_FOR_CAMPAIGN_SALES_COUNTRY = 13, /** * Ad groups of AdGroupType.SEARCH_DYNAMIC_ADS can only be added to * campaigns that have DynamicSearchAdsSetting attached. * * @generated from protobuf enum value: CANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING = 14; */ CANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING = 14, /** * Promoted hotels ad groups are only available to customers on the * allow-list. * * @generated from protobuf enum value: PROMOTED_HOTEL_AD_GROUPS_NOT_AVAILABLE_FOR_CUSTOMER = 15; */ PROMOTED_HOTEL_AD_GROUPS_NOT_AVAILABLE_FOR_CUSTOMER = 15, /** * The field type cannot be excluded because an active ad group-asset link * of this type exists. * * @generated from protobuf enum value: INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE = 16; */ INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE = 16 } declare class AdGroupErrorEnum$Type extends MessageType<AdGroupErrorEnum> { constructor(); create(value?: PartialMessage<AdGroupErrorEnum>): AdGroupErrorEnum; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AdGroupErrorEnum): AdGroupErrorEnum; internalBinaryWrite(message: AdGroupErrorEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.ads.googleads.v11.errors.AdGroupErrorEnum */ export declare const AdGroupErrorEnum: AdGroupErrorEnum$Type; export {};