Publisher guide
1. Account and website · 2. ads.txt · 3. Ad units and the tag · 4. WordPress plugin · 5. Optional tag settings · 6. Traffic quality · 7. Payments · 8. Privacy and consent
1. Account and website
- Create a publisher account at msadsnetwork.com and complete your profile.
- Add each website you want to monetise. Our team reviews every site before ads can serve.
- Verify ownership with the method shown in the panel (file or meta tag).
2. ads.txt
Ads only fill on sites whose /ads.txt lists MS Ads Network. Add this line (your publisher ID is shown on the ads.txt page in your panel):
msadsnetwork.com, pub-YOUR_PUBLISHER_ID, DIRECT
The panel re-checks your ads.txt automatically and shows its status per site. The WordPress plugin (below) can manage this line for you.
3. Ad units and the tag
Create an ad unit (banner, native, video, pop, push or interstitial) for an approved site. Every unit has a unit code. Paste the one-line tag where the ad should appear:
<script async src="https://msadsnetwork.com/t.js" data-unit="UNIT_CODE"></script>
- The same tag works for every format: the format and size come from the unit settings.
- You can place several units on one page; the SDK loads once.
- Impressions are counted only when a real ad fills and becomes visible (at least half of the ad on screen). Empty slots are never counted.
- Do not modify the tag, put it inside another ad network's slot, or load it in hidden elements.
4. WordPress plugin
Download the plugin from any ad unit page in your panel (“Download the MS Ads WordPress plugin”), then Plugins → Add New → Upload Plugin. In Settings → MS Ads Network:
- Enter your publisher ID and unit codes, and choose a placement (before / middle / after post content) or use the shortcode
[msads unit="UNIT_CODE"]or the “MS Ads unit” widget. - ads.txt: the plugin serves a virtual
/ads.txtwith your other lines plus the MS Ads line, or adds the line to an existing file with one click. - Caching plugins:
t.jsis automatically excluded from WP Rocket, Autoptimize, LiteSpeed Cache and SiteGround Optimizer minify, combine, defer and delay.
5. Optional tag settings (off by default)
Two optional attributes can be added to the tag of a banner unit:
<script async src="https://msadsnetwork.com/t.js" data-unit="UNIT_CODE"
data-msads-viewable="strict" data-msads-refresh="60"></script>
data-msads-viewable="strict"— the ad is requested only after the slot has been at least 50% on screen for one second. Good for slots far down the page.data-msads-refresh="N"— loads a new ad after N seconds of in-view time (minimum 30). Time only counts while the ad is at least 50% visible, the browser tab is visible and the visitor has been active in the last 30 seconds. At most 20 refreshes per slot per page view.
6. Traffic quality
Every impression and click is checked for invalid traffic (bots, data-centre traffic, incentivised or forced views, ad stacking, hidden ads and similar). Invalid activity is not paid and repeated invalid traffic can lead to suspension of a site or account. Do not buy traffic from pop/redirect networks, do not click your own ads, and do not ask visitors to click.
7. Payments
- Earnings come only from verified impressions and clicks; the panel shows them in Earnings and Performance.
- Payout methods: PayPal, international bank transfer and, for Pakistan, Raast (registered mobile number or IBAN) and IBFT (IBAN). Add your method under Payout methods.
- Payouts require a verified KYC profile, a payout method and a balance above the minimum threshold shown in your panel. Every payout is reviewed and approved before it is sent.
8. Privacy and consent
- If your site uses an IAB TCF v2.2 consent platform, we read the consent string automatically and pass it to buyers.
- For visitors in the EEA, UK and Switzerland without consent for personalised ads, ads are still shown but are not personalised.
- Visitors can limit personalised ads at any time through the AdChoices link in our ads.