Skip to content

tpmn/mopub-with-suezx-adtag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

MoPub with SuezX Asynchronous Ad Tag

Ad Formats Supported

  • Banner 320x50
  • Banner 300x250
  • Banner 320x480

MoPub SDK Integration

MoPub SDK Initialization

Banner Ad

Interstitial Ad

Mediation - Custom JavaScript Network

1. Create an Order

Navigate to the Orders tab and click Create Order in the top right corner. mopub_order_1

Enter an order name, an advertiser name and a description. mopub_order_2

2. Create a Line Item

Click on the order to which you want to add a line item and click New line item in the top right corner. mopub_line_tem_1

Enter a line item name. Select a type of Network line item, a priority of 1 and a network of Custom JS network. Paste the tag below in HTML. Use the SuezX publisher ID (e.g. "TPMN") and inventory ID (e.g. 99999) provided by your TPMN account manager.

<div id="div1" style="padding: 0px"></div>
<script type="text/javascript" src="https://static.tpmn.co.kr/suez_sb/ads.js"></script>
<script>
function callbackSuezAd(status) {
    if (status == "ERROR") {
        loaded=true; 
        window.location="mopub://failLoad";
    }
};
SuezJS.loadAd({
divid: "div1",
adverid: "%eudid!",
publisherid: YOUR_PUBLISHER_ID_AS_STRING_HERE,
inventoryid: YOUR_INVENTORY_ID_AS_INTEGER_HERE}, callbackSuezAd);
</script>

mopub_line_tem_2

Select the app and ad unit to which you want to connect the ad tag. mopub_line_tem_3

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published