Is this possible to detect if disableInitialLoad() was already invoked on the page?
Asked
Active
Viewed 682 times
1 Answers
1
There's an API method you can use:
// The following is true if disableInitialLoad() was called
googletag.pubads().isInitialLoadDisabled()
You can use this to detect whether or not you need to run googletag.pubads().refresh()
, for instance.

gernberg
- 2,587
- 17
- 21

Perry Mitchell
- 665
- 6
- 16