Object

AutoPlacement

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

Properties

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

Discussion

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

Example

{ "version": "1.9", "identifier": "SampleArticle", "language": "en", "title": "Apple News", "subtitle": "A look at the features of Apple News", "layout": { "columns": 7, "width": 1024, "margin": 75, "gutter": 20 }, "autoplacement": { "advertisement": { "enabled": true, "bannerType": "any", "distanceFromMedia": "50vh", "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.

Deprecated