Banner 및 MREC 광고

Banner 및 MREC 광고는 앱 레이아웃의 일부(주로 화면 상단이나 하단, 또는 스크롤 가능한 콘텐츠 내부)를 차지하는 직사각형 광고 형식입니다. 사용자가 앱과 상호작용하는 동안에도 계속 표시되므로 게임 플레이나 앱 사용을 방해하지 않으며, 설정된 시간 후에 자동으로 새로고침될 수 있습니다.

다음 섹션에서는 Banner 또는 MREC 광고를 로드, 표시 및 숨기는 방법을 설명합니다.

Loading a Banner or MREC

Banner 또는 MREC를 로드하려면 CreateBanner() 또는 CreateMRec()을 호출하고 Ad Unit ID와 원하는 광고 뷰 위치를 전달합니다.

Banners

배너 크기는 휴대폰에서는 320×50, 태블릿에서는 728×90으로 자동 조정됩니다. 뷰 크기 조정을 돕기 위해 유틸리티 메서드 “Is Tablet”을 호출할 수 있습니다: Ad Unit Identifier. Create Banner: Ad Unit Identifier. Banner Position: Bottom Center. 배너가 완전히 작동하도록 배경 또는 배경 색상을 설정합니다. Set Banner Background Color: Ad Unit Identifier, Color. Make Color. B:0, G:0, R:0, A:0; Color.

MRECs

Ad Unit Identifier. Create MRec: Ad Unit Identifier, MRec Position (Centered).

사용 가능한 전체 위치 옵션 목록은 다음과 같습니다.

  • TopLeft
  • TopCenter
  • TopRight
  • Centered
  • CenterLeft
  • CenterRight
  • BottomLeft
  • BottomCenter
  • BottomRight

Banner 배경 색상은 FColor::Black 또는 FColor::FromHex("#fff200") (노란색)과 같이 원하는 FColor로 설정할 수 있습니다.

Showing a Banner or MREC

Show a Banner or MREC with the following call:

Ad Unit Identifier. Show Banner: Ad Unit Identifier.

Hiding a Banner or MREC

Hide a Banner or MREC with the following call:

Ad Unit Identifier. Hide Banner: Ad Unit Identifier.


search