Method: buyers.dataSegments.create
Stay organized with collections
Save and categorize content based on your preferences.
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-12 UTC.
[null,null,["Last updated 2025-06-12 UTC."],[[["\u003cp\u003eThis content outlines the process for creating a data segment owned by a curator, which becomes immediately available for buyers.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request is a POST method to a specific URL using gRPC Transcoding syntax, and includes path parameters for defining the parent resource.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must contain an instance of the \u003ccode\u003eDataSegment\u003c/code\u003e resource, as defined in the API.\u003c/p\u003e\n"],["\u003cp\u003eUpon success, the response body will include the newly created \u003ccode\u003eDataSegment\u003c/code\u003e resource instance.\u003c/p\u003e\n"],["\u003cp\u003eCreating a data segment requires OAuth authorization with the scope \u003ccode\u003ehttps://www.googleapis.com/auth/authorized-buyers-marketplace\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Method: buyers.dataSegments.create\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nCreates 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.\n\n### HTTP request\n\n`POST https://authorizedbuyersmarketplace.googleapis.com/v1alpha/{parent=buyers/*}/dataSegments`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `parent` | `string` Required. The parent resource where this data segment will be created. v1alpha format: `buyers/{accountId}` v1beta format: `curators/{accountId}` |\n\n### Request body\n\nThe request body contains an instance of [DataSegment](/authorized-buyers/apis/marketplace/reference/rest/v1alpha/buyers.dataSegments#DataSegment).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [DataSegment](/authorized-buyers/apis/marketplace/reference/rest/v1alpha/buyers.dataSegments#DataSegment).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/authorized-buyers-marketplace`"]]