Skip to main content
Google AdsVersion: v3

Delete segment

DEL/ad-publishing/google/segments/{segmentId}

Delete a Google Ads audience segment by ID

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your access token.

Scope:adPublishing.write
Auth methods:OAuthPrivate Integration
Token type:Sub-Account Token

Request​

Headers

Versionstringrequired

API Version

Available optionsv3
Example:v3

Path Parameters

segmentIdstringrequired

Segment identifier

Example:seg_abc123

Query Parameters

locationIdstringrequired

Location identifier

Example:HChooFuiyPpVYzeJ4HMe
typestringrequired

Segment type

Available optionsCUSTOM_SEGMENTSDATA_SEGMENTS
Example:CUSTOM_SEGMENTS

Response

Acknowledgement that the segment was removed

successbooleanrequired

True when the operation succeeded

Example:true