PilotMCP

Google Ads

Les 66 outils de lecture que Pilot MCP sert pour Google Ads, tirés du serveur.

Pilot MCP sert 66 outils pour Google Ads, tous en lecture. Leur nom commence par google_. Les 113 outils d'écriture du connecteur ne sont pas servis : Pilot MCP est en lecture seule.

Google Ads en lecture : comptes, campagnes et budgets, groupes d'annonces et éléments, mots clés et termes de recherche, audiences et zones, conversions, Shopping, recommandations et tests, et requêtes GAQL.

Ce que dit chaque fiche

Le nom, la description et les paramètres viennent de la liste que le serveur sert à votre assistant (tools/list). Les descriptions sont en anglais : c'est le texte que votre assistant reçoit. Votre assistant n'a pas à remplir les accès à la régie : Pilot les ajoute à chaque appel.

Familles d'outils

Audiences et zones

google_get_audience_insights

Google Ads: Get Audience Insights · lecture · rejouable

Get insights about audience performance and characteristics

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID.

google_get_geographic_performance

Google Ads: Get Geographic Performance · lecture · rejouable

Get performance by geographic location

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID.
date_rangestringnonDate range preset: LAST_7_DAYS, LAST_14_DAYS, LAST_30_DAYS, LAST_90_DAYS, THIS_MONTH, LAST_MONTH.
start_datestringnonStart date YYYY-MM-DD, used if date_range not provided.
end_datestringnonEnd date YYYY-MM-DD, used if date_range not provided.
campaign_idstringnonFilter by campaign ID.

google_get_location_performance

Google Ads: Get Location Performance · lecture · rejouable

Get geographic performance report showing metrics by location

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID.
campaign_idstringnonOptional campaign ID to filter by.
date_rangestringnonDate range preset: LAST_7_DAYS, LAST_14_DAYS, LAST_30_DAYS, LAST_90_DAYS, THIS_MONTH, LAST_MONTH.
start_datestringnonStart date (YYYY-MM-DD), used if date_range not provided.
end_datestringnonEnd date (YYYY-MM-DD), used if date_range not provided.

google_get_user_location_view

Google Ads: Get User Location View · lecture · rejouable

Get performance data based on actual user locations (where users were physically located when they saw ads)

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID.
campaign_idstringnonOptional campaign ID to filter by.
date_rangestringnonDate range preset: LAST_7_DAYS, LAST_14_DAYS, LAST_30_DAYS, LAST_90_DAYS, THIS_MONTH, LAST_MONTH.
start_datestringnonStart date (YYYY-MM-DD), used if date_range not provided.
end_datestringnonEnd date (YYYY-MM-DD), used if date_range not provided.

google_list_ad_group_audience_criteria

Google Ads: List Ad Group Audience Criteria · lecture · rejouable

List audience targeting criteria for an ad group (remarketing lists, in-market segments, custom audiences, etc.). Use this to see what audiences are currently targeted or excluded.

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID (without hyphens).
ad_group_idstringouiAd group ID. Use list_ad_groups to get it.

google_list_audiences

Google Ads: List Audiences · lecture · rejouable

Lists the audiences of a Google Ads account (audience resources) with id, name, description, status and dimensions, removed ones excluded, ordered by ID, up to limit rows (default 100). User lists have their own tool, list_user_lists.

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID.
limitnumbernonMax results. Défaut : 100.

google_list_campaign_location_targets

Google Ads: List Campaign Location Targets · lecture · rejouable

List location targeting criteria for a campaign. If campaign_id is omitted, lists location targets for all campaigns.

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID.
campaign_idstringnonCampaign ID (optional - omit to list all campaigns).

google_list_remarketing_actions

Google Ads: List Remarketing Actions · lecture · rejouable

List all remarketing actions (Google tag snippets) for an account. Returns id, name, tag_snippets, and resource_name.

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID (without hyphens).
limitnumbernonMax results (default 50). Défaut : 50.

google_list_user_lists

Google Ads: List User Lists · lecture · rejouable

List all user lists (audiences) in the account

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID.
list_typestringnonFilter by type (CRM_BASED, REMARKETING, etc.).

google_search_locations

Google Ads: Search Locations · lecture · rejouable

Search for geographic location IDs by name. Use this to find location criterion IDs for targeting.

