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

CampaignGoal

import type { CampaignGoal } from "https://googleapis.deno.dev/v1/displayvideo:v3.ts";

Settings that control the goal of a campaign.

interface CampaignGoal {
campaignGoalType?:
| "CAMPAIGN_GOAL_TYPE_UNSPECIFIED"
| "CAMPAIGN_GOAL_TYPE_APP_INSTALL"
| "CAMPAIGN_GOAL_TYPE_BRAND_AWARENESS"
| "CAMPAIGN_GOAL_TYPE_OFFLINE_ACTION"
| "CAMPAIGN_GOAL_TYPE_ONLINE_ACTION";
performanceGoal?: PerformanceGoal;
}

§Properties

§
campaignGoalType?: "CAMPAIGN_GOAL_TYPE_UNSPECIFIED" | "CAMPAIGN_GOAL_TYPE_APP_INSTALL" | "CAMPAIGN_GOAL_TYPE_BRAND_AWARENESS" | "CAMPAIGN_GOAL_TYPE_OFFLINE_ACTION" | "CAMPAIGN_GOAL_TYPE_ONLINE_ACTION"
[src]

Required. The type of the campaign goal.

§
performanceGoal?: PerformanceGoal
[src]

Required. The performance goal of the campaign. Acceptable values for performance_goal_type are: * PERFORMANCE_GOAL_TYPE_CPM * PERFORMANCE_GOAL_TYPE_CPC * PERFORMANCE_GOAL_TYPE_CPA * PERFORMANCE_GOAL_TYPE_CPIAVC * PERFORMANCE_GOAL_TYPE_CTR * PERFORMANCE_GOAL_TYPE_VIEWABILITY * PERFORMANCE_GOAL_TYPE_OTHER