Pass PPIDs directly into the freestar.config object.
Overview
Publishers who would like to utilize Google's setPublisherProvidedId() method can pass the ID value into the freestar.config.ppid object as a string.
Configuration
freestar.config.ppidRequired. Accepts a string value.
freestar.config.ppid = "ppid-string";
Head Code Example
Add the variable to the Freestar head code after the freestar.config declaration (line 5).
<script data-cfasync="false" type="text/javascript">
var freestar = freestar || {};
freestar.queue = freestar.queue || [];
freestar.config = freestar.config || {};
freestar.config.ppid = "ppid-string";
freestar.config.enabled_slots = [];
freestar.initCallback = function () { (freestar.config.enabled_slots.length === 0) ? freestar.initCallbackCalled = false : freestar.newAdSlots(freestar.config.enabled_slots) }
</script>
<script src="https://a.pub.network/mysite-com/pubfig.min.js" data-cfasync="false" async></script>