Adsense Ads are huge, can I make them smaller?

I have added the HTML element to display Google Adsense ads on a page within my bubble app and the ads it’s showing on Desktop are huge. I have tried adding a max height and fitting the width to content but it doesn’t change the size that is showing.

Example:

Has anyone dealt with this and figured out if there is a way to fix it within Bubble or Adsense?

Show the HTML you are using and show the editor with the HTML element and the layout settings of the HTML element

1 Like

Thanks for the reply, here is more information:

The code (won’t let me paste the actual code for some reason):

Here is the layout. I have tried different variations but this is what it currently it set at:

To paste the code, you paste the code, and then highlight it and then select the icon in the forum text editor of </>

In your code the section of data-full-width-responsive=true, in my opinion is fine, but what it would likely mean I suspect, is that the ad will fill up as much width as you allow it to, via your settings on the HTML element.

In your HTML element you currently have min width of 280px and max width of 1200px, which means, if there is enough space on the users device, the ad will be as wide as 1200px, and at a minimum it is 280px.

I would change the min and max width settings to something smaller. I would leave min width blank and I would put max width to maybe 360…this way the ad will be no larger than 360px wide (I think)

I have never implemented the Adsense Ads.

1 Like

It looks like the the HTML element respects the width I set, but the height seems to be randomly set regardless of the min/max height I set.

This may just be a limit to the way the responsive ads work but having a smaller width will work for me. Thanks for you help!

1 Like

try adding to the HTML the value of

data-full-height-responsive="true"

I would test it by adding that above the data-full-width-responsive portion so as to not mess with the closing brackets of the code.

I have no idea if that would work or not, but that is what I would attempt.

I tried that and it doesn’t seem to change anything since the ads are still appearing with a height almost double the max I am defining.

Either way, thanks for the help!

I

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.