Resource: DataSegment
Defines an identifier for a segment of inventory that can be targeted by curators or media planners in the deals or auction packages UI. Curation of inventory is done by curators on external platforms.
JSON representation |
---|
{ "name": string, "createTime": string, "updateTime": string, "cpmFee": { object ( |
Fields | |
---|---|
name |
Immutable. Identifier. The unique identifier for the data segment. Account ID corresponds to the account ID that created the segment. v1alpha format: |
createTime |
Output only. Time the data segment was created. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. Time the data segment was last updated. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
cpmFee |
Required. This will be charged when other accounts use this data segment. For example, when other accounts add this data segment to a deal or auction package. Once set, the currency code cannot be changed. |
state |
Output only. The state of the data segment. |
State
Output only. Use the activate and deactivate method to change state.
Enums | |
---|---|
STATE_UNSPECIFIED |
Default value. |
ACTIVE |
The data segment is active. |
INACTIVE |
The data segment is inactive. |
Methods |
|
---|---|
|
Activates a data segment. |
|
Creates a data segment owned by the listed curator. |
|
Deactivates a data segment. |
|
Gets a data segment given its name. |
|
List the data segments owned by a curator. |
|
Updates a data segment. |