Method: buyers.dataSegments.activate

  • This page provides reference documentation for activating a data segment using an HTTP POST request.

  • Activating a data segment requires specifying the data segment's name as a path parameter in the request URL.

  • The request body for activating a data segment must be empty.

  • A successful activation returns a DataSegment object in the response body.

  • Authorization using the https://www.googleapis.com/auth/authorized-buyers-marketplace OAuth scope is required to perform this action.

Activates a data segment.

HTTP request

POST https://authorizedbuyersmarketplace.googleapis.com/v1alpha/{name=buyers/*/dataSegments/*}:activate

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Name of data segment to activate. v1alpha format: buyers/{accountId}/dataSegments/{curatorDataSegmentId} v1beta format: curators/{accountId}/dataSegments/{curatorDataSegmentId}

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of DataSegment.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/authorized-buyers-marketplace