Skip to content

Commit

Permalink
chore: Update IMA externs (shaka-project#5343)
Browse files Browse the repository at this point in the history
Adds StreamRequest.omidAccessModeRules, OmidVerificationVendor, and
OmidAccessMode.

Copied from a contribution to the Shaka Player mirror in Google's
internal repository.
  • Loading branch information
joeyparrish committed Jun 22, 2023
1 parent db44dc8 commit 79bb361
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions externs/ima.js
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,14 @@ google.ima.dai.api.StreamRequest.prototype.streamActivityMonitorId;
google.ima.dai.api.StreamRequest.prototype.format;


/**
* @type {Object.<
* google.ima.dai.api.OmidVerificationVendor,
* google.ima.dai.api.OmidAccessMode>}
*/
google.ima.dai.api.StreamRequest.prototype.omidAccessModeRules;


/**
* @enum {string}
*/
Expand Down Expand Up @@ -635,3 +643,29 @@ google.ima.dai.api.StreamEvent.Type = {
SKIPPED: 'skip',
VIDEO_CLICKED: 'videoClicked',
};


/**
* @enum {number}
*/
google.ima.dai.api.OmidVerificationVendor = {
OTHER: 1,
MOAT: 2,
DOUBLEVERIFY: 3,
INTEGRAL_AD_SCIENCE: 4,
PIXELATE: 5,
NIELSEN: 6,
COMSCORE: 7,
MEETRICS: 8,
GOOGLE: 9,
};


/**
* @enum {string}
*/
google.ima.dai.api.OmidAccessMode = {
FULL: 'full',
DOMAIN: 'domain',
LIMITED: 'limited',
};

0 comments on commit 79bb361

Please sign in to comment.