Method: buyers.dataSegments.create

  • This content outlines the process for creating a data segment owned by a curator, which becomes immediately available for buyers.

  • The HTTP request is a POST method to a specific URL using gRPC Transcoding syntax, and includes path parameters for defining the parent resource.

  • The request body must contain an instance of the DataSegment resource, as defined in the API.

  • Upon success, the response body will include the newly created DataSegment resource instance.

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

Creates a data segment owned by the listed curator. The data segment will be created in the ACTIVE state, meaning it will be immediately available for buyers to use in preferred deals, private auction deals, and auction packages.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent resource where this data segment will be created. v1alpha format: buyers/{accountId} v1beta format: curators/{accountId}

Request body

The request body contains an instance of DataSegment.

Response body

If successful, the response body contains a newly created instance of DataSegment.

Authorization scopes

Requires the following OAuth scope:

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