v-ji / tab-titles-for-ad-manager

Sets order, line item, creative and report names as tab titles in Google Ad Manager (DFP)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tab Titles for Ad Manager Mozilla Add-on Standard - JavaScript Style Guide GitHub

Google Ad Manager (DFP) does not set meaningful tab titles by default, which can get confusing with a high number of tabs open. This is a simple extension to fix that.

Before After
Before: The tab title conveys no meaning. Which campaign am I even looking at? After: The tab title is set to the order’s name. I can easily find it again, even if I have multiple tabs open.

Works for the following objects:

  • Orders
  • Line items
  • Creatives
  • Reports

Installation

Extension (Firefox)

  1. Install from Firefox Add-Ons.

Userscript (all browsers)

  1. Install a userscript manager such as Violentmonkey (open-source) or Tampermonkey.
  2. Open the userscript code.
  3. Your userscript manager should prompt you to install. Accept.

Considerations

Google Ad Manager does not expose a clean way to detect page changes or object changes. Not even the hashchange event fires consistently. I did my best to detect all object changes and set the title accordingly while keeping the extension lightweight.

About

Sets order, line item, creative and report names as tab titles in Google Ad Manager (DFP)

License:MIT License


Languages

Language:JavaScript 97.2%Language:Shell 2.8%