Neil Lalonde
e6bcd96d8e
FEATURE: use groups to control who sees ads" and all later
2019-04-17 15:40:50 -04:00
Neil Lalonde
50d258dc37
Revert "FEATURE: use groups to control who sees ads" and all later
...
Revert "Updates to codefund-ad"
Revert "Updates to carbonads-ad"
Revert "Updates to amazon-product-links"
2019-04-17 15:37:09 -04:00
Neil Lalonde
4fd7caffd6
FEATURE: use groups to control who sees ads
...
A new setting has been added in Admin > Settings > Ad Plugin called
"no ads for groups". Add group names to this list. If a user belongs
to any of the groups, they will not see any ads. This is an alternative
to using trust level settings like "adsense through trust level".
2019-04-17 11:36:50 -04:00
Neil Lalonde
943acbfeb1
Add some js tests, and update adsense js
2019-04-17 11:36:47 -04:00
David Taylor
2e36e2c656
DEV: Apply prettier
2018-10-22 19:49:32 +01:00
Neil Lalonde
9df93c03a7
AdSense: allow choosing ad size for mobile, including responsive
2017-05-30 18:13:49 -04:00
Neil Lalonde
62377e6111
Support for AdSense responsive ad size
2017-05-30 15:54:59 -04:00
Neil Lalonde
620404ab9e
FIX: AdSense ads not loading on initial page load. Only load adsbygoogle.js once because it's the async library.
2016-12-05 13:31:11 -05:00
Neil Lalonde
de4a8366fc
FIX: don't load adsbygoogle.js when adsense publisher id isn't set
2016-11-21 15:58:29 -05:00
Neil Lalonde
da1d4e0063
FIX: when dfp/adsense publisher id is missing, don't render blank ad units
2016-11-21 15:55:03 -05:00
Robin Ward
883d5ecd85
FIX: Catch exception if ads can't be rendered
2016-11-09 16:46:09 -05:00
Robin Ward
a70491c720
FIX: HTMLBars doesn't allow <SCRIPT> tags
2016-11-08 16:46:09 -05:00
Neil Lalonde
ef45e3290e
Don't hard-code center justify of AdSense ads. Let position be customized with CSS.
2016-04-04 16:51:34 -04:00
Robin Ward
4ab0f0fab8
Upgrade to new Plugin API
2016-02-22 12:16:09 -05:00
Robin Ward
ebed90fab7
Support linting, clean up some unused variables and weird spacing
2016-02-19 15:29:00 -05:00
Vi Nguyen
1f0d85740e
put mobile ad sizes back to original
...
testing on my forked version instead
2015-12-24 21:10:37 +11:00
Vi Nguyen
a8c0910f5b
changed ad mobile height for adsense
...
temp test for mobile ad height space for testing on mobile.
2015-12-24 20:50:22 +11:00
Ken Cooper
ffbd69688e
Fixed: mobile viewport was too large when presenting ads, making for a sloppy mobile experience. Restricted length of "Advertisement" label to fix it.
2015-10-28 16:51:53 -07:00
Sarah Ni
fe9c53ce58
removed all disable boxes and changed trust levels for amazon
2015-09-21 10:44:37 +10:00
vi
0adc5bfca7
Refactored to only have amazon link/banner ads and refactored for check trust levels
2015-09-16 12:11:50 +10:00
Sarah Ni
647eecd95b
master - more consistent naming for dfp settings and removed test folder
2015-09-10 12:07:36 +10:00
vi
c868d4892a
Removed unused css and irrelevant comments and cleaned up formatting
2015-09-07 20:51:59 +10:00
vi
bdc8a2dff5
Added comment to adsense
2015-09-07 20:38:53 +10:00
vi
7062254c13
Reload fixed added googletag in - Thank you Myles!
2015-09-07 15:15:12 +10:00
vi
8607cefcec
Added mobile slot code for adsense plugin and revisited the reloading issue
2015-09-07 14:26:53 +10:00
vi
9e9d056d75
edited sizes for post bottom and fixed dfp googletag reload
2015-09-04 14:52:08 +10:00
vi
b9945a6e4b
Added comments to pre and post google vars
2015-09-04 10:51:44 +10:00
Sarah Ni
916e53884c
working custom targeting for all locations
2015-09-02 15:23:17 +10:00
Sarah Ni
b0a97df0da
Fixed merge conflicts
2015-09-02 14:28:33 +10:00
vi
5eecf0d731
Fixed up properties in ad mobile sizes for dfp and adsense
2015-09-01 13:44:56 +10:00