SlideShare a Scribd company logo
1 of 1
Campaign Tactic Impressions Clicks CTR Media Spend Total Conversions CPA
Campaign 2 - FR Tactic 4 5.1M 7.7K 0.15% $22.9K 134    $170.62
Campaign 2 - EN Tactic 1 5.8M 8.9K 0.15% $24.2K 135    $179.61
Campaign 1 - EN Tactic 2 4.5M 7.5K 0.17% $15.0K 167    $89.86
Campaign 2 - FR Tactic 3 5.4M 9.4K 0.18% $24.0K 178    $134.57
Campaign 2 - EN Tactic 2 3.5M 6.7K 0.19% $17.6K 113    $155.4
Campaign 1 - EN Tactic 1 2.8M 8.2K 0.29% $16.6K 187    $88.83
Campaign 1 - FR Tactic 3 3.2M 9.6K 0.3% $21.1K 192    $109.78
Campaign 1 - FR Tactic 4 2.5M 8.7K 0.35% $20.5K 156    $131.1
Grand total 32.6M 66.7K 0.22% $161.8K 1,262 $132.47
▲
1 - 8 / 8 < >
English Campaign 2 - EN
Campaign 1 - EN
French Campaign 2 - FR
Campaign 1 - FR
Impressions Clicks Total Conversions Media Spend
9,277,257 15,625 248 $41,808
7,297,269 15,711 354 $31,617
10,460,126 17,115 312 $46,816
5,603,735 18,277 348 $41,529
Language Campaign
32,638,387 66,728 1,262 $161,770Grand total
Select date range ▼
Tactic ▼
Calculated Fields and Custom Dimensions
Adding Calculated Fields
Creating a Custom Dimension with Conditional Expressions (CASE + IN)
Using a Regular Expression (CASE + REGEXP_MATCH) to alter an existing dimension
CTR = Clicks / Impressions ( select AVG)
CPA = Media Spend / Total Conversion (select AVG)
Let's create a custom dimension (Language) so that, when we add it we could split those campaigns into English
and French:
CASE
WHEN Campaign IN ('Campaign 1 - EN', 'Campaign 2 - EN') THEN 'English'
WHEN Campaign IN ('Campaign 1 - FR', 'Campaign 2 - FR') THEN 'French'
ELSE 'Other Language'
END
REGEXP_MATCH function: returns true if X matches Y, false otherwise. Can only be used within the WHEN clause of CASE statements; not a standalone function.
X: A eld or expression (the dimension that you want to pull from.)
Reg Expr: A regular expression that you want to use.
Example: REGEXP_MATCH (name, '[a-zA-Z]*')
Let’s use a regular expression to capture a speci c position or a speci c word regardless of where that's happening within the string of text.
Example: Use REGEXP_MATCH function to capture the campaign name, even though that EN and FR move around the campaign naming. So there is a problem with the naming
convention of texturing.
Field Name = Language (Advanced) --> same for Type eld
CASE
WHEN REGEXP_MATCH (Complex Campaign, '.*(EN).*') THEN 'English'
WHEN REGEXP_MATCH (Complex Campaign, '.*(FR).*') THEN 'French'
ELSE 'Other Language'
END
(EN): We are putting brackets around English to specify that we want that speci c phrase 'English'. 
'.*(EN).*': We use .* because we have the issue with where the EN is positioned. So it speci es if EN comes before or after any text.
English 2019_New Campaign_EN_Expanded_Brand
2019_New Campaign_EN_Brand
2019_New Campaign_Expanded_EN_Brand
2019_New Campaign_Brand_EN
EN
EN
EN
EN
French 2019_New Campaign_FR_Expanded_Brand
2019_New Campaign_Expanded_FR_Brand
2019_New Campaign_Brand_FR
2019_New Campaign_FR_Brand
FR
FR
FR
FR
Impressions Clicks Total Conversions Media Spend
5,826,978 8,925 135 $24,248
4,500,294 7,504 167 $15,006
3,450,279 6,700 113 $17,560
2,796,975 8,207 187 $16,611
5,360,017 9,449 178 $23,953
5,100,109 7,666 134 $22,863
3,153,701 9,582 192 $21,077
2,450,034 8,695 156 $20,452
Language (Advanced) Complex Campaign Type
If we remove the complex campaign, we just get English and French and the total amount of impressions, clicks, and total conversions for each.
English EN
French FR
Impressions Clicks Total Conversions Media Spend
16,574,526 31,336 602 $73,425
16,063,861 35,392 660 $88,345
Language (Advanced) Type
32,638,387 66,728 1,262 $161,770Grand total

