Vielen Dank für deinen Besuch. Diese Seite ist nur in Englisch verfügbar.

IOS Concepts

Ad Types

The Amazon Mobile Ad Network supports four ad types: static click-through banner, rich media expandable banner, modal interstitial and modeless interstitial.

Static Banners - Static banners are HTML web views that typically open an in-app browser or native browser.

Rich Media Expandable Banners - Rich media expandable banners are HTML web views that expand in-app with rich interactive content. The call to action in these ads typically includes opening an in-app browser or native browser.

Interstitials - An interstitial is a full-page ad that usually appears at a transition point in the app (e.g. game level transition). The full-page ad provides advertisers with a unique opportunity to engage with the audience in a meaningful way, leading to superior monetization for developers. See details below:

  • Interstitial ads support an interactive in-app user experience.
  • These ads are loaded in the background before it's time to display them. As a result, when the time comes for the ad to appear, the ad will materialize on the screen very quickly.
  • Closing the ad requires user action; the user will always have the option to close the ad.
  • Interstitial ads that have loaded but have not been displayed will eventually expire. If this occurs, a new ad must be loaded before interstitials can be shown.

Modeless Interstitial - A modeless interstitial is a full screen ad view that can be embedded inside any container view that is large enough to display ad contents. It enables developers to display full screen or near full screen ads inline with app content, or ads framed with developer content. For example, a carousel of images can have content interleaved with ads, which allows users to navigate content and ads using finger gestures. Another example is a modal view on top of the developer content that has an app defined border and an app defined close button. See details below

  • Similar to interstitial ads, modeless interstitial ads support an interactive in-app user experience.
  • A modeless interstitial ad is loaded in the background before it is time to display it. As a result, when the time comes for the ad to appear, the ad will materialize on the screen very quickly.
  • An impression is counted when a modeless interstitial ad is presented on the screen. The app must inform the SDK whenever the interstitial ad is presented on and leaves the screen.
  • Unlike interstitial ads, the same modeless interstitial can be presented multiple times without loading a new ad. While this only counts for one impression, in many scenarios this the desired behavior. For example in an image gallery a user that swipes back for an ad is expressing interest in the ad. By showing the same ad in this scenario, we’d expect a higher click through rate, which could improve conversion and developer payouts.
  • A loaded modeless interstitial ad will eventually expire. If this occurs, it is recommended that a new ad be loaded.
  • The app presents an ad modelessly by creating a container view to host the ad. This view object must meet the following rules:
    • The view must be contained in the view hierarchy of a view controller object.
    • The view size must be at least 75% of the area of the screen size.
    • The view must have at least one side that is at least 380 device independent pixels.
    • The view must be resized to match the new orientation if the view controller supports orientation changes.
    • The view must be capable of hosting subviews.
    • The view must not be obsecured by other views when presenting a modeless interstitial ad.
    • The view must be capable of being dismissed by the user. For example, the user can dismiss the view by swiping it off the screen or tapping on a close button.
  • It is recommended that the container view have a minimum aspect ratio of the device screen. Aspect ratio is calculated in terms of the view's shorter side divided by its longer side.

Ad Sizes

 When setting up a banner ad, developers have the option to either manually choose an ad size or have an appropriate size chosen automatically.

Note: Selecting an ad sizing method only needs to be done for static and rich media banner ads. Interstitial ads will always scale based on the screen size of the current device and thus do not need a predefined size.

Auto Ad Size

The Amazon Mobile Ads API for iOS can be set to automatically choose an optimally sized banner ad for your ad view. The size chosen is based on the screen dimensions and pixel density of the device loading the ad as well as the dimensions of the view itself. To enable Auto Ad Size, simply instantiate an AmazonAd view with a desired frame and an Ad will automatically be placed into the ad view.

// Initialize Ad View
 CGRect frame = {0,0, [UIScreen mainScreen].bounds.size.width, 90};
 self.amazonAdView = [[AmazonAdView alloc] initWithFrame:frame];
 [self.amazonAdView setVerticalAlignment:AmazonAdVerticalAlignmentFitToContent];
 [self.amazonAdView setHorizontalAlignment:AmazonAdHorizontalAlignmentCenter)];

 // Load Ad
 AmazonAdOptions *options = [AmazonAdOptions options];
 [self.amazonAdView loadAd:options];

The following is a list of ad sizes that are supported by Auto Ad Size:

  • 320x50
  • 600x90
  • 728x90
  • 1024x50

