Get segments
Retrieve Google Ads audience segments for a location. Without limit the response is a plain array. When limit is provided (max 100, default 100) the response is a paginated { segments, paging } envelope; pass pageToken (from paging.next) to fetch the next batch.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
adPublishing. readonlyOAuthPrivate IntegrationSub-Account TokenRequest
Headers
API Version
v3v3Query Parameters
Location identifier
loc_abc123Segment type
CUSTOM_SEGMENTSDATA_SEGMENTSALLCUSTOM_SEGMENTSPage size for a paginated fetch (max 100, defaults to 100). When set, the response is a { segments, paging } envelope instead of a plain array.
100Opaque cursor for the next batch, taken from the previous response paging.next
100Response
A plain array of segments (default), or a { segments, paging } envelope when limit is provided
- object[]
- PaginatedGoogleSegmentsDTO
- GoogleCustomSegmentSummaryDTO
- GoogleDataSegmentDTO
Google Ads resource name
customers/6776452901/customAudiences/874396901Segment id
874396901Segment name
Running shoe shoppersSegment status
ENABLEDAlways the literal CUSTOM_SEGMENTS. The service overwrites Google's own type with this constant so the value can be used as the discriminator that tells custom-audience entries apart from user-list entries in the merged ALL listing.
CUSTOM_SEGMENTSCUSTOM_SEGMENTSGoogle's own custom-audience type, moved here because type is reused as the discriminator.
AUTOINTERESTPURCHASE_INTENTSEARCHUNKNOWNUNSPECIFIEDAUTOSegment description
Visitors interested in running shoes