Class AdVerification

java.lang.Object
com.ooyala.pulse.AdVerification

public class AdVerification extends 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 Details

    • AdVerification

      public AdVerification()
  • Method Details

    • getFlashResource

      public URL getFlashResource()
      The Flash resource.
      Returns:
      The container for the URL to the Flash file used to collect verification data.
    • getFlashApiFramework

      public 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 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 URL getJavaScriptResource()
      The JavaScript resource.
      Returns:
      The container for the URL to the JavaScript file used to collect verification data.
    • getJavaScriptApiFramework

      public String getJavaScriptApiFramework()
      The JavaScript resource API framework name.
      Returns:
      The name of the JavaScript API framework used to execute the AdVerification code.
    • getVendor

      public 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.