More Related Content

Similar to Google Data Studio_Calculated Fields and Custom Dimensions

Stanford 80410 a
Stanford 80410 aStanford 80410 a
Stanford 80410 aMark Leslie
 
APIA2018 - Rick Rasmussen - Building a Financial Model
APIA2018 - Rick Rasmussen - Building a Financial ModelAPIA2018 - Rick Rasmussen - Building a Financial Model
APIA2018 - Rick Rasmussen - Building a Financial ModelEuropean Innovation Academy
 
Google Ads Campaign SEM.pdf
Google Ads Campaign   SEM.pdfGoogle Ads Campaign   SEM.pdf
Google Ads Campaign SEM.pdfjihan shaker
 
Final Team BACAT (wk 16) power point
Final Team BACAT (wk 16) power pointFinal Team BACAT (wk 16) power point
Final Team BACAT (wk 16) power pointBrandon Dobson
 
Business economics cost analysis
Business economics   cost analysisBusiness economics   cost analysis
Business economics cost analysisRachit Walia
 
Accountancy 503—Fall 2016 Tax Return 3a—15 points; Due Decemb.docx
Accountancy 503—Fall 2016    Tax Return 3a—15 points; Due Decemb.docxAccountancy 503—Fall 2016    Tax Return 3a—15 points; Due Decemb.docx
Accountancy 503—Fall 2016 Tax Return 3a—15 points; Due Decemb.docxnettletondevon
 
Econ606 chapter 10 2020
Econ606 chapter 10 2020Econ606 chapter 10 2020
Econ606 chapter 10 2020sakanor
 
2015 DMC2523 Topic 9 cost control-profit relationship
2015 DMC2523 Topic 9 cost control-profit relationship2015 DMC2523 Topic 9 cost control-profit relationship
2015 DMC2523 Topic 9 cost control-profit relationshipLaura Law
 
Q1 Earnings Call Slide Deck_FINAL
Q1 Earnings Call Slide Deck_FINALQ1 Earnings Call Slide Deck_FINAL
Q1 Earnings Call Slide Deck_FINALacxiom2016ir
 
P lwkshpslides
P lwkshpslidesP lwkshpslides
P lwkshpslidesnavydad77
 
Stock Pitch For Mailing Shipping Services PowerPoint Presentation PPT Slide T...
Stock Pitch For Mailing Shipping Services PowerPoint Presentation PPT Slide T...Stock Pitch For Mailing Shipping Services PowerPoint Presentation PPT Slide T...
Stock Pitch For Mailing Shipping Services PowerPoint Presentation PPT Slide T...SlideTeam
 
Paid Campaigns Data Analysis
Paid Campaigns Data AnalysisPaid Campaigns Data Analysis
Paid Campaigns Data AnalysisMahtab Alam
 
A simple model for ppc bidding
A simple model for ppc biddingA simple model for ppc bidding
A simple model for ppc biddingYun Liu
 

Similar to Google Data Studio_Calculated Fields and Custom Dimensions (20)

SEM Progect
SEM ProgectSEM Progect
SEM Progect
 
Stanford 80410 a
Stanford 80410 aStanford 80410 a
Stanford 80410 a
 
