google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
62 lines (61 loc) • 2.67 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 AdGroup
* level.
*
* @generated from protobuf message google.ads.googleads.v11.resources.AdGroupCustomizer
*/
export interface AdGroupCustomizer {
/**
* Immutable. The resource name of the ad group customizer.
* Ad group customizer resource names have the form:
*
* `customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}`
*
* @generated from protobuf field: string resource_name = 1;
*/
resourceName: string;
/**
* Immutable. The ad group to which the customizer attribute is linked.
*
* @generated from protobuf field: string ad_group = 2;
*/
adGroup: string;
/**
* Required. Immutable. The customizer attribute which is linked to the ad group.
*
* @generated from protobuf field: string customizer_attribute = 3;
*/
customizerAttribute: string;
/**
* Output only. The status of the ad group customizer.
*
* @generated from protobuf field: google.ads.googleads.v11.enums.CustomizerValueStatusEnum.CustomizerValueStatus status = 4;
*/
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 = 5;
*/
value?: CustomizerValue;
}
declare class AdGroupCustomizer$Type extends MessageType<AdGroupCustomizer> {
constructor();
create(value?: PartialMessage<AdGroupCustomizer>): AdGroupCustomizer;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AdGroupCustomizer): AdGroupCustomizer;
internalBinaryWrite(message: AdGroupCustomizer, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.resources.AdGroupCustomizer
*/
export declare const AdGroupCustomizer: AdGroupCustomizer$Type;
export {};