2016-11-24 4 views
-1

私のウェブサイトとバズスクリプトサポートのためにBuzzyスクリプトを使用しました。プレロードページ ユーザーが投稿した投稿に移動すると、そのページに新しい投稿が読み込まれます。 1ページに100個のadsense広告を読み込みます http://buzzy.akbilisim.com/news/cute-or-creepy-avatar-babies-are-freaking-the-internet-out これは何のためのAdsenseプレローディングポリシーですか?/ adsenseは私のアカウントをブロックしませんか?AdSenseプレロードポリシー

答えて

0

応答AdSenseの広告(別のアプローチ)

あなたが「自動」または「縦」または「横」または垂直とデータ・広告フォーマットを設定するかどうかは、Google AdSenseのアルゴリズムは、引き続き配信する広告を決定します。たとえば、四角形を求める場合は、中矩形または大きな四角形を取得できます。

レスポンシブな状態でAdSenseが特定のサイズの広告を配信したい場合は、カスタムサイズの広告を検討することができます。これらの広告のサイズは画面に基づいて決定されますが、サイト運営者は配信されるバナーサイズをより詳細に制御できます。

<div id="google-ads-1"></div> 

<script type="text/javascript"> 

    /* Calculate the width of available ad space */ 
    ad = document.getElementById('google-ads-1'); 

    if (ad.getBoundingClientRect().width) { 
     adWidth = ad.getBoundingClientRect().width; // for modern browsers 
    } else { 
     adWidth = ad.offsetWidth; // for old IE 
    } 

    /* Replace ca-pub-XXX with your AdSense Publisher ID */ 
    google_ad_client = "ca-pub-XXX"; 

    /* Replace 1234567890 with the AdSense Ad Slot ID */ 
    google_ad_slot = "1234567890"; 

    /* Do not change anything after this line */ 
    if (adWidth >= 728) 
     google_ad_size = ["728", "90"]; /* Leaderboard 728x90 */ 
    else if (adWidth >= 468) 
     google_ad_size = ["468", "60"]; /* Banner (468 x 60) */ 
    else if (adWidth >= 336) 
     google_ad_size = ["336", "280"]; /* Large Rectangle (336 x 280) */ 
    else if (adWidth >= 300) 
     google_ad_size = ["300", "250"]; /* Medium Rectangle (300 x 250) */ 
    else if (adWidth >= 250) 
     google_ad_size = ["250", "250"]; /* Square (250 x 250) */ 
    else if (adWidth >= 200) 
     google_ad_size = ["200", "200"]; /* Small Square (200 x 200) */ 
    else if (adWidth >= 180) 
     google_ad_size = ["180", "150"]; /* Small Rectangle (180 x 150) */ 
    else 
     google_ad_size = ["125", "125"]; /* Button (125 x 125) */ 

    document.write (
    '<ins class="adsbygoogle" style="display:inline-block;width:' 
     + google_ad_size[0] + 'px;height:' 
     + google_ad_size[1] + 'px" data-ad-client="' 
     + google_ad_client + '" data-ad-slot="' 
     + google_ad_slot + '"></ins>' 
    ); 

    (adsbygoogle = window.adsbygoogle || []).push({}); 

</script> 

<script async src="http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"> 
</script> 

AdSenseダッシュボードにアクセスし、新しい広告ユニットを作成するか、既存の広告ユニットを使用してください。広告ユニットのIDとAdSenseのサイト運営者IDを書き留めて、これらの値を15行目と18​​行目に貼り付けます。

次に、上記のスニペットをウェブページのどこにでもコピーして貼り付け、ユーザーの端末のサイズに基づいて、最も適切なAdSense広告が配信されます。同じウェブページに複数のAdSense広告ユニットを含める場合は、#1 &#6行のDIV IDをgoogle-ads-1、google-ads-2に変更してください等々。 これがあなたを助けてくれることを願っています。

+0

私はページあたり100のadsenseを表示すると知りたいです adsenseは私のアカウントをブロックしませんか? http://rana.press/news/obama-trump-hold-excellent-white-house-talks –

+0

私は参照してください。それを心配しないでください。ページごとにより多くのAdSenseを置かないようにするポリシーはありません。あなた自身をクリックしないでください。 – knjght0011