ACG-Valuation
ACG-ValuationACG-Valuation
ACG-Valuation
 
Chap4
Chap4Chap4
Chap4
 
Chap4
Chap4Chap4
Chap4
 
APIA2018 - Rick Rasmussen - Building a Financial Model
APIA2018 - Rick Rasmussen - Building a Financial ModelAPIA2018 - Rick Rasmussen - Building a Financial Model
APIA2018 - Rick Rasmussen - Building a Financial Model
 
Google Ads Campaign SEM.pdf
Google Ads Campaign   SEM.pdfGoogle Ads Campaign   SEM.pdf
Google Ads Campaign SEM.pdf
 
Final Team BACAT (wk 16) power point
Final Team BACAT (wk 16) power pointFinal Team BACAT (wk 16) power point
Final Team BACAT (wk 16) power point
 
Business economics cost analysis
Business economics   cost analysisBusiness economics   cost analysis
Business economics cost analysis
 
Accountancy 503—Fall 2016 Tax Return 3a—15 points; Due Decemb.docx
Accountancy 503—Fall 2016    Tax Return 3a—15 points; Due Decemb.docxAccountancy 503—Fall 2016    Tax Return 3a—15 points; Due Decemb.docx
Accountancy 503—Fall 2016 Tax Return 3a—15 points; Due Decemb.docx
 
Cvpanalysis
Cvpanalysis Cvpanalysis
Cvpanalysis
 
Econ606 chapter 10 2020
Econ606 chapter 10 2020Econ606 chapter 10 2020
Econ606 chapter 10 2020
 
2015 DMC2523 Topic 9 cost control-profit relationship
2015 DMC2523 Topic 9 cost control-profit relationship2015 DMC2523 Topic 9 cost control-profit relationship
2015 DMC2523 Topic 9 cost control-profit relationship
 
Q1 Earnings Call Slide Deck_FINAL
Q1 Earnings Call Slide Deck_FINALQ1 Earnings Call Slide Deck_FINAL
Q1 Earnings Call Slide Deck_FINAL
 
P lwkshpslides
P lwkshpslidesP lwkshpslides
P lwkshpslides
 
CVP Analysis
CVP AnalysisCVP Analysis
CVP Analysis
 
AIA2018 - Rick Rasmussen - Startup Financials
AIA2018 - Rick Rasmussen - Startup FinancialsAIA2018 - Rick Rasmussen - Startup Financials
AIA2018 - Rick Rasmussen - Startup Financials
 
Stock Pitch For Mailing Shipping Services PowerPoint Presentation PPT Slide T...
Stock Pitch For Mailing Shipping Services PowerPoint Presentation PPT Slide T...Stock Pitch For Mailing Shipping Services PowerPoint Presentation PPT Slide T...
Stock Pitch For Mailing Shipping Services PowerPoint Presentation PPT Slide T...
 
Paid Campaigns Data Analysis
Paid Campaigns Data AnalysisPaid Campaigns Data Analysis
Paid Campaigns Data Analysis
 
A simple model for ppc bidding
A simple model for ppc biddingA simple model for ppc bidding
A simple model for ppc bidding
 

More from Silvia Alongi

Digital Marketing Performance Report_Google Data Studio
Digital Marketing Performance Report_Google Data StudioDigital Marketing Performance Report_Google Data Studio
Digital Marketing Performance Report_Google Data StudioSilvia Alongi
 
User Behaviour Report - Google Data Studio
User Behaviour Report - Google Data StudioUser Behaviour Report - Google Data Studio
User Behaviour Report - Google Data StudioSilvia Alongi
 
POWER BI - Pie Chart, Doughnut Chart, Treemap, Funnel Chart
POWER BI - Pie Chart, Doughnut Chart, Treemap, Funnel ChartPOWER BI - Pie Chart, Doughnut Chart, Treemap, Funnel Chart
POWER BI - Pie Chart, Doughnut Chart, Treemap, Funnel ChartSilvia Alongi
 