ParamètreTypeRequisDescription
location_namesstring[]nonList of location names to search for.
querystringnonSingle location name to search for (alias for location_names[0]).
customer_idstringnonGoogle Ads customer ID (optional, not used for geo constant lookup).
locale_codestringnonLanguage code (e.g., "en_US", "fr_FR"). Défaut : "en_US".

Campagnes, budgets et enchères

google_get_campaign_performance

Google Ads: Get Campaign Performance · lecture · rejouable

Get campaign performance metrics over a date range

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID.
date_rangestringnonDate range preset: LAST_7_DAYS, LAST_14_DAYS, LAST_30_DAYS, LAST_90_DAYS, THIS_MONTH, LAST_MONTH.
start_datestringnonStart date YYYY-MM-DD (default: 30 days ago), used if date_range not provided.
end_datestringnonEnd date YYYY-MM-DD (default: today), used if date_range not provided.
campaign_idstringnonFilter by campaign ID.

google_list_bidding_data_exclusions

Google Ads: List Bidding Data Exclusions · lecture · rejouable

List all bidding data exclusions

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID.

google_list_bidding_strategies

Google Ads: List Bidding Strategies · lecture · rejouable

List all portfolio bidding strategies for an account. Portfolio strategies (Target CPA, Target ROAS, Maximize Conversions) can be shared across campaigns. Use this to discover strategy IDs before assigning to a campaign.

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID (without hyphens).
type_filterstringnonFilter by strategy type (default: ALL). Valeurs : "ALL", "TARGET_CPA", "TARGET_ROAS", "MAXIMIZE_CONVERSIONS", "MAXIMIZE_CONVERSION_VALUE", "TARGET_IMPRESSION_SHARE", "ENHANCED_CPC". Défaut : "ALL".
limitnumbernonMax results (default 50). Défaut : 50.

google_list_budgets

Google Ads: List Budgets · lecture · rejouable

List all campaign budgets for an account. Use this to discover budget IDs and resource names before calling create_campaign. The budget resource_name (e.g. customers/123/campaignBudgets/456) is required by create_campaign.

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID (without hyphens).
include_sharedbooleannonInclude explicitly shared budgets (default true). Défaut : true.
limitnumbernonMaximum number of budgets to return (default 50). Défaut : 50.

google_list_campaign_bid_modifiers

Google Ads: List Campaign Bid Modifiers · lecture · rejouable

List bid modifiers for campaigns (call, interaction types). Use this to audit and manage campaign-level bid adjustments.

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID (without hyphens).
campaign_idstringnonFilter by campaign ID. Leave empty for all campaigns.
limitnumbernonMax results (default 100). Défaut : 100.

google_list_campaign_groups

Google Ads: List Campaign Groups · lecture · rejouable

List campaign groups for an account.

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID (without hyphens).
limitnumbernonMaximum number of results (default 100). Défaut : 100.

google_list_campaign_targeting

Google Ads: List Campaign Targeting · lecture · rejouable

List campaign targeting criteria. If campaign_id is omitted, lists all campaign criteria for the account.

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID.
campaign_idstringnonCampaign ID (optional - omit to list all campaigns).
limitnumbernonMax results. Défaut : 100.

google_list_campaigns

Google Ads: List Campaigns · lecture · rejouable

List all campaigns for an advertiser account. Use this to discover campaign IDs and resource names needed for other tools. Returns id, name, status, channel_type, budget resource_name and amount, start/end dates.

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID (without hyphens, e.g. 7863516311).
status_filterstringnonFilter by status. Default: ALL (includes enabled and paused). Valeurs : "ALL", "ENABLED", "PAUSED", "REMOVED". Défaut : "ALL".
limitnumbernonMaximum number of campaigns to return (default 50). Défaut : 50.

google_list_labels

Google Ads: List Labels · lecture · rejouable

List all labels for an account. Use this to discover label IDs and names before applying or removing labels. Returns id, name, status, background_color, and resource_name.

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID (without hyphens).
limitnumbernonMax results (default 100). Défaut : 100.

google_list_seasonality_adjustments

Google Ads: List Seasonality Adjustments · lecture · rejouable

List all seasonality adjustments

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID.

google_simulate_bid_change

Google Ads: Simulate Bid Change · lecture · rejouable

