google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
104 lines (103 loc) • 4.08 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 operation access denied errors.
*
* @generated from protobuf message google.ads.googleads.v11.errors.OperationAccessDeniedErrorEnum
*/
export interface OperationAccessDeniedErrorEnum {
}
/**
* Enum describing possible operation access denied errors.
*
* @generated from protobuf enum google.ads.googleads.v11.errors.OperationAccessDeniedErrorEnum.OperationAccessDeniedError
*/
export declare enum OperationAccessDeniedErrorEnum_OperationAccessDeniedError {
/**
* 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,
/**
* Unauthorized invocation of a service's method (get, mutate, etc.)
*
* @generated from protobuf enum value: ACTION_NOT_PERMITTED = 2;
*/
ACTION_NOT_PERMITTED = 2,
/**
* Unauthorized CREATE operation in invoking a service's mutate method.
*
* @generated from protobuf enum value: CREATE_OPERATION_NOT_PERMITTED = 3;
*/
CREATE_OPERATION_NOT_PERMITTED = 3,
/**
* Unauthorized REMOVE operation in invoking a service's mutate method.
*
* @generated from protobuf enum value: REMOVE_OPERATION_NOT_PERMITTED = 4;
*/
REMOVE_OPERATION_NOT_PERMITTED = 4,
/**
* Unauthorized UPDATE operation in invoking a service's mutate method.
*
* @generated from protobuf enum value: UPDATE_OPERATION_NOT_PERMITTED = 5;
*/
UPDATE_OPERATION_NOT_PERMITTED = 5,
/**
* A mutate action is not allowed on this resource, from this client.
*
* @generated from protobuf enum value: MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT = 6;
*/
MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT = 6,
/**
* This operation is not permitted on this campaign type
*
* @generated from protobuf enum value: OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE = 7;
*/
OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE = 7,
/**
* A CREATE operation may not set status to REMOVED.
*
* @generated from protobuf enum value: CREATE_AS_REMOVED_NOT_PERMITTED = 8;
*/
CREATE_AS_REMOVED_NOT_PERMITTED = 8,
/**
* This operation is not allowed because the resource is removed.
*
* @generated from protobuf enum value: OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE = 9;
*/
OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE = 9,
/**
* This operation is not permitted on this ad group type.
*
* @generated from protobuf enum value: OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE = 10;
*/
OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE = 10,
/**
* The mutate is not allowed for this customer.
*
* @generated from protobuf enum value: MUTATE_NOT_PERMITTED_FOR_CUSTOMER = 11;
*/
MUTATE_NOT_PERMITTED_FOR_CUSTOMER = 11
}
declare class OperationAccessDeniedErrorEnum$Type extends MessageType<OperationAccessDeniedErrorEnum> {
constructor();
create(value?: PartialMessage<OperationAccessDeniedErrorEnum>): OperationAccessDeniedErrorEnum;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: OperationAccessDeniedErrorEnum): OperationAccessDeniedErrorEnum;
internalBinaryWrite(message: OperationAccessDeniedErrorEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.errors.OperationAccessDeniedErrorEnum
*/
export declare const OperationAccessDeniedErrorEnum: OperationAccessDeniedErrorEnum$Type;
export {};