POWER BI - Ribbon Chart, Waterfall, Scatter Chart, Bubble Chart, Dot Plot Chart
POWER BI - Ribbon Chart, Waterfall, Scatter Chart, Bubble Chart, Dot Plot ChartPOWER BI - Ribbon Chart, Waterfall, Scatter Chart, Bubble Chart, Dot Plot Chart
POWER BI - Ribbon Chart, Waterfall, Scatter Chart, Bubble Chart, Dot Plot ChartSilvia Alongi
 
Power BI - Table, Matrix, Bar Charts, Line Chart, Area Chart and Combo Charts
Power BI - Table, Matrix, Bar Charts, Line Chart, Area Chart and Combo ChartsPower BI - Table, Matrix, Bar Charts, Line Chart, Area Chart and Combo Charts
Power BI - Table, Matrix, Bar Charts, Line Chart, Area Chart and Combo ChartsSilvia Alongi
 
Power BI - Using conditional formatting in Tables
Power BI - Using conditional formatting in TablesPower BI - Using conditional formatting in Tables
Power BI - Using conditional formatting in TablesSilvia Alongi
 
Power BI - Measure performance (Gauges, Cards, KPIs)
Power BI - Measure performance (Gauges, Cards, KPIs)Power BI - Measure performance (Gauges, Cards, KPIs)
Power BI - Measure performance (Gauges, Cards, KPIs)Silvia Alongi
 
Affiliate Marketing_Sales Deck
Affiliate Marketing_Sales DeckAffiliate Marketing_Sales Deck
Affiliate Marketing_Sales DeckSilvia Alongi
 
Search Landscape Analysis (Competitor Analysis)
Search Landscape Analysis (Competitor Analysis)Search Landscape Analysis (Competitor Analysis)
Search Landscape Analysis (Competitor Analysis)Silvia Alongi
 
SERP Layout on Desktop Search_Training Deck
SERP Layout on Desktop Search_Training DeckSERP Layout on Desktop Search_Training Deck
SERP Layout on Desktop Search_Training DeckSilvia Alongi
 
Keyword Research Process_Training Deck
Keyword Research Process_Training DeckKeyword Research Process_Training Deck
Keyword Research Process_Training DeckSilvia Alongi
 
Keyword Ranking Report
Keyword Ranking ReportKeyword Ranking Report
Keyword Ranking ReportSilvia Alongi
 
Google Data Sudio_Dynamic Tables,Filters and Aggregation
Google Data Sudio_Dynamic Tables,Filters and AggregationGoogle Data Sudio_Dynamic Tables,Filters and Aggregation
Google Data Sudio_Dynamic Tables,Filters and AggregationSilvia Alongi
 
Google Data Studio_Building a User Journey Funnel with Google Analytics
Google Data Studio_Building a User Journey Funnel with Google AnalyticsGoogle Data Studio_Building a User Journey Funnel with Google Analytics
Google Data Studio_Building a User Journey Funnel with Google AnalyticsSilvia Alongi
 
Google Data Studio_Digital Performance Overview_Template
Google Data Studio_Digital Performance Overview_TemplateGoogle Data Studio_Digital Performance Overview_Template
Google Data Studio_Digital Performance Overview_TemplateSilvia Alongi
 
SEM Exam - 50 Questions with answers
SEM Exam - 50 Questions with answersSEM Exam - 50 Questions with answers
SEM Exam - 50 Questions with answersSilvia Alongi
 
SEO exam - 50 Questions with answers
SEO exam - 50 Questions with answersSEO exam - 50 Questions with answers
SEO exam - 50 Questions with answersSilvia Alongi
 
Report. Affiliate marketing. Plan of attack for generating new affiliate busi...
Report. Affiliate marketing. Plan of attack for generating new affiliate busi...Report. Affiliate marketing. Plan of attack for generating new affiliate busi...
Report. Affiliate marketing. Plan of attack for generating new affiliate busi...Silvia Alongi
 
