google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
58 lines (57 loc) • 2.33 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";
/**
* Use topics to target or exclude placements in the Google Display Network
* based on the category into which the placement falls (for example,
* "Pets & Animals/Pets/Dogs").
*
* @generated from protobuf message google.ads.googleads.v11.resources.TopicConstant
*/
export interface TopicConstant {
/**
* Output only. The resource name of the topic constant.
* topic constant resource names have the form:
*
* `topicConstants/{topic_id}`
*
* @generated from protobuf field: string resource_name = 1;
*/
resourceName: string;
/**
* Output only. The ID of the topic.
*
* @generated from protobuf field: optional int64 id = 5;
*/
id?: bigint;
/**
* Output only. Resource name of parent of the topic constant.
*
* @generated from protobuf field: optional string topic_constant_parent = 6;
*/
topicConstantParent?: string;
/**
* Output only. The category to target or exclude. Each subsequent element in the array
* describes a more specific sub-category. For example,
* {"Pets & Animals", "Pets", "Dogs"} represents the
* "Pets & Animals/Pets/Dogs" category. List of available topic categories at
* https://developers.google.com/adwords/api/docs/appendix/verticals
*
* @generated from protobuf field: repeated string path = 7;
*/
path: string[];
}
declare class TopicConstant$Type extends MessageType<TopicConstant> {
constructor();
create(value?: PartialMessage<TopicConstant>): TopicConstant;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TopicConstant): TopicConstant;
internalBinaryWrite(message: TopicConstant, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.resources.TopicConstant
*/
export declare const TopicConstant: TopicConstant$Type;
export {};