Simulate the effect of bid changes on a campaign or ad group. Returns projected metrics (clicks, impressions, cost) at different bid levels. Uses Google Ads campaign criterion simulations.

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID (without hyphens).
campaign_idstringouiCampaign ID to simulate bid changes for.
limitnumbernonMaximum number of simulation points (default 20). Défaut : 20.

google_simulate_budget_change

Google Ads: Simulate Budget Change · lecture · rejouable

Simulate the effect of budget changes on a campaign. Returns projected metrics (clicks, impressions, cost, conversions) at different budget levels. Uses Google Ads campaign budget simulations.

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID (without hyphens).
campaign_idstringouiCampaign ID to simulate budget changes for.
limitnumbernonMaximum number of simulation points (default 20). Défaut : 20.

Comptes

google_get_account_budget_summary

Google Ads: Get Account Budget Summary · lecture · rejouable

Get account budget information including approved spending limits and amounts. Returns budget details like status, amount, and spending limits.

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID (without hyphens).
limitnumbernonMaximum number of budgets to return (default 10). Défaut : 10.

google_get_account_info

Google Ads: Get Account Info · lecture · rejouable

Returns detailed information about a Google Ads account including account settings and a performance summary for the last 30 days. Combines account metadata (name, currency, timezone, type) with key metrics (spend, impressions, clicks, conversions). Example: get_account_info(customer_id='1234567890')

ParamètreTypeRequisDescription
customer_idstringouiThe Google Ads account ID. Example: '1234567890'.

google_get_account_spend_today

Google Ads: Get Account Spend Today · lecture · rejouable

Get the total spend for the account today. Returns cost in micros (divide by 1,000,000 for currency amount). Also includes impressions and clicks for context.

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID (without hyphens).

google_get_account_summary

Google Ads: Get Account Summary · lecture · rejouable

Get account-level summary metrics

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID.
date_rangestringnonDate range preset: LAST_7_DAYS, LAST_14_DAYS, LAST_30_DAYS, LAST_90_DAYS, THIS_MONTH, LAST_MONTH.
start_datestringnonStart date YYYY-MM-DD, used if date_range not provided.
end_datestringnonEnd date YYYY-MM-DD, used if date_range not provided.

google_get_change_history

Google Ads: Get Change History · lecture · rejouable

Get recent changes made to the Google Ads account. Returns change events showing what was modified, when, and by whom. Useful for auditing account activity.

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID (without hyphens).
limitnumbernonMaximum number of changes to return (default 50). Défaut : 50.
change_date_rangestringnonDate range preset: LAST_7_DAYS, LAST_14_DAYS, LAST_30_DAYS. Défaut : "LAST_14_DAYS".
resource_type_filterstringnonFilter by resource type: CAMPAIGN, AD_GROUP, AD, KEYWORD, etc.

google_get_optimization_score

Google Ads: Get Optimization Score · lecture · rejouable

Get the account optimization score from Google Ads. Returns a score between 0 and 1 indicating how well the account is optimized.

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID (without hyphens).

google_list_accounts

Google Ads: List Accounts · lecture · rejouable

Lists Google Ads accounts with optimized data fetching. DEFAULT MODE (no parameters): Returns only accessible MCC accounts (manager accounts) with basic info. DETAILED MODE (with manager_customer_id): Returns direct sub-accounts of that specific MCC. Use include_nested=true to recursively fetch nested MCCs and their sub-accounts. Example: list_accounts() → returns MCCs only | list_accounts(manager_customer_id='123456') → returns sub-accounts of MCC 123456

ParamètreTypeRequisDescription
manager_customer_idstringnonIf provided, returns sub-accounts of this MCC. If omitted, returns accessible MCC accounts only.
timeout_secondsnumbernonTimeout in seconds for API calls. Default: 120. Défaut : 120.
include_nestedbooleannonIf true and manager_customer_id is provided, recursively includes nested MCCs. Défaut : false.
max_depthnumbernonMaximum recursion depth when include_nested is true. Default: 1 (direct only). Défaut : 1.
account_idstringnonGoogle Ads account to use when the workspace has several, as returned by the account listing tool. Default: the first account linked to the workspace.

Conversions

google_list_conversion_actions

Google Ads: List Conversion Actions · lecture · rejouable

