Show Menu
TOPICS×

Implement standard ad metadata on Roku

Implemement standard ad metadata

For standard ad metadata, create a dictionary of standard ad metadata key value pairs using the keys for your platform:
standardAdMetadata = {} standardAdMetadata[ADBMobile().MEDIA_AdMetadataKeyCAMPAIGN_ID] = "sample campaign" standardAdMetadata[ADBMobile().MEDIA_AdMetadataKeyADVERTISER] = "sample advertiser" adInfo[ADBMobile().MEDIA_STANDARD_AD_METADATA] = standardAdMetadata