adsense-oldcode.html.twig in Google AdSense integration 8
AdSense pre-2007 ad HTML code.
1 theme call to adsense-oldcode.html.twig
- OldCodeAd::getAdContent in oldcode/
src/ Plugin/ AdsenseAd/ OldCodeAd.php - Return the ad content.
File
oldcode/templates/adsense-oldcode.html.twigView source
- {#
- /**
- * @file
- * AdSense pre-2007 ad HTML code.
- */
- #}
- <script type="text/javascript"><!--
- google_ad_client = "{{ client }}";
- {% if alt_url %}
- google_alternate_ad_url = "{{ alt_url }}";
- {% endif %}
- {% if alt_color %}
- google_alternate_color = "{{ alt_color }}";
- {% endif %}
- google_ad_width = {{ width }};
- google_ad_height = {{ height }};
- google_ad_format = "{{ format }}";
- {% if type %}
- google_ad_type = "{{ type }}";
- {% endif %}
- {% if channel %}
- google_ad_channel = "{{ channel }}";
- {% endif %}
- google_color_border = "{{ border }}";
- google_color_bg = "{{ bg }}";
- google_color_link = "{{ link }}";
- google_color_text = "{{ text }}";
- google_color_url = "{{ url }}";
- google_ui_features = "{{ features }}";
- {% if secret %}
- google_language = "{{ secret }}";
- {% endif %}
- //--></script>
- <script type="text/javascript"
- src="//pagead2.googlesyndication.com/pagead/show_ads.js">
- </script>