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.

58 lines (57 loc) 2.21 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 customer errors. * * @generated from protobuf message google.ads.googleads.v11.errors.CustomerErrorEnum */ export interface CustomerErrorEnum { } /** * Set of errors that are related to requests dealing with Customer. * * @generated from protobuf enum google.ads.googleads.v11.errors.CustomerErrorEnum.CustomerError */ export declare enum CustomerErrorEnum_CustomerError { /** * 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, /** * Customer status is not allowed to be changed from DRAFT and CLOSED. * Currency code and at least one of country code and time zone needs to be * set when status is changed to ENABLED. * * @generated from protobuf enum value: STATUS_CHANGE_DISALLOWED = 2; */ STATUS_CHANGE_DISALLOWED = 2, /** * CustomerService cannot get a customer that has not been fully set up. * * @generated from protobuf enum value: ACCOUNT_NOT_SET_UP = 3; */ ACCOUNT_NOT_SET_UP = 3 } declare class CustomerErrorEnum$Type extends MessageType<CustomerErrorEnum> { constructor(); create(value?: PartialMessage<CustomerErrorEnum>): CustomerErrorEnum; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CustomerErrorEnum): CustomerErrorEnum; internalBinaryWrite(message: CustomerErrorEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.ads.googleads.v11.errors.CustomerErrorEnum */ export declare const CustomerErrorEnum: CustomerErrorEnum$Type; export {};