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

Infinite scrolling #112

Open
ronenteva opened this issue Nov 4, 2015 · 5 comments
Open

Infinite scrolling #112

ronenteva opened this issue Nov 4, 2015 · 5 comments

Comments

@ronenteva
Copy link

Thanks for a great plugin.
Could you please provide an example for an infinite scrolling, using the bootstrap example?
Or even easier, manually calling the same adUnit several times?

@coop182
Copy link
Owner

coop182 commented Nov 5, 2015

You should just be able to call the following over and over and it will pickup any new ads that appear with the infinite scroll:

$('.adunit:not(".display-block")').dfp({dfpID:'xxxxxxxxxx', enableSingleRequest: false });

@samburgers
Copy link

Hi.

Thanks also for an excellent plugin. I have also had issue with creating a workable 'infinite scrolling page'. Calling the same adUnit multiple times while loading new content very rarely works (even with the method described above).

The example provided by google works perfectly:
https://support.google.com/dfp_premium/answer/4578089?hl=en

Any chance this plugin can be configured to use refresh() on any newly created content, like the method google suggest?

Many thanks

@samburgers
Copy link

bump. any chance you have had time to look at this?

many thanks

@LockeAG
Copy link

LockeAG commented Jun 1, 2016

+1

@mkhazov
Copy link

mkhazov commented Nov 11, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants