You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 27, 2024. It is now read-only.
Now we can initialise and run the library passing in `pageFeatureGetters`, which will:
83
+
79
84
1. Collect and store all the features which correspond to this page view event (current page).
80
85
2. Evaluate all the audience model definitions, to see if the user can be added into any new `elegibleAudiences`.
81
86
3. Pass this information to Prebid, for any subsequent ad calls on the same page.
82
87
83
88
```javascript
84
89
edkt.init({
85
-
pageFeatureGetters: pageFeatureGetters
90
+
pageFeatureGetters: pageFeatureGetters,
86
91
});
87
92
```
88
93
89
94
### Prebid
95
+
90
96
> this makes sense to be last in the readme, but it must occur first in the actual page code.
91
97
92
98
Now we can use EdgeKit to grab and pass audience IDs, from the device into Prebid for downstream targeting. This must happen early in the execution of the page before Prebid makes bid requests to adapters.
93
99
100
+
> todo: we need to add links to the prebid docs here to explain the below object.
0 commit comments