google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
63 lines (62 loc) • 2.93 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
* AdGroupCriterion level.
*
* @generated from protobuf message google.ads.googleads.v11.resources.AdGroupCriterionCustomizer
*/
export interface AdGroupCriterionCustomizer {
/**
* Immutable. The resource name of the ad group criterion customizer.
* Ad group criterion customizer resource names have the form:
*
* `customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}`
*
* @generated from protobuf field: string resource_name = 1;
*/
resourceName: string;
/**
* Immutable. The ad group criterion to which the customizer attribute is linked.
* It must be a keyword criterion.
*
* @generated from protobuf field: optional string ad_group_criterion = 2;
*/
adGroupCriterion?: string;
/**
* Required. Immutable. The customizer attribute which is linked to the ad group criterion.
*
* @generated from protobuf field: string customizer_attribute = 3;
*/
customizerAttribute: string;
/**
* Output only. The status of the ad group criterion 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 AdGroupCriterionCustomizer$Type extends MessageType<AdGroupCriterionCustomizer> {
constructor();
create(value?: PartialMessage<AdGroupCriterionCustomizer>): AdGroupCriterionCustomizer;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AdGroupCriterionCustomizer): AdGroupCriterionCustomizer;
internalBinaryWrite(message: AdGroupCriterionCustomizer, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.resources.AdGroupCriterionCustomizer
*/
export declare const AdGroupCriterionCustomizer: AdGroupCriterionCustomizer$Type;
export {};