List all conversion actions for an account. Use this to discover conversion action IDs and resource names before updating or deleting. Returns id, name, type, status, category, and resource_name.

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID (without hyphens).
status_filterstringnonFilter by status (default: ALL, excludes REMOVED). Valeurs : "ALL", "ENABLED", "REMOVED", "HIDDEN". Défaut : "ALL".
limitnumbernonMax results (default 50). Défaut : 50.

google_list_conversion_actions_detailed

Google Ads: List Conversion Actions Detailed · lecture · rejouable

List conversion actions with full details including tracking status, counting type, lookback windows, value settings, and attribution model. More detailed than list_conversion_actions.

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID (without hyphens).
status_filterstringnonFilter by status (default: ALL, excludes REMOVED). Valeurs : "ALL", "ENABLED", "REMOVED", "HIDDEN". Défaut : "ALL".
limitnumbernonMax results (default 50). Défaut : 50.

google_list_conversion_value_rules

Google Ads: List Conversion Value Rules · lecture · rejouable

List conversion value rules for an account.

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID (without hyphens).
limitnumbernonMaximum number of results (default 100). Défaut : 100.

Groupes d'annonces, annonces et éléments

google_get_ad_performance

Google Ads: Get Ad Performance · lecture · rejouable

Get ad performance metrics

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID.
date_rangestringnonDate range preset: LAST_7_DAYS, LAST_14_DAYS, LAST_30_DAYS, LAST_90_DAYS, THIS_MONTH, LAST_MONTH.
start_datestringnonStart date YYYY-MM-DD, used if date_range not provided.
end_datestringnonEnd date YYYY-MM-DD, used if date_range not provided.
ad_group_idstringnonFilter by ad group ID.

google_get_ad_strength

Google Ads: Get Ad Strength · lecture · rejouable

Get ad strength and policy info for responsive search ads. If ad_id is provided, returns details for that specific ad. Otherwise lists all responsive search ads in the account.

ParamètreTypeRequisDescription
customer_idstringouiCustomer ID.
ad_idstringnonAd ID (optional - lists all RSAs if omitted).

google_list_ad_group_bid_modifiers

Google Ads: List Ad Group Bid Modifiers · lecture · rejouable

List bid modifiers for ad groups (device, demographics, preferred content). Returns the modifier value and criterion type for each ad group.

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID (without hyphens).
campaign_idstringnonFilter by campaign ID (optional).
ad_group_idstringnonFilter by ad group ID (optional).
limitnumbernonMax results (default 100). Défaut : 100.

google_list_ad_groups

Google Ads: List Ad Groups · lecture · rejouable

List all ad groups for an account or a specific campaign. Use this to discover ad group IDs before creating ads or adding keywords. Returns id, name, status, campaign, and resource_name.

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID (without hyphens).
campaign_idstringnonFilter by campaign ID. Leave empty to list all ad groups across all campaigns.
status_filterstringnonFilter by status. Default: ALL (excludes REMOVED). Valeurs : "ALL", "ENABLED", "PAUSED", "REMOVED". Défaut : "ALL".
limitnumbernonMaximum number of ad groups to return (default 100). Défaut : 100.

google_list_ads

Google Ads: List Ads · lecture · rejouable

List all ads for an account, campaign, or ad group. Use this to discover ad IDs before updating or deleting ads. Returns ad id, type, status, headlines, descriptions, final_urls and ad_group.

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID (without hyphens).
campaign_idstringnonFilter by campaign ID (optional).
ad_group_idstringnonFilter by ad group ID. Use list_ad_groups to get IDs.
status_filterstringnonFilter by status. Default: ALL (excludes REMOVED). Valeurs : "ALL", "ENABLED", "PAUSED", "REMOVED". Défaut : "ALL".
limitnumbernonMaximum number of ads to return (default 50). Défaut : 50.

google_list_asset_group_assets

Google Ads: List Asset Group Assets · lecture · rejouable

Lists assets linked to a Performance Max asset group.

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID (without hyphens).
asset_group_idstringouiAsset group ID.
limitnumbernonMaximum number of assets to return (default 50). Défaut : 50.

google_list_asset_groups

Google Ads: List Asset Groups · lecture · rejouable

