The [`dynamic_search_ads_search_term_view`](https://developers.google.com/google-ads/api/fields/v26/dynamic_search_ads_search_term_view) resource
provides Dynamic Search Ads (DSAs) [performance metrics segmented by search
terms](https://support.google.com/google-ads/answer/9054156). The `search_term` field contains matching queries
that generated results, alongside the dynamically selected `landing_page`,
`headline`, `page_url` (when served from a [DSA page feed](https://developers.google.com/google-ads/api/docs/dynamic-search-ads/dsa-page-feeds)), and
keyword or URL match indicators (`has_matching_keyword`, `has_negative_keyword`,
and `has_negative_url`). You can also segment by the triggering criterion using
`segments.webpage`, or query [`webpage_view`](https://developers.google.com/google-ads/api/fields/v26/webpage_view) for performance
aggregated by dynamic ad target (`webpage` criterion).

## Example query

In the following example, the GAQL query retrieves DSA search term performance
for the last month:

    SELECT
      dynamic_search_ads_search_term_view.search_term,
      metrics.clicks,
      metrics.impressions,
      segments.date,
      metrics.cost_micros,
      dynamic_search_ads_search_term_view.landing_page
    FROM dynamic_search_ads_search_term_view
    WHERE segments.date DURING LAST_MONTH

## Sample response

The following table illustrates the values returned by the query
(`segments.date` in `YYYY-MM-DD` format and `metrics.cost_micros` in millionths
of the account currency):

| `search_term` | `clicks` | `impressions` | `date` | `cost_micros` | `landing_page` |
|---|---|---|---|---|---|
| mars luxury | 0 | 20 | 2024-02-20 | 0 | https://example.com/LuxuryMarsCruises |
| mars luxury | 0 | 14 | 2024-02-21 | 0 | https://example.com/LuxuryMarsCruises |
| low cost mars | 0 | 24 | 2024-02-20 | 0 | https://example.com/MarsOnABudget |
| low cost mars | 0 | 18 | 2024-02-21 | 0 | https://example.com/MarsOnABudget |
| mars landmarks | 0 | 130 | 2024-02-21 | 0 | https://example.com/MajorTouristSpots |
| mars funny face | 0 | 44 | 2024-02-21 | 0 | https://example.com/MajorTouristSpots |
| space travel safety | 1 | 3 | 2024-02-20 | 50000 | https://example.com/ButIsItSafe |
| mars departure points | 0 | 11 | 2024-02-21 | 0 | https://example.com/HowToGetToMars |
| mars beaches | 0 | 24 | 2024-02-20 | 0 | https://example.com/MarsBeachVacations |
| mars beaches | 0 | 39 | 2024-02-21 | 0 | https://example.com/MarsBeachVacations |
| mars canyoning | 0 | 23 | 2024-02-21 | 0 | https://example.com/DayTripsAndActivities |