The Auto Ad Size functionality places an ad with its original device-independent pixel size into the Ad View. Because an ad view frame can be drawn larger than the actual ad placed in the ad view, there are 2 alignment properties to align the ad vertically ('setVerticalAlignment') and horizontally ('setHorizontalAlignment') within the ad view frame.

The 4 vertical alignment options are:

  • AmazonAdVerticalAlignmentTop
  • AmazonAdVerticalAlignmentCenter
  • AmazonAdVerticalAlignmentBottom
  • AmazonAdVerticalAlignmentFitToContent - Reduces the height of the Ad View container to match the height of the ad, removing any empty vertical space.

The 3 horizontal alignment options are:

  • AmazonAdHorizontalAlignmentTop
  • AmazonAdHorizontalAlignmentCenter
  • AmazonAdHorizontalAlignemntBottom

Example:

// Set Alignments
  [self.amazonAdView setVerticalAlignment:AmazonAdVerticalAlignmentFitToContent];
  [self.amazonAdView setHorizontalAlignment:AmazonAdHorizontalAlignmentCenter)];

By default ads are centered vertically and horizontally within the AmazonAdView.

Auto Ad Size Guidelines

  • Auto Ad Size is designed to adjust the banner ad size that is loaded based on the screen width. We recommend setting the AmazonAdView's frame width to be the same width as the screen or view controller.
  • Because the Auto Ad Size feature for the iOS SDK does not scale, we recommend aligning the banner ad to the center of the ad view frame using the AmazonAdHorizontalAlignmentCenter property.
  • We recommend using the AmazonAdVerticalAlignmentFitToContent property to reduce any vertical empty space when a banner ad is smaller than the frame drawn.
  • On tablet-sized devices, banner ads of size 600x90, 728x90, or 1024x50 will be selected. On smaller devices, such as iPhones and iPods, banner ads of size 320x50 will be selected.
  • On phone-sized devices, your AmazonAdView must be at least 320dp wide and 50dp high.
  • On tablet-sized devices, your AmazonAdView must be at least 533dp wide and 79dp high, or at least 1024dp wide and 50dp high.

Manual Ad Size

The Amazon Mobile Ad Network supports banner ad sizes of 320x50 for phones and 600x90, 728x90, 1024x50 for tablets, and 300x250 for both phones and tablets. Your app should request a device-appropriate size. Here is an example of how you would set the AmazonAdView of an appropriate size in objective-c code:

self.amazonAdView = [AmazonAdView amazonAdViewWithAdSize:AmazonAdSize_320x50]

Note: Selecting an ad sizing method only needs to be done for static and rich media banner ads. Interstitial ads will always scale based on the screen size of the current device and thus do not need a predefined size. 

The different ad sizes are constants declared within AmazonAdOptions as,

  • extern const CGSize AmazonAdSize_320x50;
  • extern const CGSize AmazonAdSize_300x250;
  • extern const CGSize AmazonAdSize_600x90;
  • extern const CGSize AmazonAdSize_728x90;
  • extern const CGSize AmazonAdSize_1024x50;
Ad Size iPhone & iPod iPad
320x50 Yes No
300x250 Yes Yes
600x90 No Yes
728x90 No Yes
1024x50 No Yes

Above the Fold

All ad placements must be above the fold, which means fully visible without scrolling. If an ad placement is embedded with content in a screen, it can scroll with that content and scroll off of the screen as long as it started above the fold.

Ad Reload Rate

The Amazon Mobile Ad Network recommends loading a new ad on screen navigations and device orientation changes when the ad view changes size. You may also want to refresh the ad after a set time interval. In this case, the Amazon Mobile Ad Network recommends a refresh rate of 30 to 60 seconds. Faster ad refresh intervals could result in blocked ad requests. Please note that the Amazon Mobile Ads API does not provide any built-in functionality for automatically refreshing ads.

Ad Categories

The Amazon Mobile Ad Network supports two ad categories that provide two different engaging experiences, allowing advertisers to reach their audience in multiple ways, and providing developers to provide their users with a unique and variable ad experience. Each of these ad categories may be disabled or enabled in the Amazon Mobile Ads iOS SDK via the Ad Targeting Options.

Display Ad - Display ads may be a static image or a rich media experience. Typically a static image will perform a single action when the user clicks on the ad, whereas rich media content may present the user with an interactive experience with multiple actions to perform. A display ad may show video in a limited manner: within the native video player and only after the user has performed an action to start the video. Video data is not streamed to the user’s device until the action to start the video has been performed.