Code Assist MCP for Facebook Ads

Build 25.0.9539

AdInsightsMMM

Queries ad insights data for the marketing mix modeling breakdown. Accessing this information requires the ads_read permission.

Columns

Name Type Description
Target String The Id of the Account, Campaign, Ad Group, or Ad to get insights for.
DatePreset String An alternative to specifying the DateStart and DateEnd. A date range is automatically calculated based on the specified preset value.

The allowed values are maximum, today, yesterday, this_week_sun_today, this_week_mon_today, last_week_sun_sat, last_week_mon_sun, last_3d, last_7d, last_14d, last_28d, last_30d, last_90d, this_month, last_month.

TimeIncrement String The number of days of data aggregation. An int (1-90) or one of monthly or all_days. This value splits the range or preset date into smaller increments.

The default value is 1.

AccountId String account_id of the Marketing Mix Modeling aggregate.
CampaignId String campaign_id of the Marketing Mix Modeling aggregate.
AdSetId String adset_id of the Marketing Mix Modeling aggregate.
DateStart String date_start of the Marketing Mix Modeling aggregate.
DateStop String date_stop of the Marketing Mix Modeling aggregate.
Impressions String impressions of the Marketing Mix Modeling aggregate.
Spend String spend of the Marketing Mix Modeling aggregate.
Country String country of the Marketing Mix Modeling aggregate.
Region String region of the Marketing Mix Modeling aggregate.
DMA String dma of the Marketing Mix Modeling aggregate.
DevicePlatform String device_platform of the Marketing Mix Modeling aggregate.
PlatformPosition String platform_position of the Marketing Mix Modeling aggregate.
PublisherPlatform String publisher_platform of the Marketing Mix Modeling aggregate.
CreativeMediaType String creative_media_type of the Marketing Mix Modeling aggregate.
UseAsync Boolean A boolean indicating if an asynchronous call should be used for retrieving the insights.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 25.0.9539