Programmatic Revolution_Report_Silvia Alongi
Programmatic Revolution_Report_Silvia AlongiProgrammatic Revolution_Report_Silvia Alongi
Programmatic Revolution_Report_Silvia AlongiSilvia Alongi
 

More from Silvia Alongi (20)

Digital Marketing Performance Report_Google Data Studio
Digital Marketing Performance Report_Google Data StudioDigital Marketing Performance Report_Google Data Studio
Digital Marketing Performance Report_Google Data Studio
 
User Behaviour Report - Google Data Studio
User Behaviour Report - Google Data StudioUser Behaviour Report - Google Data Studio
User Behaviour Report - Google Data Studio
 
POWER BI - Pie Chart, Doughnut Chart, Treemap, Funnel Chart
POWER BI - Pie Chart, Doughnut Chart, Treemap, Funnel ChartPOWER BI - Pie Chart, Doughnut Chart, Treemap, Funnel Chart
POWER BI - Pie Chart, Doughnut Chart, Treemap, Funnel Chart
 
POWER BI - Ribbon Chart, Waterfall, Scatter Chart, Bubble Chart, Dot Plot Chart
POWER BI - Ribbon Chart, Waterfall, Scatter Chart, Bubble Chart, Dot Plot ChartPOWER BI - Ribbon Chart, Waterfall, Scatter Chart, Bubble Chart, Dot Plot Chart
POWER BI - Ribbon Chart, Waterfall, Scatter Chart, Bubble Chart, Dot Plot Chart
 
Power BI - Table, Matrix, Bar Charts, Line Chart, Area Chart and Combo Charts
Power BI - Table, Matrix, Bar Charts, Line Chart, Area Chart and Combo ChartsPower BI - Table, Matrix, Bar Charts, Line Chart, Area Chart and Combo Charts
Power BI - Table, Matrix, Bar Charts, Line Chart, Area Chart and Combo Charts
 
Power BI - Mapping
Power BI - MappingPower BI - Mapping
Power BI - Mapping
 
Power BI - Using conditional formatting in Tables
Power BI - Using conditional formatting in TablesPower BI - Using conditional formatting in Tables
Power BI - Using conditional formatting in Tables
 
Power BI - Measure performance (Gauges, Cards, KPIs)
Power BI - Measure performance (Gauges, Cards, KPIs)Power BI - Measure performance (Gauges, Cards, KPIs)
Power BI - Measure performance (Gauges, Cards, KPIs)
 
Affiliate Marketing_Sales Deck
Affiliate Marketing_Sales DeckAffiliate Marketing_Sales Deck
Affiliate Marketing_Sales Deck
 
Search Landscape Analysis (Competitor Analysis)
Search Landscape Analysis (Competitor Analysis)Search Landscape Analysis (Competitor Analysis)
Search Landscape Analysis (Competitor Analysis)
 
SERP Layout on Desktop Search_Training Deck
SERP Layout on Desktop Search_Training DeckSERP Layout on Desktop Search_Training Deck
SERP Layout on Desktop Search_Training Deck
 
Keyword Research Process_Training Deck
Keyword Research Process_Training DeckKeyword Research Process_Training Deck
Keyword Research Process_Training Deck
 
Keyword Ranking Report
Keyword Ranking ReportKeyword Ranking Report
Keyword Ranking Report
 
Google Data Sudio_Dynamic Tables,Filters and Aggregation
Google Data Sudio_Dynamic Tables,Filters and AggregationGoogle Data Sudio_Dynamic Tables,Filters and Aggregation
Google Data Sudio_Dynamic Tables,Filters and Aggregation
 
Google Data Studio_Building a User Journey Funnel with Google Analytics
Google Data Studio_Building a User Journey Funnel with Google AnalyticsGoogle Data Studio_Building a User Journey Funnel with Google Analytics
Google Data Studio_Building a User Journey Funnel with Google Analytics
 
