π Overview
Google Meridian is a Bayesian Marketing Mix Modeling (MMM) library developed by Google. It helps quantify how much different advertising channels contribute to business outcomes like conversions or revenue. This is done through probabilistic modeling that estimates ROI and performance attribution.
Windsor.ai makes it easy to fetch marketing performance data from platforms like Google Ads, Facebook, and others. It saves time by eliminating the need to manually consolidate data, making it ideal for feeding into Meridian for analysis.
In our guide, we use Google, Facebook, Reddit and Bing ads data from Windsor.ai where:
- The KPI is Conversions
- We model how Spend influences these Conversions over time as per our media channels
π Installation Requirements
To use the google-meridian package with your data:
β Python Version
Make sure you are using Python 3.11 or higher.
π Required Libraries
Install the required Python libraries:
pip install google-meridian tensorflow tensorflow-probability pandas requests psutilπ Data Integration Summary
To use Windsor.ai data with Google Meridian:
-
Fetch the Data: Use Windsor.ai's API to pull ad performance data with fields like date, spend, impressions, clicks, and conversions.
-
Format the Data: Aggregate daily performance metrics, fill missing values, and structure it using CsvDataLoader from the Meridian library.
-
Configure the Model: Define ROI priors based on your expected conversions per dollar spend.
-
Run the Model: Sample from prior and posterior distributions to fit the Bayesian model.
-
Summarize Output: Generate a report that provides ROI estimates and media channel performance.
π Reference
π Google Meridian GitHub: https://github.com/google/meridian
π§ Contact: support@windsor.ai