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.

75 lines (74 loc) 2.89 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 CustomerUserAccess errors. * * @generated from protobuf message google.ads.googleads.v11.errors.CustomerUserAccessErrorEnum */ export interface CustomerUserAccessErrorEnum { } /** * Enum describing possible customer user access errors. * * @generated from protobuf enum google.ads.googleads.v11.errors.CustomerUserAccessErrorEnum.CustomerUserAccessError */ export declare enum CustomerUserAccessErrorEnum_CustomerUserAccessError { /** * 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, /** * There is no user associated with the user id specified. * * @generated from protobuf enum value: INVALID_USER_ID = 2; */ INVALID_USER_ID = 2, /** * Unable to remove the access between the user and customer. * * @generated from protobuf enum value: REMOVAL_DISALLOWED = 3; */ REMOVAL_DISALLOWED = 3, /** * Unable to add or update the access role as specified. * * @generated from protobuf enum value: DISALLOWED_ACCESS_ROLE = 4; */ DISALLOWED_ACCESS_ROLE = 4, /** * The user can't remove itself from an active serving customer if it's the * last admin user and the customer doesn't have any owner manager * * @generated from protobuf enum value: LAST_ADMIN_USER_OF_SERVING_CUSTOMER = 5; */ LAST_ADMIN_USER_OF_SERVING_CUSTOMER = 5, /** * Last admin user cannot be removed from a manager. * * @generated from protobuf enum value: LAST_ADMIN_USER_OF_MANAGER = 6; */ LAST_ADMIN_USER_OF_MANAGER = 6 } declare class CustomerUserAccessErrorEnum$Type extends MessageType<CustomerUserAccessErrorEnum> { constructor(); create(value?: PartialMessage<CustomerUserAccessErrorEnum>): CustomerUserAccessErrorEnum; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CustomerUserAccessErrorEnum): CustomerUserAccessErrorEnum; internalBinaryWrite(message: CustomerUserAccessErrorEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.ads.googleads.v11.errors.CustomerUserAccessErrorEnum */ export declare const CustomerUserAccessErrorEnum: CustomerUserAccessErrorEnum$Type; export {};