IOS Ad Targeting Options
Besides ad unit size, there are other targeting options you can include in the request that is sent to the Amazon Mobile Ad Network. For example, you may include latitude and longitude gathered from the device as well as the user's age. To set targeting options, you must construct an AmazonAdOptions
object and pass it to the loadAd
method in AmazonAdView or AmazonAdInterstitial.
Optional: Including Latitude and Longitude
If your app or the device is enabled to provide the latitude and longitude coordinates, you can configure the Amazon Mobile Ads to provide these values to the Amazon Mobile Ad Network as part of an ad request. Requests that contain geographic location may earn higher CPMs. (This option is not available for devices in Europe.) Example:
AmazonAdOptions *options = [AmazonAdOptions options];
options.usesGeolocation = YES;