This article is a step-by-step guide on how to create an inventory.
Step-by-step guide
Navigation:
Go to Inventory module -> List tab -> press the '+' button in the top right corner of the grid.
Once the new Inventory form is opened, start by filling in the General tab. Only upon saving the General tab, other tabs will become available.- General tab
- Mandatory fields
Field name Description Name The name of your Inventory. Free text. Inventory Source Users can choose between a Site or App. Inventory Integration Type Once the source is selected, the Integration type field will appear.
Select one value from the list.
This value cannot be updated in edit mode. - Optional fields
Field name Description Associated with Business Partner You can choose at this point to associate a Business partner with this inventory if the Business partner has already been created & exist in the system.
(For information about Business partner creation, refer to how to create a business partner).Max QPS Zero or empty value means no limit. Max Incoming Requests (In thousands) Zero or empty value means no limit. A-Domain Mandatory A switch. Default: off.
Excluding advertiser responses that do not contain advertiser domainMRAID filters Default: Off.
Users can exclude MRAID responses for all the Inventory traffic, or for specific bundles.
- Mandatory fields
- Pricing tab
- Bid Floor Rules:
- A rule will be used based on priority and granularity.
- You can determine for each rule a priority, the higher the value the higher the priority will be.
- In case two or more floor prices are applicable Gamoshi will take the one with the highest CPM.
- Press the '+' icon -> A 'Create your inventory default bid floors' form will be opened.
Fill in the form.
The only mandatory field is the 'Bid Floor': it will be applied when the rule conditions are met. - The 'Priority' field will establish the priority of the bid floor rule in the auction.
It ranges from 0 to 10. '0' = no priority. -
Press 'Create' -> a new bid floor rule is created and in an active status.
- Users can duplicate, pause, edit, and remove a bid floor rule at any time.
- You can filter your rules by App ID, bundle ID, or domain.
- Bid Floor Rules:
- Lists
In this tab, you can view the associated lists, add/remove/pause associations, and create a new list that will be associated with the Inventory partner.
For the full instructions refer to How to create a list. - Integration
You can view/generate the script/VAST URL/Endpoint of the Inventory partner here and send it to your Inventory partner.
You can reach it also by pressing the linkable integration type column in the inventories grid.
- Open RTB
You can copy your Inventory RTB endpoint from the text window and send it to your partner. - VAST
Media type: Video
Source: App or Site or CTV.
Client/Player or Server Side.
- Select a source.
The default macros for the selected source type will appear in the VAST URL text window. - You can add/remove macros using the drop-down arrow in the text window and the 'x' next to each value.
You can select between the SSPs: Gamoshi (default), Spring Serve & Publica, and the correct syntax for each SSP will apply. - Use the copy icon to copy your VAST URL.
- Select a source.
- Header Bidding
- Server header bidding
Media type = Video, Banner
This integration type is for Inventory to implement a prebid server adapter and needs to configure the Gamoshi server and the Inventory partner ID. - Client Header bidding
Media type = Video, Banner
- Refer your Inventory partner to the prebid.js site → download section (http://prebid.org/download.html), in order to download the Gamoshi adapter or, if you have an alias adapter, to download your adapter.
- The only configuration needed from the publisher is inserting his Inventory partner id in Gamoshi, which you need to provide him with (Can be found in the Inventory module -> ID column in the inventories grid).
- Mobile header bidding
Media type = Video, Banner
You need to ask your publisher which mediation layer he is using and request accordingly instructions from the Gamoshi support team.
For the relevant info in Prebid refer to https://docs.prebid.org/prebid-mobile/download.html
- Server header bidding
- Script
The Script integration type is for Inventory partners using javascript on-site or on an ad server.
Media type= Video or Banner
Source = App or Site as defined in the Inventory form/General tab- Choose the Inventory source type (App/Site).
- Select the ad type.
- Choose ‘Target Type’: ‘Ad server’ or ‘Web Page/Client’ and press 'Apply'.
- Use the copy icon to copy the script.
- How to inject the Passback function into a script
- Add the list in the ‘ADS_txt_file.txt’ file to the ADS.txt file on your site.
- Implement the script in your DFP or ad server.
- Open RTB
-
When placing the script in an ad server make sure to replace the macros with the ad server macros in the bidParams section.
- If you are using static values replace the bidParams values with the static values.
- If you have a few placements, duplicate the script for each placement and put the relevant values.
-
In order to add a placement id when the target type is site remove the comment from the javascript in the placement id section and replace the id with the relevant placement id.
-
In order to add a passback remove the comment from the javascript in the passback section and place your passback.
Script's examples
Example for Gamoshi Script ( with no passback ):
<script type="application/javascript">
window.$gambid = {
"rtb": "https://rtb.gamoshi.io/r/1162/bidr",
"bidParams":
{
"adtype" : "banner",
"adh" : 250,
"adw" : 300,
"bidfloor" : 0.01
}
};
</script>
<script type="text/javascript" src="https://static.gambid.io/tag/latest"></script>
Example for Gamoshi Script with Passback function (JavaScript):
<script type="application/javascript">
window.$gambid = {
"rtb": "https://rtb.gamoshi.io/r/1162/bidr",
"bidParams": {
"adType": "Banner",
"adw": 300,
"adh": 250,
"bidfloor" : 0.01
},
"passbackJs": function() {
var passbackJsCode = "googletag.pubads().definePassback('/186299052/Mundo.com_New/MUNDO_NEW_PASSBACK_300x250', [300, 250]).display();";
var scriptElt = document.createElement( "script" );
scriptElt.type = "text/javascript";
scriptElt.src = "https://www.googletagservices.com/tag/js/gpt.js";
try {
scriptElt.appendChild( document.createTextNode( passbackJsCode ) );
} catch( e ) {
scriptElt.text = code;
}
document.body.appendChild( scriptElt );
}
};
</script>
<script type="text/javascript" src="https://static.gambid.io/tag/latest"></script>
Example for Gamoshi Script with Passback function (HTML):
<script type="application/javascript">
window.$gambid = {
"rtb": "https://rtb.gamoshi.io/r/1162/bidr",
"bidParams": {
"adType": "Banner",
"adw": 300,
"adh": 250,
"bidfloor" : 0.01
},
"passback": "<div class='backup'><h1>Yes! This is the backup Ad :)</h1></div><scr" + "ipt type='application/javascript'>console.info('Passback!');</scr" + "ipt>"
};
</script>
<script type="text/javascript" src="https://static.gambid.io/tag/latest"></script>
Custom Integration
When selecting App as your Inventory source, you can choose Custom/3rd party Integration as your type.
The full list of supported custom integration can be found in the table below:
Custom Integration name | Required parameter |
Amazon TAM | Inventory Id On Amazon TAM |
Google Open Bidding | Inventory Id On Google Open bidding |
Iron Source | None |
Pubmatic SDK | None |
BidSwitch | Your Seat Id On BidSwitch |