Lists Performance Max asset groups for a given campaign.

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID (without hyphens).
campaign_idstringouiPerformance Max campaign ID.
limitnumbernonMaximum number of asset groups to return (default 100). Défaut : 100.

google_list_assets

Google Ads: List Assets · lecture · rejouable

List assets (images, text, videos, callouts, sitelinks) for an account. Use this to discover asset IDs and resource names before using them in campaigns or ad groups.

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID (without hyphens).
type_filterstringnonFilter by asset type (default: ALL). Valeurs : "ALL", "IMAGE", "TEXT", "YOUTUBE_VIDEO", "MEDIA_BUNDLE", "CALL_TO_ACTION", "SITELINK", "CALLOUT", "STRUCTURED_SNIPPET". Défaut : "ALL".
limitnumbernonMax results (default 50). Défaut : 50.

google_list_campaign_assets

Google Ads: List Campaign Assets · lecture · rejouable

List assets linked to a specific campaign. Returns asset type, field type, and status for each campaign-asset association.

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID (without hyphens).
campaign_idstringnonFilter by campaign ID. Leave empty to list all.
limitnumbernonMax results (default 100). Défaut : 100.

google_list_extensions

Google Ads: List Extensions · lecture · rejouable

List all extensions (assets) in an account

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID.
extension_typestringnonFilter by type (SITELINK, CALL, CALLOUT, etc.).
limitnumbernonMax results. Défaut : 100.

google_list_feed_items

Google Ads: List Feed Items · lecture · rejouable

List all items in a feed

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID.
feed_idstringnonFeed ID (optional; lists all feed items if omitted).

google_list_feeds

Google Ads: List Feeds · lecture · rejouable

List all feeds in the account

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID.

Mots clés et termes de recherche

google_get_keyword_ideas

Google Ads: Get Keyword Ideas · lecture · rejouable

Generate keyword ideas using Keyword Planner

ParamètreTypeRequisDescription
customer_idstringouiCustomer ID.
keyword_textsstring[]nonSeed keywords (alias: keywords).
keywordsstring[]nonAlias for keyword_texts.
urlstringnonWebsite URL for ideas.
language_idstringnonLanguage ID (1000=English). Défaut : "1000".
location_idsstring[]nonLocation IDs (e.g., ["2840"] for USA).

google_get_keyword_performance

Google Ads: Get Keyword Performance · lecture · rejouable

Get keyword performance metrics

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID.
date_rangestringnonDate range preset: LAST_7_DAYS, LAST_14_DAYS, LAST_30_DAYS, LAST_90_DAYS, THIS_MONTH, LAST_MONTH.
start_datestringnonStart date YYYY-MM-DD, used if date_range not provided.
end_datestringnonEnd date YYYY-MM-DD, used if date_range not provided.
ad_group_idstringnonFilter by ad group ID.

google_get_search_terms_report

Google Ads: Get Search Terms Report · lecture · rejouable

Get search terms report showing actual search queries

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID.
date_rangestringnonDate range preset: LAST_7_DAYS, LAST_14_DAYS, LAST_30_DAYS, LAST_90_DAYS, THIS_MONTH, LAST_MONTH.
start_datestringnonStart date YYYY-MM-DD, used if date_range not provided.
end_datestringnonEnd date YYYY-MM-DD, used if date_range not provided.
campaign_idstringnonFilter by campaign ID.

google_list_customer_negative_criteria

Google Ads: List Customer Negative Criteria · lecture · rejouable

List account-level negative criteria (excluded sites, keywords, placements, apps). These exclusions apply to all campaigns in the account.

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID (without hyphens).
limitnumbernonMax results (default 100). Défaut : 100.

google_list_keyword_plans

Google Ads: List Keyword Plans · lecture · rejouable

List keyword plans for an account.

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID (without hyphens).
limitnumbernonMaximum number of results (default 50). Défaut : 50.

google_list_keywords

Google Ads: List Keywords · lecture · rejouable

List keywords, optionally filtered by ad group

ParamètreTypeRequisDescription
customer_idstringouiCustomer ID.
ad_group_idstringnonAd group ID to filter by.
limitnumbernonMaximum number of results. Défaut : 100.

google_list_shared_criteria

Google Ads: List Shared Criteria · lecture · rejouable

