google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
56 lines (55 loc) • 2.5 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";
import { CustomizerValue } from "../common/customizer_value";
import { CustomizerValueStatusEnum_CustomizerValueStatus } from "../enums/customizer_value_status";
/**
* A customizer value for the associated CustomizerAttribute at the Customer
* level.
*
* @generated from protobuf message google.ads.googleads.v11.resources.CustomerCustomizer
*/
export interface CustomerCustomizer {
/**
* Immutable. The resource name of the customer customizer.
* Customer customizer resource names have the form:
*
* `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}`
*
* @generated from protobuf field: string resource_name = 1;
*/
resourceName: string;
/**
* Required. Immutable. The customizer attribute which is linked to the customer.
*
* @generated from protobuf field: string customizer_attribute = 2;
*/
customizerAttribute: string;
/**
* Output only. The status of the customer customizer attribute.
*
* @generated from protobuf field: google.ads.googleads.v11.enums.CustomizerValueStatusEnum.CustomizerValueStatus status = 3;
*/
status: CustomizerValueStatusEnum_CustomizerValueStatus;
/**
* Required. The value to associate with the customizer attribute at this level. The
* value must be of the type specified for the CustomizerAttribute.
*
* @generated from protobuf field: google.ads.googleads.v11.common.CustomizerValue value = 4;
*/
value?: CustomizerValue;
}
declare class CustomerCustomizer$Type extends MessageType<CustomerCustomizer> {
constructor();
create(value?: PartialMessage<CustomerCustomizer>): CustomerCustomizer;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CustomerCustomizer): CustomerCustomizer;
internalBinaryWrite(message: CustomerCustomizer, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.resources.CustomerCustomizer
*/
export declare const CustomerCustomizer: CustomerCustomizer$Type;
export {};