UNPKG

google-ads-api-client

Version:

A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.

66 lines (65 loc) 2.97 kB
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"; import { CustomizerAttributeStatusEnum_CustomizerAttributeStatus } from "../enums/customizer_attribute_status"; import { CustomizerAttributeTypeEnum_CustomizerAttributeType } from "../enums/customizer_attribute_type"; /** * A customizer attribute. * Use CustomerCustomizer, CampaignCustomizer, AdGroupCustomizer, or * AdGroupCriterionCustomizer to associate a customizer attribute and * set its value at the customer, campaign, ad group, or ad group criterion * level, respectively. * * @generated from protobuf message google.ads.googleads.v11.resources.CustomizerAttribute */ export interface CustomizerAttribute { /** * Immutable. The resource name of the customizer attribute. * Customizer Attribute resource names have the form: * * `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}` * * @generated from protobuf field: string resource_name = 1; */ resourceName: string; /** * Output only. The ID of the customizer attribute. * * @generated from protobuf field: int64 id = 2; */ id: bigint; /** * Required. Immutable. Name of the customizer attribute. Required. It must have a minimum length * of 1 and maximum length of 40. Name of an enabled customizer attribute must * be unique (case insensitive). * * @generated from protobuf field: string name = 3; */ name: string; /** * Immutable. The type of the customizer attribute. * * @generated from protobuf field: google.ads.googleads.v11.enums.CustomizerAttributeTypeEnum.CustomizerAttributeType type = 4; */ type: CustomizerAttributeTypeEnum_CustomizerAttributeType; /** * Output only. The status of the customizer attribute. * * @generated from protobuf field: google.ads.googleads.v11.enums.CustomizerAttributeStatusEnum.CustomizerAttributeStatus status = 5; */ status: CustomizerAttributeStatusEnum_CustomizerAttributeStatus; } declare class CustomizerAttribute$Type extends MessageType<CustomizerAttribute> { constructor(); create(value?: PartialMessage<CustomizerAttribute>): CustomizerAttribute; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CustomizerAttribute): CustomizerAttribute; internalBinaryWrite(message: CustomizerAttribute, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.ads.googleads.v11.resources.CustomizerAttribute */ export declare const CustomizerAttribute: CustomizerAttribute$Type; export {};