AVideo icon indicating copy to clipboard operation
AVideo copied to clipboard

[Plugin GoogleAds_IMA] Not displayed ad

Open gbrn opened this issue 1 year ago • 19 comments

@DanielnetoDotCom I'm running tests with the GoogleAds_IMA Plugin. But I haven't been successful. The ad is not displayed at the beginning of the videos.

The plugin configuration is as follows: image

I'm using the following URL for testing: https://basil79.github.io/vast-sample-tags/pg/vast.xml

Any additional configuration that needs to be done?

gbrn avatar Jun 27 '24 01:06 gbrn

I have similar issue. I have not been able to make the ads display at all.

mankota avatar Jun 27 '24 04:06 mankota

Please check this https://github.com/WWBN/AVideo/wiki/GoogleAds_IMA---Videos-Ads-on-your-page#troubleshooting

DanielnetoDotCom avatar Jun 27 '24 12:06 DanielnetoDotCom

@DanielnetoDotCom The problem is not the URL or the server. This URL I'm using is functional for testing, I checked it and it's working: (https://basil79.github.io/vast-sample-tags/pg/vast.xml). I also tested the URL you sent and it doesn't work: (https://vast.forjesus.tv/vast.xml).

The problem is with the plugin or its configuration.

I checked the LOG: [27-Jun-2024 11:17:52 America/Sao_Paulo] AVideoLog::DEBUG: showAds: CustomizeAdvanced said NOT to show ads on 78 SCRIPT_NAME: /view/videoEmbeded.php

In the CustomizeAdvanced Plugin, there is nothing related to ADS as the log says. But when accessing the video edit, the option to not display advertising in the video appears activated, which I did not activate. All videos look like this:

image

I ask... how do you disable this function of not displaying by default? I did not find it.

It is necessary to check this BUG as even disabling advertising does not work.

gbrn avatar Jun 27 '24 14:06 gbrn

So do you mean you cannot uncheck this?

the default is always unchecked

DanielnetoDotCom avatar Jun 27 '24 15:06 DanielnetoDotCom

I can uncheck it. The default is unchecked. I've already unchecked it and still the URL you sent doesn't work (https://vast.forjesus.tv/vast.xml)

Any settings I should check?

gbrn avatar Jun 27 '24 16:06 gbrn

Make sure it is unckecked, and try again. check your avideo logs, use the https://vast.forjesus.tv/vast.xml for testing and if you can share a video page where the ads should appear

DanielnetoDotCom avatar Jun 27 '24 17:06 DanielnetoDotCom

  • I made sure it is unchecked and tried again
  • Nothing important was recorded in the LOG regarding ADs
  • I am using the URL provided by you

Is there anything in this configuration that should be changed? image

Using the following tool I tested that your URL is functional: https://adplayer.pro/developer/vast_inspector The URL I used previously is also working. So the problem is not the AD server used. image

LOG:

 [27-Jun-2024 17:42:07 UTC] AVideoLog::DEBUG: getUserDbFromUser advancedCustomUser is empty  SCRIPT_NAME: /objects/videoAddViewCount.json.php
 [27-Jun-2024 17:42:07 UTC] AVideoLog::DEBUG: user::recreateLoginFromCookie: user cookie found: [email protected] result:  SCRIPT_NAME: /objects/videoAddViewCount.json.php
 [27-Jun-2024 17:41:23 UTC] AVideoLog::DEBUG: user::recreateLoginFromCookie: do cookie-login: [email protected] id: 119 SCRIPT_NAME: /plugin/GoogleAds_IMA/VMAP.php
 [27-Jun-2024 17:41:23 UTC] AVideoLog::DEBUG: user::recreateLoginFromCookie: resp=0 SCRIPT_NAME: /plugin/GoogleAds_IMA/VMAP.php
 [27-Jun-2024 17:41:23 UTC] AVideoLog::DEBUG: User:login finish with success users_id= 119 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 IP=45.173.144.187 SCRIPT_NAME: /plugin/GoogleAds_IMA/VMAP.php
 [27-Jun-2024 17:41:23 UTC] AVideoLog::DEBUG: setUserCookieCredentials there is already a cookie and is the same user SCRIPT_NAME: /plugin/GoogleAds_IMA/VMAP.php
 [27-Jun-2024 17:41:23 UTC] AVideoLog::DEBUG: setUserCookieCredentials there is already a cookie SCRIPT_NAME: /plugin/GoogleAds_IMA/VMAP.php
 [27-Jun-2024 17:41:23 UTC] AVideoLog::DEBUG: User::find line= 1647 SCRIPT_NAME: /plugin/GoogleAds_IMA/VMAP.php
 [27-Jun-2024 17:41:23 UTC] AVideoLog::DEBUG: [email protected] user found [email protected] SCRIPT_NAME: /plugin/GoogleAds_IMA/VMAP.php
 [27-Jun-2024 17:41:23 UTC] AVideoLog::DEBUG: getUserDbFromUser SELECT * FROM users WHERE user = ?  OR email = ?  LIMIT 1 [email protected] SCRIPT_NAME: /plugin/GoogleAds_IMA/VMAP.php
 [27-Jun-2024 17:41:23 UTC] AVideoLog::DEBUG: getUserDbFromUser will also check the email [email protected]  SCRIPT_NAME: /plugin/GoogleAds_IMA/VMAP.php
 [27-Jun-2024 17:41:23 UTC] AVideoLog::DEBUG: user::recreateLoginFromCookie: user cookie found: [email protected] result:  SCRIPT_NAME: /plugin/GoogleAds_IMA/VMAP.php

gbrn avatar Jun 27 '24 18:06 gbrn

share the video page where it supposed to have an ad

DanielnetoDotCom avatar Jun 27 '24 18:06 DanielnetoDotCom

Danny, it's been resolved... I was forgetting to do a simple test... I just noticed that there is a problem with my browser. I opened an incognito tab without extensions and the ad was displayed.

I use 1 adblock and a Privacy Badger. Even though both are disabled for my domain, there is an AD block. It's very strange that this is happening

It is important to put this detail on WIKI, as it is very simple and goes unnoticed.

image image

gbrn avatar Jun 27 '24 18:06 gbrn

You may want to use our free plugin AdBlockerDetector

DanielnetoDotCom avatar Jun 27 '24 19:06 DanielnetoDotCom

Yes, I checked the AdBlockerDetector plugin, I will be deploying this after the GoogleAds_IMA Plugin.

I'm having trouble finding a VAST ad provider. Google's requirements are very high. Could you recommend me a Brazilian VAST supplier that has ads in Portuguese?

gbrn avatar Jun 28 '24 03:06 gbrn

Hi

Sorry, currently I do not have any one to recommend.

DanielnetoDotCom avatar Jun 28 '24 10:06 DanielnetoDotCom

@DanielnetoDotCom Danny, I was able to obtain the VAST URL for video advertising, but it's showing this error. I can't understand this problem... is the AD player different from the video player? Could you detail this incompatibility so I can discuss it with my supplier?

image

gbrn avatar Jul 15 '24 20:07 gbrn

this looks like you are using out Ad_Server, and you must have a mp4 format for video ads

DanielnetoDotCom avatar Jul 16 '24 15:07 DanielnetoDotCom

@DanielnetoDotCom Danny, there really was a wrong configuration in Ad_Server. I'm running new tests. Thanks.

gbrn avatar Jul 17 '24 00:07 gbrn

@DanielnetoDotCom Danny, getting back to testing GoogleAds_IMA. I can't view VAST videos from the following URL: https://pubads.g.doubleclick.net/gampad/ads?iu=/211182487,22738971863/www.cnetv.com.br_Video&description_url=[placeholder]&tfcd=0&npa=0&sz=480x320&gdfp_req=1&unviewed_position_start=1&output=vast&env=vp&impl=s&correlator=

Can you test it for me?

gbrn avatar Aug 16 '24 04:08 gbrn

to use doubleclick URLs you need the GoogleAds_IMA plugin

DanielnetoDotCom avatar Aug 16 '24 12:08 DanielnetoDotCom

@DanielnetoDotCom Yes, I'm using it... but for me the ads don't load. Could you test this URL on your system?

image image

gbrn avatar Aug 20 '24 14:08 gbrn

I cannot test your tag, if you want to make sure it is working properly you can try with this tag

https://vast.forjesus.tv/vast.xml

this will always return ads.

I cannot guarantee google will provide you with ads

DanielnetoDotCom avatar Aug 21 '24 12:08 DanielnetoDotCom

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 27 '25 11:04 stale[bot]