old_contents: from pylons import c, g
  
  from r2.lib.pages import Ads as BaseAds
  
  
  class Ads(BaseAds):
      def __init__(self):
          BaseAds.__init__(self)
          adzerk_test_srs = g.live_config.get("adzerk_test_srs")
          if adzerk_test_srs and c.site.name in adzerk_test_srs:
              self.ad_url = g.config["adzerk_url"]
  
new_contents: from pylons import c, g
  
  from r2.lib.pages import Ads as BaseAds
  
  
  class Ads(BaseAds):
      def __init__(self):
          BaseAds.__init__(self)
          adzerk_test_srs = g.live_config.get("adzerk_test_srs")
          if adzerk_test_srs and c.site.name in adzerk_test_srs:
              self.ad_url = g.config["adzerk_url"]
              self.frame_id = "ad_main"
  
subject: Set the frame id to what aderk expects.