google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
94 lines (93 loc) • 3.26 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 audience errors.
*
* @generated from protobuf message google.ads.googleads.v11.errors.AudienceErrorEnum
*/
export interface AudienceErrorEnum {
}
/**
* Enum describing possible audience errors.
*
* @generated from protobuf enum google.ads.googleads.v11.errors.AudienceErrorEnum.AudienceError
*/
export declare enum AudienceErrorEnum_AudienceError {
/**
* 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,
/**
* An audience with this name already exists.
*
* @generated from protobuf enum value: NAME_ALREADY_IN_USE = 2;
*/
NAME_ALREADY_IN_USE = 2,
/**
* A dimension within the audience definition is not valid.
*
* @generated from protobuf enum value: DIMENSION_INVALID = 3;
*/
DIMENSION_INVALID = 3,
/**
* One of the audience segment added is not found.
*
* @generated from protobuf enum value: AUDIENCE_SEGMENT_NOT_FOUND = 4;
*/
AUDIENCE_SEGMENT_NOT_FOUND = 4,
/**
* One of the audience segment type is not supported.
*
* @generated from protobuf enum value: AUDIENCE_SEGMENT_TYPE_NOT_SUPPORTED = 5;
*/
AUDIENCE_SEGMENT_TYPE_NOT_SUPPORTED = 5,
/**
* The same segment already exists in this audience.
*
* @generated from protobuf enum value: DUPLICATE_AUDIENCE_SEGMENT = 6;
*/
DUPLICATE_AUDIENCE_SEGMENT = 6,
/**
* Audience can't have more than allowed number segments.
*
* @generated from protobuf enum value: TOO_MANY_SEGMENTS = 7;
*/
TOO_MANY_SEGMENTS = 7,
/**
* Audience can't have multiple dimensions of same type.
*
* @generated from protobuf enum value: TOO_MANY_DIMENSIONS_OF_SAME_TYPE = 8;
*/
TOO_MANY_DIMENSIONS_OF_SAME_TYPE = 8,
/**
* The audience cannot be removed, because it is currently used in an
* ad group criterion or asset group signal in an (enabled or paused)
* ad group or campaign.
*
* @generated from protobuf enum value: IN_USE = 9;
*/
IN_USE = 9
}
declare class AudienceErrorEnum$Type extends MessageType<AudienceErrorEnum> {
constructor();
create(value?: PartialMessage<AudienceErrorEnum>): AudienceErrorEnum;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AudienceErrorEnum): AudienceErrorEnum;
internalBinaryWrite(message: AudienceErrorEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.errors.AudienceErrorEnum
*/
export declare const AudienceErrorEnum: AudienceErrorEnum$Type;
export {};