Google Data Studio_Digital Performance Overview_Template
Google Data Studio_Digital Performance Overview_TemplateGoogle Data Studio_Digital Performance Overview_Template
Google Data Studio_Digital Performance Overview_Template
 
SEM Exam - 50 Questions with answers
SEM Exam - 50 Questions with answersSEM Exam - 50 Questions with answers
SEM Exam - 50 Questions with answers
 
SEO exam - 50 Questions with answers
SEO exam - 50 Questions with answersSEO exam - 50 Questions with answers
SEO exam - 50 Questions with answers
 
Report. Affiliate marketing. Plan of attack for generating new affiliate busi...
Report. Affiliate marketing. Plan of attack for generating new affiliate busi...Report. Affiliate marketing. Plan of attack for generating new affiliate busi...
Report. Affiliate marketing. Plan of attack for generating new affiliate busi...
 
Programmatic Revolution_Report_Silvia Alongi
Programmatic Revolution_Report_Silvia AlongiProgrammatic Revolution_Report_Silvia Alongi
Programmatic Revolution_Report_Silvia Alongi
 

Recently uploaded

Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024thyngster
 
Data Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptxData Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptxFurkanTasci3
 
vip Sarai Rohilla Call Girls 9999965857 Call or WhatsApp Now Book
vip Sarai Rohilla Call Girls 9999965857 Call or WhatsApp Now Bookvip Sarai Rohilla Call Girls 9999965857 Call or WhatsApp Now Book
vip Sarai Rohilla Call Girls 9999965857 Call or WhatsApp Now Bookmanojkuma9823
 
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一F sss
 
How we prevented account sharing with MFA
How we prevented account sharing with MFAHow we prevented account sharing with MFA
How we prevented account sharing with MFAAndrei Kaleshka
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Sapana Sha
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998YohFuh
 
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptxAmazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptxAbdelrhman abooda
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Jack DiGiovanna
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...Suhani Kapoor
 
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一F La
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingNeil Barnes
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfgstagge
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...Florian Roscheck
 
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)jennyeacort
 
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝DelhiRS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhijennyeacort
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxStephen266013
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...dajasot375
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts ServiceSapana Sha
 

Recently uploaded (20)

Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
 
Data Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptxData Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptx
 
vip Sarai Rohilla Call Girls 9999965857 Call or WhatsApp Now Book
vip Sarai Rohilla Call Girls 9999965857 Call or WhatsApp Now Bookvip Sarai Rohilla Call Girls 9999965857 Call or WhatsApp Now Book
vip Sarai Rohilla Call Girls 9999965857 Call or WhatsApp Now Book
 
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
 
How we prevented account sharing with MFA
How we prevented account sharing with MFAHow we prevented account sharing with MFA
How we prevented account sharing with MFA
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998
 
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptxAmazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
 
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data Storytelling
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdf
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
 
Call Girls in Saket 99530🔝 56974 Escort Service
Call Girls in Saket 99530🔝 56974 Escort ServiceCall Girls in Saket 99530🔝 56974 Escort Service
Call Girls in Saket 99530🔝 56974 Escort Service
 
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
 
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝DelhiRS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docx
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts Service
 

