google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
258 lines (257 loc) • 9.17 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 asset errors.
*
* @generated from protobuf message google.ads.googleads.v11.errors.AssetErrorEnum
*/
export interface AssetErrorEnum {
}
/**
* Enum describing possible asset errors.
*
* @generated from protobuf enum google.ads.googleads.v11.errors.AssetErrorEnum.AssetError
*/
export declare enum AssetErrorEnum_AssetError {
/**
* 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 customer is not is not on the allow-list for this asset type.
*
* @generated from protobuf enum value: CUSTOMER_NOT_ON_ALLOWLIST_FOR_ASSET_TYPE = 13;
*/
CUSTOMER_NOT_ON_ALLOWLIST_FOR_ASSET_TYPE = 13,
/**
* Assets are duplicated across operations.
*
* @generated from protobuf enum value: DUPLICATE_ASSET = 3;
*/
DUPLICATE_ASSET = 3,
/**
* The asset name is duplicated, either across operations or with an
* existing asset.
*
* @generated from protobuf enum value: DUPLICATE_ASSET_NAME = 4;
*/
DUPLICATE_ASSET_NAME = 4,
/**
* The Asset.asset_data oneof is empty.
*
* @generated from protobuf enum value: ASSET_DATA_IS_MISSING = 5;
*/
ASSET_DATA_IS_MISSING = 5,
/**
* The asset has a name which is different from an existing duplicate that
* represents the same content.
*
* @generated from protobuf enum value: CANNOT_MODIFY_ASSET_NAME = 6;
*/
CANNOT_MODIFY_ASSET_NAME = 6,
/**
* The field cannot be set for this asset type.
*
* @generated from protobuf enum value: FIELD_INCOMPATIBLE_WITH_ASSET_TYPE = 7;
*/
FIELD_INCOMPATIBLE_WITH_ASSET_TYPE = 7,
/**
* Call to action must come from the list of supported values.
*
* @generated from protobuf enum value: INVALID_CALL_TO_ACTION_TEXT = 8;
*/
INVALID_CALL_TO_ACTION_TEXT = 8,
/**
* A lead form asset is created with an invalid combination of input fields.
*
* @generated from protobuf enum value: LEAD_FORM_INVALID_FIELDS_COMBINATION = 9;
*/
LEAD_FORM_INVALID_FIELDS_COMBINATION = 9,
/**
* Lead forms require that the Terms of Service have been agreed to before
* mutates can be executed.
*
* @generated from protobuf enum value: LEAD_FORM_MISSING_AGREEMENT = 10;
*/
LEAD_FORM_MISSING_AGREEMENT = 10,
/**
* Asset status is invalid in this operation.
*
* @generated from protobuf enum value: INVALID_ASSET_STATUS = 11;
*/
INVALID_ASSET_STATUS = 11,
/**
* The field cannot be modified by this asset type.
*
* @generated from protobuf enum value: FIELD_CANNOT_BE_MODIFIED_FOR_ASSET_TYPE = 12;
*/
FIELD_CANNOT_BE_MODIFIED_FOR_ASSET_TYPE = 12,
/**
* Ad schedules for the same asset cannot overlap.
*
* @generated from protobuf enum value: SCHEDULES_CANNOT_OVERLAP = 14;
*/
SCHEDULES_CANNOT_OVERLAP = 14,
/**
* Cannot set both percent off and money amount off fields of promotion
* asset.
*
* @generated from protobuf enum value: PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF = 15;
*/
PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF = 15,
/**
* Cannot set both promotion code and orders over amount fields of promotion
* asset.
*
* @generated from protobuf enum value: PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT = 16;
*/
PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT = 16,
/**
* The field has too many decimal places specified.
*
* @generated from protobuf enum value: TOO_MANY_DECIMAL_PLACES_SPECIFIED = 17;
*/
TOO_MANY_DECIMAL_PLACES_SPECIFIED = 17,
/**
* Duplicate assets across operations, which have identical Asset.asset_data
* oneof, cannot have different asset level fields for asset types which are
* deduped.
*
* @generated from protobuf enum value: DUPLICATE_ASSETS_WITH_DIFFERENT_FIELD_VALUE = 18;
*/
DUPLICATE_ASSETS_WITH_DIFFERENT_FIELD_VALUE = 18,
/**
* Carrier specific short number is not allowed.
*
* @generated from protobuf enum value: CALL_CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 19;
*/
CALL_CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 19,
/**
* Customer consent required for call recording Terms of Service.
*
* @generated from protobuf enum value: CALL_CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 20;
*/
CALL_CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 20,
/**
* The type of the specified phone number is not allowed.
*
* @generated from protobuf enum value: CALL_DISALLOWED_NUMBER_TYPE = 21;
*/
CALL_DISALLOWED_NUMBER_TYPE = 21,
/**
* If the default call_conversion_action is not used, the customer must have
* a ConversionAction with the same id and the ConversionAction must be call
* conversion type.
*
* @generated from protobuf enum value: CALL_INVALID_CONVERSION_ACTION = 22;
*/
CALL_INVALID_CONVERSION_ACTION = 22,
/**
* The country code of the phone number is invalid.
*
* @generated from protobuf enum value: CALL_INVALID_COUNTRY_CODE = 23;
*/
CALL_INVALID_COUNTRY_CODE = 23,
/**
* The format of the phone number is incorrect.
*
* @generated from protobuf enum value: CALL_INVALID_DOMESTIC_PHONE_NUMBER_FORMAT = 24;
*/
CALL_INVALID_DOMESTIC_PHONE_NUMBER_FORMAT = 24,
/**
* The input phone number is not a valid phone number.
*
* @generated from protobuf enum value: CALL_INVALID_PHONE_NUMBER = 25;
*/
CALL_INVALID_PHONE_NUMBER = 25,
/**
* The phone number is not supported for country.
*
* @generated from protobuf enum value: CALL_PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 26;
*/
CALL_PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 26,
/**
* Premium rate phone number is not allowed.
*
* @generated from protobuf enum value: CALL_PREMIUM_RATE_NUMBER_NOT_ALLOWED = 27;
*/
CALL_PREMIUM_RATE_NUMBER_NOT_ALLOWED = 27,
/**
* Vanity phone number is not allowed.
*
* @generated from protobuf enum value: CALL_VANITY_PHONE_NUMBER_NOT_ALLOWED = 28;
*/
CALL_VANITY_PHONE_NUMBER_NOT_ALLOWED = 28,
/**
* PriceOffering cannot have the same value for header and description.
*
* @generated from protobuf enum value: PRICE_HEADER_SAME_AS_DESCRIPTION = 29;
*/
PRICE_HEADER_SAME_AS_DESCRIPTION = 29,
/**
* AppId is invalid.
*
* @generated from protobuf enum value: MOBILE_APP_INVALID_APP_ID = 30;
*/
MOBILE_APP_INVALID_APP_ID = 30,
/**
* Invalid App download URL in final URLs.
*
* @generated from protobuf enum value: MOBILE_APP_INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL = 31;
*/
MOBILE_APP_INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL = 31,
/**
* Asset name is required for the asset type.
*
* @generated from protobuf enum value: NAME_REQUIRED_FOR_ASSET_TYPE = 32;
*/
NAME_REQUIRED_FOR_ASSET_TYPE = 32,
/**
* Legacy qualifying questions cannot be in the same Lead Form as
* custom questions.
*
* @generated from protobuf enum value: LEAD_FORM_LEGACY_QUALIFYING_QUESTIONS_DISALLOWED = 33;
*/
LEAD_FORM_LEGACY_QUALIFYING_QUESTIONS_DISALLOWED = 33,
/**
* Unique name is required for this asset type.
*
* @generated from protobuf enum value: NAME_CONFLICT_FOR_ASSET_TYPE = 34;
*/
NAME_CONFLICT_FOR_ASSET_TYPE = 34,
/**
* Cannot modify asset source.
*
* @generated from protobuf enum value: CANNOT_MODIFY_ASSET_SOURCE = 35;
*/
CANNOT_MODIFY_ASSET_SOURCE = 35,
/**
* User can not modify the automatically created asset.
*
* @generated from protobuf enum value: CANNOT_MODIFY_AUTOMATICALLY_CREATED_ASSET = 36;
*/
CANNOT_MODIFY_AUTOMATICALLY_CREATED_ASSET = 36
}
declare class AssetErrorEnum$Type extends MessageType<AssetErrorEnum> {
constructor();
create(value?: PartialMessage<AssetErrorEnum>): AssetErrorEnum;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AssetErrorEnum): AssetErrorEnum;
internalBinaryWrite(message: AssetErrorEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.errors.AssetErrorEnum
*/
export declare const AssetErrorEnum: AssetErrorEnum$Type;
export {};