[TH] Monetize Pro with DFP & Affiliate Link support

[TH] Monetize Pro with DFP & Affiliate Link support [Paid] 2.2.0

No permission to buy ($45.00)

Alex Hardy

Member


Can you help me?
 

Irishkop

Member
I sometimes get 2 ads appearing on the same page, seems to be the mobile ad and the desktop ad appearing at the same time. Any suggestions...?

 

Jake B.

Well-known member
Ah just took a closer look, it's not showing up in the proper place because of the style. Likely because of the position of the search box.
 

jb-net

Active member
I have some questions before I buy:
  • Is it possible to create a widget with the [bd] Widget Framework (like HTML, Template, ...?) and use it for displaying ads with your plugin?
  • In the documentation passing Targeting Options to dfp is mentioned with the example of the thread title. Is it also possible to pass XenForo 1.5 tags to dfp?
Thanks!
 

Jake B.

Well-known member
  • Is it possible to create a widget with the [bd] Widget Framework (like HTML, Template, ...?) and use it for displaying ads with your plugin?

Yep, you can create a template widget that can contain advertisements :)

  • In the documentation passing Targeting Options to dfp is mentioned with the example of the thread title. Is it also possible to pass XenForo 1.5 tags to dfp?
This is not currently possible, but it likely wouldn't be terribly difficult to get it to work

Jake
 

jb-net

Active member
Hi Jake,

thanks for your quick reply!

Yep, you can create a template widget that can contain advertisements :)

... contain advertisements I'm controlling via your addon and using all the features of your addon?

This is not currently possible, but it likely wouldn't be terribly difficult to get it to work

Will this work in some future version of your addon or do I need to search a solution on my own?

Thanks!
 

Jake B.

Well-known member
... contain advertisements I'm controlling via your addon and using all the features of your addon?

Yep! You just need to include the following in the template for that widget:

Code:
{xen:helper advertisement, 'your_advertisement_zone_id'}

Then create a zone with the ID you set as the parameter on that helper :)

Will this work in some future version of your addon or do I need to search a solution on my own?

I will add this to our list for the next release :)
 

JimF

Member
When exporting stats. Can you exports all owners by ad instead of having to pull stats one owner at a time?
 

Cidrack

Active member
See this resource by @Brogan: https://xenforo.com/community/resources/responsive-adsense.2084/

Doing it using the methods that this add-on uses for other advertisements is against Google's TOS, which is the reason we have that ability disabled for AdSense.
Jake
Hi Jake can you help me?

I used this code to not show the adsense in mobile phones:
Code:
<style type="text/css">
@media (max-width: 300px) { .adslot_1 { display: none; } }
@media (min-width:500px) { .adslot_1 { width: 468px; height: 60px; } }
@media (min-width:800px) { .adslot_1 { width: 728px; height: 90px; } }
</style>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- head 72890 -->
<ins class="adsbygoogle adslot_1"
     style="display:inline-block;"
     data-ad-client="ca-pub-XXXXXXXXX"
     data-ad-slot="XXXXXXXXXX"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>

But the result is that I have more space below logo... seee the image please.

Can you help with this code to fix this?

thanks.

Screenshot_2015-11-05-08-06-09.png
 

Jake B.

Well-known member
Hi Jake can you help me?

I used this code to not show the adsense in mobile phones:
Code:
<style type="text/css">
@media (max-width: 300px) { .adslot_1 { display: none; } }
@media (min-width:500px) { .adslot_1 { width: 468px; height: 60px; } }
@media (min-width:800px) { .adslot_1 { width: 728px; height: 90px; } }
</style>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- head 72890 -->
<ins class="adsbygoogle adslot_1"
     style="display:inline-block;"
     data-ad-client="ca-pub-XXXXXXXXX"
     data-ad-slot="XXXXXXXXXX"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>

But the result is that I have more space below logo... seee the image please.

Can you help with this code to fix this?

thanks.

View attachment 121257

Could you PM me a link to your site please?

Jake
 
Top