google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
45 lines (44 loc) • 1.74 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";
/**
* A relationship between an ad group and a label.
*
* @generated from protobuf message google.ads.googleads.v11.resources.AdGroupLabel
*/
export interface AdGroupLabel {
/**
* Immutable. The resource name of the ad group label.
* Ad group label resource names have the form:
* `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}`
*
* @generated from protobuf field: string resource_name = 1;
*/
resourceName: string;
/**
* Immutable. The ad group to which the label is attached.
*
* @generated from protobuf field: optional string ad_group = 4;
*/
adGroup?: string;
/**
* Immutable. The label assigned to the ad group.
*
* @generated from protobuf field: optional string label = 5;
*/
label?: string;
}
declare class AdGroupLabel$Type extends MessageType<AdGroupLabel> {
constructor();
create(value?: PartialMessage<AdGroupLabel>): AdGroupLabel;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AdGroupLabel): AdGroupLabel;
internalBinaryWrite(message: AdGroupLabel, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.resources.AdGroupLabel
*/
export declare const AdGroupLabel: AdGroupLabel$Type;
export {};