Os eventos de mídia possibilitam avisar o RD Station sempre que um contato começa ou termina de consumir uma mídia (áudio ou vídeo).
O RD Station Marketing considera sempre o valor do atributo event_type MEDIA_PLAYBACK_STARTED como identificador do evento customizado. Esse evento é registrado sempre que ocorre o início do playback de uma mídia.
Field Type Required Description event_type String true The event type that diferentiates the event. For the media playback started event it should be sent as "MEDIA_PLAYBACK_STARTED". event_family String true The family of the event for processing purposes. It currently accepts only "CDP" as valid option. email String true Lead email name String false Lead name company_name String false Lead's company name company_site String false Lead's company website job_title String false Lead's job title personal_phone String false Lead's phone mobile_phone String false Lead's mobile pgone twitter String false Lead's Twitter facebook String false Lead's Facebook linkedin String false Lead's Linkedin website String false Lead's website media_type String true Video or Audio media_metadata String false Media (audio or video) URL media_recorded_content Boolean false True if this is a recording. False if it is live. media_identifier String true identifier media_category String false Media category media_duration Integer false Media duration, in seconds. media_published_date_timestamp Timestamp false Datetime of media publishing. Must be in RFC 3339 datetime format (example: '2019-03-15T15:00:00.05Z'). legal_bases Array of Objects false Legal Bases of the contact.
{
"event_type": "MEDIA_PLAYBACK_STARTED",
"event_family":"CDP",
"payload": {
"email": "[email protected] ",
"name": "John Doe",
"company_name": "Acme Inc",
"company_site": "http://www.acme.inc",
"job_title": "CTO",
"personal_phone": "+551112341234",
"mobile_phone": "+5511912341234",
"twitter": "@johndoe",
"facebook": "https://facebook.com/john.doe/",
"linkedin": "https://www.linkedin.com/in/johndoe/",
"website": "https://johndoe.com",
"media_type": "Video",
"media_metadata": "https://www.mycompany.com/videos/c9266675-f484-44a7-9ad1-e43a080a8545",
"media_recorded_content": true,
"media_identifier": "c9266675-f484-44a7-9ad1-e43a080a8545",
"media_category": "Marketing",
"media_duration": 58,
"media_published_date_timestamp": "2019-03-15T14:53:42.928Z",
"legal_bases": [
{
"category": "communications",
"type": "consent",
"status": "granted"
}
]
}
}
Field Type Valid Params category String communications type String pre_existent_contract, consent, legitimate_interest, judicial_process, vital_interest or public_interest status String granted or declined
O RD Station Marketing considera sempre o valor do atributo event_type MEDIA_PLAYBACK_STOPPED como identificador do evento customizado. Esse evento é registrado sempre que ocorre o término do playback de uma mídia.
Field Type Required Description event_type String true The event type that diferentiates the event. For the media playback stopped event it should be sent as "MEDIA_PLAYBACK_STOPPED". event_family String true The family of the event for processing purposes. It currently accepts only "CDP" as valid option. email String true Lead email name String false Lead name company_name String false Lead's company name company_site String false Lead's company website job_title String false Lead's job title personal_phone String false Lead's phone mobile_phone String false Lead's mobile pgone twitter String false Lead's Twitter facebook String false Lead's Facebook linkedin String false Lead's Linkedin website String false Lead's website media_type String true Video or Audio media_metadata String false Media (audio or video) URL media_recorded_content Boolean false True if this is a recording. False if it is live. media_identifier String true identifier media_category String false Media category media_duration Integer false Media duration, in seconds. media_published_date_timestamp Timestamp false Datetime of media publishing. Must be in RFC 3339 datetime format (example: '2019-03-15T15:00:00.05Z'). media_finished Boolean false Indicates if the media was watched or listened to the end. media_user_interaction_duration Integer false Time the user listend or watched the media. In seconds. media_user_interaction_percentage Integer false Percentage of the media that the user listend or watched. media_user_interaction_date_timestamp String false Datetime of when the media was consumed. Must be in RFC 3339 datetime format (example: '2019-03-15T15:00:00.05Z'). legal_bases Array of Objects false Legal Bases of the contact.
{
"event_type": "MEDIA_PLAYBACK_STOPPED",
"event_family":"CDP",
"payload": {
"email": "[email protected] ",
"name": "John Doe",
"company_name": "Acme Inc",
"company_site": "http://www.acme.inc",
"job_title": "CTO",
"personal_phone": "+551112341234",
"mobile_phone": "+5511912341234",
"twitter": "@johndoe",
"facebook": "https://facebook.com/john.doe/",
"linkedin": "https://www.linkedin.com/in/johndoe/",
"website": "https://johndoe.com",
"media_type": "Video",
"media_metadata": "https://www.mycompany.com/videos/c9266675-f484-44a7-9ad1-e43a080a8545",
"media_identifier": "c9266675-f484-44a7-9ad1-e43a080a8545",
"media_category": "Marketing",
"media_finished": true,
"media_recorded_content": true,
"media_duration": 58,
"media_published_date_timestamp": "2019-03-11T14:53:42.928Z",
"media_user_interaction_duration": 30,
"media_user_interaction_percentage": 30,
"media_user_interaction_date_timestamp": "2019-03-15T14:53:42.928Z",
"legal_bases": [
{
"category": "communications",
"type": "consent",
"status": "granted"
}
]
}
}
Field Type Valid Params category String communications type String pre_existent_contract, consent, legitimate_interest, judicial_process, vital_interest or public_interest status String granted or declined