I cant assume the ad network directly improved your rankings. Most ad networks don’t influence SEO rankings directly, but heavy ads, pop ups, and slow loading scripts can affect page speed and user experience
But we can compare both setup using page speed google check consoul wheather...