Today AdSense Official Blog published an article "in accordance with the requirements of AdSense Advertising Code", pointed out that through the innerHTML way in different locations to display advertising code may have problems in the future, after the AdSense product adjustment affect the display of such ads.
Through the innerHTML to display the code is actually a common AdSense skills, I have used before, mainly in the upper part of the page put an empty div, and then at the bottom of the page Div put AdSense, Through the JavaScript innerHTML will be the bottom div inside the AdSense ads to move to the top, this approach is mainly to speed up the Web site loading speed.
AdSense through the intelligent method of advertising, usually the top of the highest advertising unit price, the lower advertising, innerhtml this way although not to modify AdSense advertising code, but also to speed up the page loading speed, but it is possible to lower the bottom of the advertising on the top, Affects The advertiser's advertising revenue and may not be supported in the future.
Of course, for Baidu ads and Ali mother ads, the use of innerHTML transfer advertising is still no problem.