Update to dfp ad code in header

Created on 4 December 2015, over 9 years ago
Updated 20 July 2025, 8 days ago

I am currently working on getting ads up and running on a site, but noticed that the current state of the 7.x-1.x-dev branch doesn't particularly print the correct markup for the dfp ads on the page (at least based on their documentation: https://support.google.com/dfp_sb/answer/4623874?hl=en).

On my end, I only got the ads to work on the test page, but on none of the front-facing themes themes, even on the ones supported by Drupal core. After doing a little bit of reading, I've kind of got the impression that due to some changes in browser security and potential API changes, the current code may not be up to standard and may not reliably serve ads properly.

Installed the module, but no ads are working on my site regardless of the parameters I put in

πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States pcho

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024