You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
enableSingleRequest This boolean sets whether the page ads are fetched with a single request or not, you will need to set this to false it you want to call $.dfp() more than once, typically you would do this if you are loading ad units into the page after the initial load.
is it really necessary ... i tried this on a ajax page using history.pushstate ... and each page has ad units with unique ids for that page ( turbolinks / pjax ) .. i found that with enableSingleRequest : false , it is loading the ads only once per session / per page ( page reload )
user navigates to page1.html - ads loaded
user navigates to page2.html - ads loaded
user navigates to page1.html - ads blank and collapsed
and with true the ad behavior is as expected.
user navigates to page1.html - ads loaded
user navigates to page2.html - ads loaded
user navigates to page1.html - ads loaded
What is the significance in setting this value to false ?? any reference or explanation would be really helpful .... and also in what scenarios should be use false and true, does this have any connection with the correlator and cachebusting ?
The text was updated successfully, but these errors were encountered:
is it really necessary ... i tried this on a ajax page using history.pushstate ... and each page has ad units with unique ids for that page ( turbolinks / pjax ) .. i found that with enableSingleRequest : false , it is loading the ads only once per session / per page ( page reload )
and with true the ad behavior is as expected.
What is the significance in setting this value to false ?? any reference or explanation would be really helpful .... and also in what scenarios should be use false and true, does this have any connection with the correlator and cachebusting ?
The text was updated successfully, but these errors were encountered: