OOVASTAd.h
1 #import <Foundation/Foundation.h>
2 #import "OOTBXML.h"
3 
8 @interface OOVASTAd : NSObject
9 
10 @property (readonly, nonatomic) NSString *adID;
11 @property (nonatomic) NSInteger adSequence;
12 @property (readonly, nonatomic) NSString *system;
13 @property (readonly, nonatomic) NSString *systemVersion;
14 @property (readonly, nonatomic) NSString *title;
15 @property (readonly, nonatomic) NSString *adDescription;
16 @property (readonly, nonatomic) NSMutableArray *surveyURLs;
17 @property (readonly, nonatomic) NSMutableArray *errorCodes;
18 @property (readonly, nonatomic) NSMutableArray *errorURLs;
19 @property (readonly, nonatomic) NSMutableArray *impressionURLs;
21 @property (readonly, nonatomic) NSMutableArray *linearCreatives;
22 @property (readonly, nonatomic) NSMutableArray *nonLinearCreatives;
23 @property (readonly, nonatomic) NSMutableArray *companionCreatives;
25 //@property(readonly, nonatomic) NSMutableArray *sequence; /**< the ordered sequence of the Ad (NSMutableArray of OOVASTSequenceItem) */
26 @property (readonly, nonatomic) NSDictionary *extensions;
29 - (instancetype)init __attribute__((unavailable("init not available")));
30 
36 - (instancetype)initWithXML:(OOTBXMLElement *)xml;
37 
43 - (BOOL)updateWithXML:(OOTBXMLElement *)xml;
44 
45 @end
NSString * system
the System
Definition: OOVASTAd.h:12
NSMutableArray * errorCodes
the error codes of the Ad
Definition: OOVASTAd.h:17
NSMutableArray * impressionURLs
the impression URLs of the Ad
Definition: OOVASTAd.h:19
Definition: OOTBXML.h:54
NSMutableArray * errorURLs
the error URLs of the Ad
Definition: OOVASTAd.h:18
NSDictionary * extensions
the extensions of the Ad
Definition: OOVASTAd.h:26
NSMutableArray * linearCreatives
the Linear creatives of the Ad
Definition: OOVASTAd.h:21
NSMutableArray * nonLinearCreatives
the Non Linear creatives of the Ad
Definition: OOVASTAd.h:22
NSInteger adSequence
the sequence of the Ad
Definition: OOVASTAd.h:11
NSString * adID
the ID of the Ad
Definition: OOVASTAd.h:10
Represents all information from a single VAST XML file.
Definition: OOVASTAd.h:8
NSString * systemVersion
the System Version
Definition: OOVASTAd.h:13
NSMutableArray * companionCreatives
the Companion creatives of the Ad
Definition: OOVASTAd.h:23
NSMutableArray * surveyURLs
the survey URLs of the Ad
Definition: OOVASTAd.h:16
NSString * title
the title of the Ad
Definition: OOVASTAd.h:14
(unavailable("init not available" __attribute__()
NSString * adDescription
the description of the Ad
Definition: OOVASTAd.h:15