Google Data Studio_Calculated Fields and Custom Dimensions

  • 1. Campaign Tactic Impressions Clicks CTR Media Spend Total Conversions CPA Campaign 2 - FR Tactic 4 5.1M 7.7K 0.15% $22.9K 134    $170.62 Campaign 2 - EN Tactic 1 5.8M 8.9K 0.15% $24.2K 135    $179.61 Campaign 1 - EN Tactic 2 4.5M 7.5K 0.17% $15.0K 167    $89.86 Campaign 2 - FR Tactic 3 5.4M 9.4K 0.18% $24.0K 178    $134.57 Campaign 2 - EN Tactic 2 3.5M 6.7K 0.19% $17.6K 113    $155.4 Campaign 1 - EN Tactic 1 2.8M 8.2K 0.29% $16.6K 187    $88.83 Campaign 1 - FR Tactic 3 3.2M 9.6K 0.3% $21.1K 192    $109.78 Campaign 1 - FR Tactic 4 2.5M 8.7K 0.35% $20.5K 156    $131.1 Grand total 32.6M 66.7K 0.22% $161.8K 1,262 $132.47 ▲ 1 - 8 / 8 < > English Campaign 2 - EN Campaign 1 - EN French Campaign 2 - FR Campaign 1 - FR Impressions Clicks Total Conversions Media Spend 9,277,257 15,625 248 $41,808 7,297,269 15,711 354 $31,617 10,460,126 17,115 312 $46,816 5,603,735 18,277 348 $41,529 Language Campaign 32,638,387 66,728 1,262 $161,770Grand total Select date range ▼ Tactic ▼ Calculated Fields and Custom Dimensions Adding Calculated Fields Creating a Custom Dimension with Conditional Expressions (CASE + IN) Using a Regular Expression (CASE + REGEXP_MATCH) to alter an existing dimension CTR = Clicks / Impressions ( select AVG) CPA = Media Spend / Total Conversion (select AVG) Let's create a custom dimension (Language) so that, when we add it we could split those campaigns into English and French: CASE WHEN Campaign IN ('Campaign 1 - EN', 'Campaign 2 - EN') THEN 'English' WHEN Campaign IN ('Campaign 1 - FR', 'Campaign 2 - FR') THEN 'French' ELSE 'Other Language' END REGEXP_MATCH function: returns true if X matches Y, false otherwise. Can only be used within the WHEN clause of CASE statements; not a standalone function. X: A eld or expression (the dimension that you want to pull from.) Reg Expr: A regular expression that you want to use. Example: REGEXP_MATCH (name, '[a-zA-Z]*') Let’s use a regular expression to capture a speci c position or a speci c word regardless of where that's happening within the string of text. Example: Use REGEXP_MATCH function to capture the campaign name, even though that EN and FR move around the campaign naming. So there is a problem with the naming convention of texturing. Field Name = Language (Advanced) --> same for Type eld CASE WHEN REGEXP_MATCH (Complex Campaign, '.*(EN).*') THEN 'English' WHEN REGEXP_MATCH (Complex Campaign, '.*(FR).*') THEN 'French' ELSE 'Other Language' END (EN): We are putting brackets around English to specify that we want that speci c phrase 'English'.  '.*(EN).*': We use .* because we have the issue with where the EN is positioned. So it speci es if EN comes before or after any text. English 2019_New Campaign_EN_Expanded_Brand 2019_New Campaign_EN_Brand 2019_New Campaign_Expanded_EN_Brand 2019_New Campaign_Brand_EN EN EN EN EN French 2019_New Campaign_FR_Expanded_Brand 2019_New Campaign_Expanded_FR_Brand 2019_New Campaign_Brand_FR 2019_New Campaign_FR_Brand FR FR FR FR Impressions Clicks Total Conversions Media Spend 5,826,978 8,925 135 $24,248 4,500,294 7,504 167 $15,006 3,450,279 6,700 113 $17,560 2,796,975 8,207 187 $16,611 5,360,017 9,449 178 $23,953 5,100,109 7,666 134 $22,863 3,153,701 9,582 192 $21,077 2,450,034 8,695 156 $20,452 Language (Advanced) Complex Campaign Type If we remove the complex campaign, we just get English and French and the total amount of impressions, clicks, and total conversions for each. English EN French FR Impressions Clicks Total Conversions Media Spend 16,574,526 31,336 602 $73,425 16,063,861 35,392 660 $88,345 Language (Advanced) Type 32,638,387 66,728 1,262 $161,770Grand total