Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adagio Bid Adapter: external script loading improvement #9296

Conversation

osazos
Copy link
Collaborator

@osazos osazos commented Nov 29, 2022

  • Feature

Description of change

This PR is about to ensure our external script is loaded when we cannot use localStorage.
Note that we DON'T use LocalStorage, the script is loaded and executed, but it is never cached.

@@ -38,7 +38,8 @@ const LOG_PREFIX = 'Adagio:';
const FEATURES_VERSION = '1';
export const ENDPOINT = 'https://mp.4dex.io/prebid';
const SUPPORTED_MEDIA_TYPES = [BANNER, NATIVE, VIDEO];
const ADAGIO_TAG_URL = 'https://script.4dex.io/localstore.js';
const ADAGIO_TAG_URL = 'https://script.4dex.io/adagio.js';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please lock this to a version and update what is available in https://github.com/Prebid-org/prebid-js-external-js-adagio-io/tree/master/dist

Copy link
Collaborator Author

@osazos osazos Nov 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @patmmccann, we make regular updates, we can't lock to a version. We always work this way, is something changed?

update what is available in…

Do you want I make some cleanup?

Copy link
Collaborator

@patmmccann patmmccann Nov 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please see #5804 ; as part of Prebid 5, Criteo locked their load to a version. Also, the private repo has unminified code.

@patmmccann
Copy link
Collaborator

closing as stale @osazos

@patmmccann patmmccann closed this Apr 4, 2023
@osazos osazos deleted the adagio-feature/do-not-rely-on-localstorage branch November 30, 2023 12:49
@osazos osazos restored the adagio-feature/do-not-rely-on-localstorage branch November 30, 2023 12:49
@osazos osazos deleted the adagio-feature/do-not-rely-on-localstorage branch April 11, 2024 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants