Systems and methods for automatically generating and rendering a native advertisement for display on a client device when the client device is accessing a publisher’s webpage are described. A template node among a number of nodes of a publisher’s webpage can be selected to specify a content item that the publisher wants the native ad looks like. When the publisher’s webpage is loaded by a web browser of a client device, the native ad can be rendered by the browser using a JavaScript downloaded from an advertisement server. The rendering process can include extracting a number of formatting attributes for the native ad from the template node, mapping the formatting attributes with a proper template from a number of predefined templates maintained by an ad server, and loading the proper template from the ad server to render the content of the native advertisement in its corresponding inline frame.

Creative Commons License

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.