Register now » Login
« Login

Forgotten your password?

Admob In Blogger

You must be registered at AndroidPIT in order to participate in the Android Forum.

User picture
Nicola Weaveren

Rank: Android Junior

Posts: 17

Join date: Jun 27, 2011

Admob In Blogger
created on Jul 22, 2011 11:25:46 AM
Hi... it's Ms Simpleton again. :-)

With some fantastic help I managed to get my Android App working perfectly. It simply jumps to my webpage.

I have been playing on Blogger with presenting an Admob ad. But every time I insert the ad, it is mis-aligned. I have set up a blog to show this:

http://droidfix.blogspot.com/2011/07/to-be-or-not-to-be.html

Can you see that? It starts in the blog-post window rather than the edge of the screen, and therefore overlaps on the right.

I have tried everything I can think fo to fix this, including playing with the blogger template. I cannot see any way to shrink the ad.

Any ideas on this?

I'm stumped.

Here is the AdMob script, if it helps:

<script type="text/javascript">
var admob_vars = {
pubid: 'a14f293e3123616', // publisher id
bgcolor: '000000', // background color (hex)
text: 'FFFFFF', // font-color (hex)
test: true // test mode, set to false to receive live ads
};
</script>
<script type="text/javascript" src="http://mmv.admob.com/static/iphone/iadmob.js"></script>



:*)
Reply with quote Reply Link ±0     (0 votes)
User picture
Philipp Dommermuthde
Google Plus Twitter Facebook YouTube

Status: Administrator

Rank: School President

Posts: 73

Join date: Feb 3, 2009

RE: Admob In Blogger
created on Jul 22, 2011 4:29:17 PM — modified on Jul 22, 2011 4:30:37 PM
Hi,

did you try to place the script in the upper part of your site?
Or I would try to delete the entire background first, and see how it then works.
Maybe there is something wrong with the background and the alignment.
Reply with quote Reply Link ±0     (0 votes)
User picture
Nicola Weaveren

Rank: Android Junior

Posts: 17

Join date: Jun 27, 2011

RE: Admob In Blogger
created on Jul 23, 2011 11:57:58 AM
I have tried it in a few templates, including plain white.

It sort of jerks to the right.. to the start of the blog-post box, as opposed to the start of the mobile window.

I tried putting it in a java/html gadget underneath the blog-post-box as well, but no difference.

The angles I have explored are:

1. Somehow force the ad outside the box and properly to the left. No luck in finding a way.

2. Shrink the ad itself a little bit. Again no luck in finding a way.

3. Make the blog post box start on the extreme left. No luck either.

What makes this more frustrating is that both blogger and AdMob are owned by Google.

I am completely out of ideas now.
Reply with quote Reply Link ±0     (0 votes)

Support AndroidPIT

Do you enjoy AndroidPIT? We?re thrilled to have your support! How does it work? Just click on the links below.

Recommend to Others

Enjoy AndroidPIT? Then please let other people know about us!

Questions / Help

Do you have questions about AndroidPIT or simply want to learn more about us? Then you might find the following links helpful.

  You are reading: Admob In Blogger - Android Forum - AndroidPIT. All times are UTC+02:00. The time now is 2:05 PM.