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

FeedField

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

Each field of the element. This is a required field.

interface FeedField {
defaultValue?: string;
filterable?: boolean;
id?: number;
name?: string;
renderable?: boolean;
required?: boolean;
type?:
| "TYPE_UNKNOWN"
| "STRING"
| "LONG"
| "GPA_SERVED_IMAGE_URL"
| "GPA_SERVED_ASSET_URL"
| "COUNTRY_CODE_ISO"
| "FLOAT"
| "CM360_KEYWORD"
| "CM360_SITE_ID"
| "BOOL"
| "EXIT_URL"
| "DATETIME"
| "CM360_CREATIVE_ID"
| "CM360_PLACEMENT_ID"
| "CM360_AD_ID"
| "CM360_ADVERTISER_ID"
| "CM360_CAMPAIGN_ID"
| "CITY"
| "REGION"
| "POSTAL_CODE"
| "METRO"
| "CUSTOM_VALUE"
| "REMARKETING_VALUE"
| "GEO_CANONICAL"
| "WEIGHT"
| "STRING_LIST"
| "CREATIVE_DIMENSION"
| "USERLIST_ID"
| "ASSET_LIBRARY_DIRECTORY_HANDLE"
| "ASSET_LIBRARY_VIDEO_HANDLE"
| "ASSET_LIBRARY_HANDLE"
| "THIRD_PARTY_SERVED_URL"
| "CM360_DYNAMIC_TARGETING_KEY"
| "DV360_LINE_ITEM_ID";
}

§Properties

§
defaultValue?: string
[src]

Optional. The default value of the field.

§
filterable?: boolean
[src]

Optional. Whether the field is filterable. Could be set as true when the field type is any of the following and is not renderable: - STRING - BOOL - COUNTRY_CODE_ISO - CM360_SITE_ID - CM360_KEYWORD - CM360_CREATIVE_ID - CM360_PLACEMENT_ID - CM360_AD_ID - CM360_ADVERTISER_ID - CM360_CAMPAIGN_ID

  • CITY - REGION - POSTAL_CODE - METRO - CUSTOM_VALUE - REMARKETING_VALUE - GEO_CANONICAL - STRING_LIST - CREATIVE_DIMENSION - USERLIST_ID - CM360_DYNAMIC_TARGETING_KEY - DV360_LINE_ITEM_ID
§
id?: number
[src]

Required. The ID of the field. The ID is based on the column index starting from 0, and it should match the column index in the resource link.

§
name?: string
[src]

Required. The name of the field.

§
renderable?: boolean
[src]

Optional. Whether the field is able to display. Could be set as true when the field type is not in any of the following and the field is not filterable: - COUNTRY_CODE_ISO - CITY - REGION - POSTAL_CODE - METRO - GEO_CANONICAL - USERLIST_ID - CONTEXTUAL_KEYWORD - CM360_DYNAMIC_TARGETING_KEY - WEIGHT

§
required?: boolean
[src]

Optional. Whether the field is required and should not be empty in the feed. Could be set as true when the field type is any of the following: - GPA_SERVED_IMAGE_URL - GPA_SERVED_ASSET_URL - ASSET_LIBRARY_HANDLE - ASSET_LIBRARY_VIDEO_HANDLE - ASSET_LIBRARY_DIRECTORY_HANDLE

§
type?: "TYPE_UNKNOWN" | "STRING" | "LONG" | "GPA_SERVED_IMAGE_URL" | "GPA_SERVED_ASSET_URL" | "COUNTRY_CODE_ISO" | "FLOAT" | "CM360_KEYWORD" | "CM360_SITE_ID" | "BOOL" | "EXIT_URL" | "DATETIME" | "CM360_CREATIVE_ID" | "CM360_PLACEMENT_ID" | "CM360_AD_ID" | "CM360_ADVERTISER_ID" | "CM360_CAMPAIGN_ID" | "CITY" | "REGION" | "POSTAL_CODE" | "METRO" | "CUSTOM_VALUE" | "REMARKETING_VALUE" | "GEO_CANONICAL" | "WEIGHT" | "STRING_LIST" | "CREATIVE_DIMENSION" | "USERLIST_ID" | "ASSET_LIBRARY_DIRECTORY_HANDLE" | "ASSET_LIBRARY_VIDEO_HANDLE" | "ASSET_LIBRARY_HANDLE" | "THIRD_PARTY_SERVED_URL" | "CM360_DYNAMIC_TARGETING_KEY" | "DV360_LINE_ITEM_ID"
[src]

Required. The type of the field.