Advertisement
Guest User

Untitled

a guest
Dec 10th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.66 KB | None | 0 0
  1. Поставить в HEAD
  2.  
  3. <script async src='https://yastatic.net/pcode/adfox/header-bidding.js'></script>
  4. <script>
  5. const adfoxBiddersMap = {
  6. 'betweenDigital': '871789' ,
  7. 'buzzoola': '880620' ,
  8. };
  9. var adUnits = [
  10. {
  11. code: 'adfox_157552996753338082',
  12. codeType: 'inpage',
  13. bids: [
  14. {
  15. bidder: 'betweenDigital',
  16. params: {
  17. placementId: 3577741,
  18. }
  19. }, {
  20. bidder: 'buzzoola',
  21. params: {
  22. placementId: 774801,
  23. }
  24. },
  25. ]
  26. },
  27.  
  28. ];
  29. var userTimeout = 500;
  30. window.YaHeaderBiddingSettings = {
  31. biddersMap: adfoxBiddersMap,
  32. adUnits: adUnits,
  33. timeout: userTimeout
  34. };
  35. </script>
  36. ----------------------------------------------------------------------------------------------------
  37. Код вставки в BODY
  38.  
  39. InPage
  40.  
  41. <!-- CLICKIO AdFox unit 645194 -->
  42. <div id='adfox_157552996753338082'></div>
  43. <script>
  44. (function(w, n) {
  45. w[n] = w[n] || [];
  46. w[n].push({
  47. ownerId: 257193,
  48. containerId: 'adfox_157552996753338082',
  49. params: {
  50. pp: 'rua',
  51. ps: 'dkai',
  52. p2: 'ggfb',
  53. slide: true,
  54. visibleAfterInit: true,
  55. insertAfter: 'undefined',
  56. insertPosition: '0',
  57. stick: true,
  58. stickTo: 'auto',
  59. stickyColorScheme: 'light'
  60. }});})(window, 'adfoxAsyncParams');
  61. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement