This section provides the details of the common properties of Listen Actions.
Action markup properties
Property | Expected type | Description |
---|---|---|
potentialAction.@type |
Text | Required - Always set to ListenAction . |
target |
EntryPoint | Required - A target object that provides the mapping of deep links to various Google platforms. |
target.@type |
Text | Required - Always set to EntryPoint . |
target.urlTemplate |
URL | Required - A deep link that takes users to your app or platform and initiates playback of the content. |
target.actionPlatform |
Text | Required - The platforms that are mapped to
urlTemplate . Media Actions support the following:
|
expectsAcceptanceOf |
Offer | Required - A container for the offer object. |
expectsAcceptanceOf.@type |
Text | Required - Always set to Offer . |
expectsAcceptanceOf.category |
Text | Required - An access requirement for the content. Use one of the following:
|
expectsAcceptanceOf.availabilityStarts |
Date | Date after which the action is available, in ISO 8601 format (including timezone). Can be a date in the future. Use this property to limit action availability by date/time. If not included, we assume that action has no time limitation. |
expectsAcceptanceOf.availabilityEnds |
Date | Date after which the action is no longer available, in ISO 8601 format (including timezone). Use this property to limit action availability by date/time. If not included, we assume that action has no time limitation. |
expectsAcceptanceOf.eligibleRegion |
Country | Required - Countries where the action is available. |
expectsAcceptanceOf.eligibleRegion.@type |
Text | Required - Always set to Country . |
expectsAcceptanceOf.eligibleRegion.name |
Text | Required - The countries where the offer is allowed. Specify countries in ISO 3166 format. |
Action markup related pages
Check out the following pages for the topics related to these properties:
Image markup properties
Property | Expected type | Description |
---|---|---|
image.@type |
ImageObject | Required - Always set to ImageObject . |
contentUrl |
URL | Required - The URL to the image. |
dateModified |
Date | The date on which the image was most recently modified/changed, in ISO 8601 format (including timezone) |
regionsAllowed |
Place | The countries where the media is allowed. Specify countries in ISO 3166 format.
|
Image related pages
Check out the following pages for the topics related to these properties: