<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hant-TW">
	<id>https://wiki.tamedia.com.tw/wiki/index.php?action=history&amp;feed=atom&amp;title=Android_Integeration_with_New_AdMob_Mediation_2.0</id>
	<title>Android Integeration with New AdMob Mediation 2.0 - 修訂歷史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tamedia.com.tw/wiki/index.php?action=history&amp;feed=atom&amp;title=Android_Integeration_with_New_AdMob_Mediation_2.0"/>
	<link rel="alternate" type="text/html" href="https://wiki.tamedia.com.tw/wiki/index.php?title=Android_Integeration_with_New_AdMob_Mediation_2.0&amp;action=history"/>
	<updated>2026-06-16T08:31:20Z</updated>
	<subtitle>本 Wiki 上此頁面的修訂歷史</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://wiki.tamedia.com.tw/wiki/index.php?title=Android_Integeration_with_New_AdMob_Mediation_2.0&amp;diff=172&amp;oldid=prev</id>
		<title>imported&gt;Wikiuser：取消由Wikiuser （對話）所作出的修訂 510</title>
		<link rel="alternate" type="text/html" href="https://wiki.tamedia.com.tw/wiki/index.php?title=Android_Integeration_with_New_AdMob_Mediation_2.0&amp;diff=172&amp;oldid=prev"/>
		<updated>2017-05-17T09:25:26Z</updated>

		<summary type="html">&lt;p&gt;取消由&lt;a href=&quot;/wiki/index.php?title=%E7%89%B9%E6%AE%8A:%E4%BD%BF%E7%94%A8%E8%80%85%E8%B2%A2%E7%8D%BB/Wikiuser&quot; title=&quot;特殊:使用者貢獻/Wikiuser&quot;&gt;Wikiuser&lt;/a&gt; （&lt;a href=&quot;/wiki/index.php?title=%E4%BD%BF%E7%94%A8%E8%80%85%E8%A8%8E%E8%AB%96:Wikiuser&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;使用者討論:Wikiuser（頁面不存在）&quot;&gt;對話&lt;/a&gt;）所作出的修訂 510&lt;/p&gt;
&lt;a href=&quot;https://wiki.tamedia.com.tw/wiki/index.php?title=Android_Integeration_with_New_AdMob_Mediation_2.0&amp;amp;diff=172&amp;amp;oldid=171&quot;&gt;顯示變更&lt;/a&gt;</summary>
		<author><name>imported&gt;Wikiuser</name></author>
	</entry>
	<entry>
		<id>https://wiki.tamedia.com.tw/wiki/index.php?title=Android_Integeration_with_New_AdMob_Mediation_2.0&amp;diff=171&amp;oldid=prev</id>
		<title>imported&gt;Wikiuser：取消由Wikiuser （對話）所作出的修訂 511</title>
		<link rel="alternate" type="text/html" href="https://wiki.tamedia.com.tw/wiki/index.php?title=Android_Integeration_with_New_AdMob_Mediation_2.0&amp;diff=171&amp;oldid=prev"/>
		<updated>2017-05-17T09:24:22Z</updated>

		<summary type="html">&lt;p&gt;取消由&lt;a href=&quot;/wiki/index.php?title=%E7%89%B9%E6%AE%8A:%E4%BD%BF%E7%94%A8%E8%80%85%E8%B2%A2%E7%8D%BB/Wikiuser&quot; title=&quot;特殊:使用者貢獻/Wikiuser&quot;&gt;Wikiuser&lt;/a&gt; （&lt;a href=&quot;/wiki/index.php?title=%E4%BD%BF%E7%94%A8%E8%80%85%E8%A8%8E%E8%AB%96:Wikiuser&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;使用者討論:Wikiuser（頁面不存在）&quot;&gt;對話&lt;/a&gt;）所作出的修訂 511&lt;/p&gt;
