curators

Creates a new curated package.

post/v1/{+parent}/curatedPackages

Request

  • Base URL: https://curationpartners.googleapis.com
  • URL: https://curationpartners.googleapis.com/v1/{+parent}/curatedPackages
  • Auth: OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/curation-partners) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/curation-partners)

Path parameters

parentstring required

Required. The parent curator account where this curated package will be created. Format: curators/{accountId}

Request body

millipercentOfMediaFeestring int64

Optional. The fee will be charged as a percentage of the impression cost, represented in millipercent. For example, 1% is represented as 1000.

state'STATE_UNSPECIFIED' | 'ACTIVE' | 'INACTIVE'

Output only. The state of the curated package. Can be used to filter the response of the curatedPackages.list method.

curationFeeVisibility'CURATION_FEE_VISIBILITY_UNSPECIFIED' | 'DISCLOSED' | 'NON_DISCLOSED'

Optional. Immutable. The visibility of the combined curation package fee and data segment fees (the total curation fee).

namestring

Identifier. The unique resource name for the curated package. Format: curators/{accountId}/curatedPackages/{curatedPackageId}

createTimestring google-datetime

Output only. The timestamp when the curated package was created. Can be used to filter the response of the curatedPackages.list method.

descriptionstring

Optional. A description of the curated package, provided by the curator.

displayNamestring

Required. The display name assigned to the curated package by the curator. Can be used to filter the response of the curatedPackages.list method.

updateTimestring google-datetime

Output only. The timestamp when the curated package was last updated. Can be used to filter the response of the curatedPackages.list method.

Response

Successful response

Changes

No recorded changes to this operation across all 1 revision of this API.