Skip to main content
Participant
January 26, 2017
Question

Embedding hosted google fonts for google adword ads

  • January 26, 2017
  • 0 replies
  • 1598 views

Apparently the method animate uses to call google fonts (direct call of font styles) isn't accepted by google adwords:

<style>

@font-face {

  font-family: 'Roboto';

  font-style: normal;

  font-weight: 700;

  src: local('Roboto Bold'), local('Roboto-Bold'), url(https://fonts.gstatic.com/s/roboto/v15/d-6IYplOFocCacKzxwXSOLO3LdcAZYWl9Si6vvxL-qU.woff) format('woff');

  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;

}

</style>

Our media agency told me google adwords only accepts font api calls via <link>-Tag, so like this:

<link href="https://fonts.googleapis.com/css?family=Roboto:700" rel="stylesheet" type="text/css">

You can obviously replace the first with the second code to get it working, but if you have a large campaign with over 300 banners, it's rather annoying to edit every html wrapper.

So my question is are there are any "secret" template variables to single out the the font embedding in the html template?

Thanks

This topic has been closed for replies.