2020年9月10日 星期四

default settings in enableLazyLoad()

GPT(google publisher tag) starts to support lazyload at 2019-02-04(v301), developer can setup lazyload ads easily . But there is no official document doesn't provide the default value, but only some example. We found the value in the code.

  • fetchMarginPercent: 800
  • renderMarginPercent: 400
  • mobileScaling: 3

These values were found in securepubads.g.doubleclick.net/gpt/pubads_impl_2020090201.js?21067391. It might be changed in the future.