How do i set a custom Ad size?

Posted in: Newsmag
Post count: 7

Hi,

This is my first time of asking for your support and i would be very glad if you tell me how i can set a custom ad size for my adsense ad, i want to have 970×250 adsense billboard size on my header, here is my website. http://www.09ja.com, i would really appreciate your help, there are so many ad sizes to choose from if i don’t want my adsense ad to be responsive on desktop but 970×250 is missing from the options you have on the theme, it is important for me to be able to set a custom ad size.

Thanks
Julius

Post count: 6535

Hi

You can define a new ad size by modifying td_panel_ads.php file and add this line like here http://screencast.com/t/ETjfreY9http://screencast.com/t/Ag2iucQPoo

array('text' => '970 x 250' , 'val' => '970 x 250'),

Let me know how it goes.
Thanks!

Post count: 7

Thanks Andrei,

This works for me and i really appreciate your prompt response to my request.

One love.

Post count: 6535

Hi

Glad I could help.
Have a nice day!

Post count: 96

How to add custom Ad size in latest version of the theme?

Post count: 23312

Hello dhvanesh,

Notice that if you are using the Google Adsense, you cannot add custom size for this. The size should have to be delivered by Google Adsense. Also, if you are using other ads, you can add the size in HTML structure -> https://www.screencast.com/t/YMkPa4Ai3j5 which has to be added to Custom Ad Box, like this -> https://forum.tagdiv.com/using-other-ads-non-adsense-ads/

Thanks for your understanding!

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newsmag’ is closed to new topics and replies.