as you see there is a new ad type for adsense: auto ads for amp”. But when want to add this ads it says to add a script code to amp page header. how can we add this code?
Hello neoekonomi,
You should check the AMP Ads functionality from here -> https://www.screencast.com/t/EnbweXmDh
Thanks for your understanding!
i know this section but adsense wants to add code to between head tag. Where is <head> code section for AMP
-
This reply was modified 8 years by
neoekonomi.
I had the same issue, but we need to insert the responsive ads code, these are the instructions from Google: https://www.youtube.com/watch?time_continue=2&v=_mS6jJDeh6c, and within that code are the info about the data-ad-client and the data-ad-slot as well.
Hello,
If you want to add some code to your header you should edit the header.php core file from here -> https://www.screencast.com/t/0Dyeq8hyL Notice that we cannot provide additional customizations.
Thanks for the message!
Hello neoekonomi,
Unfortunately, I do not exactly understand what you want to achieve but please notice that you want to make some additional customizations through the code, we cannot do something like this. The custom works are not supported by our services at the moment, sorry! Usually, we recommend the developers from studio.envato.com
Thanks for your understanding!
Nevermind, better not to use this kind of ads.
Thanks for your helps.