<!--
{
  "availability" : [
    "Apple News Format: 1.9.0 - 1.25.0"
  ],
  "documentType" : "symbol",
  "framework" : "AppleNewsFormat",
  "identifier" : "/documentation/AppleNewsFormat/AutoPlacement",
  "metadataVersion" : "0.1.0",
  "role" : "Object",
  "symbol" : {
    "kind" : "Object",
    "modules" : [
      "Apple News Format"
    ],
    "preciseIdentifier" : "data:news_format:AutoPlacement"
  },
  "title" : "AutoPlacement"
}
-->

# AutoPlacement

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

```
object AutoPlacement
```

## Discussion

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

### Example

```json
{
  "version": "1.9",
  "identifier": "SampleArticle",
  "language": "en",
  "title": "Apple News",
  "layout": {
    "columns": 20,
    "width": 1024,
    "margin": 60,
    "gutter": 20
  },
  "autoplacement": {
    "advertisement": {
      "enabled": true,
      "bannerType": "any",
      "distanceFromMedia": "10vh",
      "frequency": 10,
      "layout": {
        "margin": 10
      }
    }
  },
  …
}
```

## Relationships

### Inherited By

[`AdvertisementAutoPlacement`](/documentation/AppleNewsFormat/AdvertisementAutoPlacement)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)