List negative keywords/placements in a shared set. Use list_shared_sets to get the shared_set_id first.

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID (without hyphens).
shared_set_idstringouiShared set ID. Use list_shared_sets to get it.
limitnumbernonMax results (default 100). Défaut : 100.

google_list_shared_sets

Google Ads: List Shared Sets · lecture · rejouable

List all shared sets in the account

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID.
set_typestringnonOptional filter by type.

Recommandations, tests et enchères

google_get_auction_insights

Google Ads: Get Auction Insights · lecture · rejouable

Google Ads auction insights: the competitor domains in the auctions of Search and Shopping campaigns, per campaign and day, with impression share, overlap rate, outranking share, position above rate, top and absolute top impression percentages. Only Search and Shopping campaigns have them, and Google returns rows only above its privacy thresholds: an empty result comes with a warning naming the likely causes. date_range defaults to LAST_7_DAYS; campaign_ids narrows the campaigns.

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID (without hyphens).
date_rangestringnonDate range preset: LAST_7_DAYS, LAST_14_DAYS, LAST_30_DAYS, YESTERDAY, THIS_MONTH, LAST_MONTH, or 'YYYY-MM-DD,YYYY-MM-DD'. Default: LAST_7_DAYS.
campaign_idsstring[]nonRestrict to these campaign IDs (optional).

google_get_recommendation_impact

Google Ads: Get Recommendation Impact · lecture · rejouable

Get detailed impact analysis for a specific recommendation

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID.
recommendation_resource_namestringouiFull resource name of the recommendation.

google_get_recommendations

Google Ads: Get Recommendations · lecture · rejouable

Get optimization recommendations from Google Ads (KEYWORD, BUDGET, BID, AD, etc.)

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID.
recommendation_typesstring[]nonOptional list of types to filter by (KEYWORD, BUDGET, BID, AD).
limitnumbernonMaximum number of results (default: 100, max: 1000). Défaut : 100.

google_list_experiment_arms

Google Ads: List Experiment Arms · lecture · rejouable

List all arms for a specific Google Ads experiment.

ParamètreTypeRequisDescription
customer_idstringouiCustomer ID (without hyphens).
experiment_resource_namestringouiExperiment resource name (e.g., customers/123/experiments/456).
limitnumbernonMaximum number of arms to return (default 50). Défaut : 50.

google_list_experiments

Google Ads: List Experiments · lecture · rejouable

List all experiments (A/B tests) for a Google Ads customer account.

ParamètreTypeRequisDescription
customer_idstringouiCustomer ID (without hyphens).
limitnumbernonMaximum number of experiments to return (default 100). Défaut : 100.

Requêtes GAQL

google_autocomplete_gaql

Google Ads: Autocomplete GAQL · lecture · rejouable

Provides autocomplete suggestions for valid GAQL fields for a given resource. Returns all fields that can be selected when querying a specific resource. Example: autocomplete_gaql('campaign') returns all campaign fields, metrics, and segments. Use this to discover what fields are available before building a query.

ParamètreTypeRequisDescription
resource_namestringouiThe Google Ads resource name. Examples: 'campaign', 'ad_group', 'ad_group_criterion'.
customer_idstringnonOptional Google Ads customer ID to use for metadata queries.

google_build_gaql_query

Google Ads: Build GAQL Query · lecture · rejouable

Builds a safe GAQL query from structured components to avoid syntax errors. Helps LLMs construct valid queries without memorizing GAQL syntax. Example: build_gaql_query(resource='campaign', fields=['campaign.id', 'campaign.name'], filters=[{field: 'campaign.status', op: '=', value: 'ENABLED'}], limit=10) returns a complete, validated GAQL query string ready to use with run_query.

ParamètreTypeRequisDescription
resourcestringouiThe Google Ads resource to query. Examples: 'campaign', 'ad_group', 'customer'.
fieldsstring[]ouiList of fields to select. Examples: ['campaign.id', 'campaign.name', 'campaign.status'].
date_rangestringnonOptional date range filter. Examples: 'LAST_30_DAYS', 'LAST_7_DAYS', '2024-01-01'.
filtersobject[]nonOptional list of filter conditions. Example: [{field: 'campaign.status', op: '=', value: 'ENABLED'}].
order_bystringnonOptional field to order results by. Example: 'campaign.name'.
limitnumbernonMaximum rows to return. Default: 50, Max: 10000. Défaut : 50.
account_idstringnonGoogle Ads account to use when the workspace has several, as returned by the account listing tool. Default: the first account linked to the workspace.

