Skip to content

Page View

nook edited this page Aug 22, 2016 · 1 revision

Page View

Yieldmo sells ads and reports data to advertisers based on page views. It is up to the integrating developer to define when a page view starts and ends. As a guideline, any ads that appear within a single block of content — such as an article — should be contained within a page view. It is only necessary to implement start and end page view if you include more than one ad within a block of content. Otherwise, Yieldmo reports each ad view as a new page view.

StartPageView should be called before initializing the first YMPlacementView in the page view. For example if you load multiple ads within a view controller that represents a block of content, you might call startPageView at the beginning of viewDidLoad, and call endPageView at the end of viewWillDisappear.

Clone this wiki locally