(
action: AdActions,
ad: Ad,
extra?: Record<string, unknown>,
)
| 319 | }); |
| 320 | |
| 321 | const onAdAction = ( |
| 322 | action: AdActions, |
| 323 | ad: Ad, |
| 324 | extra?: Record<string, unknown>, |
| 325 | ) => { |
| 326 | logEvent( |
| 327 | adLogEvent(action, ad, { |
| 328 | columns: virtualizedNumCards, |
| 329 | column, |
| 330 | row, |
| 331 | extra: { ...feedLogExtra(feedName, ranking).extra, ...extra }, |
| 332 | }), |
| 333 | ); |
| 334 | }; |
| 335 | |
| 336 | const onAdViewable = (ad: Ad, data: ViewabilityData) => |
| 337 | onAdAction(AdActions.Viewable, ad, viewabilityLogExtra(data)); |
no test coverage detected