google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
120 lines (119 loc) • 5.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 resource count limit exceeded errors.
*
* @generated from protobuf message google.ads.googleads.v11.errors.ResourceCountLimitExceededErrorEnum
*/
export interface ResourceCountLimitExceededErrorEnum {
}
/**
* Enum describing possible resource count limit exceeded errors.
*
* @generated from protobuf enum google.ads.googleads.v11.errors.ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError
*/
export declare enum ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError {
/**
* 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,
/**
* Indicates that this request would exceed the number of allowed resources
* for the Google Ads account. The exact resource type and limit being
* checked can be inferred from accountLimitType.
*
* @generated from protobuf enum value: ACCOUNT_LIMIT = 2;
*/
ACCOUNT_LIMIT = 2,
/**
* Indicates that this request would exceed the number of allowed resources
* in a Campaign. The exact resource type and limit being checked can be
* inferred from accountLimitType, and the numeric id of the
* Campaign involved is given by enclosingId.
*
* @generated from protobuf enum value: CAMPAIGN_LIMIT = 3;
*/
CAMPAIGN_LIMIT = 3,
/**
* Indicates that this request would exceed the number of allowed resources
* in an ad group. The exact resource type and limit being checked can be
* inferred from accountLimitType, and the numeric id of the
* ad group involved is given by enclosingId.
*
* @generated from protobuf enum value: ADGROUP_LIMIT = 4;
*/
ADGROUP_LIMIT = 4,
/**
* Indicates that this request would exceed the number of allowed resources
* in an ad group ad. The exact resource type and limit being checked can
* be inferred from accountLimitType, and the enclosingId
* contains the ad group id followed by the ad id, separated by a single
* comma (,).
*
* @generated from protobuf enum value: AD_GROUP_AD_LIMIT = 5;
*/
AD_GROUP_AD_LIMIT = 5,
/**
* Indicates that this request would exceed the number of allowed resources
* in an ad group criterion. The exact resource type and limit being checked
* can be inferred from accountLimitType, and the
* enclosingId contains the ad group id followed by the
* criterion id, separated by a single comma (,).
*
* @generated from protobuf enum value: AD_GROUP_CRITERION_LIMIT = 6;
*/
AD_GROUP_CRITERION_LIMIT = 6,
/**
* Indicates that this request would exceed the number of allowed resources
* in this shared set. The exact resource type and limit being checked can
* be inferred from accountLimitType, and the numeric id of the
* shared set involved is given by enclosingId.
*
* @generated from protobuf enum value: SHARED_SET_LIMIT = 7;
*/
SHARED_SET_LIMIT = 7,
/**
* Exceeds a limit related to a matching function.
*
* @generated from protobuf enum value: MATCHING_FUNCTION_LIMIT = 8;
*/
MATCHING_FUNCTION_LIMIT = 8,
/**
* The response for this request would exceed the maximum number of rows
* that can be returned.
*
* @generated from protobuf enum value: RESPONSE_ROW_LIMIT_EXCEEDED = 9;
*/
RESPONSE_ROW_LIMIT_EXCEEDED = 9,
/**
* This request would exceed a limit on the number of allowed resources.
* The details of which type of limit was exceeded will eventually be
* returned in ErrorDetails.
*
* @generated from protobuf enum value: RESOURCE_LIMIT = 10;
*/
RESOURCE_LIMIT = 10
}
declare class ResourceCountLimitExceededErrorEnum$Type extends MessageType<ResourceCountLimitExceededErrorEnum> {
constructor();
create(value?: PartialMessage<ResourceCountLimitExceededErrorEnum>): ResourceCountLimitExceededErrorEnum;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceCountLimitExceededErrorEnum): ResourceCountLimitExceededErrorEnum;
internalBinaryWrite(message: ResourceCountLimitExceededErrorEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.errors.ResourceCountLimitExceededErrorEnum
*/
export declare const ResourceCountLimitExceededErrorEnum: ResourceCountLimitExceededErrorEnum$Type;
export {};