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";
/**
* Represents a relationship between a campaign and a label.
*
* @generated from protobuf message google.ads.googleads.v11.resources.CampaignLabel
*/
export interface CampaignLabel {
/**
* Immutable. Name of the resource.
* Campaign label resource names have the form:
* `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}`
*
* @generated from protobuf field: string resource_name = 1;
*/
resourceName: string;
/**
* Immutable. The campaign to which the label is attached.
*
* @generated from protobuf field: optional string campaign = 4;
*/
campaign?: string;
/**
* Immutable. The label assigned to the campaign.
*
* @generated from protobuf field: optional string label = 5;
*/
label?: string;
}
declare class CampaignLabel$Type extends MessageType<CampaignLabel> {
constructor();
create(value?: PartialMessage<CampaignLabel>): CampaignLabel;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CampaignLabel): CampaignLabel;
internalBinaryWrite(message: CampaignLabel, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.resources.CampaignLabel
*/
export declare const CampaignLabel: CampaignLabel$Type;
export {};