You are here

adsense-oldcode.html.twig in Google AdSense integration 8

AdSense pre-2007 ad HTML code.

File

oldcode/templates/adsense-oldcode.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * AdSense pre-2007 ad HTML code.
  5. */
  6. #}
  7. <script type="text/javascript"><!--
  8. google_ad_client = "{{ client }}";
  9. {% if alt_url %}
  10. google_alternate_ad_url = "{{ alt_url }}";
  11. {% endif %}
  12. {% if alt_color %}
  13. google_alternate_color = "{{ alt_color }}";
  14. {% endif %}
  15. google_ad_width = {{ width }};
  16. google_ad_height = {{ height }};
  17. google_ad_format = "{{ format }}";
  18. {% if type %}
  19. google_ad_type = "{{ type }}";
  20. {% endif %}
  21. {% if channel %}
  22. google_ad_channel = "{{ channel }}";
  23. {% endif %}
  24. google_color_border = "{{ border }}";
  25. google_color_bg = "{{ bg }}";
  26. google_color_link = "{{ link }}";
  27. google_color_text = "{{ text }}";
  28. google_color_url = "{{ url }}";
  29. google_ui_features = "{{ features }}";
  30. {% if secret %}
  31. google_language = "{{ secret }}";
  32. {% endif %}
  33. //--></script>
  34. <script type="text/javascript"
  35. src="//pagead2.googlesyndication.com/pagead/show_ads.js">
  36. </script>