google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
40 lines (39 loc) • 1.63 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 type of label displaying text on a colored background.
*
* @generated from protobuf message google.ads.googleads.v11.common.TextLabel
*/
export interface TextLabel {
/**
* Background color of the label in RGB format. This string must match the
* regular expression '^\#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$'.
* Note: The background color may not be visible for manager accounts.
*
* @generated from protobuf field: optional string background_color = 3;
*/
backgroundColor?: string;
/**
* A short description of the label. The length must be no more than 200
* characters.
*
* @generated from protobuf field: optional string description = 4;
*/
description?: string;
}
declare class TextLabel$Type extends MessageType<TextLabel> {
constructor();
create(value?: PartialMessage<TextLabel>): TextLabel;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TextLabel): TextLabel;
internalBinaryWrite(message: TextLabel, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.common.TextLabel
*/
export declare const TextLabel: TextLabel$Type;
export {};