Skip to content

Commit

Permalink
Add missing param (#8858)
Browse files Browse the repository at this point in the history
  • Loading branch information
bradfrizzell authored and keithwrightbos committed Apr 20, 2017
1 parent 2376b35 commit 444d33d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ads/google/a4a/performance.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,25 +296,25 @@ export class GoogleAdLifecycleReporter extends BaseLifecycleReporter {
// Can be any promise or `null`.
// Element must be an AMP element at this time.
// 50% vis w/o ini load
vis.listenElement(element, {visiblePercentageMin: 50}, null,
vis.listenElement(element, {visiblePercentageMin: 50}, null, null,
() => {
this.sendPing('visHalf');
});
// 50% vis w ini load
vis.listenElement(element,
{visiblePercentageMin: 50},
readyPromise,
readyPromise, null,
() => {
this.sendPing('visHalfIniLoad');
});
// first visible
vis.listenElement(element, {visiblePercentageMin: 1}, null,
vis.listenElement(element, {visiblePercentageMin: 1}, null, null,
() => {
this.sendPing('firstVisible');
});
// ini-load
vis.listenElement(element, {waitFor: 'ini-load'},
readyPromise,
readyPromise, null,
() => {
this.sendPing('iniLoad');
});
Expand All @@ -323,7 +323,7 @@ export class GoogleAdLifecycleReporter extends BaseLifecycleReporter {
vis.listenElement(element,
{visiblePercentageMin: 1, waitFor: 'ini-load',
totalTimeMin: 1000},
readyPromise,
readyPromise, null,
() => {
this.sendPing('visLoadAndOneSec');
});
Expand Down

0 comments on commit 444d33d

Please sign in to comment.