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

Ad Caching and Loading Enhancements #163

Merged
merged 3 commits into from
Oct 27, 2023
Merged

Conversation

teogor
Copy link
Owner

@teogor teogor commented Oct 27, 2023

Description

This PR addresses multiple issues and introduces enhancements to the ad caching and loading system. The key commits included are:

1. Fix Issue with Ads Not Reloading on Expiry Due to Incorrect Call

This commit resolves an issue where ads were not reloading upon expiry due to an incorrect call. It ensures that ads are now reloaded as expected, providing a seamless ad experience for users.

2. Add loadTime Parameter to CacheAdModel Sealed Class

In this commit, we have introduced a new parameter, loadTime, to the CacheAdModel sealed class. This parameter offers crucial information about the ad's load time and enhances the data associated with cached ads.

3. Rename CacheAdModel to CachedAd

The class CacheAdModel has been renamed to CachedAd for improved naming conventions and code readability.

These changes collectively improve the performance and maintainability of the ad caching and loading system.

How to Use

You can continue to use the ad caching system as before, with the added benefit of improved ad reloading upon expiry and a clearer class name (CachedAd). Additionally, the loadTime parameter in CachedAd provides essential information about ad load times.

Closes #162

@teogor teogor added @priority-critical @issue @bug-fix ads Marks an Issue/PR as linked to the ceres:ads module labels Oct 27, 2023
@teogor teogor added this to the 1.0.0-alpha04 milestone Oct 27, 2023
@teogor teogor self-assigned this Oct 27, 2023
@teogor teogor merged commit dadf756 into main Oct 27, 2023
4 checks passed
@zeobot zeobot bot deleted the fix/ads-expired-reload-issue branch October 27, 2023 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ads Marks an Issue/PR as linked to the ceres:ads module @bug-fix @issue @priority-critical
Projects
Development

Successfully merging this pull request may close these issues.

[Bug]: Ads Not Reloading on Expiry
1 participant