google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
99 lines (98 loc) • 3.4 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 mutate errors.
*
* @generated from protobuf message google.ads.googleads.v11.errors.MutateErrorEnum
*/
export interface MutateErrorEnum {
}
/**
* Enum describing possible mutate errors.
*
* @generated from protobuf enum google.ads.googleads.v11.errors.MutateErrorEnum.MutateError
*/
export declare enum MutateErrorEnum_MutateError {
/**
* 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,
/**
* Requested resource was not found.
*
* @generated from protobuf enum value: RESOURCE_NOT_FOUND = 3;
*/
RESOURCE_NOT_FOUND = 3,
/**
* Cannot mutate the same resource twice in one request.
*
* @generated from protobuf enum value: ID_EXISTS_IN_MULTIPLE_MUTATES = 7;
*/
ID_EXISTS_IN_MULTIPLE_MUTATES = 7,
/**
* The field's contents don't match another field that represents the same
* data.
*
* @generated from protobuf enum value: INCONSISTENT_FIELD_VALUES = 8;
*/
INCONSISTENT_FIELD_VALUES = 8,
/**
* Mutates are not allowed for the requested resource.
*
* @generated from protobuf enum value: MUTATE_NOT_ALLOWED = 9;
*/
MUTATE_NOT_ALLOWED = 9,
/**
* The resource isn't in Google Ads. It belongs to another ads system.
*
* @generated from protobuf enum value: RESOURCE_NOT_IN_GOOGLE_ADS = 10;
*/
RESOURCE_NOT_IN_GOOGLE_ADS = 10,
/**
* The resource being created already exists.
*
* @generated from protobuf enum value: RESOURCE_ALREADY_EXISTS = 11;
*/
RESOURCE_ALREADY_EXISTS = 11,
/**
* This resource cannot be used with "validate_only".
*
* @generated from protobuf enum value: RESOURCE_DOES_NOT_SUPPORT_VALIDATE_ONLY = 12;
*/
RESOURCE_DOES_NOT_SUPPORT_VALIDATE_ONLY = 12,
/**
* This operation cannot be used with "partial_failure".
*
* @generated from protobuf enum value: OPERATION_DOES_NOT_SUPPORT_PARTIAL_FAILURE = 16;
*/
OPERATION_DOES_NOT_SUPPORT_PARTIAL_FAILURE = 16,
/**
* Attempt to write to read-only fields.
*
* @generated from protobuf enum value: RESOURCE_READ_ONLY = 13;
*/
RESOURCE_READ_ONLY = 13
}
declare class MutateErrorEnum$Type extends MessageType<MutateErrorEnum> {
constructor();
create(value?: PartialMessage<MutateErrorEnum>): MutateErrorEnum;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MutateErrorEnum): MutateErrorEnum;
internalBinaryWrite(message: MutateErrorEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.errors.MutateErrorEnum
*/
export declare const MutateErrorEnum: MutateErrorEnum$Type;
export {};