google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
73 lines (72 loc) • 2.69 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 that determines if the described artifact is a resource
* or a field, and if it is a field, when it segments search queries.
*
* @generated from protobuf message google.ads.googleads.v11.enums.GoogleAdsFieldCategoryEnum
*/
export interface GoogleAdsFieldCategoryEnum {
}
/**
* The category of the artifact.
*
* @generated from protobuf enum google.ads.googleads.v11.enums.GoogleAdsFieldCategoryEnum.GoogleAdsFieldCategory
*/
export declare enum GoogleAdsFieldCategoryEnum_GoogleAdsFieldCategory {
/**
* Unspecified
*
* @generated from protobuf enum value: UNSPECIFIED = 0;
*/
UNSPECIFIED = 0,
/**
* Unknown
*
* @generated from protobuf enum value: UNKNOWN = 1;
*/
UNKNOWN = 1,
/**
* The described artifact is a resource.
*
* @generated from protobuf enum value: RESOURCE = 2;
*/
RESOURCE = 2,
/**
* The described artifact is a field and is an attribute of a resource.
* Including a resource attribute field in a query may segment the query if
* the resource to which it is attributed segments the resource found in
* the FROM clause.
*
* @generated from protobuf enum value: ATTRIBUTE = 3;
*/
ATTRIBUTE = 3,
/**
* The described artifact is a field and always segments search queries.
*
* @generated from protobuf enum value: SEGMENT = 5;
*/
SEGMENT = 5,
/**
* The described artifact is a field and is a metric. It never segments
* search queries.
*
* @generated from protobuf enum value: METRIC = 6;
*/
METRIC = 6
}
declare class GoogleAdsFieldCategoryEnum$Type extends MessageType<GoogleAdsFieldCategoryEnum> {
constructor();
create(value?: PartialMessage<GoogleAdsFieldCategoryEnum>): GoogleAdsFieldCategoryEnum;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GoogleAdsFieldCategoryEnum): GoogleAdsFieldCategoryEnum;
internalBinaryWrite(message: GoogleAdsFieldCategoryEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.enums.GoogleAdsFieldCategoryEnum
*/
export declare const GoogleAdsFieldCategoryEnum: GoogleAdsFieldCategoryEnum$Type;
export {};