Hi @neil, what would be the approche to integrate ad network’s javascript with the house ads ? It there a theme component that is doing this ?
Many thanks
Hi @neil, what would be the approche to integrate ad network’s javascript with the house ads ? It there a theme component that is doing this ?
Many thanks
You would probably need to create a plugin that is similar to the AdSense and Ad Manager part of the official ad plugin. House ads is the wrong place to do non-house ads.
Great feature! I have a long list of sponsors, about 20. In my site I randomize them, and would like to here, otherwise I always get the first one on every topic page.
I see three possible solutions:
The feature could add a randomizer. Just a checkbox to randomize the list once before each display, then do each on in turn.
The feature could allow an optional URL to a script which would offer up a random single ad on each call.
I could call that same script in the ad content. I wrote the script but can’t seem to call it. I tried this:
< link rel=“import” href=“http://www.site.com/spon/_banner_spon_comm.php”>
but it didn’t work. Is there a way to fetch from an URL which would be supported by this implementation?
The plugin already starts on a random one and cycles through them evenly in order. Are you sure you added all your ads to the topic list top inventory?
Oh my… now I see what it’s doing. Thanks for the point-out! Lots to learn.
While the granularity is handy and allows each to be selected, it would be nice to have an ‘all’ option, or a multi-select UI. I’m imagining a list of ads down the left side and columns of checkboxes for each ad location… although that is not a UI format I have seen used so far.
Is there a possibility to track views and clicks on the House Ads?
Tracking clicks is easy enough with bitly. Not sure about views.
Wauw It took me some time to find where you download this plugin.
Therefore I paste a link: https://github.com/discourse/discourse-adplugin - it might save some time for others…?
Quick suggestion: I think it would be awesome if some of the global ad plugin options were available for each individual ad.
i.e.
Also, perhaps a new option for ‘no ads on homepage’ (both for global and individual ad settings).
Then you could target house ads, showing different ads for different categories/tags and the homepage.
An alternative would be for the targeting to be positive instead of negative, so you actively select the locations where the ad will be displayed - instead of where it won’t be displayed.
This is fantastic! Great job y’all!!!
광고별로 설정을 할 수 있을까요? 특정 그룹에게만 표시되는 광고를 만들고 싶습니다. 하지만 다른 모든 그룹에 대해 광고를 완전히 끄고 싶지는 않아요.
수정하여 이 질문을 추가합니다: 특정 그룹에게만 표시하려는 광고의 CSS를 편집하여 이걸 달성할 수 있을까요?
네, 이렇게 할 수 있습니다. 현재 사용자의 기본 그룹을 사용하여 해당 페이지의 body 태그에 클래스를 추가합니다. 제 기본 그룹이 "team"이므로, 제 페이지의 body 태그에는 “primary-group-team” 클래스가 적용됩니다.
음… 그런데 제 경우에는 프라이머리 그룹만 지정할 수 있는 것 같아요. 제 상황에서는 그렇게 하면 안 될 것 같습니다.
광고별 설정을 지원하지 않으므로, 주 광고 그룹을 확인하지 않고는 이를 수행할 수 있는 방법이 없습니다.
추가 질문 하나만 드릴게요. 기본 그룹이 없는 사용자를 대상으로 타겟팅할 수 있을까요? 아직 어떤 그룹에도 가입하지 않은 사람들에게만 광고를 노출해서 그들을 그룹 가입으로 유도할 수 있다면, 정말 좋겠어요.
닐, 안녕하세요. 광고를 특정 카테고리로 제한할 수 있는 옵션을 만들어 보셨나요? 만드셨거나 우회 방법이 있다면 정말 좋겠습니다. 제 경우, 각 광고주는 보통 하나의 카테고리에서만 관련이 있습니다.
아니요, 그 기능은 아직 생성되지 않았고, 현재 스펙도 없습니다. 잘못된 카테고리에 있는 광고를 숨기는 데 CSS 클래스를 사용하는 것 외에는 좋은 대안이 없습니다.
하지만 타당한 지적입니다. 특정 카테고리에 광고를 표시하는 것은 분명히 유용합니다. 저는 Discourse를 카테고리별로 다른 언어로 사용하고 있으므로, 특정 카테고리에는 해당 언어로 된 광고가 표시되면 좋겠습니다.
사내 광고를 위해 공식 Ad 플러그인을 사용 중인데, #available-locations-for-ad-display 외에 사용자 지정 위치에 광고를 표시할 수 있는지 궁금합니다.
Edit HTML/CSS 기능을 사용하여 사용자 지정 HTML/CSS 헤더를 추가했는데, 플러그인을 통해 관리자에서 관리되는 사내 광고를 이 사용자 지정 헤더에 넣고 싶습니다.
이것이 가능한가요? 감사합니다!