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

Rule

import type { Rule } from "https://googleapis.deno.dev/v1/dfareporting:v4.ts";

A rule associates an asset with a targeting template for asset-level targeting. Applicable to INSTREAM_VIDEO creatives.

interface Rule {
assetId?: bigint;
name?: string;
targetingTemplateId?: bigint;
}

§Properties

§
assetId?: bigint
[src]

A creativeAssets[].id. This should refer to one of the parent assets in this creative. This is a required field.

§
name?: string
[src]

A user-friendly name for this rule. This is a required field.

§
targetingTemplateId?: bigint
[src]

A targeting template ID. The targeting from the targeting template will be used to determine whether this asset should be served. This is a required field.