google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
87 lines (86 loc) • 3.24 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 custom interest errors.
*
* @generated from protobuf message google.ads.googleads.v11.errors.CustomInterestErrorEnum
*/
export interface CustomInterestErrorEnum {
}
/**
* Enum describing possible custom interest errors.
*
* @generated from protobuf enum google.ads.googleads.v11.errors.CustomInterestErrorEnum.CustomInterestError
*/
export declare enum CustomInterestErrorEnum_CustomInterestError {
/**
* 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,
/**
* Duplicate custom interest name ignoring case.
*
* @generated from protobuf enum value: NAME_ALREADY_USED = 2;
*/
NAME_ALREADY_USED = 2,
/**
* In the remove custom interest member operation, both member ID and
* pair [type, parameter] are not present.
*
* @generated from protobuf enum value: CUSTOM_INTEREST_MEMBER_ID_AND_TYPE_PARAMETER_NOT_PRESENT_IN_REMOVE = 3;
*/
CUSTOM_INTEREST_MEMBER_ID_AND_TYPE_PARAMETER_NOT_PRESENT_IN_REMOVE = 3,
/**
* The pair of [type, parameter] does not exist.
*
* @generated from protobuf enum value: TYPE_AND_PARAMETER_NOT_FOUND = 4;
*/
TYPE_AND_PARAMETER_NOT_FOUND = 4,
/**
* The pair of [type, parameter] already exists.
*
* @generated from protobuf enum value: TYPE_AND_PARAMETER_ALREADY_EXISTED = 5;
*/
TYPE_AND_PARAMETER_ALREADY_EXISTED = 5,
/**
* Unsupported custom interest member type.
*
* @generated from protobuf enum value: INVALID_CUSTOM_INTEREST_MEMBER_TYPE = 6;
*/
INVALID_CUSTOM_INTEREST_MEMBER_TYPE = 6,
/**
* Cannot remove a custom interest while it's still being targeted.
*
* @generated from protobuf enum value: CANNOT_REMOVE_WHILE_IN_USE = 7;
*/
CANNOT_REMOVE_WHILE_IN_USE = 7,
/**
* Cannot mutate custom interest type.
*
* @generated from protobuf enum value: CANNOT_CHANGE_TYPE = 8;
*/
CANNOT_CHANGE_TYPE = 8
}
declare class CustomInterestErrorEnum$Type extends MessageType<CustomInterestErrorEnum> {
constructor();
create(value?: PartialMessage<CustomInterestErrorEnum>): CustomInterestErrorEnum;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CustomInterestErrorEnum): CustomInterestErrorEnum;
internalBinaryWrite(message: CustomInterestErrorEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.errors.CustomInterestErrorEnum
*/
export declare const CustomInterestErrorEnum: CustomInterestErrorEnum$Type;
export {};