updateMetadata (Browser)

From Engineering Client Portal

Engineering Portal / Digital / Browser SDK API Reference / updateMetadata (Browser)
This event allows updating metadata for the content or ad that is being played.

  • This event can be used to update values for metadata parameters initialized using play and loadMetadata events.
  • This event cannot be used to update values for type, vidtype, or assetid parameters.
  • In order to update values for these parameters, use the play and / or loadMetadata events.

Syntax

ggPM("updateMetadata", metadata);


International (Germany) implementation

ggPM("stop", playheadposition); // Except VA users

Input Parameters

Parameter Description
event updateMetadata
metadata JSON object with new values for metadata parameters
{
   length: 90,
   segC: "My segC"
}

Notes

This event does not fire pings.