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

# MediumRectangleAdvertisement

The component for adding a medium, fixed-size rectangle ad.

```
object MediumRectangleAdvertisement
```

## Discussion

The `MediumRectangleAdvertisement` object has a fixed size of 300 x 250 points. You can embed this component within the text content or at the end of your article. (Medium rectangle advertisements can appear inside a [`Container`](/documentation/AppleNewsFormat/Container) only if the container is full-width.)

Keep these points in mind when including medium rectangle ads in your article:

- Do not apply animations, scenes, or behaviors to ad components.
- Ads placed on the first “screen” of an article will not be rendered.
- The dimensions of visible areas vary with screen size and text size.
- If two or more ad components are placed on the same screen, News renders only the first component.
- Do not position ads immediately before or after an image.

For advertisements that span the full width of the display, see [`BannerAdvertisement`](/documentation/AppleNewsFormat/BannerAdvertisement).

### Example

```json
{
  "components": [
    {
      "role": "medium_rectangle_advertisement"
    }
  ]
}
```

## Relationships

### Inherits From

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

---

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)