OOVASTCreative.h
1 #import <Foundation/Foundation.h>
2 #import "OOTBXML.h"
3 #import "OOVASTLinearAd.h"
4 #import "OOVASTCompanionAds.h"
5 #import "OOVASTNonLinearAds.h"
6 
11 @interface OOVASTCreative : NSObject
12 
13 @property (readonly, nonatomic) NSInteger sequence;
14 @property (readonly, nonatomic, strong) NSString *id;
15 @property (readonly, nonatomic, strong) NSString *adId;
16 @property (readonly, nonatomic, strong) OOVASTLinearAd *linear;
17 @property (readonly, nonatomic, strong) OOVASTCompanionAds *companionAds;
18 @property (readonly, nonatomic, strong) OOVASTNonLinearAds *nonLinearAds;
19 
20 - (id)initWithElement:(OOTBXMLElement *)element;
21 - (BOOL)hasLinear;
22 - (BOOL)hasCompanionAds;
23 - (BOOL)hasNonLinearAds;
24 
25 @end
A creative that was defined in a VAST XML.
Definition: OOVASTCreative.h:11
OOVASTLinearAd * linear
Definition: OOVASTCreative.h:16
OOVASTCompanionAds * companionAds
Definition: OOVASTCreative.h:17
NSString * adId
Definition: OOVASTCreative.h:15
BOOL hasNonLinearAds()
OOVASTNonLinearAds * nonLinearAds
Definition: OOVASTCreative.h:18
Definition: OOTBXML.h:54
NSInteger sequence
Definition: OOVASTCreative.h:13
A list of companion ads that was defined in a VAST XML.
Definition: OOVASTCompanionAds.h:14
NSString * id
Definition: OOVASTCreative.h:14
BOOL hasCompanionAds()
Represents a single VAST linear advertisement.
Definition: OOVASTLinearAd.h:9
A list of non-linear, static advertisement that was defined in a VAST XML.
Definition: OOVASTNonLinearAds.h:15