&lt;a href=&quot;https://wiki.tamedia.com.tw/wiki/index.php?title=Android_Integeration_with_New_AdMob_Mediation_2.0&amp;amp;diff=171&amp;amp;oldid=170&quot;&gt;顯示變更&lt;/a&gt;</summary>
		<author><name>imported&gt;Wikiuser</name></author>
	</entry>
	<entry>
		<id>https://wiki.tamedia.com.tw/wiki/index.php?title=Android_Integeration_with_New_AdMob_Mediation_2.0&amp;diff=170&amp;oldid=prev</id>
		<title>imported&gt;Wikiuser 於 2017年5月17日 (三) 09:19</title>
		<link rel="alternate" type="text/html" href="https://wiki.tamedia.com.tw/wiki/index.php?title=Android_Integeration_with_New_AdMob_Mediation_2.0&amp;diff=170&amp;oldid=prev"/>
		<updated>2017-05-17T09:19:10Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://wiki.tamedia.com.tw/wiki/index.php?title=Android_Integeration_with_New_AdMob_Mediation_2.0&amp;amp;diff=170&amp;amp;oldid=169&quot;&gt;顯示變更&lt;/a&gt;</summary>
		<author><name>imported&gt;Wikiuser</name></author>
	</entry>
	<entry>
		<id>https://wiki.tamedia.com.tw/wiki/index.php?title=Android_Integeration_with_New_AdMob_Mediation_2.0&amp;diff=169&amp;oldid=prev</id>
		<title>imported&gt;Wikiuser 於 2017年5月17日 (三) 09:11</title>
		<link rel="alternate" type="text/html" href="https://wiki.tamedia.com.tw/wiki/index.php?title=Android_Integeration_with_New_AdMob_Mediation_2.0&amp;diff=169&amp;oldid=prev"/>
		<updated>2017-05-17T09:11:33Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://wiki.tamedia.com.tw/wiki/index.php?title=Android_Integeration_with_New_AdMob_Mediation_2.0&amp;amp;diff=169&amp;amp;oldid=168&quot;&gt;顯示變更&lt;/a&gt;</summary>
		<author><name>imported&gt;Wikiuser</name></author>
	</entry>
	<entry>
		<id>https://wiki.tamedia.com.tw/wiki/index.php?title=Android_Integeration_with_New_AdMob_Mediation_2.0&amp;diff=168&amp;oldid=prev</id>
		<title>imported&gt;Wikiuser 於 2016年9月30日 (五) 02:30</title>
		<link rel="alternate" type="text/html" href="https://wiki.tamedia.com.tw/wiki/index.php?title=Android_Integeration_with_New_AdMob_Mediation_2.0&amp;diff=168&amp;oldid=prev"/>
		<updated>2016-09-30T02:30:52Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hant-TW&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上個修訂&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;於 2016年9月30日 (五) 02:30 的修訂&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l110&quot;&gt;行 110：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;行 110：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   			public void onPresentScreen(TWMAd ad) {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   			public void onPresentScreen(TWMAd ad) {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   				customListener.onPresentScreen();&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   				customListener.onPresentScreen();&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;                                //若您需要在AdMob報表上觀察點擊率, 請加入CustomEventBannerListener.onClick()&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;                                customListener.onClick();&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   				&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   				&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   			}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   			}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Wikiuser</name></author>
	</entry>
	<entry>
		<id>https://wiki.tamedia.com.tw/wiki/index.php?title=Android_Integeration_with_New_AdMob_Mediation_2.0&amp;diff=167&amp;oldid=prev</id>
		<title>imported&gt;Wikiuser 於 2016年9月12日 (一) 09:09</title>
		<link rel="alternate" type="text/html" href="https://wiki.tamedia.com.tw/wiki/index.php?title=Android_Integeration_with_New_AdMob_Mediation_2.0&amp;diff=167&amp;oldid=prev"/>
		<updated>2016-09-12T09:09:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hant-TW&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上個修訂&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;於 2016年9月12日 (一) 09:09 的修訂&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l75&quot;&gt;行 75：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;行 75：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   		}else if(adSize.equals(AdSize.IAB_LEADERBOARD)){&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   		}else if(adSize.equals(AdSize.IAB_LEADERBOARD)){&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   			return TWMAdSize.IAB_LEADERBOARD;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   			return TWMAdSize.IAB_LEADERBOARD;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  		}else if(adSize.equals(AdSize.SMART_BANNER)){&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  		        return TWMAdSize.SMART_BANNER;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   		}else{&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   		}else{&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  			&lt;/del&gt;return TWMAdSize.BANNER;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;                        &lt;/ins&gt;return TWMAdSize.BANNER;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   		}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   		}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   	}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   	}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Wikiuser</name></author>
	</entry>
	<entry>
		<id>https://wiki.tamedia.com.tw/wiki/index.php?title=Android_Integeration_with_New_AdMob_Mediation_2.0&amp;diff=166&amp;oldid=prev</id>
		<title>imported&gt;Wikiuser 於 2015年2月12日 (四) 10:26</title>
		<link rel="alternate" type="text/html" href="https://wiki.tamedia.com.tw/wiki/index.php?title=Android_Integeration_with_New_AdMob_Mediation_2.0&amp;diff=166&amp;oldid=prev"/>
		<updated>2015-02-12T10:26:28Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hant-TW&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上個修訂&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;於 2015年2月12日 (四) 10:26 的修訂&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l182&quot;&gt;行 182：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;行 182：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   	public void requestInterstitialAd(&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   	public void requestInterstitialAd(&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   			final CustomEventInterstitialListener customListener,&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   			final CustomEventInterstitialListener customListener,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   			Activity activity, String &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;serverParameter&lt;/del&gt;, String &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;label&lt;/del&gt;,&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   			Activity activity, String &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;label&lt;/ins&gt;, String &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;serverParameter&lt;/ins&gt;,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   			MediationAdRequest request, Object extra) {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   			MediationAdRequest request, Object extra) {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   		interstitialAd = new TWMInterstitialAd(activity, serverParameter);&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   		interstitialAd = new TWMInterstitialAd(activity, serverParameter);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Wikiuser</name></author>
	</entry>
	<entry>
		<id>https://wiki.tamedia.com.tw/wiki/index.php?title=Android_Integeration_with_New_AdMob_Mediation_2.0&amp;diff=165&amp;oldid=prev</id>
		<title>imported&gt;Wikiuser 於 2015年2月12日 (四) 10:25</title>
		<link rel="alternate" type="text/html" href="https://wiki.tamedia.com.tw/wiki/index.php?title=Android_Integeration_with_New_AdMob_Mediation_2.0&amp;diff=165&amp;oldid=prev"/>
		<updated>2015-02-12T10:25:39Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hant-TW&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上個修訂&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;於 2015年2月12日 (四) 10:25 的修訂&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l85&quot;&gt;行 85：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;行 85：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   	@Override&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   	@Override&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   	public void requestBannerAd(final CustomEventBannerListener customListener, Activity activity,&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   	public void requestBannerAd(final CustomEventBannerListener customListener, Activity activity,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   			String &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;serverParameter&lt;/del&gt;, String &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;label&lt;/del&gt;, AdSize adSize, MediationAdRequest request,&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   			String &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;label&lt;/ins&gt;, String &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;serverParameter&lt;/ins&gt;, AdSize adSize, MediationAdRequest request,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   			Object extras) {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   			Object extras) {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   		Log.d(TAG, &amp;quot;requestBannerAd(&amp;quot;+label+&amp;quot;/&amp;quot;+serverParameter+&amp;quot;) invoked!!&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   		Log.d(TAG, &amp;quot;requestBannerAd(&amp;quot;+label+&amp;quot;/&amp;quot;+serverParameter+&amp;quot;) invoked!!&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Wikiuser</name></author>
	</entry>
	<entry>
		<id>https://wiki.tamedia.com.tw/wiki/index.php?title=Android_Integeration_with_New_AdMob_Mediation_2.0&amp;diff=164&amp;oldid=prev</id>
		<title>imported&gt;Wikiuser 於 2014年6月13日 (五) 08:30</title>
		<link rel="alternate" type="text/html" href="https://wiki.tamedia.com.tw/wiki/index.php?title=Android_Integeration_with_New_AdMob_Mediation_2.0&amp;diff=164&amp;oldid=prev"/>
		<updated>2014-06-13T08:30:58Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hant-TW&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上個修訂&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;於 2014年6月13日 (五) 08:30 的修訂&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l234&quot;&gt;行 234：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;行 234：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   }&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;::[[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;媒體:TAMedia Android SDK.zip&lt;/del&gt;|Download Android SDK and Sample]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;::[[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Download_Android_SDK_2&lt;/ins&gt;|Download Android SDK and Sample]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;::加入必要的權限&amp;lt;br/&amp;gt;TWMAd服務需使用”存取網路狀態”、”讀取約略位置”、”網路”等權限，請在AndroidManifest.xml檔案當中進行下列權限的宣告。&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;::加入必要的權限&amp;lt;br/&amp;gt;TWMAd服務需使用”存取網路狀態”、”讀取約略位置”、”網路”等權限，請在AndroidManifest.xml檔案當中進行下列權限的宣告。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;lt;uses-permission android:name=&amp;quot;android.permission.INTERNET&amp;quot;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;lt;uses-permission android:name=&amp;quot;android.permission.INTERNET&amp;quot;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Wikiuser</name></author>
	</entry>
	<entry>
		<id>https://wiki.tamedia.com.tw/wiki/index.php?title=Android_Integeration_with_New_AdMob_Mediation_2.0&amp;diff=163&amp;oldid=prev</id>
		<title>imported&gt;Wikiuser：新頁面: *新版AdMob Mediation整合 新版AdMob網站, https://apps.admob.com, 登入後點選 &quot;&lt;b&gt;營利&lt;/b&gt;&quot;, 並點選將要新增&quot;&lt;b&gt;廣告中介服務&lt;/b&gt;&quot;的應用程式&lt;br/&gt; File:and...</title>
		<link rel="alternate" type="text/html" href="https://wiki.tamedia.com.tw/wiki/index.php?title=Android_Integeration_with_New_AdMob_Mediation_2.0&amp;diff=163&amp;oldid=prev"/>
		<updated>2014-06-13T08:01:56Z</updated>

		<summary type="html">&lt;p&gt;新頁面: *新版AdMob Mediation整合 新版AdMob網站, https://apps.admob.com, 登入後點選 &amp;quot;&amp;lt;b&amp;gt;營利&amp;lt;/b&amp;gt;&amp;quot;, 並點選將要新增&amp;quot;&amp;lt;b&amp;gt;廣告中介服務&amp;lt;/b&amp;gt;&amp;quot;的應用程式&amp;lt;br/&amp;gt; File:and...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新頁面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;*新版AdMob Mediation整合&lt;br /&gt;
新版AdMob網站, https://apps.admob.com, 登入後點選 &amp;quot;&amp;lt;b&amp;gt;營利&amp;lt;/b&amp;gt;&amp;quot;,&lt;br /&gt;
並點選將要新增&amp;quot;&amp;lt;b&amp;gt;廣告中介服務&amp;lt;/b&amp;gt;&amp;quot;的應用程式&amp;lt;br/&amp;gt; [[File:android_22.png]]  ,&amp;lt;br/&amp;gt; &lt;br /&gt;
點選&amp;quot;&amp;lt;b&amp;gt;編輯中介服務&amp;lt;/b&amp;gt;&amp;quot;, 出現中介服務編輯畫面,選擇&amp;quot;&amp;lt;b&amp;gt;新增廣告聯播網&amp;lt;/b&amp;gt;&amp;quot;&amp;lt;br/&amp;gt; [[檔案:android_23.png]]&amp;lt;br/&amp;gt; &lt;br /&gt;
再點選&amp;quot;&amp;lt;b&amp;gt;+自訂事件&amp;lt;/b&amp;gt;&amp;quot;&amp;lt;br/&amp;gt;[[檔案:android_24.png]],&amp;lt;br/&amp;gt;  出現自訂事件設定畫面 &amp;lt;br/&amp;gt;[[檔案:android_25.png]],&amp;lt;br/&amp;gt;&lt;br /&gt;
依序填入 &lt;br /&gt;
#Class Name : 請填入實作(implements &amp;lt;b&amp;gt;com.google.ads.mediation.customevent.CustomEventBanner&amp;lt;/b&amp;gt;)的類別名稱(含完整的package name, 如&amp;lt;b&amp;gt;com.taiwanmobile.pt.adp.mediation.TAMediaBanner&amp;lt;/b&amp;gt;)&lt;br /&gt;
# Label : TAMedia (任意自定的名稱)&lt;br /&gt;
# Parameter : 請填入您的TAMedia Slot Id (可向您的TAMedia窗口詢問),&amp;lt;br/&amp;gt;&lt;br /&gt;
完成後,按下左下角的&amp;quot;儲存&amp;quot;,將自訂事件的內容儲存起來, 並回到應用程式管理畫面,[[檔案:android_26.png]]&amp;lt;br/&amp;gt;再按一次&amp;quot;儲存&amp;quot;將廣告中介服務的設定進行儲存&lt;br /&gt;
&lt;br /&gt;
::*整合至應用程式&lt;br /&gt;
:::*Banner,依照下述方式將AdMob所提供的CustomEventBanner進行實作&lt;br /&gt;
  package com.taiwanmobile.pt.adp.mediation;&lt;br /&gt;
  &lt;br /&gt;
  import android.app.Activity;&lt;br /&gt;
  &lt;br /&gt;
  import com.google.ads.AdRequest;&lt;br /&gt;
  import com.google.ads.AdSize;&lt;br /&gt;
  import com.google.ads.mediation.MediationAdRequest;&lt;br /&gt;
  import com.google.ads.mediation.customevent.CustomEventBanner;&lt;br /&gt;
  import com.google.ads.mediation.customevent.CustomEventBannerListener;&lt;br /&gt;
  import com.taiwanmobile.pt.adp.view.TWMAd;&lt;br /&gt;
  import com.taiwanmobile.pt.adp.view.TWMAdRequest;&lt;br /&gt;
  import com.taiwanmobile.pt.adp.view.TWMAdRequest.ErrorCode;&lt;br /&gt;
  import com.taiwanmobile.pt.adp.view.TWMAdSize;&lt;br /&gt;
  import com.taiwanmobile.pt.adp.view.TWMAdView;&lt;br /&gt;
  import com.taiwanmobile.pt.adp.view.TWMAdViewListener;&lt;br /&gt;
  import com.taiwanmobile.pt.util.Log;&lt;br /&gt;
  // 需將本class的完整類別名稱 com.taiwanmobile.pt.adp.mediation.TAMediaBanner註冊於mediation的設定頁面上, 如前述章節所述&lt;br /&gt;
  public class TAMediaBanner implements CustomEventBanner {&lt;br /&gt;
  	&lt;br /&gt;
  	private static final String TAG = &amp;quot;TAMediaBanner&amp;quot;;&lt;br /&gt;
  &lt;br /&gt;
  	@Override&lt;br /&gt;
  	public void destroy() {&lt;br /&gt;
  		&lt;br /&gt;
  		if(adView != null){&lt;br /&gt;
  			adView.destroy();&lt;br /&gt;
  		}&lt;br /&gt;
  		&lt;br /&gt;
  	}&lt;br /&gt;
  	&lt;br /&gt;
  	//將AdMob所提供的MediationAdRequest轉換為TWMAdRequest&lt;br /&gt;
  	private TWMAdRequest convertAdRequest(MediationAdRequest request) {&lt;br /&gt;
  		TWMAdRequest adRequest = new TWMAdRequest();&lt;br /&gt;
  		if (request.getBirthday() != null) {&lt;br /&gt;
  			adRequest.setBirthday(request.getBirthday());&lt;br /&gt;
  		}&lt;br /&gt;
  		if (request.getAgeInYears() != null) {&lt;br /&gt;
  			adRequest.setAge(request.getAgeInYears());&lt;br /&gt;
  		}&lt;br /&gt;
  &lt;br /&gt;
  		if (request.getGender() != null) {&lt;br /&gt;
  			if (request.getGender().equals(AdRequest.Gender.FEMALE)) {&lt;br /&gt;
  				adRequest.setGender(TWMAdRequest.Gender.FEMALE);&lt;br /&gt;
  			} else if (request.getGender().equals(AdRequest.Gender.MALE)) {&lt;br /&gt;
  				adRequest.setGender(TWMAdRequest.Gender.MALE);&lt;br /&gt;
  			} else {&lt;br /&gt;
  				adRequest.setGender(TWMAdRequest.Gender.UNKNOWN);&lt;br /&gt;
  			}&lt;br /&gt;
  		}&lt;br /&gt;
  &lt;br /&gt;
  		return adRequest;&lt;br /&gt;
  	}&lt;br /&gt;
  	&lt;br /&gt;
  	//將AdMob的AdSize轉換為TWMAdSize&lt;br /&gt;
  	private TWMAdSize convertAdSize(AdSize adSize) {&lt;br /&gt;
  		if(adSize.equals(AdSize.BANNER)){&lt;br /&gt;
  			return TWMAdSize.BANNER;&lt;br /&gt;
  		}else if(adSize.equals(AdSize.IAB_BANNER)){&lt;br /&gt;
  			return TWMAdSize.IAB_BANNER;&lt;br /&gt;
  		}else if(adSize.equals(AdSize.IAB_MRECT)){&lt;br /&gt;
  			return TWMAdSize.IAB_MRECT;&lt;br /&gt;
  		}else if(adSize.equals(AdSize.IAB_LEADERBOARD)){&lt;br /&gt;
  			return TWMAdSize.IAB_LEADERBOARD;&lt;br /&gt;
  		}else{&lt;br /&gt;
  			return TWMAdSize.BANNER;&lt;br /&gt;
  		}&lt;br /&gt;
  	}&lt;br /&gt;
  	&lt;br /&gt;
  	&lt;br /&gt;
  	private TWMAdView adView = null;&lt;br /&gt;
  &lt;br /&gt;
  	@Override&lt;br /&gt;
  	public void requestBannerAd(final CustomEventBannerListener customListener, Activity activity,&lt;br /&gt;
  			String serverParameter, String label, AdSize adSize, MediationAdRequest request,&lt;br /&gt;
  			Object extras) {&lt;br /&gt;
  		Log.d(TAG, &amp;quot;requestBannerAd(&amp;quot;+label+&amp;quot;/&amp;quot;+serverParameter+&amp;quot;) invoked!!&amp;quot;);&lt;br /&gt;
  		&lt;br /&gt;
  		adView = new TWMAdView(activity,convertAdSize(adSize),label);&lt;br /&gt;
  		&lt;br /&gt;
  		adView.setAdListener(new TWMAdViewListener(){&lt;br /&gt;
  &lt;br /&gt;
  			@Override&lt;br /&gt;
  			public void onReceiveAd(TWMAd ad) {&lt;br /&gt;
  				customListener.onReceivedAd(adView);&lt;br /&gt;
  				&lt;br /&gt;
  			}&lt;br /&gt;
  &lt;br /&gt;
  			@Override&lt;br /&gt;
  			public void onFailedToReceiveAd(TWMAd ad, ErrorCode errorCode) {&lt;br /&gt;
  				customListener.onFailedToReceiveAd();&lt;br /&gt;
  				&lt;br /&gt;
  			}&lt;br /&gt;
  &lt;br /&gt;
  			@Override&lt;br /&gt;
  			public void onPresentScreen(TWMAd ad) {&lt;br /&gt;
  				customListener.onPresentScreen();&lt;br /&gt;
  				&lt;br /&gt;
  			}&lt;br /&gt;
  &lt;br /&gt;
  			@Override&lt;br /&gt;
  			public void onDismissScreen(TWMAd ad) {&lt;br /&gt;
  				customListener.onDismissScreen();&lt;br /&gt;
  				&lt;br /&gt;
  			}&lt;br /&gt;
  &lt;br /&gt;
  			@Override&lt;br /&gt;
  			public void onLeaveApplication(TWMAd ad) {&lt;br /&gt;
  				customListener.onLeaveApplication();&lt;br /&gt;
  				&lt;br /&gt;
  			}&lt;br /&gt;
  			&lt;br /&gt;
  		});&lt;br /&gt;
  		&lt;br /&gt;
  		adView.loadAd(convertAdRequest(request));&lt;br /&gt;
  		&lt;br /&gt;
  		&lt;br /&gt;
  	}&lt;br /&gt;
  &lt;br /&gt;
  }&lt;br /&gt;
:::*Interstitial,依照下述方式將AdMob所提供的CustomEventInterstitial進行實作&lt;br /&gt;
  package com.taiwanmobile.pt.adp.mediation;&lt;br /&gt;
  &lt;br /&gt;
  import android.app.Activity;&lt;br /&gt;
  &lt;br /&gt;
  import com.google.ads.AdRequest;&lt;br /&gt;
  import com.google.ads.mediation.MediationAdRequest;&lt;br /&gt;
  import com.google.ads.mediation.customevent.CustomEventInterstitial;&lt;br /&gt;
  import com.google.ads.mediation.customevent.CustomEventInterstitialListener;&lt;br /&gt;
  import com.taiwanmobile.pt.adp.view.TWMAd;&lt;br /&gt;
  import com.taiwanmobile.pt.adp.view.TWMAdRequest;&lt;br /&gt;
  import com.taiwanmobile.pt.adp.view.TWMAdRequest.ErrorCode;&lt;br /&gt;
  import com.taiwanmobile.pt.adp.view.TWMAdViewListener;&lt;br /&gt;
  import com.taiwanmobile.pt.adp.view.TWMInterstitialAd;&lt;br /&gt;
  // 需將本class的完整類別名稱 com.taiwanmobile.pt.adp.mediation.TAMediaBanner註冊於mediation的設定頁面上, 如前述章節所述&lt;br /&gt;
  public class TAMediaInterstitial implements CustomEventInterstitial {&lt;br /&gt;
  &lt;br /&gt;
  	// 將AdMob所提供的MediationAdRequest轉換為TWMAdRequest&lt;br /&gt;
  	private TWMAdRequest convertAdRequest(MediationAdRequest request) {&lt;br /&gt;
  		TWMAdRequest adRequest = new TWMAdRequest();&lt;br /&gt;
  		if (request.getBirthday() != null) {&lt;br /&gt;
  			adRequest.setBirthday(request.getBirthday());&lt;br /&gt;
  		}&lt;br /&gt;
  		if (request.getAgeInYears() != null) {&lt;br /&gt;
  			adRequest.setAge(request.getAgeInYears());&lt;br /&gt;
  		}&lt;br /&gt;
  &lt;br /&gt;
  		if (request.getGender() != null) {&lt;br /&gt;
  			if (request.getGender().equals(AdRequest.Gender.FEMALE)) {&lt;br /&gt;
  				adRequest.setGender(TWMAdRequest.Gender.FEMALE);&lt;br /&gt;
  			} else if (request.getGender().equals(AdRequest.Gender.MALE)) {&lt;br /&gt;
  				adRequest.setGender(TWMAdRequest.Gender.MALE);&lt;br /&gt;
  			} else {&lt;br /&gt;
  				adRequest.setGender(TWMAdRequest.Gender.UNKNOWN);&lt;br /&gt;
  			}&lt;br /&gt;
  		}&lt;br /&gt;
  &lt;br /&gt;
  		return adRequest;&lt;br /&gt;
  	}&lt;br /&gt;
  &lt;br /&gt;
  	@Override&lt;br /&gt;
  	public void destroy() {&lt;br /&gt;
  		// TODO Auto-generated method stub&lt;br /&gt;
  &lt;br /&gt;
  	}&lt;br /&gt;
  &lt;br /&gt;
  	private TWMInterstitialAd interstitialAd = null;&lt;br /&gt;
  &lt;br /&gt;
  	@Override&lt;br /&gt;
  	public void requestInterstitialAd(&lt;br /&gt;
  			final CustomEventInterstitialListener customListener,&lt;br /&gt;
  			Activity activity, String serverParameter, String label,&lt;br /&gt;
  			MediationAdRequest request, Object extra) {&lt;br /&gt;
  		interstitialAd = new TWMInterstitialAd(activity, serverParameter);&lt;br /&gt;
  &lt;br /&gt;
  		interstitialAd.setAdListener(new TWMAdViewListener() {&lt;br /&gt;
  &lt;br /&gt;
  			@Override&lt;br /&gt;
  			public void onReceiveAd(TWMAd ad) {&lt;br /&gt;
  				customListener.onReceivedAd();&lt;br /&gt;
  &lt;br /&gt;
  			}&lt;br /&gt;
  &lt;br /&gt;
  			@Override&lt;br /&gt;
  			public void onFailedToReceiveAd(TWMAd ad, ErrorCode errorCode) {&lt;br /&gt;
  				customListener.onFailedToReceiveAd();&lt;br /&gt;
  &lt;br /&gt;
  			}&lt;br /&gt;
  &lt;br /&gt;
  			@Override&lt;br /&gt;
  			public void onPresentScreen(TWMAd ad) {&lt;br /&gt;
  				customListener.onPresentScreen();&lt;br /&gt;
  &lt;br /&gt;
  			}&lt;br /&gt;
  &lt;br /&gt;
  			@Override&lt;br /&gt;
  			public void onDismissScreen(TWMAd ad) {&lt;br /&gt;
  				customListener.onDismissScreen();&lt;br /&gt;
  &lt;br /&gt;
  			}&lt;br /&gt;
  &lt;br /&gt;
  			@Override&lt;br /&gt;
  			public void onLeaveApplication(TWMAd ad) {&lt;br /&gt;
  				customListener.onLeaveApplication();&lt;br /&gt;
  &lt;br /&gt;
  			}&lt;br /&gt;
  &lt;br /&gt;
  		});&lt;br /&gt;
  &lt;br /&gt;
  		interstitialAd.loadAd(convertAdRequest(request));&lt;br /&gt;
  &lt;br /&gt;
  	}&lt;br /&gt;
  &lt;br /&gt;
  	@Override&lt;br /&gt;
  	public void showInterstitial() {&lt;br /&gt;
  		if (interstitialAd != null) {&lt;br /&gt;
  			interstitialAd.show();&lt;br /&gt;
  		}&lt;br /&gt;
  &lt;br /&gt;
  	}&lt;br /&gt;
  &lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
::[[媒體:TAMedia Android SDK.zip|Download Android SDK and Sample]]&lt;br /&gt;
::加入必要的權限&amp;lt;br/&amp;gt;TWMAd服務需使用”存取網路狀態”、”讀取約略位置”、”網路”等權限，請在AndroidManifest.xml檔案當中進行下列權限的宣告。&lt;br /&gt;
 &amp;lt;uses-permission android:name=&amp;quot;android.permission.INTERNET&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;uses-permission android:name=&amp;quot;android.permission.READ_PHONE_STATE&amp;quot; /&amp;gt;&lt;br /&gt;
 &amp;lt;uses-permission android:name=&amp;quot;android.permission.ACCESS_COARSE_LOCATION&amp;quot;/&amp;gt; &amp;amp;lt;!-- optional --&amp;amp;gt;&lt;br /&gt;
 &amp;lt;uses-permission android:name=&amp;quot;android.permission.ACCESS_FINE_LOCATION&amp;quot; /&amp;gt; &amp;amp;lt;!-- optional --&amp;amp;gt;&lt;br /&gt;
 &amp;lt;uses-permission android:name=&amp;quot;android.permission.ACCESS_WIFI_STATE&amp;quot; /&amp;gt;&lt;br /&gt;
 &amp;lt;uses-permission android:name=&amp;quot;android.permission.ACCESS_NETWORK_STATE&amp;quot;/&amp;gt; &lt;br /&gt;
 &amp;lt;uses-permission android:name=&amp;quot;android.permission.VIRBATE&amp;quot; /&amp;gt; &amp;amp;lt;!-- optional --&amp;amp;gt;&lt;br /&gt;
::加入必要Activity&lt;br /&gt;
 &amp;amp;lt;!-- TAMedia Activities --&amp;amp;gt;&lt;br /&gt;
 &amp;lt;activity&lt;br /&gt;
  android:name=&amp;quot;com.taiwanmobile.pt.adp.view.TWMAdActivity&amp;quot;           &lt;br /&gt;
  android:configChanges=&amp;quot;orientation|keyboardHidden|navigation|keyboard|screenLayout|uiMode|screenSize|smallestScreenSize&amp;quot;&lt;br /&gt;
  android:hardwareAccelerated=&amp;quot;true&amp;quot;&lt;br /&gt;
  android:theme=&amp;quot;@android:style/Theme.Translucent&amp;quot; &amp;gt;&lt;br /&gt;
 &amp;lt;/activity&amp;gt;&lt;br /&gt;
 &amp;lt;/activity&amp;gt;&lt;br /&gt;
 &amp;amp;lt;!-- Google Play Service Activities --&amp;amp;gt;&lt;br /&gt;
 &amp;lt;meta-data&lt;br /&gt;
            android:name=&amp;quot;com.google.android.gms.version&amp;quot;&lt;br /&gt;
            android:value=&amp;quot;@integer/google_play_services_version&amp;quot; /&amp;gt;&lt;br /&gt;
 &amp;lt;activity&lt;br /&gt;
            android:name=&amp;quot;com.google.android.gms.ads.AdActivity&amp;quot;&lt;br /&gt;
            android:configChanges=&amp;quot;keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize&amp;quot; /&amp;gt;&lt;br /&gt;
::在layout檔案中加入可放置廣告的LinearLayout(※僅供參考,開發者可依照自訂的layout進行配置使用)&lt;br /&gt;
 &amp;lt;LinearLayout&lt;br /&gt;
 android:id=&amp;quot;@+id/Layout_AdView&amp;quot;&lt;br /&gt;
 android:layout_width=&amp;quot;wrap_content&amp;quot;&lt;br /&gt;
 android:layout_height=&amp;quot;wrap_content&amp;quot; /&amp;gt;&lt;br /&gt;
::在程式加入Ad的宣告&lt;br /&gt;
  public class MainActivity extends Activity {&lt;br /&gt;
   LinearLayout layout = null;&lt;br /&gt;
   @Override&lt;br /&gt;
   public void onCreate(Bundle savedInstanceState) {&lt;br /&gt;
    super.onCreate(savedInstanceState);&lt;br /&gt;
    setContentView(R.layout.main);&lt;br /&gt;
    layout = (LinearLayout) this.findViewById(R.id.Layout_AdView);&lt;br /&gt;
    adView = new AdView(this);&lt;br /&gt;
    adView.setAdUnitId(&amp;quot;&amp;lt;Mediation ID&amp;gt;&amp;quot;);&lt;br /&gt;
    adView.setAdSize(AdSize.BANNER);    &lt;br /&gt;
    layout.addView(adView);&lt;br /&gt;
    AdRequest request = new AdRequest.Builder().build();&lt;br /&gt;
    adView.loadAd(request);&lt;br /&gt;
   }&lt;br /&gt;
::*聯播網投放與維護&lt;br /&gt;
::當APP設定好Mediation並且發佈出去後，可直接透過Mediation網頁進行版位管理與聯播網比率調整，此設定會在1小時後生效。&lt;/div&gt;</summary>
		<author><name>imported&gt;Wikiuser</name></author>
	</entry>
</feed>