إعلانات المنزل في مكون الإعلانات الرسمي

:warning: إذا كنت تشغّل حالياً مانع إعلانات، فستواجه مشكلة كبيرة جداً عند محاولة إعداد هذا! قم بإيقافه قبل المتابعة في هذا المسار! لقد تم تحذيرك. :dragon:

كما يرجى الانتباه إلى المتصفحات التي تتضمن وظيفة مانع إعلانات مدمجة (مثل Brave)

لقد عملت على إضافة دعم للإعلانات الداخلية في إضافة الإعلانات، وأود الحصول على بعض التعليقات حول كيفية استخدامك لها. إليك فيديو يوضح كيفية عملها حالياً:

تحديد مجموعة من الإعلانات باستخدام HTML ودعم القالب المعتاد، ثم إضافتها إلى أماكن الإعلانات المتاحة حالياً. إذا تم تغيير إعدادات الإعلانات أو أماكن عرضها، فإن العملاء سيستقبلون التغييرات فوراً. الأماكن التي تحتوي على أكثر من إعلان ستمرّ عليها بالتناوب بشكل متساوٍ وبالترتيب، بدءاً من إعلان عشوائي.

حالياً، ستظهر الإعلانات الداخلية دائماً بدلاً من شبكات الإعلانات الأخرى المهيأة. لست متأكداً من القواعد التي يجب اتباعها هنا.

:loudspeaker: هل تحتاج إلى مساعدة في إعداد HTML لإعلاناتك؟ راجع الأمثلة في مجموعة قوالب الإعلانات الداخلية!

House Ad Templates

54 إعجابًا

The immediate benefit that comes to mind is (potential) avoidance of ad blockers and general privacy issues associated with network ads.

At the moment Google Ad Manager serves the purpose to show my house and directly sold ads and it fills in remaining inventory with AdSense ads.

Allotting a percentage for house ads in a mixed ad setup could complicate reporting in Google Ad Manager, I think.

7 إعجابات

Yes DFP can definitely do it all, but as you say this feature shouldn’t be detectable by ad blockers. And I’ve already been trying to recommend DFP as the solution for serving house ads, but the answer is usually that DFP is too hard to understand.

12 إعجابًا

Yes, this can definitely be the preferred method for anyone looking for a simpler ad serving solution.

9 إعجابات

just curious, is this the output of house ads?

it’s an interesting action from meta, your choices are inspiring and human-based :clap:. I hope the business goes forward strongly as always.

11 إعجابًا

Yes, we are testing the new feature here on Meta for now so we can check for bugs.

20 إعجابًا

This will be a great plugin! thanks for making it. Here are my thoughts…

  • It will be good if there is ad rotation for the same spot, in house ads. This will also help to promote sites important posts.
  • Time based ads is also a good idea, 50% in house ads and 50% other type of ads.
  • Provide option for text link, html ads and also banner ads? May be admin can upload banner and provide related link. This ads can run on posts only.
3 إعجابات

If you’ve been browsing Meta you should see that the adverts at the bottom of the page are rotating.

3 إعجابات

I haven’t played around with the ad plugin yet, but is it possible to run house ads alongside network ads? I may have a use case for that in the community I run.

3 إعجابات

This is all currently possible because you can make text links and show images with simple html. Upload your assets in a staff-only topic or in the theme component where your house ads’ css is defined.

That’s the idea. Something like this is what I’m thinking of going with:

How would you want to serve them alongside another ad network?

5 إعجابات

Amazing work, very timely as it avoided me going through the full setup of Google Ad Manager :slight_smile: Thanks a lot for your work!

6 إعجابات

@neil, Great plugin,

1- I was wondering, how to make the image responsive, it is not good on the mobile version. I use the below code

I added it here -> https://francais-a-londres.org/

<a href="#" class="h-creative h-donate"> <div> <img src="https://fralondres.s3.dualstack.eu-west-2.amazonaws.com/original/2X/3/348c560154acd77dd653aca6a4a57c53e4ae49ca.png"> </div> </a>

2- is there a way to track the number of views on the image and number of clicks ?

Many thanks

إعجابَين (2)

You can make it responsive by adding this to your css

.house-creative > p > img {
    max-width: 100%;
    height: auto;
}

.widget-connector {
    max-width: 800px;
}

@media only screen and (max-width: 800px) {
    .widget-connector {
        max-width: 100%;
        height: auto;
    }
}

EDIT 2: Had to add an @media for the inline ads as well because they were spilling outside the container.

EDIT: I also had to add this to center the inline ads on mobile, be sure to add it your mobile only css

.house-creative.house-post-bottom {
    margin: 0px 10px 0px 10px;
}

I would recommend using UTM links or using bitly would be very simple.

@neil I love this plugin, the only improvement I would like to see is to have the ability to show different ads to anon vs logged in users on top of the existing ability of having them hidden altogether for specific groups.

15 إعجابًا

It would be better to make it a percentage otherwise you cannot go above 50% house ads. And it will be more intuitive.

3 إعجابات

You can put both versions inside each ad, and hide the appropriate when .anon is on the body using CSS.

6 إعجابات

4 posts were split to a new topic: AdPlugin: hide for groups not working

Hmm I can’t reproduce it. I changed meta so that people in the “Team” group don’t see ads (we already wear Discourse shirts and socks every day). Anon can still see ads and I can’t. Seems to be working.

Sure, percentages work too.

10 إعجابات

There are other reasons not to use Google for managing your house ads besides complexity, but that’s reason enough. I’m really looking forward to using this, and we would only be using it for house ads 100% of the time.

إعجابَين (2)

Implemented this on our DeviceBAR Forum, it’s so cool. I totally love it. I just have to figure out the mobile responsiveness part now. Looking forward to seeing more updates related to this plugin.

15 إعجابًا

@pradeepkumar Nice one, Below is ours with the code, please let us know when you find out about the responsiveness on mobile ;).

Best,

<a href="https://francais-a-londres.org/about">
    <div>
       <img src="https://fralondres.s3.dualstack.eu-west-2.amazonaws.com/original/2X/3/348c560154acd77dd653aca6a4a57c53e4ae49ca.png">
    </div>
</a>
3 إعجابات