Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvement/alias queue #1156

Merged
merged 10 commits into from
May 18, 2017
8 changes: 4 additions & 4 deletions integrationExamples/gpt/gpt_aliasingBidder.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
if ($$PREBID_GLOBAL$$.initAdserverSet) return;

googletag.cmd.push(function () {
$$PREBID_GLOBAL$$.que.push(function () {
$$PREBID_GLOBAL$$.queue.push(function () {
$$PREBID_GLOBAL$$.setTargetingForGPTAsync();
googletag.pubads().refresh();
});
Expand All @@ -30,7 +30,7 @@
setTimeout(initAdserver, PREBID_TIMEOUT);

var $$PREBID_GLOBAL$$ = $$PREBID_GLOBAL$$ || {};
$$PREBID_GLOBAL$$.que = $$PREBID_GLOBAL$$.que || [];
$$PREBID_GLOBAL$$.queue = $$PREBID_GLOBAL$$.queue || [];

// Load the Prebid Javascript Library Async. We recommend loading it immediately after
// the initAdserver() and setTimeout functions.
Expand All @@ -54,7 +54,7 @@
node.parentNode.insertBefore(gads, node);
})();

$$PREBID_GLOBAL$$.que.push(function () {
$$PREBID_GLOBAL$$.queue.push(function () {
var adUnits = [
{
code: 'div-gpt-ad-12345678-0',
Expand Down Expand Up @@ -177,7 +177,7 @@ <h2>Prebid.js Test</h2>

ga('create', 'XXXXXX', 'auto');
//Send data from prebid.js automatically
$$PREBID_GLOBAL$$.que.push(function () {
$$PREBID_GLOBAL$$.queue.push(function () {
$$PREBID_GLOBAL$$.enableAnalytics({
provider: 'ga',
options: {
Expand Down
Loading