SCALIX help

← All tools

gads_get_landing_page_performance

Google Ads read low risk

Part of the Landing Page Agent.

What it does

Per landing page (the advertiser-specified final URL, before tracking-template expansion): impressions, clicks, cost, conversions, conversion value, conversion rate (conversions_from_interactions_rate), CTR and avg CPC, plus Google's landing-page experience signals — mobile_friendly_clicks_percentage (share of mobile clicks that reached a mobile-friendly page), speed_score (1-10 mobile page speed after ad clicks; 10 = fastest) and valid_accelerated_mobile_pages_clicks_percentage — over the date range (default LAST_30_DAYS). Sorted by clicks descending so the pages that carry the spend come first. Built for the CRO workflow (see cro_collect_brief): pair a page's conversion rate with its speed and mobile-friendly signals, then measure the page itself with web_get_pagespeed_report and web_fetch_landing_page. speed_score and the two percentages come from mobile ad clicks and are null when Google has too little data. Money is micros (/1e6); reconciles to the Google Ads UI 'Landing pages' report within +/-1%. Returns {success, data:[{landing_page_view{unexpanded_final_url}, metrics}], count, warnings}.

When to use it

Use for CRO and landing-page audits: which final URLs get the clicks and spend, how they convert, and whether Google sees them as slow or not mobile-friendly. Combine with web_get_pagespeed_report, web_fetch_landing_page and gads_get_keyword_quality_scores.

Inputs

NameTypeRequiredDescription
customer_idstringyes10-digit Google Ads customer ID (CID), dashes stripped. Server-derived tenant context + RLS.
campaign_idstringnoRestrict to one campaign.
date_rangestringnoGAQL macro (LAST_7_DAYS/LAST_14_DAYS/LAST_30_DAYS/THIS_MONTH/LAST_MONTH), LAST_N_DAYS, or explicit YYYY-MM-DD,YYYY-MM-DD. Defaults to LAST_30_DAYS (a warning says so); ALL_TIME removes the date filter.
limitintegernoGAQL LIMIT cap; default 200 (a warning says when the cap was hit).
manager_idstringnoManager (MCC) CID to use as login-customer-id when the account is reachable only through a manager. Usually omitted (resolved automatically).

Safeguards

Policy

Read-only. Never fabricate or approximate a metric; if a figure can't be reconciled to the Google Ads UI Landing pages report within +/-1%, say so. A null speed_score or mobile-friendly rate means Google has too little mobile-click data — report 'not available', never 0.

Reminder

unexpanded_final_url is the URL as set on the ad or keyword — not the URL after redirects or tracking parameters — so match it to the page you audit. Money is micros/1e6 in the account currency; cite the date range with every number.

Errors

Error classMeansWhat to doRetry
CUSTOMER_NOT_FOUNDAccount {customer_id} not found or not linked.Verify the CID and that the account is connected and enabled for Claude in the Scalix console.no
needs_reauthAuthorization expired or revoked.Reconnect Google Ads in the Scalix dashboard.no
INVALID_ARGUMENTMalformed date_range or filter.Fix the argument (date_range as a GAQL macro or YYYY-MM-DD,YYYY-MM-DD; ids as digits) and retry.no
MANAGER_ACCOUNT_METRICS_UNSUPPORTEDManager (MCC) accounts return no metrics.Query a child account (see gads_get_account_hierarchy).no
PERMISSION_DENIEDThe authenticated user lacks access to this account.Check account access in Google Ads, then reconnect.no
RESOURCE_EXHAUSTEDRate/quota limit hit.Back off and retry in a minute.yes

Edge cases

  • Pages with no mobile ad clicks in the range have null speed_score / mobile_friendly_clicks_percentage / valid-AMP percentage.
  • Rows are keyed by the UNEXPANDED final URL: the same page reached through different final URLs (with and without a query string) appears as separate rows.
  • count:0 with success:true comes with a note naming the date range and the filters applied: no traffic in the range, or the campaign filter excluded every page.
  • Manager (MCC) account -> metrics unsupported; query a child.