We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi!
So, I am using AJAX LOAD MORE plugin on Wordpress to generate an infinite scroll. I have this callback function:
$(document).ready(function() { $.fn.almComplete = function(alm){ console.log('Ads!'); $('.adunit:not("display-block")').dfp({ dfpID: 'xxxx', enableSingleRequest: false }); }; });
And this is how I call the jQuery DFP:
$.dfp({ dfpID: 'xxxx', enableSingleRequest: 'false' });
The first ad loads fine. The subsequent ones, does not. What am I missing here? :(
The text was updated successfully, but these errors were encountered:
If you are calling the same adslot names after ajax, try changing the url with pushstate or send a new url parameter with your second dfp call.
Sorry, something went wrong.
No branches or pull requests
Hi!
So, I am using AJAX LOAD MORE plugin on Wordpress to generate an infinite scroll. I have this callback function:
And this is how I call the jQuery DFP:
The first ad loads fine. The subsequent ones, does not. What am I missing here? :(
The text was updated successfully, but these errors were encountered: