Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tiles_monthly table #6502

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions sql/moz-fx-data-shared-prod/ads/tiles_monthly/metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
friendly_name: Tiles Monthly Forecast
description: |-
Contains tiles inventory and revenue forecasts.
Generated in outerbounds with the moz-forecasting repo.
owners:
- [email protected]
workgroup_access:
- role: roles/bigquery.dataViewer
members:
- workgroup:ads
- role: roles/bigquery.dataEditor
members:
- workgroup:revenue/external-outerbounds-task-revenue
43 changes: 43 additions & 0 deletions sql/moz-fx-data-shared-prod/ads/tiles_monthly/schema.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
fields:
- mode: NULLABLE
name: country_code
type: STRING
- mode: NULLABLE
name: submission_month
type: DATETIME
- mode: NULLABLE
name: direct_sales_included
type: BOOLEAN
- mode: NULLABLE
name: device
type: STRING
- mode: NULLABLE
name: placement
type: STRING
- mode: NULLABLE
name: product
type: STRING
- mode: NULLABLE
name: pricing_model
type: STRING
- mode: NULLABLE
name: forecast_month
type: DATETIME
- mode: NULLABLE
name: forecast_predicted_at
type: TIMESTAMP
- mode: NULLABLE
name: position
type: INTEGER
- mode: NULLABLE
name: impressions
type: FLOAT
- mode: NULLABLE
name: clicks
type: FLOAT
- mode: NULLABLE
name: revenue
type: FLOAT
- mode: NULLABLE
name: CPM
type: FLOAT