Skip to content

Location Targeting

nook edited this page Aug 22, 2016 · 1 revision

Location Targeting

Location targeting enables Yieldmo to deliver more relevant ads to users, with more value to advertisers.

There are two ways to enable location targeting for Yieldmo ads. The simplest way is to pass Yieldmo a CLLocation object periodically as you get get updates from a CLLocationManagerDelegate. You should call setLocation at least once before initializing the YMPlacementView.

Yieldmo.setLocation(<CLLocation Object>)
[Yieldmo setLocation: <CLLocation Object>];

Automatically Fetching Location

Yieldmo can automatically fetch location if you have obtained permission from the user. This is enabled through a configuration plist file, as described in Plist Configuration.

Clone this wiki locally