Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Promotion

import type { Promotion } from "https://googleapis.deno.dev/v1/customsearch:v1.ts";

Promotion result.

interface Promotion {
bodyLines?: {
htmlTitle?: string;
link?: string;
title?: string;
url?: string;
}
[]
;
displayLink?: string;
htmlTitle?: string;
image?: {
height?: number;
source?: string;
width?: number;
}
;
link?: string;
title?: string;
}

§Properties

§
bodyLines?: {
htmlTitle?: string;
link?: string;
title?: string;
url?: string;
}
[]
[src]

An array of block objects for this promotion.

§
htmlTitle?: string
[src]

The title of the promotion, in HTML.

§
image?: {
height?: number;
source?: string;
width?: number;
}
[src]

Image belonging to a promotion.

§
title?: string
[src]

The title of the promotion.