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

fix: Onboard Google Political Ads dataset #152

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -20,7 +20,7 @@ resource "google_bigquery_table" "advertiser_declared_stats" {
dataset_id = "google_political_ads"
table_id = "advertiser_declared_stats"

description = "advertiser_declared_stats dataset"
description = "Certain California and New Zealand advertisers are required to submit additional data about themselves. The advertiser is responsible for the accuracy of this information, which Google has not confirmed. For California, this information is provided from our express notification process required for certain California advertisers, which is separate from our verification process. For New Zealand, this information is provided during our verification process."



Expand Down
Expand Up @@ -20,7 +20,7 @@ resource "google_bigquery_table" "advertiser_stats" {
dataset_id = "google_political_ads"
table_id = "advertiser_stats"

description = "advertiser_stats dataset"
description = "This table contains the information about advertisers who have run an election ad on Google Ads Services with at least one impression. The table\u0027s primary key is advertiser_id. This table relates to the others in this dataset, with the following connections between columns: advertiser_id is referenced from: advertiser_weekly_spend.advertiser_id campaign_targeting.advertiser_id creative_stats.advertiser_id advertiser_name is referenced from: advertiser_weekly_spend.advertiser_name campaign_targeting.advertiser_name advertiser_id.advertiser_name"



Expand Down
Expand Up @@ -20,7 +20,7 @@ resource "google_bigquery_table" "advertiser_weekly_spend" {
dataset_id = "google_political_ads"
table_id = "advertiser_weekly_spend"

description = "advertiser_weekly_spend dataset"
description = "This table contains the information for how much an advertiser spent on political ads during a given week. The table\u0027s primary key is advertiser_id, election_cycle, week_start_date"



Expand Down
Expand Up @@ -20,7 +20,7 @@ resource "google_bigquery_table" "campaign_targeting" {
dataset_id = "google_political_ads"
table_id = "campaign_targeting"

description = "campaign_targeting dataset"
description = "This table was deprecated and ad-level targeting information was made available in the `google_political_ads.creative_stats` BigQuery table, effective April 2020. This table contains the information related to ad campaigns run by advertisers."



Expand Down
Expand Up @@ -20,7 +20,7 @@ resource "google_bigquery_table" "creative_stats" {
dataset_id = "google_political_ads"
table_id = "creative_stats"

description = "creative_stats dataset"
description = "This table contains the information for election ads that have appeared on Google Ads Services. Ad-level targeting data was added to this file in April 2020. ad_id is referenced from: campaign_targeting.ads_list Data that was previously available in the `google_political_ads.campaign_targeting` table has been deprecated and removed in favor of this table."



Expand Down
Expand Up @@ -20,7 +20,7 @@ resource "google_bigquery_table" "geo_spend" {
dataset_id = "google_political_ads"
table_id = "geo_spend"

description = "geo_spend dataset"
description = "This table contains the information for how much is spent buying election ads on Google Ads Services. The data is aggregated by Congressional district. The primary key is state, congressional_district."



Expand Down
Expand Up @@ -18,7 +18,7 @@
resource "google_bigquery_dataset" "google_political_ads" {
dataset_id = "google_political_ads"
project = var.project_id
description = "google_political_ads"
description = "Overview: This dataset contains information on how much money is spent by verified advertisers on political advertising across Google Ad Services. In addition, insights on demographic targeting used in political ad campaigns by these advertisers are also provided. Finally, links to the actual political ad in the Google Transparency Report (https://transparencyreport.google.com/) are provided. Data for an election expires 7 years after the election. After this point, the data are removed from the dataset and are no longer available.\n\nUpdate frequency: Weekly\n\nDataset source: Transparency Report: Political Advertising on Google\n\nTerms of use:\n\nSee the GCP Marketplace listing for more details and sample queries: https://console.cloud.google.com/marketplace/details/transparency-report/google-political-ads\n\nFor more information see:\nThe Political Advertising on Google Transparency Report at\nhttps://transparencyreport.google.com/political-ads/home\n\nThe supporting Frequently Asked Questions at\nhttps://support.google.com/transparencyreport/answer/9575640?hl=en\u0026ref_topic=7295796"
}

output "bigquery_dataset-google_political_ads-dataset_id" {
Expand Down
Expand Up @@ -20,7 +20,7 @@ resource "google_bigquery_table" "last_updated" {
dataset_id = "google_political_ads"
table_id = "last_updated"

description = "last_updated dataset"
description = "This table contains the information of the latest updated date for the Political Ads report. All dates provided are per UTC time zone."



Expand Down
Expand Up @@ -20,7 +20,7 @@ resource "google_bigquery_table" "top_keywords_history" {
dataset_id = "google_political_ads"
table_id = "top_keywords_history"

description = "top_keywords_history dataset"
description = "The \u201cTop Keywords\u201d section of the US report was removed and updates to this table were terminated in December 2019. The table reflects historical data. This table contains the information for the top six keywords on which political advertisers have spent money during an election cycle. This data is only provided for US elections. The primary key is election_cycle, report_date."



Expand Down