The object for automatically placing components within Apple News Format articles.
Technology
- Apple News Format 1.9+
Properties
advertisement
The automatic placement of advertisement components. By default, no advertising is automatically inserted.
Discussion
Use the Auto
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": 20,
"width": 1024,
"margin": 60,
"gutter": 20
},
"autoplacement": {
"advertisement": {
"enabled": true,
"bannerType": "any",
"distanceFromMedia": "10vh",
"frequency": 10,
"layout": {
"margin": 10
}
}
},
…
}