flin-chatgpt-ads-mcp
v0.1.6Read-only OpenAI Ads MCP server with per-account API keys
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
connection_status
Check local setup and running server version without network, browser, credentials or customer data. Does not validate API access.
list_configured_accounts
List configured account aliases without credentials.
list_campaigns
Get all campaigns for an ad account
| Parameter | Type | Description |
|---|---|---|
account | string | Configured account alias. Required when multiple accounts are configured without a default. |
after | string | |
before | string | |
include | array | |
limit | integer | |
name | string | |
order | string |
get_campaign
Get a campaign
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | |
account | string | Configured account alias. Required when multiple accounts are configured without a default. |
include | array |
list_audit_logs
List audit logs for the authenticated ad account.
| Parameter | Type | Description |
|---|---|---|
account | string | Configured account alias. Required when multiple accounts are configured without a default. |
actor_id | string | ID of the actor who made the change, not the affected user. |
ad_group_id | string | Object ID of the ad group. Includes logs for the ad group and its ads. |
ad_id | string | Object ID of the ad. |
after | string | |
before | string | |
campaign_id | string | Object ID of the campaign. Includes logs for the campaign and its ad groups and ads. |
end_time | integer | Inclusive end time as a Unix timestamp in seconds. |
limit | integer | |
order | string | |
start_time | integer | Inclusive start time as a Unix timestamp in seconds. |
get_ad_account
Get metadata for the ad account
| Parameter | Type | Description |
|---|---|---|
account | string | Configured account alias. Required when multiple accounts are configured without a default. |
get_ad_account_spend_limit_windows
View spend limit windows with inclusive start dates and exclusive end dates, ordered by start time ascending. Active and upcoming Daily recurrence rules are returned separately in daily_limits; daily_limit retains the active or earliest upcoming rule for legacy clients. data remains dated windows only. Creating account spending limits requires an ad account on postpaid invoice billing.
| Parameter | Type | Description |
|---|---|---|
account | string | Configured account alias. Required when multiple accounts are configured without a default. |
get_ad_account_insights
Get ad account insights aggregated by time granularity. Attribution metrics for the current account-local day are preliminary and may change as conversions are processed. For clicks, spend or conversions, explicitly request fields. time_ranges accepts YYYY-MM-DD..YYYY-MM-DD inclusive in the account timezone.
| Parameter | Type | Description |
|---|---|---|
account | string | Configured account alias. Required when multiple accounts are configured without a default. |
after | string | |
aggregation_level | string | Row entity; defaults to endpoint scope ad_account. Use this level as the metric prefix. |
attribution_time_basis | string | Date reports by the attributed ad interaction (ad_event_time) or conversion (conversion_time). Defaults to ad_event_time. |
attribution_window_days | integer | Click attribution window: 7, 14, or 30 days. Omitted or null windows independently default to 30-day click and 1-day view. |
before | string | |
fields | array | Explicit metrics to return, e.g. ad_account.impressions, ad_account.clicks, ad_account.spend, ad_account.conversions, metadata.readable_time. Omitting fields normally returns only impressions and defa… |
filters | array | |
includes | array | |
limit | integer | |
override_segment_group_order | array | |
segments | array | Use ["hotel"] for enrolled accounts to request Hotel-property reporting. Hotel supports none/daily/monthly, hierarchy aggregation, and forward pagination. Property conversions, carousel-card metrics a… |
sort | array | |
time_granularity | string | |
time_ranges | array | One date range: ["2026-10-01..2026-11-02"] (both dates inclusive, account timezone), or one JSON-encoded object such as {"type":"date_range","since":"2026-10-01","until":"2026-11-02"}. unix_range uses… |
view_through_attribution_window_days | integer | View attribution window: 0 excludes views; 1 includes one-day views. |
get_campaign_insights
Get campaign insights aggregated by time granularity. Attribution metrics for the current account-local day are preliminary and may change as conversions are processed. For clicks, spend or conversions, explicitly request fields. time_ranges accepts YYYY-MM-DD..YYYY-MM-DD inclusive in the account timezone.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | |
account | string | Configured account alias. Required when multiple accounts are configured without a default. |
after | string | |
aggregation_level | string | Row entity; defaults to endpoint scope campaign. Use this level as the metric prefix. |
attribution_time_basis | string | Date reports by the attributed ad interaction (ad_event_time) or conversion (conversion_time). Defaults to ad_event_time. |
attribution_window_days | integer | Click attribution window: 7, 14, or 30 days. Omitted or null windows independently default to 30-day click and 1-day view. |
before | string | |
fields | array | Explicit metrics to return, e.g. campaign.impressions, campaign.clicks, campaign.spend, campaign.conversions, metadata.readable_time. Omitting fields normally returns only impressions and default meta… |
filters | array | |
includes | array | |
limit | integer | |
override_segment_group_order | array | |
segments | array | |
sort | array | |
time_granularity | string | |
time_ranges | array | One date range: ["2026-10-01..2026-11-02"] (both dates inclusive, account timezone), or one JSON-encoded object such as {"type":"date_range","since":"2026-10-01","until":"2026-11-02"}. unix_range uses… |
view_through_attribution_window_days | integer | View attribution window: 0 excludes views; 1 includes one-day views. |
get_ad_group_insights
Get ad group insights aggregated by time granularity. Attribution metrics for the current account-local day are preliminary and may change as conversions are processed. For clicks, spend or conversions, explicitly request fields. time_ranges accepts YYYY-MM-DD..YYYY-MM-DD inclusive in the account timezone.
| Parameter | Type | Description |
|---|---|---|
ad_group_id * | string | |
account | string | Configured account alias. Required when multiple accounts are configured without a default. |
after | string | |
aggregation_level | string | Row entity; defaults to endpoint scope ad_group. Use this level as the metric prefix. |
attribution_time_basis | string | Date reports by the attributed ad interaction (ad_event_time) or conversion (conversion_time). Defaults to ad_event_time. |
attribution_window_days | integer | Click attribution window: 7, 14, or 30 days. Omitted or null windows independently default to 30-day click and 1-day view. |
before | string | |
fields | array | Explicit metrics to return, e.g. ad_group.impressions, ad_group.clicks, ad_group.spend, ad_group.conversions, metadata.readable_time. Omitting fields normally returns only impressions and default meta… |
filters | array | |
includes | array | |
limit | integer | |
override_segment_group_order | array | |
segments | array | |
sort | array | |
time_granularity | string | |
time_ranges | array | One date range: ["2026-10-01..2026-11-02"] (both dates inclusive, account timezone), or one JSON-encoded object such as {"type":"date_range","since":"2026-10-01","until":"2026-11-02"}. unix_range uses… |
view_through_attribution_window_days | integer | View attribution window: 0 excludes views; 1 includes one-day views. |
get_ad_insights
Get ad insights aggregated by time granularity. Attribution metrics for the current account-local day are preliminary and may change as conversions are processed. For clicks, spend or conversions, explicitly request fields. time_ranges accepts YYYY-MM-DD..YYYY-MM-DD inclusive in the account timezone.
| Parameter | Type | Description |
|---|---|---|
ad_id * | string | |
account | string | Configured account alias. Required when multiple accounts are configured without a default. |
after | string | |
aggregation_level | string | Row entity; defaults to endpoint scope ad. Use this level as the metric prefix. |
attribution_time_basis | string | Date reports by the attributed ad interaction (ad_event_time) or conversion (conversion_time). Defaults to ad_event_time. |
attribution_window_days | integer | Click attribution window: 7, 14, or 30 days. Omitted or null windows independently default to 30-day click and 1-day view. |
before | string | |
fields | array | Explicit metrics to return, e.g. ad.impressions, ad.clicks, ad.spend, ad.conversions, metadata.readable_time. Omitting fields normally returns only impressions and default metadata. Use the aggregatio… |
filters | array | |
includes | array | |
limit | integer | |
override_segment_group_order | array | |
segments | array | |
sort | array | |
time_granularity | string | |
time_ranges | array | One date range: ["2026-10-01..2026-11-02"] (both dates inclusive, account timezone), or one JSON-encoded object such as {"type":"date_range","since":"2026-10-01","until":"2026-11-02"}. unix_range uses… |
view_through_attribution_window_days | integer | View attribution window: 0 excludes views; 1 includes one-day views. |
get_geo_lookup
Search Market locations and standard region codes for advertiser geo targeting.
| Parameter | Type | Description |
|---|---|---|
q * | string | |
account | string | Configured account alias. Required when multiple accounts are configured without a default. |
limit | integer |
list_conversion_event_settings
List conversion event settings for the currently authenticated ad account.
| Parameter | Type | Description |
|---|---|---|
account | string | Configured account alias. Required when multiple accounts are configured without a default. |
after | string | |
before | string | |
limit | integer | |
order | string |
list_conversion_sources
List conversion pixels and connected pixel ids for the acting ad account.
| Parameter | Type | Description |
|---|---|---|
account | string | Configured account alias. Required when multiple accounts are configured without a default. |
after | string | |
before | string | |
limit | integer | |
order | string |
list_ad_groups
Get ad groups for the ad account, optionally filtered by campaign
| Parameter | Type | Description |
|---|---|---|
account | string | Configured account alias. Required when multiple accounts are configured without a default. |
after | string | |
before | string | |
campaign_id | string | |
include | array | |
limit | integer | |
name | string | |
order | string |
get_ad_group
Get an ad group
| Parameter | Type | Description |
|---|---|---|
ad_group_id * | string | |
account | string | Configured account alias. Required when multiple accounts are configured without a default. |
include | array |
list_ads
Get ads for the ad account, optionally filtered by ad group
| Parameter | Type | Description |
|---|---|---|
account | string | Configured account alias. Required when multiple accounts are configured without a default. |
ad_group_id | string | |
after | string | |
before | string | |
include | array | |
limit | integer | |
name | string | |
order | string |
get_ad
Get an ad
| Parameter | Type | Description |
|---|---|---|
ad_id * | string | |
account | string | Configured account alias. Required when multiple accounts are configured without a default. |
include | array |
get_landing_page_crawler_evidence
Get saved landing-page crawler evidence for an ad's submitted version. Includes metadata for successful and failed captures and, when available, a read-only screenshot URL valid for up to 24 hours. Returns 404 when no capture is available and 409 while the capture is pending. The status describes the crawl job, not the destination's HTTP status. This read-only operation does not start a crawl.
| Parameter | Type | Description |
|---|---|---|
ad_id * | string | |
account | string | Configured account alias. Required when multiple accounts are configured without a default. |
get_product_feed_settings
Get display and organic-listing settings for an owned feed.
| Parameter | Type | Description |
|---|---|---|
feed_id * | string | |
account | string | Configured account alias. Required when multiple accounts are configured without a default. |
list_product_feeds
List product feeds for the authenticated ad account.
| Parameter | Type | Description |
|---|---|---|
account | string | Configured account alias. Required when multiple accounts are configured without a default. |
after | string | |
before | string | |
include | array | |
limit | integer |
list_product_feed_uploads
List recent product feed uploads for the authenticated ad account.
| Parameter | Type | Description |
|---|---|---|
account | string | Configured account alias. Required when multiple accounts are configured without a default. |
after | string | |
before | string | |
limit | integer | |
paginate | boolean |