google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
126 lines (125 loc) • 5.4 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 setting errors.
*
* @generated from protobuf message google.ads.googleads.v11.errors.SettingErrorEnum
*/
export interface SettingErrorEnum {
}
/**
* Enum describing possible setting errors.
*
* @generated from protobuf enum google.ads.googleads.v11.errors.SettingErrorEnum.SettingError
*/
export declare enum SettingErrorEnum_SettingError {
/**
* 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 campaign setting is not available for this Google Ads account.
*
* @generated from protobuf enum value: SETTING_TYPE_IS_NOT_AVAILABLE = 3;
*/
SETTING_TYPE_IS_NOT_AVAILABLE = 3,
/**
* The setting is not compatible with the campaign.
*
* @generated from protobuf enum value: SETTING_TYPE_IS_NOT_COMPATIBLE_WITH_CAMPAIGN = 4;
*/
SETTING_TYPE_IS_NOT_COMPATIBLE_WITH_CAMPAIGN = 4,
/**
* The supplied TargetingSetting contains an invalid CriterionTypeGroup. See
* CriterionTypeGroup documentation for CriterionTypeGroups allowed
* in Campaign or AdGroup TargetingSettings.
*
* @generated from protobuf enum value: TARGETING_SETTING_CONTAINS_INVALID_CRITERION_TYPE_GROUP = 5;
*/
TARGETING_SETTING_CONTAINS_INVALID_CRITERION_TYPE_GROUP = 5,
/**
* TargetingSetting must not explicitly
* set any of the Demographic CriterionTypeGroups (AGE_RANGE, GENDER,
* PARENT, INCOME_RANGE) to false (it's okay to not set them at all, in
* which case the system will set them to true automatically).
*
* @generated from protobuf enum value: TARGETING_SETTING_DEMOGRAPHIC_CRITERION_TYPE_GROUPS_MUST_BE_SET_TO_TARGET_ALL = 6;
*/
TARGETING_SETTING_DEMOGRAPHIC_CRITERION_TYPE_GROUPS_MUST_BE_SET_TO_TARGET_ALL = 6,
/**
* TargetingSetting cannot change any of
* the Demographic CriterionTypeGroups (AGE_RANGE, GENDER, PARENT,
* INCOME_RANGE) from true to false.
*
* @generated from protobuf enum value: TARGETING_SETTING_CANNOT_CHANGE_TARGET_ALL_TO_FALSE_FOR_DEMOGRAPHIC_CRITERION_TYPE_GROUP = 7;
*/
TARGETING_SETTING_CANNOT_CHANGE_TARGET_ALL_TO_FALSE_FOR_DEMOGRAPHIC_CRITERION_TYPE_GROUP = 7,
/**
* At least one feed id should be present.
*
* @generated from protobuf enum value: DYNAMIC_SEARCH_ADS_SETTING_AT_LEAST_ONE_FEED_ID_MUST_BE_PRESENT = 8;
*/
DYNAMIC_SEARCH_ADS_SETTING_AT_LEAST_ONE_FEED_ID_MUST_BE_PRESENT = 8,
/**
* The supplied DynamicSearchAdsSetting contains an invalid domain name.
*
* @generated from protobuf enum value: DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_DOMAIN_NAME = 9;
*/
DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_DOMAIN_NAME = 9,
/**
* The supplied DynamicSearchAdsSetting contains a subdomain name.
*
* @generated from protobuf enum value: DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_SUBDOMAIN_NAME = 10;
*/
DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_SUBDOMAIN_NAME = 10,
/**
* The supplied DynamicSearchAdsSetting contains an invalid language code.
*
* @generated from protobuf enum value: DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_LANGUAGE_CODE = 11;
*/
DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_LANGUAGE_CODE = 11,
/**
* TargetingSettings in search campaigns should not have
* CriterionTypeGroup.PLACEMENT set to targetAll.
*
* @generated from protobuf enum value: TARGET_ALL_IS_NOT_ALLOWED_FOR_PLACEMENT_IN_SEARCH_CAMPAIGN = 12;
*/
TARGET_ALL_IS_NOT_ALLOWED_FOR_PLACEMENT_IN_SEARCH_CAMPAIGN = 12,
/**
* The setting value is not compatible with the campaign type.
*
* @generated from protobuf enum value: SETTING_VALUE_NOT_COMPATIBLE_WITH_CAMPAIGN = 20;
*/
SETTING_VALUE_NOT_COMPATIBLE_WITH_CAMPAIGN = 20,
/**
* Switching from observation setting to targeting setting is not allowed
* for Customer Match lists. See
* https://support.google.com/google-ads/answer/6299717.
*
* @generated from protobuf enum value: BID_ONLY_IS_NOT_ALLOWED_TO_BE_MODIFIED_WITH_CUSTOMER_MATCH_TARGETING = 21;
*/
BID_ONLY_IS_NOT_ALLOWED_TO_BE_MODIFIED_WITH_CUSTOMER_MATCH_TARGETING = 21
}
declare class SettingErrorEnum$Type extends MessageType<SettingErrorEnum> {
constructor();
create(value?: PartialMessage<SettingErrorEnum>): SettingErrorEnum;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SettingErrorEnum): SettingErrorEnum;
internalBinaryWrite(message: SettingErrorEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.errors.SettingErrorEnum
*/
export declare const SettingErrorEnum: SettingErrorEnum$Type;
export {};