get_search_terms_report
Retrieve actual search queries that triggered Apple Search Ads impressions with performance metrics. Identify new keywords to add and irrelevant queries to exclude. Aggregate data from the last 30 days.
Instructions
Fetch the actual user search queries that triggered Apple Search Ads impressions, along with performance metrics per search term. Requires ASA authentication; read-only. Most useful for keyword discovery (finding new terms to add) and negation (finding irrelevant queries to exclude). Does not support granularity breakdown — returns aggregate totals per search term. Use get_keyword_report to see metrics for your configured targeting keywords instead. Defaults to the last 30 days.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| startDate | No | Start of the reporting period (YYYY-MM-DD). Defaults to 30 days ago. | |
| endDate | No | End of the reporting period (YYYY-MM-DD). Defaults to today. | |
| granularity | No | Ignored for this report — the ASA API does not support granularity on search terms reports. | |
| campaignId | Yes | ID of the campaign containing the ad group. Obtain from list_campaigns. | |
| adGroupId | Yes | ID of the ad group to report on. Obtain from list_ad_groups. |