Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Plugin GoogleAds_IMA] Not displayed ad #9165

Open
gbrn opened this issue Jun 27, 2024 · 19 comments
Open

[Plugin GoogleAds_IMA] Not displayed ad #9165

gbrn opened this issue Jun 27, 2024 · 19 comments
Labels

Comments

@gbrn
Copy link
Contributor

gbrn commented Jun 27, 2024

@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 gbrn added the bug label Jun 27, 2024
@mankota
Copy link

mankota commented Jun 27, 2024

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

@DanielnetoDotCom
Copy link
Member

@gbrn
Copy link
Contributor Author

gbrn commented Jun 27, 2024

@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.

@DanielnetoDotCom
Copy link
Member

So do you mean you cannot uncheck this?

the default is always unchecked

@gbrn
Copy link
Contributor Author

gbrn commented Jun 27, 2024

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?

@DanielnetoDotCom
Copy link
Member

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

@gbrn
Copy link
Contributor Author

gbrn commented Jun 27, 2024

  • 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: myemail@mydomain.com result:  SCRIPT_NAME: /objects/videoAddViewCount.json.php
 [27-Jun-2024 17:41:23 UTC] AVideoLog::DEBUG: user::recreateLoginFromCookie: do cookie-login: myemail@mydomain.com 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: myemail@mydomain.com user found myemail@mydomain.com 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 myemail@mydomain.com SCRIPT_NAME: /plugin/GoogleAds_IMA/VMAP.php
 [27-Jun-2024 17:41:23 UTC] AVideoLog::DEBUG: getUserDbFromUser will also check the email myemail@mydomain.com  SCRIPT_NAME: /plugin/GoogleAds_IMA/VMAP.php
 [27-Jun-2024 17:41:23 UTC] AVideoLog::DEBUG: user::recreateLoginFromCookie: user cookie found: myemail@mydomain.com result:  SCRIPT_NAME: /plugin/GoogleAds_IMA/VMAP.php

@DanielnetoDotCom
Copy link
Member

share the video page where it supposed to have an ad

@gbrn
Copy link
Contributor Author

gbrn commented Jun 27, 2024

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

@DanielnetoDotCom
Copy link
Member

You may want to use our free plugin AdBlockerDetector

@gbrn
Copy link
Contributor Author

gbrn commented Jun 28, 2024

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?

@DanielnetoDotCom
Copy link
Member

Hi

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

@gbrn
Copy link
Contributor Author

gbrn commented Jul 15, 2024

@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

@DanielnetoDotCom
Copy link
Member

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

@gbrn
Copy link
Contributor Author

gbrn commented Jul 17, 2024

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

@gbrn
Copy link
Contributor Author

gbrn commented Aug 16, 2024

@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?

@DanielnetoDotCom
Copy link
Member

to use doubleclick URLs you need the GoogleAds_IMA plugin

@gbrn
Copy link
Contributor Author

gbrn commented Aug 20, 2024

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

image
image

@DanielnetoDotCom
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants