@adcp/sdk API Reference - v7.9.0
    Preparing search index...

    Variable DeliveryMetricsSchemaConst

    DeliveryMetricsSchema: ZodObject<
        {
            impressions: ZodOptional<ZodNumber>;
            spend: ZodOptional<ZodNumber>;
            clicks: ZodOptional<ZodNumber>;
            ctr: ZodOptional<ZodNumber>;
            views: ZodOptional<ZodNumber>;
            completed_views: ZodOptional<ZodNumber>;
            completion_rate: ZodOptional<ZodNumber>;
            conversions: ZodOptional<ZodNumber>;
            conversion_value: ZodOptional<ZodNumber>;
            roas: ZodOptional<ZodNumber>;
            cost_per_acquisition: ZodOptional<ZodNumber>;
            new_to_brand_rate: ZodOptional<ZodNumber>;
            leads: ZodOptional<ZodNumber>;
            by_event_type: ZodOptional<
                ZodArray<
                    ZodObject<
                        {
                            event_type: ZodUnion<
                                readonly [
                                    ZodLiteral<"page_view">,
                                    ZodLiteral<"view_content">,
                                    ZodLiteral<"select_content">,
                                    ZodLiteral<"select_item">,
                                    ZodLiteral<"search">,
                                    ZodLiteral<"share">,
                                    ZodLiteral<"add_to_cart">,
                                    ZodLiteral<"remove_from_cart">,
                                    ZodLiteral<"viewed_cart">,
                                    ZodLiteral<"add_to_wishlist">,
                                    ZodLiteral<"initiate_checkout">,
                                    ZodLiteral<"add_payment_info">,
                                    ZodLiteral<"purchase">,
                                    ZodLiteral<"refund">,
                                    ZodLiteral<"lead">,
                                    ZodLiteral<"qualify_lead">,
                                    ZodLiteral<"close_convert_lead">,
                                    ZodLiteral<"disqualify_lead">,
                                    ZodLiteral<"complete_registration">,
                                    ZodLiteral<"subscribe">,
                                    ZodLiteral<"start_trial">,
                                    ZodLiteral<"app_install">,
                                    ZodLiteral<"app_launch">,
                                    ZodLiteral<"contact">,
                                    ZodLiteral<"schedule">,
                                    ZodLiteral<"donate">,
                                    ZodLiteral<"submit_application">,
                                    ZodLiteral<"custom">,
                                ],
                            >;
                            event_source_id: ZodOptional<ZodString>;
                            count: ZodNumber;
                            value: ZodOptional<ZodNumber>;
                        },
                        $loose,
                    >,
                >,
            >;
            grps: ZodOptional<ZodNumber>;
            reach: ZodOptional<ZodNumber>;
            reach_unit: ZodOptional<
                ZodUnion<
                    readonly [
                        ZodLiteral<"individuals">,
                        ZodLiteral<"households">,
                        ZodLiteral<"devices">,
                        ZodLiteral<"accounts">,
                        ZodLiteral<"cookies">,
                        ZodLiteral<"custom">,
                    ],
                >,
            >;
            frequency: ZodOptional<ZodNumber>;
            quartile_data: ZodOptional<
                ZodObject<
                    {
                        q1_views: ZodOptional<ZodNumber>;
                        q2_views: ZodOptional<ZodNumber>;
                        q3_views: ZodOptional<ZodNumber>;
                        q4_views: ZodOptional<ZodNumber>;
                    },
                    $loose,
                >,
            >;
            dooh_metrics: ZodOptional<
                ZodObject<
                    {
                        loop_plays: ZodOptional<ZodNumber>;
                        screens_used: ZodOptional<ZodNumber>;
                        screen_time_seconds: ZodOptional<ZodNumber>;
                        sov_achieved: ZodOptional<ZodNumber>;
                        calculation_notes: ZodOptional<ZodString>;
                        venue_breakdown: ZodOptional<
                            ZodArray<
                                ZodObject<
                                    {
                                        venue_id: ZodString;
                                        venue_name: ZodOptional<ZodString>;
                                        venue_type: ZodOptional<ZodString>;
                                        impressions: ZodNumber;
                                        loop_plays: ZodOptional<ZodNumber>;
                                        screens_used: ZodOptional<ZodNumber>;
                                    },
                                    $loose,
                                >,
                            >,
                        >;
                    },
                    $loose,
                >,
            >;
            viewability: ZodOptional<
                ZodObject<
                    {
                        measurable_impressions: ZodOptional<ZodNumber>;
                        viewable_impressions: ZodOptional<ZodNumber>;
                        viewable_rate: ZodOptional<ZodNumber>;
                        standard: ZodOptional<
                            ZodUnion<readonly [ZodLiteral<"mrc">, ZodLiteral<"groupm">]>,
                        >;
                    },
                    $loose,
                >,
            >;
            engagements: ZodOptional<ZodNumber>;
            follows: ZodOptional<ZodNumber>;
            saves: ZodOptional<ZodNumber>;
            profile_visits: ZodOptional<ZodNumber>;
            engagement_rate: ZodOptional<ZodNumber>;
            cost_per_click: ZodOptional<ZodNumber>;
            by_action_source: ZodOptional<
                ZodArray<
                    ZodObject<
                        {
                            action_source: ZodUnion<
                                readonly [
                                    ZodLiteral<"website">,
                                    ZodLiteral<"app">,
                                    ZodLiteral<"offline">,
                                    ZodLiteral<"phone_call">,
                                    ZodLiteral<"chat">,
                                    ZodLiteral<"email">,
                                    ZodLiteral<"in_store">,
                                    ZodLiteral<"system_generated">,
                                    ZodLiteral<"other">,
                                ],
                            >;
                            event_source_id: ZodOptional<ZodString>;
                            count: ZodNumber;
                            value: ZodOptional<ZodNumber>;
                        },
                        $loose,
                    >,
                >,
            >;
        },
        $loose,
    > = ...