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: Changed header of explores and views to remove unneeded information. Non relevant explore hidden. #5

Merged
merged 3 commits into from
Jan 14, 2025
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dashboards/goal_vs_actual.dashboard.lookml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
x_axis_scale: auto
y_axis_combined: true
show_null_points: true
interpolation: step
interpolation: linear
y_axes: [{label: '', orientation: left, series: [{axisId: goals_campaigns.phase_goal,
id: goals_campaigns.phase_goal, name: Actual Metric Value}], showLabels: true,
showValues: true, maxValue: !!null '', minValue: 0, unpinAxis: false, tickDensity: default,
Expand Down
13 changes: 3 additions & 10 deletions explores/fb_ads.explore.lkml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#####################################################################
# Owners: cesarenrique@, ivanantonio@, agregori@, edherivan@
# Contact Method: Gchat/e-mail
# Created Date:
# Purpose: Contains the Facebook Ads Explores joined by relevant views and fields.
#####################################################################

Expand All @@ -25,12 +22,8 @@ explore: ad_insights {
}
}

explore: ad_accounts {
hidden:yes
}
explore: ad_accounts {hidden:yes}

explore: ad_insights_actions {
hidden: yes
}
explore: ad_insights_actions {hidden: yes}

explore: dt_fb_ads {}
explore: dt_fb_ads {hidden:yes}
3 changes: 3 additions & 0 deletions explores/goals_campaigns.explore.lkml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#####################################################################
# Purpose: Contains the Goal Explore created from GSheets derived table joined to the multisource_ads Explore.
#####################################################################

include: "/views/goals/campaigns_flat_goals.view.lkml"
include: "/views/pacing_block/multisource_ads.view.lkml"
Expand Down
6 changes: 2 additions & 4 deletions explores/google_ads.explore.lkml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#####################################################################
# Owners: cesarenrique@, ivanantonio@, agregori@, edherivan@
# Contact Method: Gchat/e-mail
# Created Date:
# Purpose: Contains the Google Ads Explore joined by relevant views and fields.
#####################################################################

Expand Down Expand Up @@ -38,6 +35,7 @@ explore: GAds {
}

explore: CampaignBasicStats {
hidden: yes
from: google_ads_campaign_basic_stats
label: "Google Ads Campaigns Stats"
join: google_ads_campaign {
Expand All @@ -47,4 +45,4 @@ explore: CampaignBasicStats {
}
}

explore: dt_google_ads {}
explore: dt_google_ads {hidden:yes}
5 changes: 1 addition & 4 deletions explores/pacing_block.explore.lkml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#####################################################################
# Owners: cesarenrique@, ivanantonio@, agregori@, edherivan@
# Contact Method: Gchat/e-mail
# Created Date:
# Purpose: Contains the Multisource Ads Explore.
#####################################################################

Expand All @@ -13,4 +10,4 @@ explore: multisource_ads {}

explore: forecast {}

explore: training {}
explore: training {hidden: yes}
3 changes: 0 additions & 3 deletions views/fb_ads_views/base_views/ad_accounts.view.lkml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#####################################################################
# Owners: cesarenrique@, ivanantonio@, edherivan@
# Contact Method: Gchat/e-mail
# Created Date:
# Purpose: Contains information about Ad Accounts from Facebook to use for
# Data Analysis, this table represents a business, person or other entity who creates and manages ads on Facebook.
# Multiple people can manage an account, and each person can have one or more levels of access to an account
Expand Down
3 changes: 0 additions & 3 deletions views/fb_ads_views/base_views/ad_insights.view.lkml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#####################################################################
# Owners: cesarenrique@, ivanantonio@, edherivan@
# Contact Method: Gchat/e-mail
# Created Date:
# Purpose: Contains information about Ad insights from Facebook to use for
# Data Analysis. The Insights API can return several metrics which are estimated or in-development.
# In some cases a metric may be both estimated and in-development.
Expand Down
3 changes: 0 additions & 3 deletions views/fb_ads_views/base_views/ad_insights_actions.view.lkml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#####################################################################
# Owners: cesarenrique@, ivanantonio@, edherivan@
# Contact Method: Gchat/e-mail
# Created Date:
# Purpose: Contains information about Ad insights Actions from Facebook to use for
# Data Analysis. The Insights Actions API can return several metrics which are estimated or in-development.
# In some cases a metric may be both estimated and in-development.
Expand Down
5 changes: 1 addition & 4 deletions views/goals/campaigns_flat_goals.view.lkml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#####################################################################
# Owners: cesarenrique@, ivanantonio@, edherivan@
# Contact Method: Gchat/e-mail
# Created Date:
# Purpose: Creates a derived table that uses the fields defined in sheets template to use as a track performance of ads campaings across sources.
#####################################################################

Expand Down Expand Up @@ -120,7 +117,7 @@ view: campaigns_flat_goals {
measure: daily_goal {
type: average
label: "Daily Goal"
sql: ${equivalent_day_goal} + (RAND() - 0.5) * ${equivalent_day_goal} * 0.5;;
sql: ${equivalent_day_goal};;
value_format_name: decimal_0
}

Expand Down
3 changes: 3 additions & 0 deletions views/goals/campaigns_info.view.lkml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#####################################################################
# Purpose: Creates a derived table that uses the fields defined in manifest file to use as a track performance of ads campaings across sources.
#####################################################################
view: campaigns_info {
derived_table: {
sql:
Expand Down
3 changes: 0 additions & 3 deletions views/google_ads_views/base_views/google_ads_ad.view.lkml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#####################################################################
# Owners: cesarenrique@, ivanantonio@, edherivan@
# Contact Method: Gchat/e-mail
# Created Date:
# Purpose: Created from Google Ads Transfer, specifically from Ads Ad table.
#####################################################################

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#####################################################################
# Owners: cesarenrique@, ivanantonio@, edherivan@
# Contact Method: Gchat/e-mail
# Created Date:
# Purpose: Created from Google Ads Transfer, specifically from Ads Campaign table.
#####################################################################

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#####################################################################
# Purpose: Created from Google Ads Transfer, specifically from Ads Campaign Basic Stats table.
#####################################################################

view: google_ads_campaign_basic_stats {
sql_table_name: `@{PROJECT_ID}.@{GADS_DATASET_NAME}.ads_CampaignBasicStats_@{GADS_CUSTOMER_ID}` ;;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#####################################################################
# Owners: cesarenrique@, ivanantonio@, edherivan@
# Contact Method: Gchat/e-mail
# Created Date:
# Purpose: Created from Google Ads Transfer, specifically from Ads Customer table.
#####################################################################
view: google_ads_customer {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#####################################################################
# Owners: cesarenrique@, ivanantonio@, edherivan@
# Contact Method: Gchat/e-mail
# Created Date:
# Purpose: Created from Google Ads Transfer, specifically from Ads Group table.
#####################################################################

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
#####################################################################
# Owners: cesarenrique@, ivanantonio@, edherivan@
# Contact Method: Gchat/e-mail
# Created Date:
# Purpose: Created from Google Ads Transfer, specifically from Ads Stats table.
#####################################################################


view: google_ads_stats {
sql_table_name: `@{PROJECT_ID}.@{GADS_DATASET_NAME}.ads_AdStats_@{GADS_CUSTOMER_ID}` ;;

Expand Down
3 changes: 0 additions & 3 deletions views/pacing_block/multisource_ads.view.lkml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#####################################################################
# Owners: cesarenrique@, ivanantonio@, edherivan@
# Contact Method: Gchat/e-mail
# Created Date:
# Purpose: Joins all Ads Sources from Data Transfer Service.
#####################################################################

Expand Down