YMAYandexVASTAds Class Reference

Inherits from NSObject
Declared in YMAYandexVASTAds.h

Overview

This class contains information about video ad blocks.

  1. Methods
    1. + loadBlocksInfoForPartnerID:categoryID:delegate:
    2. + loadVideoAdsWithRequest:delegate:

Methods

+ loadBlocksInfoForPartnerID:categoryID:delegate:

Loads ad blocks considering the partnerID and categoryID parameters.

+ (void)loadBlocksInfoForPartnerID:(NSString *)partnerID
                        categoryID:(NSString *)categoryID
                          delegate:(id<YMABlocksInfoLoaderDelegate>)delegate

Parameters

partnerID

Partner ID.

categoryID

ID of the site category.

delegate

The YMABlocksInfoLoaderDelegate object that monitors the loading status.

+ loadVideoAdsWithRequest:delegate:

Loads an ad block (VAST) considering YMAVideoAdsRequest.

+ (void)loadVideoAdsWithRequest:(YMAVideoAdsRequest *)request
                       delegate:(id<YMAVideoAdLoaderDelegate>)delegate

Parameters

request

An object of the YMAVideoAdsRequest class (contains video ad loading parameters).

delegate

The YMAVideoAdLoaderDelegate object that monitors the loading status.


Generated by appledoc 2.2.1 (build 1334).