POST
/
monetization
/
offers
/
v1

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
project_id
string
required
name
string
required

Name of the offer.

cleeng_offer_id
string
entity_ids
string[]

The entities with which this offer is associated. If provided, all videos that are associated with these entities will be included in the offer.

event_ids
string[]

The events with which this offer is associated. If provided, all videos that are associated with these events will be included in the offer.

creative_work_ids
string[]

The creative works with which this offer is associated. If provided, all videos that are associated with these creative works will be included in the offer.

content_start_time
string

Any content defined by entity_ids, event_ids and creative_work_ids after content_start_time will be considered as part of the offer (as long as it is before content_end_time). If not provided, there is no lower time bound on the content.

content_end_time
string

Any content defined by entity_ids, event_ids and creative_work_ids before content_end_time will be considered as part of the offer (as long as it is after content_start_time). If not provided, there is no upper time bound on the content.

Response

200 - application/json
offer
object

Offer represents a collection of video content that end users can purchase. This can be used e.g. to define Entitlements against.