OOAdVerification

Objective-C

@interface OOAdVerification : NSObject

Swift

class OOAdVerification : NSObject

The AdVerification is used to contain the JavaScript or Flash code used to collect data. Multiple Verification elements may be used in cases where more than one verification vendor needs to collect data or when different API frameworks are used.

  • A container for the URL to the JavaScript file used to collect verification data.

    Declaration

    Objective-C

    - (NSURL *)javaScriptResource;

    Swift

    func javaScriptResource() -> URL!
  • The name of the Javascript API framework used to execute the AdVerification code.

    Declaration

    Objective-C

    - (NSString *)javaScriptApiFramework;

    Swift

    func javaScriptApiFramework() -> String!
  • A container for the URL to the Flash file used to collect verification data.

    Declaration

    Objective-C

    - (NSURL *)flashResource;

    Swift

    func flashResource() -> URL!
  • The name of the Flash API framework used to execute the AdVerification code.

    Declaration

    Objective-C

    - (NSString *)flashApiFramework;

    Swift

    func flashApiFramework() -> String!
  • The home page URL for the verification service provider that supplies the resource file.

    Declaration

    Objective-C

    - (NSString *)vendor;

    Swift

    func vendor() -> String!
  • Players that execute verification code in a nonbrowser environment (e.g. JavaScriptCore) may only execute resources marked browserOptional=“true”.

    Declaration

    Objective-C

    - (BOOL)browserOptional;

    Swift

    func browserOptional() -> Bool
  • A string intended for bootstraping the verification code and providng metadata about current impression.

    Declaration

    Objective-C

    - (NSString *)verificationParameters;

    Swift

    func verificationParameters() -> String!
  • A tracking event container object.

    Declaration

    Objective-C

    - (VPTrackingEvents *)trackingEvents;

    Swift

    func trackingEvents() -> VPTrackingEvents!