Skip to content

Google Ads Segments

Segments in the Google Ads API let you break down metrics by additional dimensions not available through the core resource fields.

Segments Overview

Segments are added to a GAQL query with the segments. prefix:

sql
SELECT
  campaign.name,
  segments.date,
  segments.device,
  metrics.impressions
FROM campaign
WHERE segments.date DURING LAST_7_DAYS

Time Segments

SegmentTypeFormatDescription
segments.dateDATEYYYY-MM-DDDate (day)
segments.weekDATEYYYY-MM-DDStart of week (Monday)
segments.monthDATEYYYY-MMMonth
segments.quarterSTRINGYYYY-QQuarter
segments.yearINTEGERYYYYYear
segments.day_of_weekENUMMONDAY..SUNDAYDay of week
segments.hourINTEGER0..23Hour of day

Device and Network Segments

SegmentTypeValues
segments.deviceENUMDESKTOP, MOBILE, TABLET, CONNECTED_TV, OTHER
segments.networkENUMSEARCH, SEARCH_PARTNERS, DISPLAY, YOUTUBE_SEARCH, YOUTUBE_WATCH, SHOPPING
segments.slotENUMTOP, OTHER (position on the page)

Geographic Segments

SegmentTypeDescription
segments.geo_target_citySTRINGCity
segments.geo_target_regionSTRINGRegion/state
segments.geo_target_countrySTRINGCountry
segments.geo_target_metroSTRINGMetro area (US)

Conversion Segments

SegmentTypeDescription
segments.conversion_actionSTRINGConversion action resource
segments.conversion_action_nameSTRINGAction name
segments.conversion_action_categoryENUMConversion category
segments.conversion_lag_bucketENUMConversion lag
segments.conversion_adjustmentBOOLEANWhether it's an adjustment

Auction Segments

SegmentTypeDescription
segments.auction_insight_domainSTRINGCompetitor domain
segments.auction_insight_search_termSTRINGAuction search term

Limitations and Rules

Compatibility

Not all segment combinations are supported. Main rules:

  1. Time-based + any other: segments.date can be combined with most segments
  2. Conversion + time-based: supported, but increases data volume
  3. Auction segments: often require a separate query

Performance

  • Maximum of 5 segments per query
  • Each additional segment multiplies the number of rows
  • For large accounts, limit the period when using segments

Practical Combinations

Daily Performance by Device

sql
SELECT
  segments.date,
  segments.device,
  metrics.impressions,
  metrics.clicks,
  metrics.conversions
FROM campaign
WHERE segments.date DURING LAST_7_DAYS

Conversions with Lag

sql
SELECT
  segments.conversion_action_name,
  segments.conversion_lag_bucket,
  metrics.conversions
FROM campaign
WHERE segments.date DURING LAST_30_DAYS

Maintained by the LightLead Documentation Team · Last verified: 2026-07-25