• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] google adsense not work on my video

Started by esultanzada,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

esultanzadaTopic starter

Hi,
i create static ads and put the ads script but not showing on my videos,

http://dagh.com/video/67/poole-siah-part26-/
please take a look?
  •  

Wnux

code google adsense " no "
style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-7558161653810241"
data-ad-slot="7948986658">

------
code google adsense " yes "

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 1 -->
<ins class="adsbygoogle"
     style="display:inline-block;width:728px;height:90px"
     data-ad-client="ca-pub-7558161653810241"
     data-ad-slot="7948986658">
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
  •  

marcosoliveira

  •  

elloco

  •  

esultanzadaTopic starter

  •  

PHPVibe A.

Quote from: esultanzada on
support team where r u ???

we have problem!!!!

We were in announced Easter vacation :)

open lib/functions.php

change

<div class="floating-video-ad adx">'._html($ad->jad_body).'<span class=" close-ad"></span></div>

to

<div class="floating-video-ad adx">'._pjs($ad->jad_body).'<span class=" close-ad"></span></div>



elloco

thanks alex, this is awesome... but the ads are a little bit too light/transparent, but i have activate "black boxed"...
did you have a idea`?
  •  

PHPVibe A.

On OnVideoAds, right?
You want to say they are light until you hover them, right?

lib/players/ads.jplayer.css you can tweak the opacity for each video ad type, opacity:1 is fulles (most visible).

elloco

ah okay thank you, but dont works on youtube player right?
  •  

PHPVibe A.

It should show, but not boxed, use jwplayer for youtube videos and it will show.

esultanzadaTopic starter

Quote from: Alexander on
We were in announced Easter vacation :)

open lib/functions.php

change

<div class="floating-video-ad adx">'._html($ad->jad_body).'<span class=" close-ad"></span></div>

to

<div class="floating-video-ad adx">'._pjs($ad->jad_body).'<span class=" close-ad"></span></div>


i changed but not work, you can check it out www.dagh.com
  •  

marcosoliveira

Quote from: Alexander on
We were in announced Easter vacation :)

open lib/functions.php

change

<div class="floating-video-ad adx">'._html($ad->jad_body).'<span class=" close-ad"></span></div>

to

<div class="floating-video-ad adx">'._pjs($ad->jad_body).'<span class=" close-ad"></span></div>



Good morning friends! I just saw the answer here and thank you again!
The adsense ads already appear in my videos as well. \ o /  ;D
  •  

esultanzadaTopic starter

Quote from: marcosoliveira on

Good morning friends! I just saw the answer here and thank you again!
The adsense ads already appear in my videos as well. \ o /  ;D

What is your phpvibe version?
  •  

PHPVibe A.

Quote from: esultanzada on
i changed but not work, you can check it out www.dagh.com

It seem to me you have an old version of 4.0 , I can see some bugs which were fixed since patch 12

your output is this

<div class="floating-video-ad adx"><span class=" close-ad"></span></div>

Your ad has no content...
Btw, the old ads where removed in 4.0, they where moved to jads, you'll need to recreate them.

esultanzadaTopic starter

Quote from: Alexander on
It seem to me you have an old version of 4.0 , I can see some bugs which were fixed since patch 12

your output is this

<div class="floating-video-ad adx"><span class=" close-ad"></span></div>

Your ad has no content...
Btw, the old ads where removed in 4.0, they where moved to jads, you'll need to recreate them.

what should i do now? you released new version of 4.0??
  •  

PHPVibe A.


esultanzadaTopic starter

  •  

PHPVibe A.

Hi, I don't see any ad code in the sidebar of that site.

Similar topics (7)