Title: Adwire
Author: adwire
Published: <strong>2021 年 10 月 20 日</strong>
Last modified: 2022 年 1 月 25 日

---

搜索插件

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

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

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

# Adwire

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

[下载](https://downloads.wordpress.org/plugin/adwire.0.3.0.zip)

 * [详情](https://cn.wordpress.org/plugins/adwire/#description)
 * [评价](https://cn.wordpress.org/plugins/adwire/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/adwire/#developers)

 [支持](https://wordpress.org/support/plugin/adwire/)

## 描述

An easy way to monetize embedded YouTube videos on your website.

Adwire temporarily removes YouTube iframe embed and replaces it with linear video
advertisement according supplied AdTag. When linear video advertisement is finished,
YouTube iframe embed is restored and automatically played for seamless user experience.

Adwire uses third-party service for handling advertisements – [Google IMA SDK](https://developers.google.com/interactive-media-ads),
therefore you are obliged to read and agree with:

 * [Adwire terms of service](https://www.adwire.dev/terms),
 * [Google IMA SDK terms of service](https://developers.google.com/interactive-media-ads/docs/sdks/html5/client-side/terms),
 * [YouTube terms of service](https://www.youtube.com/t/terms),
 * [YouTube API terms of service](https://developers.google.com/youtube/terms/api-services-terms-of-service).

To be able to use Adwire, you will need to grant required consents on Adwire plugin
settings page.

## 屏幕截图

 * [[
 * Admin page – tab 1.
 * [[
 * Admin page – tab 2.
 * [[
 * Admin page – tab 3.
 * [[
 * Admin page – tab 4.
 * [[
 * Admin page – tab 5.
 * [[
 * Admin page – tab 6.

## 常见问题

### Adwire plugin is not working

 * Adwire plugin works only with iframe embed code from YouTube. If you are using
   other plugins, which might alter or replace this code, Adwire plugin might not
   work.
 * Google IMA SDK might not work correctly without user consent with cookies. You
   can temporarily override it in Adwire plugin settings (for testing purposes only).

### Adwire plugin stopped working

 * Adwire plugin is still in development stage. Please try to update Adwire plugin
   to latest version and try to re-save Adwire plugin settings to see if there are
   any errors.

### Where to get AdTag URL

 * You can get it from your ad network/provider, e.g. [AdSense for video (AFV)](https://support.google.com/adsense/answer/6054303)
   or create your own according to [VAST](https://iabtechlab.com/standards/vast/)
   or other supported format documentation.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

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

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

### 对开发感兴趣吗?

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

## 更新日志

#### 0.3.0

 * Refactored cookie consent.
 * Tested compatibility with PHP 8.1 and WordPress 5.9-RC4.

#### 0.2.1

 * Minor code refactoring.
 * Updated readme.

#### 0.2.0

 * Refactored settings page.
 * Added outstream ads.
 * Reflected changes from Adwire service.

#### 0.1.5

 * Added exception for case of missing required variable.
 * Updated readme.

#### 0.1.4

 * Minor code refactoring.
 * Updated readme.

#### 0.1.3

 * Split combined YouTube consent into separate consents.
 * Updated readme.

#### 0.1.2

 * Reflected changes from Adwire service.
 * Updated readme.

#### 0.1.1

 * Added YouTube API terms of service consent.
 * Tested compatibility with PHP 7.4 and WordPress 5.0.
 * Updated readme.

#### 0.1.0

 * Initial release.

## 额外信息

 *  版本 **0.3.0**
 *  最后更新：**4 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **5.9.0**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/adwire/)
 * 标签
 * [embed](https://cn.wordpress.org/plugins/tags/embed/)[monetization](https://cn.wordpress.org/plugins/tags/monetization/)
   [youtube](https://cn.wordpress.org/plugins/tags/youtube/)
 *  [高级视图](https://cn.wordpress.org/plugins/adwire/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

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

## 支持

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

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

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.adwire.dev/donation)