Skip to main content
Meridian
  • Meridian

Home MMM GeoX Studio Scenario Planning Partners Support
/
  • English
  • Deutsch
  • Español
  • Español – América Latina
  • Français
  • Indonesia
  • Português – Brasil
  • Русский
  • 中文 – 简体
  • 日本語
  • 한국어
Sign in
  • MMM
Overview Guides Examples API Reference Changelog
Meridian
  • Meridian
  • Home
  • MMM
    • Overview
    • Guides
    • Examples
    • API Reference
    • Changelog
  • GeoX
  • Studio
  • Scenario Planning
  • Partners
  • Support
  • Meridian
  • meridian
    • Overview
  • meridian.analysis
    • Overview
    • DataTensors
    • DistributionTensors
    • analyzer
      • Overview
      • Analyzer
      • get_central_tendency_and_ci
    • formatter
      • Overview
      • CardSpec
      • ChartSpec
      • StatsSpec
      • TableSpec
      • create_card_html
      • create_template_env
    • optimizer
      • Overview
      • BudgetOptimizer
      • FixedBudgetScenario
      • FlexibleBudgetScenario
      • OptimizationGrid
      • OptimizationResults
      • get_optimization_bounds
      • get_round_factor
    • review
      • Overview
      • checks
        • Overview
        • BaseCheck
        • BaseROICheck
        • BaselineCheck
        • BayesianPPPCheck
        • ConvergenceCheck
        • GoodnessOfFitCheck
        • HighVarianceCheck
        • ImplausibleROICheck
        • PotentialBiasCheck
        • PriorPosteriorShiftCheck
        • ROIConsistencyCheck
      • configs
        • Overview
        • BaseConfig
        • BaselineConfig
        • BayesianPPPConfig
        • ChannelCheckConfig
        • ConvergenceConfig
        • GoodnessOfFitConfig
        • HighVarianceConfig
        • ImplausibleROIConfig
        • PotentialBiasConfig
        • PriorPosteriorShiftConfig
        • ROIConsistencyConfig
      • results
        • Overview
        • BaseCase
        • BaseResultData
        • BaselineCases
        • BaselineCheckResult
        • BayesianPPPCases
        • BayesianPPPCheckResult
        • CalibrationOverviewChannelData
        • ChannelResult
        • CheckResult
        • ConvergenceCases
        • ConvergenceCheckResult
        • GoodnessOfFitCases
        • GoodnessOfFitCheckResult
        • GoodnessOfFitMetrics
        • HighVarianceAggregateCases
        • HighVarianceChannelCases
        • HighVarianceChannelResult
        • HighVarianceCheckResult
        • ImplausibleROIAggregateCases
        • ImplausibleROIChannelCases
        • ImplausibleROIChannelResult
        • ImplausibleROICheckResult
        • ModelCheckCase
        • PotentialBiasAggregateCases
        • PotentialBiasChannelCases
        • PotentialBiasChannelResult
        • PotentialBiasCheckResult
        • PriorPosteriorShiftAggregateCases
        • PriorPosteriorShiftChannelCases
        • PriorPosteriorShiftChannelResult
        • PriorPosteriorShiftCheckResult
        • ROIConsistencyAggregateCases
        • ROIConsistencyChannelCases
        • ROIConsistencyChannelResult
        • ROIConsistencyCheckResult
        • ReviewSummary
        • Status
        • build_calibration_recommendation_text
      • reviewer
        • Overview
        • ModelReviewer
    • summarizer
      • Overview
      • Summarizer
    • visualizer
      • Overview
      • MediaEffects
      • MediaSummary
      • ModelDiagnostics
      • ModelFit
      • ReachAndFrequency
  • meridian.backend
    • Overview
    • ExtensionType
    • RNGHandler
    • Tensor
    • TensorShape
    • adstock_process
    • computation_backend
    • computation_precision
    • make_ndarray
    • make_tensor_proto
    • result_type
    • set_random_seed
    • stabilize_rf_roi_grid
    • standardize_dtype
    • to_tensor
    • vectorized_map
    • xla_windowed_adaptive_nuts
    • config
      • Overview
      • Backend
      • ComputationBackend
      • ComputationPrecision
      • get_backend
      • set_backend
  • meridian.common
    • Overview
    • currency
      • Overview
      • get_currency_symbol
      • is_valid_currency_code
      • normalize_currency_code
    • errors
      • Overview
      • NotFittedModelError
  • meridian.data
    • Overview
    • arg_builder
      • Overview
      • OrderedListArgumentBuilder
    • data_frame_input_data_builder
      • Overview
      • DataFrameInputDataBuilder
    • input_data
      • Overview
      • InputData
    • input_data_builder
      • Overview
      • InputDataBuilder
    • load
      • Overview
      • CoordToColumns
      • CsvDataLoader
      • DataFrameDataLoader
      • InputDataLoader
      • XrDatasetDataLoader
    • nd_array_input_data_builder
      • Overview
      • NDArrayInputDataBuilder
    • time_coordinates
      • Overview
      • DateInterval
      • TimeCoordinates
      • normalize_date
      • normalize_date_interval
  • meridian.mlflow
    • Overview
    • autolog
      • Overview
      • autolog
  • meridian.model
    • Overview
    • adstock_hill
      • Overview
      • AdstockDecaySpec
      • AdstockHillTransformer
      • AdstockTransformer
      • HillTransformer
      • compute_decay_weights
      • transform_non_negative_reals_distribution
    • context
      • Overview
      • ChannelParameters
      • ModelContext
      • SaturationSpec
    • eda
      • Overview
      • eda_engine
        • Overview
        • EDAEngine
        • GeoLevelCheckOnNationalModelError
      • eda_outcome
        • Overview
        • AnalysisArtifact
        • AnalysisLevel
        • CalibrationExperimentAdjustmentStage
        • CostPerMediaUnitArtifact
        • CriticalCheckEDAOutcomes
        • DataParameterRatioArtifact
        • EDACheckType
        • EDAFinding
        • EDAOutcome
        • EDASeverity
        • ExperimentAdjustmentArtifact
        • ExperimentAdjustmentData
        • ExperimentAdjustmentStageData
        • FindingCause
        • KpiInvariabilityArtifact
        • PairwiseCorrArtifact
        • PopulationCorrelationArtifact
        • PriorProbabilityArtifact
        • PriorQualityArtifact
        • PriorQualityData
        • StandardDeviationArtifact
        • VIFArtifact
        • VariableGeoTimeCollinearityArtifact
      • eda_spec
        • Overview
        • AggregationConfig
        • EDASpec
        • KpiInvariabilitySpec
        • PairwiseCorrSpec
        • StandardDeviationSpec
        • VIFSpec
      • meridian_eda
        • Overview
        • BoxplotSortingConfig
        • MeridianEDA
    • equations
      • Overview
      • ModelEquations
    • knots
      • Overview
      • KnotInfo
      • get_knot_info
      • l1_distance_weights
    • media
      • Overview
      • MediaTensors
      • OrganicMediaTensors
      • OrganicRfTensors
      • RfTensors
      • build_media_tensors
      • build_organic_media_tensors
      • build_organic_rf_tensors
      • build_rf_tensors
    • posterior_sampler
      • Overview
      • MCMCOOMError
      • MCMCSamplingError
      • PosteriorMCMCSampler
    • prior_distribution
      • Overview
      • IndependentMultivariateDistribution
      • PriorDistribution
      • distributions_are_equal
      • lognormal_dist_from_mean_std
      • lognormal_dist_from_range
    • prior_sampler
      • Overview
      • PriorDistributionSampler
    • spec
      • Overview
      • ModelSpec
    • transformers
      • Overview
      • CenteringAndScalingTransformer
      • KpiTransformer
      • MediaTransformer
      • TensorTransformer
  • meridian.schema
    • Overview
    • mmm_proto_generator
      • Overview
      • create_mmm_proto
    • model_consumer
      • Overview
      • ModelConsumer
    • processors
      • Overview
      • budget_optimization_processor
        • Overview
        • BudgetOptimizationProcessor
        • BudgetOptimizationSpec
        • ChannelConstraintAbs
        • ChannelConstraintRel
      • common
        • Overview
        • KpiType
        • TargetMetric
        • to_estimate
      • marketing_processor
        • Overview
        • IncrementalOutcomeSpec
        • MarketingAnalysisSpec
        • MarketingProcessor
        • MediaSummarySpec
        • ResponseCurveSpec
      • model_fit_processor
        • Overview
        • ModelFitProcessor
        • ModelFitSpec
      • model_kernel_processor
        • Overview
        • ModelKernelProcessor
      • model_processor
        • Overview
        • DatedSpec
        • DatedSpecResolver
        • ModelProcessor
        • OptimizationSpec
        • TrainedModel
        • ensure_trained_model
      • reach_frequency_optimization_processor
        • Overview
        • ReachFrequencyOptimizationProcessor
        • ReachFrequencyOptimizationSpec
    • serde
      • Overview
      • constants
        • Overview
      • distribution
        • Overview
        • DistributionSerde
        • FunctionRegistry
        • MeridianPriorDistributions
        • MeridianPriorDistributions.FunctionRegistryEntry
      • eda_spec
        • Overview
        • EDASpecSerde
      • hyperparameters
        • Overview
        • HyperparametersSerde
      • inference_data
        • Overview
        • InferenceDataSerde
      • meridian_serde
        • Overview
        • MeridianSerde
        • load_meridian
        • save_meridian
      • serde
        • Overview
        • Serde
    • utils
      • Overview
      • date_range_bucketing
        • Overview
        • DateRangeBucketer
        • MonthlyDateRangeGenerator
        • QuarterlyDateRangeGenerator
        • YearlyDateRangeGenerator
      • proto_enum_converter
        • Overview
        • ProtoEnumConverter
      • time_record
        • Overview
        • convert_times_to_date_intervals
        • create_date_interval_pb
        • dates_from_date_interval_proto
  • MMM Schema Protos
  • proto
    • Overview
Meridian GeoX is now available. Run geo experiments to calibrate your MMM. Get started here
  • Home
  • Products
  • Meridian
  • MMM
  • API Reference
Stay organized with collections Save and categorize content based on your preferences.

API Reference

Meridian API Reference

Detailed documentation for the Meridian Python library.

MMM Schema Protos Reference

Technical reference for the Meridian proto schemas.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-05-15 UTC.

  • Engage

    • Google Developer Program
    • Google Developer Groups
    • Google Developer Experts
    • Accelerators
    • Google Cloud & NVIDIA
  • Connect

    • Blog
    • Bluesky
    • Instagram
    • LinkedIn
    • X (Twitter)
    • YouTube
  • Build

    • Android
    • Chrome
    • Firebase
    • Google AI Studio
    • Google Antigravity
    • Google Cloud
    • Google Play
    • View all
Google Developers
  • Android
  • Chrome
  • Firebase
  • Google Cloud Platform
  • Google AI
  • All products
  • Terms
  • Privacy
  • Manage cookies
  • English
  • Deutsch
  • Español
  • Español – América Latina
  • Français
  • Indonesia
  • Português – Brasil
  • Русский
  • 中文 – 简体
  • 日本語
  • 한국어