mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 12:09:51 +02:00
feat: re-enable adsense
This commit is contained in:
1 parent
6a48638171
commit
c615284d87
2 files changed
+15
-15
No files matched your search
@@ -1,14 +1,14 @@
|
|||||||
import { useEffect } from 'react';
|
|
||||||
|
|
||||||
export function AdHorizontal() {
|
export function AdHorizontal() {
|
||||||
useEffect(() => {
|
// useEffect(() => {
|
||||||
(window as any).msAdsQueue.push(() => {
|
// (window as any).msAdsQueue.push(() => {
|
||||||
(window as any).pubCenterSdk.render({
|
// (window as any).pubCenterSdk.render({
|
||||||
adUnitId: '635230699',
|
// adUnitId: '635230699',
|
||||||
elementId: 'ms-ad-635230699',
|
// elementId: 'ms-ad-635230699',
|
||||||
});
|
// });
|
||||||
});
|
// });
|
||||||
});
|
// });
|
||||||
|
|
||||||
return <div id="ms-ad-635230699" />;
|
// return <div id="ms-ad-635230699" />;
|
||||||
|
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
@@ -25,18 +25,18 @@ export function Party3() {
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
{/* adsense */}
|
{/* adsense */}
|
||||||
{/* <script
|
<script
|
||||||
async
|
async
|
||||||
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1289406790225052"
|
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1289406790225052"
|
||||||
crossOrigin="anonymous"
|
crossOrigin="anonymous"
|
||||||
/> */}
|
/>
|
||||||
|
|
||||||
{/* pub center */}
|
{/* pub center */}
|
||||||
<script
|
{/* <script
|
||||||
async
|
async
|
||||||
src="https://adsdk.microsoft.com/pubcenter/sdk.js?siteId=364477&publisherId=253617120"
|
src="https://adsdk.microsoft.com/pubcenter/sdk.js?siteId=364477&publisherId=253617120"
|
||||||
crossOrigin="anonymous"
|
crossOrigin="anonymous"
|
||||||
/>
|
/> */}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user