{"id":19176829,"url":"https://github.com/googleads/googleads-ima-html5-dai","last_synced_at":"2025-10-11T09:33:06.757Z","repository":{"id":30166054,"uuid":"113201948","full_name":"googleads/googleads-ima-html5-dai","owner":"googleads","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-16T14:00:03.000Z","size":290,"stargazers_count":39,"open_issues_count":0,"forks_count":16,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-09-16T15:55:38.490Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/googleads.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-12-05T15:50:32.000Z","updated_at":"2025-09-16T14:00:08.000Z","dependencies_parsed_at":"2023-01-14T16:26:30.648Z","dependency_job_id":"419a21c2-0739-4f26-93b6-43d832af99fb","html_url":"https://github.com/googleads/googleads-ima-html5-dai","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/googleads/googleads-ima-html5-dai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googleads%2Fgoogleads-ima-html5-dai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googleads%2Fgoogleads-ima-html5-dai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googleads%2Fgoogleads-ima-html5-dai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googleads%2Fgoogleads-ima-html5-dai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/googleads","download_url":"https://codeload.github.com/googleads/googleads-ima-html5-dai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googleads%2Fgoogleads-ima-html5-dai/sbom","scorecard":{"id":438298,"data":{"date":"2025-08-11","repo":{"name":"github.com/googleads/googleads-ima-html5-dai","commit":"9a1e2815be8f0653243ee69fc7a2f6aecc2b713c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.8,"checks":[{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":8,"reason":"Found 24/30 approved changesets -- score normalized to 8","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":2,"reason":"3 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 3.687.1-0 not signed: https://api.github.com/repos/googleads/googleads-ima-html5-dai/releases/202646369","Warn: release artifact 3.609.1-0 not signed: https://api.github.com/repos/googleads/googleads-ima-html5-dai/releases/134805663","Warn: release artifact 3.591.2-0 not signed: https://api.github.com/repos/googleads/googleads-ima-html5-dai/releases/122237936","Warn: release artifact 3.578.0-0 not signed: https://api.github.com/repos/googleads/googleads-ima-html5-dai/releases/109417860","Warn: release artifact 3.543.0-0 not signed: https://api.github.com/repos/googleads/googleads-ima-html5-dai/releases/82601504","Warn: release artifact 3.687.1-0 does not have provenance: https://api.github.com/repos/googleads/googleads-ima-html5-dai/releases/202646369","Warn: release artifact 3.609.1-0 does not have provenance: https://api.github.com/repos/googleads/googleads-ima-html5-dai/releases/134805663","Warn: release artifact 3.591.2-0 does not have provenance: https://api.github.com/repos/googleads/googleads-ima-html5-dai/releases/122237936","Warn: release artifact 3.578.0-0 does not have provenance: https://api.github.com/repos/googleads/googleads-ima-html5-dai/releases/109417860","Warn: release artifact 3.543.0-0 does not have provenance: https://api.github.com/repos/googleads/googleads-ima-html5-dai/releases/82601504"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}}]},"last_synced_at":"2025-08-19T05:08:52.575Z","repository_id":30166054,"created_at":"2025-08-19T05:08:52.575Z","updated_at":"2025-08-19T05:08:52.575Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006752,"owners_count":26084180,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T10:30:28.258Z","updated_at":"2025-10-11T09:33:06.752Z","avatar_url":"https://github.com/googleads.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Google Ads DAI SDK for HTML5\n\nThis project hosts samples for the\n[DAI SDK for HTML5](https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/html5).\n\n### Samples breakdown\n\n*   [hls_js/simple](https://github.com/googleads/googleads-ima-html5-dai/tree/main/hls_js/simple) -\n    Simple example using HLS.js. Supports HLS streams in\n    [browsers that support the HLS.js javascript library](https://github.com/video-dev/hls.js/#compatibility).\n*   [hls_js/advanced](https://github.com/googleads/googleads-ima-html5-dai/tree/main/hls_js/advanced) -\n    Advanced example using HLS.js. Supports HLS streams in\n    [browsers that support the HLS.js javascript library](https://github.com/video-dev/hls.js/#compatibility).\n*   [hls_js/dai_preroll](https://github.com/googleads/googleads-ima-html5-dai/tree/main/dai_preroll) -\n    Demonstrates using the IMA client-side SDK to request a pre-roll ad, then\n    the DAI SDK to play a DAI stream with mid-rolls. Supports HLS streams in\n    [browsers that support the HLS.js javascript library](https://github.com/video-dev/hls.js/#compatibility).\n*   [native/simple](https://github.com/googleads/googleads-ima-html5-dai/tree/main/native/simple) -\n    Simple example relying on native HLS support. Supports HLS streams in\n    [browsers with native HLS support](https://developer.mozilla.org/en-US/docs/Web/Guide/Audio_and_video_delivery/Live_streaming_web_audio_and_video#streaming_file_format_support).\n*   [dash_js/simple](https://github.com/googleads/googleads-ima-html5-dai/tree/main/dash_js/simple) -\n    Simple example using DASH.js. For more information see the\n    [DASH.js README](https://github.com/Dash-Industry-Forum/dash.js#readme).\n*   [podserving/hls_js](https://github.com/googleads/googleads-ima-html5-dai/tree/main/podserving/hls_js) -\n    Simple example using HLS.js with DAI SDK and Google DAI Pod Serving. For\n    more information see the\n    [DAI pod serving guide](https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/html5?service=pod).\n*   [podserving/dash_js](https://github.com/googleads/googleads-ima-html5-dai/tree/main/podserving/dash_js) -\n    Simple example using DASH.js with DAI SDK and Google DAI Pod Serving. For\n    more information see the\n    [DAI pod serving guide](https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/html5?service=pod).\n*   [hbbtv](https://github.com/googleads/googleads-ima-html5-dai/tree/main/hbbtv) -\n    Simple example for requesting and playing ad pods with\n    [HbbTV](https://developer.hbbtv.org/).\n*   [Server Guided Ad Insertion (SGAI) Client-side HLS.js](https://github.com/googleads/googleads-ima-html5-dai/tree/main/SGAIClientSideExamples/hls_js) -\n    SGAI client-side example for on-device stitching of Google-provided ad\n    breaks.\n\n### Requirements\n\nYour favorite text editor. An HTML5 compliant browser. A webserver on which to\nhost the sample.\n\n### Documentation Snippets\n\nThis repository contains code snippets used in developer documentation for the\n[IMA HTML5 SDK](https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/html5/get-started).\n\nThe `/doc_snippets` directory contains code snippets from our developer\ndocumentation to provide more context for implementing specific APIs.\n\n### More Info\n\nFor more information, see the documentation at\nhttps://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/html5.\n\n### Announcements and Updates\n\nFor API and client library updates and news, follow our\n[Google Ads Developers blog](http://googleadsdeveloper.blogspot.com/).\n\nCopyright 2017 Google Inc. All Rights Reserved. You may study, modify, and use\nthis example for any purpose. Note that this example is provided \"as is\",\nWITHOUT WARRANTY of any kind either expressed or implied.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogleads%2Fgoogleads-ima-html5-dai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoogleads%2Fgoogleads-ima-html5-dai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogleads%2Fgoogleads-ima-html5-dai/lists"}