Create offer
CreateOffer
Creates new offer.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
Offer represents a collection of video content that end users can purchase. This can be used e.g. to define Entitlement
s against.
Name of the offer. This is an internal identifier and is not exposed to end users.
A map of localized titles for this offer. The key is the language code (ISO 639 - set 1), e.g. "en", "de", "fr", etc. If you want to localize the text for different regions of the same language, you can add the country code (ISO 3166-1 alpha-2), e.g. "en-US", "en-GB", etc.
A map of localized descriptions for this offer. The key is the language code (ISO 639 - set 1), e.g. "en", "de", "fr", etc. If you want to localize the text for different regions of the same language, you can add the country code (ISO 3166-1 alpha-2), e.g. "en-US", "en-GB", etc.
This offer applies to all videos in the project.
This offer applies to a specific set of videos, as defined by the target.
A map of localized logos for this offer. These should be small images with a transparent background. The key is the language code (ISO 639 - set 1), e.g. "en", "de", "fr", etc. If you want to localize the text for different regions of the same language, you can add the country code (ISO 3166-1 alpha-2), e.g. "en-US", "en-GB", etc. If not all languages are provided, the default language will be used.
A map of localized images for this offer. These should be large, visually attractive images. The key is the language code (ISO 639 - set 1), e.g. "en", "de", "fr", etc. If you want to localize the text for different regions of the same language, you can add the country code (ISO 3166-1 alpha-2), e.g. "en-US", "en-GB", etc. If not all languages are provided, the default language will be used.
An array of PriceOffers. When external_id is provided, pricing details are managed through a third-party system and this field should be empty.
OfferPrice represents the pricing information for an offer.
The priority of the offer. Offers with higher priority will be shown first to the end user.
The amount of devices that can concurrently view the content associated with this offer from a single account. If not provided, there is no limit.
The visibility of the offer to end-users.
VISIBILITY_UNSPECIFIED
, VISIBILITY_PUBLISHED
, VISIBILITY_UNLISTED
, VISIBILITY_HIDDEN
Response
Offer represents a collection of video content that end users can purchase. This can be used e.g. to define Entitlement
s against.