Google launches new responsive AdSense unitJuly 31, 2013 - 22:53 AMT PanARMENIAN.Net - Google launched a new responsive AdSense unit in beta that is specifically designed to run on sites that automatically adapt to different screen sizes. Now that responsive design has moved from being just a buzzword to something many web designers are actually putting into practice, being able to control how ads appear on these sites has become a more pressing issue for developers and web designers, TechCrunch reports. The new units use AdSense’s asynchronous ad code, and developers can use the same kind of CSS media queries they are used to from building their responsive sites to build these responsive ad units. This, Google says, means you can “now dynamically specify the size of the ad that will be served, adapting it to fit the way your site renders a page on a particular device.” The only thing developers need to ensure is that the size of the ad unit they specify for each screen size matches one of Google’s standard ad sizes. So unlike Google’s standard ad units, users can’t just take the code, copy and paste it into the site and know that it’ll work. As Google notes, one thing that doesn’t work yet is support for screen orientation changes after a page has been loaded. Google plans to address this in the near future, however. For now, Google also can’t provide a breakdown by size for all the ads served by a responsive unit in its analytics tools. That, too, is something the company plans to introduce later. Given that CSS media queries only work on modern browsers, developers still have to ensure that they set a default ad size, too. Otherwise, users who are still using Internet Explorer 7 or lower may never see an ad on these responsive sites, TechCrunch says. Top stories Yerevan will host the 2024 edition of the World Congress On Information Technology (WCIT). Rustam Badasyan said due to the lack of such regulation, the state budget is deprived of VAT revenues. Krisp’s smart noise suppression tech silences ambient sounds and isolates your voice for calls. Gurgen Khachatryan claimed that the "illegalities have been taking place in 2020." Partner news Most popular in the section | The Power of One Dram to benefit Road of Life charity The companies inform that the May beneficiary of The Power of One Dram is the “Road of Life” charitable organization. Kazakhstan welcomes Yerevan, Baku’s agreement to meet in Almaty Kassym-Jomart Tokayev has welcomed the agreement of Baku and Yerevan to hold negotiations in Almaty. Armenia offers to temporarily host, preserve Gaza manuscripts The Armenian Foreign Minister has said Yerevan is ready to help preserve manuscripts from the conflict zone in Gaza. Aliyev says no need for mediators in Armenia-Azerbaijan process Azerbaijani President Ilham Aliyev believes that Baku and Yerevan do not mediators in the process of normalizing relations. |