Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Options::get is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/class-module-view.php on line 131
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::default_options is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-options.php on line 48
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::settings is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 188
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Functions::exists_push7 is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 129
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::sns_list is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/class-module-shortcode.php on line 218
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::default_options is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 206
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::settings is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 188
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Functions::exists_push7 is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 129
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Functions::get_current_url is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/class-module-shortcode.php on line 219
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::notification_list is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/class-module-shortcode.php on line 251
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::default_options is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 232
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::settings is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 188
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Functions::exists_push7 is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 129
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Functions::exists_push7 is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 235
Google Adsense Labsの新機能の「AMP 自動テキスト広告およびディスプレイ広告」とやらが使えるようになりました。
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/themes/simplicity2/lib/customizer.php on line 4923
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/themes/simplicity2/lib/customizer.php on line 4929
AMP 自動テキスト広告およびディスプレイ広告?
Google Adsenseからメールが来ました。Adsenseからメール来るのって結構ドキドキするので来なくていいんですが・・・w
けど件名が「ご招待: ぜひ新しい AdSense Labs をお試しください」なので見てみました。
Accelerated Mobile Pages(AMP)自動広告
Accelerated Mobile Pages(AMP)自動広告を使用すると、より多くの収益が得られると Google が予測した AMP ページにバナー広告が自動的に表示されます。AMP 自動広告の詳細と導入方法については、ヘルプセンターをご覧ください。
AdSense 利用規約に記載されているとおり、この Lab は機密情報となります。Google は、いつでもこの広告フォーマットを変更または中止する権限を有しています。このプログラムはベータ版のため、具体的な成果を保証するものではありません。
・・・?既にamp-adタグを導入済みで、adsenseはAMPページにも出てるんですが、何か違うのかな・・・?
Google側の説明ページはこちら。
AMP 自動広告の導入ガイド(ベータ版) – AdSense ヘルプ
ん?ampって元ページとampページそれぞれがlinkタグで相互参照するようにしないといけないんでしたっけ?
<link> タグを使って非 AMP コンテンツと AMP コンテンツをリンクして、ペアとなるページが検出されるようにしてください。
たとえば、ご所有のサイト example.com について、各ページの AMP バージョンを example.com/amp/ でホストしているとします。その場合は、AMP と非 AMP の各ページの <head> セクションに <link> タグを追加して、ペアとなるコンテンツを示すようにします。
非 AMP の example.com/news ページ:
<link rel=”amphtml” href=”http://example.com/amp/news”>
AMP の example.com/amp/news ページ:
<link rel=”canonical” href=”http://example.com/news”>
ampページからだけだと思ってました。
それから以下のタグを貼るんですね。
<script async custom-element="amp-auto-ads" src="https://cdn.ampproject.org/v0/amp-auto-ads-0.1.js"></script>
そして・・・あ、こちらのタグは表示させたいところじゃなくってbody直後に貼るんだ。
<amp-auto-ads type="adsense" data-ad-client="ca-pub-********"></amp-auto-ads>
facebookのInstant Articleみたいに自動挿入される、ってことでしょうかね・・・?
ちょっとやってみます。