google_get_resource_metadata

Google Ads: Get Resource Metadata · lecture · rejouable

Fetches detailed metadata for a Google Ads resource, field, segment, or metric. Useful for understanding what fields exist, which fields can be selected together, and validating GAQL queries. Examples: get_resource_metadata('campaign') returns all campaign fields, get_resource_metadata('metrics.clicks') returns click metric details. Use this to discover available fields when building queries.

ParamètreTypeRequisDescription
resource_or_field_namestringnonThe name of the resource or field to query. Examples: 'campaign', 'ad_group', 'campaign.name', 'metrics.clicks'.
resource_typestringnonAlias for resource_or_field_name.
customer_idstringnonOptional Google Ads customer ID to use for metadata queries.

google_lint_gaql

Google Ads: Lint GAQL · lecture · rejouable

Performs strict static analysis and validation of a GAQL query before execution. Catches common errors like missing SELECT/FROM, forbidden actions (UPDATE/DELETE), using SELECT *, missing date filters for metrics, and invalid field names. Example: lint_gaql(query='SELECT campaign.id FROM campaign') returns validation results. Always use this before run_query to catch errors early and save API quota.

ParamètreTypeRequisDescription
querystringouiThe GAQL query to validate. Example: 'SELECT campaign.id, campaign.name FROM campaign'.
account_idstringnonGoogle Ads account to use when the workspace has several, as returned by the account listing tool. Default: the first account linked to the workspace.

google_run_query

Google Ads: Run Query · lecture · rejouable

Executes a GAQL (Google Ads Query Language) query on a Google Ads account. Returns campaign, ad group, keyword, or other Google Ads data based on your query. Example: run_query(customer_id='1234567890', query='SELECT campaign.id, campaign.name FROM campaign WHERE campaign.status = ENABLED LIMIT 10') Always use GAQL syntax: 'SELECT fields FROM resource WHERE conditions LIMIT number'

ParamètreTypeRequisDescription
customer_idstringouiThe Google Ads account ID to query. Example: '1234567890'.
querystringouiThe GAQL query to execute. Example: 'SELECT campaign.id, campaign.name FROM campaign'.
limitnumbernonMaximum number of rows to return. Default: 50. Défaut : 50.
manager_customer_idstringnonThe main manager (MCC) account ID for authentication. Example: '9876543210'.
intermediate_manager_customer_idstringnonThe intermediate manager (MCC2) account ID if applicable. For multi-level MCC hierarchies, used as login_customer_id when accessing a client under a sub-MCC.
timeout_secondsnumbernonQuery timeout in seconds. Default: 120. Défaut : 120.
skip_validationbooleannonIf true, skips pre-flight validation (not recommended). Default: false. Défaut : false.

google_validate_query_google

Google Ads: Validate Query Google · lecture · rejouable

Validates a GAQL query using the Google Ads API without executing it. This performs server-side validation to check if the query is syntactically correct and semantically valid according to Google Ads API rules. Example: validate_query_google(customer_id='1234567890', query='SELECT campaign.id FROM campaign') returns validation status. Use this for final validation before run_query.

ParamètreTypeRequisDescription
customer_idstringouiThe Google Ads account ID to validate against. Example: '1234567890'.
querystringouiThe GAQL query to validate. Example: 'SELECT campaign.id, campaign.name FROM campaign'.

Shopping et Merchant Center

google_get_shopping_performance

Google Ads: Get Shopping Performance · lecture · rejouable

Get Shopping campaign performance report with product-level metrics

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID.
campaign_idstringnonOptional campaign ID to filter by.
start_datestringnonStart date (YYYY-MM-DD). Défaut : "2024-01-01".
end_datestringnonEnd date (YYYY-MM-DD). Défaut : "2024-12-31".

Google Ads: List Merchant Center Links · lecture · rejouable

List all Merchant Center links for an account

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID.

google_list_product_groups

Google Ads: List Product Groups · lecture · rejouable

List all product groups (listing groups) in an account or ad group

ParamètreTypeRequisDescription
customer_idstringouiGoogle Ads customer ID.
ad_group_idstringnonOptional ad group ID to filter by.

Sur cette page