Injected javascript in google DFP module drupal 7
you can take a look at these functions (_dfp_js_global_settings and _dfp_js_slot_definition) that are used to inject inline javascript in the page, I believe that javascript loads the ads remotely and inject them in their spots