Opus Growth

Meta Insights Query

Free-form READ of the Meta Marketing API Insights edge: any metric, breakdown and filter Meta supports.

Type
Lecture seule
Crédits
2
Plateforme
Meta Ads
Validation
Inutile, rien ne change

Ce qu'il fait

Free-form READ of the Meta Marketing API Insights edge: any metric, breakdown and filter Meta supports. fields: Insights field names (spend, impressions, reach, frequency, clicks, inline_link_clicks, actions, cost_per_action_type, action_values, purchase_roas, video_p75_watched_actions, campaign_id, campaign_name, adset_id, ad_id, …), as a list or a comma-separated string; breakdowns and action_breakdowns accept either form too. level: account | campaign | adset | ad. breakdowns: age, gender, country, region, publisher_platform, platform_position, device_platform, impression_device, hourly_stats_aggregated_by_advertiser_time_zone, … (Meta allows only certain combinations). action_breakdowns: action_type, action_destination, … time_increment: 1 = one row per day, 'monthly', or a number of days. filtering: Meta filter objects ([{"field": "campaign.id", "operator": "IN", "value": ["123"]}], [{"field": "spend", "operator": "GREATER_THAN", "value": 0}]). days = last N full days excluding today, or start_date/end_date (YYYY-MM-DD); Meta keeps insights for 37 months. Reference: https://developers.facebook.com/docs/marketing-api/insights/parameters. Meta rejects invalid field/breakdown combinations with an explanatory error. Read-only; reply carries the exact `period`. limit controls the response page; page_token=next_page_token returns later pages without another API call or credit.

La description est en anglais car c'est le texte officiel que voit votre IA.

MCP: meta_insights_query

Comment l'utiliser

Vous n'appelez pas les outils par leur nom. Écrivez ce que vous voulez dans ChatGPT, Claude ou un autre assistant connecté à Opus Growth ; l'IA choisit cet outil quand il convient.

Paramètres

NomTypeObligatoirePar défaut
fieldsarray|stringFacultatif·Structured field values for the selected form, entity, or provider request.
account_idstringFacultatif·Advertising account identifier to query or change. Use the exact ID returned by the relevant account-listing tool, not the display name.
levelstringFacultatifcampaignEntity or reporting aggregation level to use, such as campaign, ad group, ad, or keyword when supported.
breakdownsarray|stringFacultatif·Breakdowns value for meta insights query. Follow the documented provider format and use values returned by Opus Growth discovery tools where possible.
action_breakdownsarray|stringFacultatif·Action breakdowns value for meta insights query. Follow the documented provider format and use values returned by Opus Growth discovery tools where possible.
daysintegerFacultatif30Number of calendar days to look back from now for this analysis or report.
start_datestringFacultatif·Inclusive start date for the requested period, in the format required by this tool.
end_datestringFacultatif·Inclusive end date for the requested period, in the format required by this tool.
time_incrementinteger|stringFacultatif·Time increment value for meta insights query. Follow the documented provider format and use values returned by Opus Growth discovery tools where possible.
filteringarrayFacultatif·Filtering value for meta insights query. Follow the documented provider format and use values returned by Opus Growth discovery tools where possible.
limitintegerFacultatif0Maximum number of rows returned in this response. When the result has_more flag is true, continue with next_page_token rather than assuming the list is complete.
page_tokenstringFacultatif·Continuation token returned as next_page_token by a previous call. Leave empty for the first page; pass it unchanged to retrieve the cached next page.