Skip to main content

MREC

Mrec is a 300x250 banner. This type can be useful if the application has a large free area for placing a banner in the interface.

Display

Mrec ads are refreshed every 15 seconds automatically by default.

To display mrec, use the following method:

Appodeal.ShowMrecView(yPosition, xPosition, "placementName");

Use int value or one of the constants below for yPosition:

  • AppodealViewPosition.VerticalTop — to align a mrec to the top of the screen.
  • AppodealViewPosition.VerticalBottom — to align a mrec to the bottom of the screen.

Use int value or one of the constants below for xPosition:

  • AppodealViewPosition.HorizontalSmart — to use the full-screen width.
  • AppodealViewPosition.HorizontalCenter — to center a mrec horizontally.
  • AppodealViewPosition.HorizontalRight — to align a mrec to the right.
  • AppodealViewPosition.HorizontalLeft — to align a mrec to the left.
Mrec positioning is relative to the top left corner of the screen.

Hide Mrec

To hide a mrec ad use the following method:

Appodeal.HideMrecView();

You can use our demo app as a reference project.

Demo App


If you want to use advanced MREC integration, you can find detailed documentation here