0
張貼我的AdSense代碼到我的Ruby on Rails應用程序後,我收到這樣的信息:您的AdSense申請狀態:內容不夠豐富
內容不夠豐富:要獲得批准的AdSense和網站上展示相關的廣告,您的網頁上需要有足夠的文字才能供我們的專家查看,並且我們的抓取工具能夠確定您的網頁的內容。
該消息還包括這些建議(我想我第一次一個可能的例外是滿足那是因爲它是一個應用不是博客):
- 您的內容應包含完整的句子和段落,而不僅僅是標題。
- 確保您的網站在申請AdSense之前已完全構建並啓動 - 請勿在您的網站處於測試階段或 「正在建設中」階段或僅包含網站模板時申請。
- 將廣告代碼放置在您網站的實時頁面上。它不一定是主頁,但除了 AdSense廣告代碼以外的測試頁面將不會被批准。
- 爲訪問者提供清晰的導航系統,以便他們可以輕鬆找到您網站的所有部分和頁面。
application.html.erb
<body>
<%= render 'layouts/header' %>
<div class="jumbotron">
<p class="text-center">
<%= yield :jumbotron %> <!-- this variable should be assigned in your controller action-->
</p>
</div>
<% flash.each do |name, msg| %>
<%= content_tag(:div, msg, class: "alert alert-info") %>
<% end %>
<div class="container-fluid">
<div class="container">
<div class="col-md-9">
<%= yield %> # includes pages/home (root route)
</div>
<div class="col-md-3">
<% if current_user.present? %>
<%= render 'layouts/sidebar' %> # includes _recommendations
<% end %>
</div>
</div>
</div>
</body>
_recommendations.html.erb
<div class="recommendations-padding">
<div class="ad">
<p>This is a test to see how the ads will fit here. This is a test to see how the ads will fit here. This is a test to see how the ads will fit here. This is a test to see how the ads will fit here. This is a test to see how the ads will fit here. This is a test to see how the ads will fit here. This is a test to see how the ads will fit here. This is a test to see how the ads will fit here.</p>
</div>
<div class="ad">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Recommendation 1 -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-2458646218429910"
data-ad-slot="6447006986"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
<div class="ad">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Recommendation #2 -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-2458646218429910"
data-ad-slot="3293344589"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
<div class="ad">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Recommendation 3 -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-2458646218429910"
data-ad-slot="9400473387"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
</div>
home.html.erb
<% if logged_in? %>
<% if @user.habits.committed_for_today.any? %>
<div class="page-header">
<%= link_to habits_path(@habits) do %>
<h1><b>Habits</b></h1>
<% end %>
</div>
<div class="add-padding">
<%= render partial: 'habits', locals: {habits: @habits} %>
</div>
<% end %>
<% if @user.valuations.any? %>
<div class="page-header">
<%= link_to valuations_path(@valuations) do %>
<h1><b>Values</b></h1>
<% end %>
</div>
<div class="add-padding">
<%= render @valuations %>
</div>
<% end %>
<% if @user.goals.any? %>
<div class="page-header">
<%= link_to goals_path(@goals) do %>
<h1><b>Goals</b></h1>
<% end %>
</div>
<% end %>
<div class="add-padding">
<% if @user.goals.unaccomplished.any? %>
<%= render @unaccomplished_goals %>
<% end %>
<% if @user.goals.accomplished.any? %>
<div class="gold-standard">
<%= render @accomplished_goals %>
</div>
<% end %>
</div>
<% if @user.quantifieds.any? %>
<div class="page-header">
<%= link_to quantifieds_path(@quantifieds) do %>
<h1><b>Stats</b></h1>
<% end %>
</div>
<% end %>
<div class="add-padding">
<% if @user.quantifieds.averaged.any? %>
<h2><b>Averaged</b></h2>
<%= render @averaged_quantifieds %>
<% end %>
<% if @user.quantifieds.instance.any? %>
<h2><b>Instance</b></h2>
<%= render @instance_quantifieds %>
<% end %>
</div>
你對我如何獲得批准Adsense有什麼建議嗎?
謝謝!
您的申請被接受了嗎? –
是@MatiasCicero。已更新答案。這是一個圓滿的方式。祝你好運! –
如果您想自己看看,我將網站名稱更改爲http://www.livetochallenge.com/ :)他們位於@MatiasCicero的側邊欄上。我只有2個廣告。我認爲谷歌限制你4頁的廣告。 –