Package com.ooyala.pulse
Class AdVerification
- java.lang.Object
-
- com.ooyala.pulse.AdVerification
-
public class AdVerification extends java.lang.Object
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.
-
-
Constructor Summary
Constructors Constructor Description AdVerification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getBrowserOptional()
The browserOptional value.java.lang.String
getFlashApiFramework()
The Flash resource API framework name.java.net.URL
getFlashResource()
The Flash resource.java.lang.String
getJavaScriptApiFramework()
The JavaScript resource API framework name.java.net.URL
getJavaScriptResource()
The JavaScript resource.com.ooyala.pulse.TrackingEvents
getTrackingEvents()
Get the container for this trackable's tracking events, which allows you to see if specific tracking events are available or not.java.lang.String
getVendor()
An identifier for the verification vendor.java.lang.String
getVerificationParameters()
The verification parameters contains a CDATA-wrapped string intended for bootstraping the verification coe and providng metadata about current impression.
-
-
-
Method Detail
-
getFlashResource
public java.net.URL getFlashResource()
The Flash resource.- Returns:
- The container for the URL to the Flash file used to collect verification data.
-
getFlashApiFramework
public java.lang.String getFlashApiFramework()
The Flash resource API framework name.- Returns:
- The name of the Flash API framework used to execute the AdVerification code.
-
getBrowserOptional
public boolean getBrowserOptional()
The browserOptional value. Players that execute verification code in a nonbrowser environment (e.g. JavaScriptCore) may only execute resources marked browserOptional="true"- Returns:
- The value of browserOptional to decide if verification code should be executed or not.
-
getVerificationParameters
public java.lang.String getVerificationParameters()
The verification parameters contains a CDATA-wrapped string intended for bootstraping the verification coe and providng metadata about current impression.- Returns:
- The CDATA wrapped metadata string for the verification executable.
-
getJavaScriptResource
public java.net.URL getJavaScriptResource()
The JavaScript resource.- Returns:
- The container for the URL to the JavaScript file used to collect verification data.
-
getJavaScriptApiFramework
public java.lang.String getJavaScriptApiFramework()
The JavaScript resource API framework name.- Returns:
- The name of the JavaScript API framework used to execute the AdVerification code.
-
getVendor
public java.lang.String getVendor()
An identifier for the verification vendor. The recommended format is [domain]- [useCase], to avoid name collisions. For example, "company.com-omid".- Returns:
- The vendor for corresponding verification code.
-
getTrackingEvents
public com.ooyala.pulse.TrackingEvents getTrackingEvents()
Get the container for this trackable's tracking events, which allows you to see if specific tracking events are available or not.- Returns:
- A tracking event container object for this
Trackable
.
-
-