Next-gen analytics platform for Google Merchant Center Market Insights
Transform your e-commerce data into actionable insights with MerchVibeX - a powerful data pipeline and visualization dashboard that connects Google Merchant Center and Google Ads data to unlock pricing strategies, identify trending products, and optimize your competitive positioning.
MerchVibeX is a scalable data analytics solution that automates the extraction, processing, and visualization of Market Insights data from Google Merchant Center. Built on Google Cloud Platform, it empowers merchants to make data-driven decisions with real-time pricing benchmarks, best-selling product analysis, and competitive market intelligence.
- π Price Benchmarking - Analyze competitive pricing data to optimize your product pricing strategies
- π₯ Best Sellers Analysis - Identify trending products and brands to capitalize on market opportunities
- π‘ Price Suggestions - Get AI-powered recommendations for optimal sale pricing
- π Inventory Insights - Spot high-demand products that are out of stock and driving potential sales
- β‘ Automated Pipelines - Daily data synchronization with minimal manual intervention
- π― Looker Studio Integration - Beautiful, interactive dashboards for seamless data visualization
- π Data Quality Monitoring - Built-in health checks and validation tools
- β Configuration Validation - Pre-flight checks before deployment
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β MERCHVIBEX ARCHITECTURE β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββ ββββββββββββββββββββββββ
β Google Merchant β β Google Ads β
β Center β β β
β (Market Insights) β β (Shopping Campaigns)β
ββββββββββββ¬ββββββββββββ ββββββββββββ¬ββββββββββββ
β β
β API Data Sync β API Data Sync
β (Automated Daily) β (Automated Daily)
βΌ βΌ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β BigQuery Data Transfer Service β
β β’ Merchant Center Transfer β
β β’ Google Ads Transfer β
β β’ Scheduled Query Jobs β
ββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββ
β
βΌ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Google BigQuery Data Warehouse β
β β
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
β β Merchant β β Google Ads β β Reference β β
β β Center Data β β Data β β Data β β
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
ββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββ
β
β SQL Processing & Aggregation
βΌ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Data Processing Layer β
β β
β β’ Inventory View Procedures β
β β’ Best Sellers Analysis Procedures β
β β’ Price Competitiveness Calculations β
β β’ Data Quality Validation β
ββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββ
β
βΌ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Processed Views & Tables β
β β
β ββββββββββββββββ ββββββββββββββββ β
β β InventoryViewβ βBestSeller β β
β β β βWeeklyProduct β β
β ββ’ Price Data β βView β β
β ββ’ Competition β β β β
β ββ’ Insights β ββ’ Trends β β
β ββββββββββββββββ ββ’ Performance β β
β ββββββββββββββββ β
ββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββ
β
β Real-time Data Connection
βΌ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Looker Studio Dashboards β
β β
β π Price Benchmark Dashboard β
β π Best Sellers Overview β
β π‘ Price Suggestion Views β
β π― Inventory Insights β
ββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββ
β
βΌ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Business Users & Teams β
β β
β β’ Pricing Teams β’ Merchandising β’ Marketing β
β β’ Analytics β’ Business Intelligence β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
SETUP WORKFLOW:
βββββββββββββββ ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ
β Validate βββββΆβ Enable βββββΆβ Create βββββΆβ Deploy SQL β
β Config β β Cloud APIs β β Transfers β β Procedures β
βββββββββββββββ ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ
β
βΌ
βββββββββββββββ ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ
β Connect ββββββ Schedule ββββββ Initialize ββββββ Load β
β Dashboard β β Daily Jobs β β Dataset β β Reference β
βββββββββββββββ ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ
- Competitive Analysis: Compare your prices against market benchmarks
- Price Optimization: Make informed pricing decisions based on real market data
- Dynamic Pricing: Identify opportunities for price adjustments
- Trend Identification: Discover what's hot in your category
- Product Opportunities: Find gaps in your inventory for high-demand items
- Brand Performance: Track which brands are performing best
- Campaign Optimization: Align marketing strategies with trending products
- Inventory Alerts: Get notified about products that need restocking
- Performance Tracking: Monitor how pricing changes affect sales
- Python 3.8+ - Core automation and API integration
- Google BigQuery - Data warehouse and analytics engine
- BigQuery Data Transfer Service - Automated data synchronization
- Looker Studio - Data visualization and reporting
- Google Cloud Platform - Infrastructure and APIs
Before you begin, ensure you have:
- β A Google Cloud Project with billing enabled
- β Google Merchant Center account with Standard access
- β Google Ads account with Standard access
- β Editor/Owner role in your Google Cloud project
- β
gcloudCLI installed (or use Cloud Shell)
Before running the setup, validate your configuration:
python config_validator.py \
--project_id=<YOUR_PROJECT_ID> \
--merchant_id=<YOUR_MERCHANT_ID> \
--ads_customer_id=<YOUR_ADS_CUSTOMER_ID>-
Open Cloud Shell
# Navigate to Cloud Shell in Google Cloud Console -
Clone the Repository
git clone https://github.com/theyashdhiman04/MerchVibeX.git cd MerchVibeX -
Run Setup Script
sh setup.sh --project_id=<YOUR_PROJECT_ID> \ --merchant_id=<YOUR_MERCHANT_ID> \ --ads_customer_id=<YOUR_ADS_CUSTOMER_ID>
-
Install Google Cloud CLI
- Follow the official installation guide
-
Clone and Setup
git clone https://github.com/theyashdhiman04/MerchVibeX.git cd MerchVibeX sh setup.sh --project_id=<YOUR_PROJECT_ID> \ --merchant_id=<YOUR_MERCHANT_ID> \ --ads_customer_id=<YOUR_ADS_CUSTOMER_ID>
The setup script automates:
- β Enables required Google Cloud APIs (BigQuery, Data Transfer)
- β Creates automated data transfers for Merchant Center and Google Ads
- β Sets up BigQuery datasets and tables
- β Configures daily scheduled queries for data refresh
- β Prepares data for Looker Studio visualization
Once your data pipeline is set up, connect it to Looker Studio:
-
Access the Template (if available)
- Join the dashboard template group or create your own
-
Connect Data Sources
- Navigate to
Resource > Manage added data sources - Connect to your BigQuery dataset:
merch_vibe_x - Link tables:
InventoryViewandBestSellerWeeklyProductView
- Navigate to
-
Customize & Share
- Customize the dashboard to your needs
- Share with your team for collaborative insights
Note: Performance metrics may take 12-24 hours to appear after initial setup.
MerchVibeX/
βββ cloud_env_setup.py # Main setup orchestration
βββ cloud_bigquery.py # BigQuery operations
βββ cloud_data_transfer.py # Data transfer management
βββ auth.py # Authentication utilities
βββ setup.sh # Installation script
βββ config_validator.py # Configuration validation
βββ data_quality_checker.py # Data quality monitoring
βββ monitoring.py # Transfer health monitoring
βββ demo.py # Interactive demo script
βββ sql/
β βββ inventory.sql # Inventory view queries
β βββ best_sellers.sql # Best sellers queries
β βββ main_workflow.sql # Daily workflow
βββ plugins/
β βββ cloud_utils/ # Cloud API utilities
βββ data/ # Reference data (geo targets, languages)
βββ requirements.txt # Python dependencies
Run the interactive demo to see MerchVibeX in action:
python demo.pyThe demo showcases:
- System architecture and data flow
- Key features and capabilities
- Setup workflow steps
- Use cases and applications
- Technology stack overview
Validate your dataset health:
python data_quality_checker.py \
--project_id=<YOUR_PROJECT_ID> \
--dataset_id=merch_vibe_xMonitor data transfer status:
python monitoring.py \
--project_id=<YOUR_PROJECT_ID> \
--dataset_location=usThese tools help ensure:
- β All required tables exist and are populated
- β Data is fresh and up-to-date
- β Data transfers are running successfully
- β System health is optimal
The script uses Google Cloud Application Default Credentials. Make sure you're authenticated:
gcloud auth application-default loginBy default, the dataset is named merch_vibe_x. You can customize it:
sh setup.sh --project_id=<PROJECT_ID> \
--dataset_id=<CUSTOM_DATASET> \
--merchant_id=<MERCHANT_ID> \
--ads_customer_id=<ADS_ID>- API Documentation: See inline code comments for detailed function documentation
- SQL Queries: Review
sql/directory for query logic - Best Practices: Check individual module docstrings
Contributions are welcome! Feel free to:
- π Report bugs
- π‘ Suggest new features
- π§ Submit pull requests
- π Improve documentation
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
theyashdhiman04
- GitHub: @theyashdhiman04
Built with β€οΈ using Google Cloud Platform services. Special thanks to the open-source community for inspiration and tools.
This project is provided as-is for educational and commercial use. Ensure you comply with Google's API Terms of Service and your organization's data policies.
Made with β‘ by theyashdhiman04
β Star this repo if you find it helpful!