Method: buyers.dataSegments.activate

  • The POST request to activate a data segment is made to the URL https://authorizedbuyersmarketplace.googleapis.com/v1alpha/{name=buyers/*/dataSegments/*}:activate.

  • The name path parameter, a required string, specifies the data segment to be activated with the format buyers/{accountId}/dataSegments/{curatorDataSegmentId}.

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

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

  • Activating a data segment requires the OAuth scope https://www.googleapis.com/auth/authorized-buyers-marketplace.

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