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) • 1.91 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 video.
*
* @generated from protobuf message google.ads.googleads.v11.resources.Video
*/
export interface Video {
/**
* Output only. The resource name of the video.
* Video resource names have the form:
*
* `customers/{customer_id}/videos/{video_id}`
*
* @generated from protobuf field: string resource_name = 1;
*/
resourceName: string;
/**
* Output only. The ID of the video.
*
* @generated from protobuf field: optional string id = 6;
*/
id?: string;
/**
* Output only. The owner channel id of the video.
*
* @generated from protobuf field: optional string channel_id = 7;
*/
channelId?: string;
/**
* Output only. The duration of the video in milliseconds.
*
* @generated from protobuf field: optional int64 duration_millis = 8;
*/
durationMillis?: bigint;
/**
* Output only. The title of the video.
*
* @generated from protobuf field: optional string title = 9;
*/
title?: string;
}
declare class Video$Type extends MessageType<Video> {
constructor();
create(value?: PartialMessage<Video>): Video;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Video): Video;
internalBinaryWrite(message: Video, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.resources.Video
*/
export declare const Video: Video$Type;
export {};