The object for automatically placing components within Apple News Format articles.


The automatic placement of advertisement components. By default, no advertising is automatically inserted.


Use the AutoPlacement object to define the metadata, appearance, and placement of advertising components within Apple News Format articles.


{ "version": "1.9", "identifier": "SampleArticle", "language": "en", "title": "Apple News", "subtitle": "A look at the features of Apple News", "layout": { "columns": 20, "width": 1024, "margin": 60, "gutter": 20 }, "autoplacement": { "advertisement": { "enabled": true, "bannerType": "any", "distanceFromMedia": "10vh", "frequency": 10, "layout": { "margin": 10 } } },}

See Also

Dynamic Advertising

Managing Advertisements in Your Article

Set the layout and frequency of ads automatically inserted in an article, and manually suggest specific locations for ad content.

object AdvertisementAutoPlacement

The object for defining the automatic placement of advertisements.

object AdvertisingSettings

The object for defining properties that affect the frequency and placement with which banner advertisements and medium rectangle advertisements are automatically placed in your article.