Title: DFP Ad Manager
Author: chriswgerber
Published: <strong>2015 年 5 月 13 日</strong>
Last modified: 2015 年 8 月 18 日

---

搜索插件

![](https://ps.w.org/dfp-ads/assets/banner-772x250.png?rev=1185909)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/dfp-ads/assets/icon-256x256.png?rev=1185909)

# DFP Ad Manager

 作者：[chriswgerber](https://profiles.wordpress.org/chriswgerber/)

[下载](https://downloads.wordpress.org/plugin/dfp-ads.0.3.2.zip)

 * [详情](https://cn.wordpress.org/plugins/dfp-ads/#description)
 * [评价](https://cn.wordpress.org/plugins/dfp-ads/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/dfp-ads/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/dfp-ads/#developers)

 [支持](https://wordpress.org/support/plugin/dfp-ads/)

## 描述

**For simple management of DoubleClick for Publishers ad positions.**

This plugin is designed to simplify the process of working with DoubleClick for 
Publishers. Rather than inundate the user with too many options and settings, instead
everything is managed within DoubleClick, utilizing WordPress to display the positions.

Page, category, and tag targeting is built-in, with the option to extend on the 
DoubleClick Javascript library and add even more targeting and send data from the
WordPress backend to DoubleClick.

Follow development of the plugin on [Github.com/ThatGerber/dfp-ads](http://github.com/ThatGerber/dfp-ads)

## 屏幕截图

[⌊Full Ad Positions Page⌉⌊Full Ad Positions Page⌉[

Full Ad Positions Page

[⌊Individual Ad Positions Page⌉⌊Individual Ad Positions Page⌉[

Individual Ad Positions Page

[⌊Position Settings Page⌉⌊Position Settings Page⌉[

Position Settings Page

[⌊Position Import Page⌉⌊Position Import Page⌉[

Position Import Page

## 安装

#### Install plugin

 1. Download Zip File
 2. Navigate to your website’s admin page: `example.com/wp-admin/`
 3. Go to Plugins, “Add New”
 4. At the top of the page, choose “Upload Plugin”
 5. Upload zip file and install now
 6. Activate plugin

#### Set Up Ad Network

 1. Visit [https://www.google.com/dfp/](https://www.google.com/dfp/) and get your Account
    ID
 2.  a. To find your Account ID, go to Settings. On the left sidebar, choose “Network 
        Settings” and “All Network Settings”.
     b. Copy your “Network Code”. It should be an 8-digit integer for identifying your
        ad network.
 3. Visit the Ad Positions “Settings” in the WordPress Admin page.
 4. Add the DFP Network Code for Identifying the ad network for ad positions.

## 常见问题

Submit your questions at [chriswgerber.com/contact/](http://www.chriswgerber.com/contact/).

## 评价

![](https://secure.gravatar.com/avatar/f7ae4d8f9c2085abafcc0b1963645ef3d1e62c016be72a7469c3676aeb65999c?
s=60&d=retro&r=g)

### 󠀁[Excellent…!!](https://wordpress.org/support/topic/excellent-3839/)󠁿

 [gersveo](https://profiles.wordpress.org/gersveo/) 2016 年 9 月 3 日

This plugin is Excellent…! meets what you want in DFP… congratulations developer

![](https://secure.gravatar.com/avatar/1c117a73ae794dec92bd6388e0746b84cc2316027d1df243bf5986d50ecd5645?
s=60&d=retro&r=g)

### 󠀁[just what DFP WordPress websites needed](https://wordpress.org/support/topic/just-what-dfp-wordpress-websites-needed/)󠁿

 [tripledm](https://profiles.wordpress.org/tripledm/) 2016 年 9 月 3 日

Thank you and well done! The plugin is exactly what DFP users needed! I have not
completed the setup ref targeting so not tested in full but the plugin itself requires
and deserves 100 stars!

![](https://secure.gravatar.com/avatar/117d7ba48c0ddba9ffac2e5a9e8ebd76575a374f9137df9e016e0c15da829057?
s=60&d=retro&r=g)

### 󠀁[Extremely useful plugin (if you use DFP)](https://wordpress.org/support/topic/extremely-useful-plugin-if-you-use-dfp/)󠁿

 [WalleP](https://profiles.wordpress.org/wallep/) 2016 年 9 月 3 日

This makes my life sooo much easier! I have now tested the plugin on two new sites
for a few months, and it works well on pages, posts, and sidebars (I could not make
it work in the header, though). I will now implement the plugin on a high-volume
site (150,000 visitors/month). As I sell ads directly, DFP is business-critical 
for me. I do hope you will continue to develop this extremely useful plugin. Cheers,
Walther

 [ 阅读所有4条评价 ](https://wordpress.org/support/plugin/dfp-ads/reviews/)

## 贡献者及开发者

「DFP Ad Manager」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ chriswgerber ](https://profiles.wordpress.org/chriswgerber/)

[帮助将「DFP Ad Manager」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/dfp-ads)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/dfp-ads/)，查看[SVN仓库](https://plugins.svn.wordpress.org/dfp-ads/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/dfp-ads/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/dfp-ads/)。

## 更新日志

#### 0.3.2

 * Adds `DFP_CONCAT_SCRIPTS` constant. Set as `false` to force the plugin to use
   un-minified scripts
 * Fixes array issue in javascript that would cause ads to not appear.
 * Improves build scripts
 * Adds Composer.lock file to force support for PHP 5.3 on all `composer install`
 * Various code quality improvements.

#### 0.3.1

 * Bugfix – Widget not displays ad position correctly.
 * Enhancement – Various code quality improvements.

#### 0.3.0

 * New – Adds option to turn off asynchronous loading.
 * Enhancement – Adds class `dfp_ad_pos` to ad tags.
 * Bugfix – Fixes shortcode issue where content would always appear at the top of
   the content area.

#### 0.2.5

 * Bugfix- Ad CPT was overriding page meta. Fix implemented resets post data after
   use of WP_Query.

#### 0.2.4

 * Fixes build

#### 0.2.3

 * Bug fix

#### 0.2.2

 * Fixed issue where settings were not being called.

#### 0.2.1

 * Bug Fix: Added extra check to make sure plugin didn’t attempt to add other CPTs
   as ad positions.
 * Enhancement: Added linting and uglifying to JS. Now serving minified JS.
 * Enhancement: Updated directory structure
 * Enhancement: Updated Readme to include screenshots and more information.

#### 0.2.0

 * Added functionality for importing DFP Ads
 * Added Travis CI Integration.
 * Added Composer
 * Begin Unit Testing
 * Added Code Coverage Reporting
 * Updated JS to make extensions easier
 * Added Asynchronous ad loading
 * Made plugin compatible with PHP 5.3

#### 0.1.0

 * Initial Pre-Release

## 额外信息

 *  版本 **0.3.2**
 *  最后更新：**11 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 3.0.0 或更高版本 **
 *  已测试的最高版本为 **4.2.39**
 *  语言
 * [English (US)](https://wordpress.org/plugins/dfp-ads/)
 * 标签
 * [ads](https://cn.wordpress.org/plugins/tags/ads/)[dfp](https://cn.wordpress.org/plugins/tags/dfp/)
   [doubleclick](https://cn.wordpress.org/plugins/tags/doubleclick/)
 *  [高级视图](https://cn.wordpress.org/plugins/dfp-ads/advanced/)

## 评级

 4.8 星（最高 5 星）。

 *  [  3 条 5 星评价     ](https://wordpress.org/support/plugin/dfp-ads/reviews/?filter=5)
 *  [  1 条 4 星评价     ](https://wordpress.org/support/plugin/dfp-ads/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/dfp-ads/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/dfp-ads/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/dfp-ads/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/dfp-ads/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/dfp-ads/reviews/)

## 贡献者

 *   [ chriswgerber ](https://profiles.wordpress.org/chriswgerber/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/dfp-ads/)