Google AdsVersion: v3
Get segment by ID
GET/ad-publishing/google/segments/{segmentId}
Retrieve a specific Google Ads audience segment by ID
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
Scope:
adPublishing. readonlyAuth methods:
OAuthPrivate IntegrationToken type:
Sub-Account TokenRequest
Headers
Versionstringrequired
API Version
Available options
v3Example:
v3Path Parameters
segmentIdstringrequired
Segment identifier
Example:
seg_abc123Query Parameters
locationIdstringrequired
Location identifier
Example:
HChooFuiyPpVYzeJ4HMetypestringrequired
Segment type
Available options
CUSTOM_SEGMENTSDATA_SEGMENTSExample:
CUSTOM_SEGMENTSResponse
The segment, shaped by the requested type. CUSTOM_SEGMENTS returns a custom audience with status and members; DATA_SEGMENTS returns a Google user list with rules, sizes, access metadata, and an optional extras block holding this product's own record.
- GoogleSegmentDetailDTO
- GoogleDataSegmentDetailDTO
resourceNamestringrequired
Google Ads resource name
Example:
customers/6776452901/customAudiences/874396901idstringrequired
Segment id
Example:
874396901statusstringrequired
Segment status
Example:
ENABLEDnamestringrequired
Segment name
Example:
Running shoe shopperstypestringrequired
Google custom-audience type. AUTO is the default applied when none is supplied on create.
Example:
AUTOmembersobject[]required
Keywords, URLs and apps that define the segment