Unfortunately this is not possible.
These ads have a fixed size and create a frame on the page where you will not be able to make changes (I do not know Lomadee, but Adsense has a banner option for responsive design). In addition, this probably infuses the Program's Terms of Use. Therefore, it is not recommended to change banner ad characteristics, otherwise you will be banned from the system.
One solution that pulls a banner with a specific width for each screen, is this proposal #
How does it work?
When you open the site, according to window.innerWidth
, the script will load the banner that fits the width of the screen.
Possible problem: (but not so important)
If the page opens in an iPad, for example, in the "landscape" position (horizontal device) and loads the banner of 728x90 pixels, when the user rotates to the "portrait" position (vertically), the banner will be cut, because the width in pixels in the "portrait" position is smaller. However, I do not think that's a big problem since the user on mobile devices is more likely to open in the "landscape" position than in the "portrait" position. And if it opens in the "portrait" position initially, better still, because if you move to "landscape" the banner will not be cut.