ad_metrics_daily table

The ad_metrics_daily table in the Reddit Clone Database Schema schema has 6 columns, with 1 foreign key to ads.

Pre-aggregated daily, like every other counting table here. Per-impression rows belong in the event pipeline, not in the database the dashboard queries.

Columns (6)

Columns of the ad_metrics_daily table
ColumnTypeConstraintsDescription
ad_iduuidnot null, references ads.id
measured_ondatenot null
impressionsintegernot null
clicksintegernot null
conversionsintegernot null
spend_minorintegernot null

Relationships

  • ad_metrics_daily.ad_id references ads.id