Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

How to activate ads on embed on a my domain only ?


Hello,

I would like to activate video ads for my videos embedded ONLY on my website. And keep an non monetized embed on other web site.

Could you please tell me how to proceed ?

Thanks in advance,

S.

5 Community Answers

Randy

JW Player Support Agent  
0 rated :

Hello,

From what I can gather you would like to deliver separate ad experiences to your clients? The way I would approach this would be simply capturing the ad data on your main account and possibly setting up another account for the non monetized setup. But before we do that, could you possibly provide me your account details so we can explore options?

Kindly,
Randy

adrien

User  
0 rated :

Hi Randy,

Thanks for your reply.
In fact, we embed our own video contents as relatives at the end of viral photo / text posts of our website.

I would like to activate ads on embed only If the player is embedded on my website, but not if embedded anywhere else.

Is there any way to whitelist our domain to display ads only on it ?

Thanks for your reply,

Sébastien

Randy

JW Player Support Agent  
1 rated :

Hello,

You can probably achieve something to this affect by creating your own personal JS statement that checks for that parameter. (i.e. the website URL as a determining factor). Here’s an example of how this may work but for a mobile user: qa.jwplayer.com/~randy/if_else.html . You could essentially leave out the Ad tag in the second parameter for the user that is not from the desired URL.

Kindly,
Randy

adrien

User  
0 rated :

Thanks Randy. We will try this solution.

best,

Sébastien

Randy

JW Player Support Agent  
0 rated :

Hello Sébastien,

I wanted to check in with you regarding the solution we provided for you. Would it be okay if we were to close out the issue? Do you require any additional information?

Kindly,
Randy

This question has received the maximum number of answers.