google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
50 lines (49 loc) • 1.97 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 policy violation errors.
*
* @generated from protobuf message google.ads.googleads.v11.errors.PolicyViolationErrorEnum
*/
export interface PolicyViolationErrorEnum {
}
/**
* Enum describing possible policy violation errors.
*
* @generated from protobuf enum google.ads.googleads.v11.errors.PolicyViolationErrorEnum.PolicyViolationError
*/
export declare enum PolicyViolationErrorEnum_PolicyViolationError {
/**
* 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,
/**
* A policy was violated. See PolicyViolationDetails for more detail.
*
* @generated from protobuf enum value: POLICY_ERROR = 2;
*/
POLICY_ERROR = 2
}
declare class PolicyViolationErrorEnum$Type extends MessageType<PolicyViolationErrorEnum> {
constructor();
create(value?: PartialMessage<PolicyViolationErrorEnum>): PolicyViolationErrorEnum;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PolicyViolationErrorEnum): PolicyViolationErrorEnum;
internalBinaryWrite(message: PolicyViolationErrorEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.errors.PolicyViolationErrorEnum
*/
export declare const PolicyViolationErrorEnum: PolicyViolationErrorEnum$Type;
export {};