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)
| Column | Type | Constraints | Description |
|---|---|---|---|
| ad_id | uuid | not null, references ads.id | |
| measured_on | date | not null | |
| impressions | integer | not null | |
| clicks | integer | not null | |
| conversions | integer | not null | |
| spend_minor | integer | not null |
Relationships
ad_metrics_daily.ad_idreferencesads.id