A great source of revenue for mobile apps comes from advertisements. These advertisements can come in the form of static ads or video ads. BLOX Mobile NX is integrated to work with Google Ad Manager (GAM). Ad units must be generated from GAM then placed into BLOX/AppMan to appear in the app. We offer many different positions and configurations for ad placements. Read on to learn more about each placement.
Identify the Design/Block URL
Depending on the set up, an app can pull content from /nowapp, /native, or a custom URL endpoint. To check to see which is used follow the instructions below:
- Open Design>Appls
- Select the profile matching the app
- Typically there will be only one profile unless the site has a niche (weather, traffic, etc) or umbrella app(s)
- Click ‘Customization’
- Under ‘General Settings’ if ‘Native URL Endpoint’ is selected the app is using ‘/native’. If ‘Use custom URL endpoint is checked and the field below has a selected URL endpoint then it is using the selected endpoint. If neither are selected/configured the app is using ‘/nowapp’.
Splash screen ad placement
The splash screen ad could potentially be the first advertisement your users see on the BLOX Mobile NX app. This is a static image which appears in the lower third of the splash screen image. The image does not rely on GAM and therefore requires manual upload and removal from BLOX and AppMan.
When the app loads it will download the splash screen image from the server and display it in the placement immediately. This can take up to 5 seconds depending on the network connection of the device. The app will then load the rest of the app. In some cases, the time between when the image shows and the app finishes loading may be shorter than desired for the advertiser. In this case, we do offer a delay of up to 20 seconds (6 seconds by default) to allow the ad placement to show.
The required dimension of the splash screen ad is 596 x 390px.
Setup
Note: This is the preferred method for setting up a splash screen ad. The BLOX Mobile NX app still supports legacy setup in Blocks/Page Customization and will continue to use any image upload through this method.
- Open Apps
- Click the ‘Monetization’ tab
- Scroll down to the section labeled ‘App Launch Ad Settings’
- The image will be uploaded to the field labeled ‘Splash screen overlay’. The required dimension of the splash screen ad is 596 x 390px.
- If you wish to modify the time between when the app finishes loading and when the app transitions to the tab view then the field labeled ‘Splash screen delay’ should be modified to the desired amount. Please note too much additional time may frustrate users as they will not have the option to skip the delay.
- Click ‘Save’ on the toolbar
- Click ‘App info’ then publish and make live the version
- After the version has been made live the splash screen ad should appear roughly 5 minutes later. In some cases this may take up to 15 minutes due to cache.
App Open ad
The first GAM supported ad shown to the user is the ‘App Open’ ad. This is a full screen modal advertisement placement which appears after the app has finished loading. It is displayed either on the splash screen or on the home screen, depending on the platform. The ad is presented in the center of the screen to the user and is unclickable for X amount of seconds. After X amount of seconds a skip button will appear prompting the user to continue. The ad will disappear after Y amount of seconds if no user interaction occurs. X and Y variable settings controlled in GAM.
Setup
Note: This is the preferred method for setting up an app open ad. The BLOX Mobile NX app still supports legacy setup in Blocks/Page Customization and will continue to use ad units set through this method.
- Open Apps
- Click the ‘Monetization’ tab
- Scroll down to the section labeled ‘App Launch Ad Settings’
- Paste the ad tag from GAM into the field labeled ‘App open ad unit’
- Click ‘Save’ on the toolbar
- Click ‘App info’ then publish and make live the version
- After the version has been made live the splash screen ad should appear roughly 5 minutes later. In some cases this may take up to 15 minutes due to cache.
Reference: https://support.google.com/admob/answer/9341964?hl=en
Asset feed sticky and banner ads
Almost all Mobile NX apps will feature at least one asset feed. An asset feed is made up of different block types. A block contains many different cards and a card represents a single asset. Banner advertisements can be placed between either the blocks or cards at a set interval. If an app manager would like more customization, advertisement cards can be manually placed between blocks to create a more curated feed.
Please note: Apps using the ‘For You’ feature, which allows users to create their own curated asset feed of content, have ad placement. This asset feed will use the ad placement set at the root level of the app set up (either /nowapp or /native) and will be shown every 5 assets. This will be configurable in a future app release.
Asset feed advertisements can be controlled globally (all sections) and/or by section. It is suggested you set up the global settings then create overrides at a per section level. This will make it easier to manage. There are three types of ad settings for the asset feed: blocks, assets, and manual. These settings control the placement of the ad banners within the feed. This asset feed ad unit will use one of the following sizes (in the following order, in pixels): 320 x 50, 300 x 50, 300 x 250.
Assets
When ‘assets’ is selected the ad placements will be placed between cards regardless of blocks. The asset feed is built up of many blocks set by the app manager. In each block, there can be many assets, which are represented by cards. The cards may differ in appearance. This setting allows you to ignore bounds of the blocks and place ads at a set interval between cards.
It is recommended to use this setting when blocks contain many assets. If the asset feed is made up of many blocks containing a small amount of assets each then ‘blocks’ may provide a better experience.
Blocks
When ‘blocks’ is selected the ad placements will be placed between the blocks of cards. This will show placements immediately after a full block. A block is defined as a collection of cards each representing an asset. The card count in a block may vary depending on the set up.
Manual
Manual mode will allow the app manager to have fine control over the frequency and placements of the ads. Blocks are placed within the feed to declare where ad placements should appear. A block holds a single ad unit.
Sticky Ad Unit
An optional sticky ad unit can appear at the bottom of an asset feed view. This will appear above the feed and the tab bar. It is fixed so as the user scrolls the ad unit will remain in the same position. A user can dismiss this view. The ad sizes used for this placement are (in the following order, in pixels): 320 x 50, 300 x 50.
Setting up asset feed advertisements
- Open Design/Blocks
- Find the endpoint controlling the Mobile NX app (usually /nowapp or /native)
- On the right side, find the section labeled ‘Advertising’
- Find the fields labeled ‘GAM banner ad unit’, ‘GAM banner ad interval’, and ‘GAM banner ad interval display’
a. GAM banner ad unit’ controls the ad unit used when an ad placement is set to appear. The app/SDK will make a request using the ad unit and, if the request is successful, an ad will appear according to the display setting.
b. GAM banner ad interval’ controls the frequency of ad unit placements within the feed.
c. GAM banner ad interval display’ controls where ad positions are placed. There are three options to choose from: Blocks, Assets, Manual. Please note if ‘Manual’ is selected additional configuration is required. - If you wish to use a specific sticky ad placement then it can be set from the field labeled ‘GAM home/topic sticky ad unit’ found in the same section.
- Hit ‘Save changes’ at the top once configuration is complete.
- If you would like to use a different ad set up for a specific section (ex. An ad unit was created to serve sports specific ads) then you can click the subsection from the URL map within the app’s root endpoint.
- Follow steps 3-6 within the subsection. The app will use the settings from a section then default to the root (/nowapp or /native) if nothing is available.
Asset detail view ad placements
Content is presented throughout the BLOX Mobile NX app. The most common place is in an article detail or collection view. These two types of views are used to present editorial content. A collection view will present static or dynamic collections in a feed based view. This looks similar to an asset feed for the collection’s assets. The look and feel may change slightly depending on the presentation type. Between these assets, app managers can show ad placements between X number of assets. A sticky ad placement can be shown at the bottom of the view.
For all other assets, they are presented in an asset detail view. This view mimics an article view on the web. For this view, app managers can display ad placements between paragraphs. We also offer a sticky ad placement and an ad placement at the top of the view. Additionally we offer a HTML footer placement immediately after the article body. This can be used for HTML based promoted content or advertisement placements.
Within an article detail view there are four types of ad positions. All or none of these units can be used. To configure ad units within this view go to AppMan and click the ‘Monetization’ tab. The fields are found in the section labeled ‘Article Page Ad Settings’.
Note: This is the preferred method for setting up article view ad settings. The BLOX Mobile NX app still supports legacy setup in Blocks/Page Customization and will continue to use ad units set through this method.
Interstitial ad unit
The interstitial ad unit is a full screen ad which appears between article views. After a user has viewed X (where X is number of articles opened) number of articles the ad request will be made using the interstitial article ad unit. The ad will be shown immediately after the article has loaded if the user has reached the threshold. This is a single size placement.
Article header ad unit
(Required app version 216.0 or higher)
An ad unit can be placed above the main carousel or title of an article in a position called ‘Article header’. This position requests ads sizes (in order, in pixels) 320 x 50, 300 x 100, 300 x 50, 320 x 100. This ad unit will show only once at the top of the article. Please note this is not a frequency controlled ad unit and will show on every article detail view.
Inline article ad unit
Advertisements can be placed between the article body. This position requests ads sizes (in order, in pixels) 320 x 50, 300 x 50, 300 x 250. These placements can occur per paragraph or per character according to our best practices.
Advanced automatic
When selecting an inline article frequency, there are two options. Either per paragraph or ‘Advanced automatic’. ‘Per paragraph’ will use the interval set in ‘Inline article interval’ and make an ad request every X paragraph. ‘Advanced automatic’ will make a request based on character count. The character count is shown below.
Tablet - 1st ad after 580 characters, next ad every 1164 characters thereafter.
Mobile - 1st ad after 580 characters, next ad every 776 characters thereafter.
While using ‘Advanced automatic’ ad placements will occur after the paragraph where the character count is hit. Paragraphs will never be broken up to show ads.
Sticky ad unit
The sticky ad position is offered within the article detail view. This behaves and appears the same as it does in the asset feed view or e-Edition reader. The placement appears at the bottom of the screen and stays fixed as the user scrolls through the article. The ad unit is dismissable with a small ‘x’ shown to the right of the ad unit.
The ad sizes used for this placement are (in the following order, in pixels): 320 x 50, 300 x 50.
How to override the article detail ad unit
If you wish to use a specific GAM ad tag to display banner ads on assets in specific sections or tagged with a keyword then you will need to create an override. When the app opens an article detail page it will look at the sections and keywords associated with the selected asset. If the asset has one or more sections and/or keywords then it will use the ad unit set in the override settings. This feature can also be used to remove ads from assets with a specific section or keyword.
- Open Apps
- Click the ‘Monetization’ tab
- Scroll down to the section labeled ‘Article Page Ad Settings’
- In this section, there is a table labeled “Ad Unit Override”. Click the button labeled “+ New” to open the override modal.
- To create an override, a section and/or keyword need to be entered. Clicking the “Sections” field will show the Sections list from the Asset Catalog. For keywords, they can be entered manually in. Multiple keywords can be entered, separated by a comma.
When the app opens an asset in an article detail view it will check the asset’s sections and keywords against the created overrides. The overrides are processed in terms of order they appear in the table. - If you wish to have no ads then “Show Ads” should be unchecked. The other fields match the same functionality as the “default” fields in an article detail view.
- Click “Save” when finished to create an override. Any override shown in the table will be used within the app. If you wish to remove one then select the row in the table and click “Delete” in the top right of the table.
- When finished click “Save” at the top of the bar.
- Click ‘App Info’ then publish and make live the version
- After the version has been made live the overrides will be used to evaluate article detail view ad placements. This could take up to 15 minutes to reflect in the app due to cache.
Collection view ad placements
Collection assets are shown in a special view on BLOX Mobile NX. This view is meant to showcase the content in a more familiar and mobile friendly view. Assets are stacked in a horizontal feed, similar to an asset feed, and allow the user to interact with the content. Since this view does not have body copy and is made up of only assets there are specific settings for the ad placements.
Instead of per paragraph or character, ad positions are placed every N asset displayed in the feed. This mimics the per asset ad placement in an asset feed. An ad unit is required to place ads in the collection view. The ad unit from ‘Article Page Ad Settings’ will not be used as a default.
Video ads
Videos can be found throughout the Mobile NX app. They may be presented in the asset feed, an article detail view, a video player view, or a collection view. We currently only offer support for pre-roll ads within the app. App managers are able to set a global VAST and interval which is used for all video players within the app.
Please note, the only ad type supported client side are pre-roll ads. Server-side ad insertion (SSAI) platforms can be used in the app, but this requires a third party vendor. BLOX Mobile NX has a library of macro parameters which can be added to any SSAI stream URL to pass metadata about the current asset or user to your SSAI vendor’s platform.
How to set up video ads
- Open Design/Blocks
- Find the endpoint controlling the Mobile NX app (usually /nowapp or /native)
- On the right side, find the section labeled ‘Advertising’
- The video ads are the two fields shown below: GAM video ad unit, and GAM video ad interval.
a. GAM video ad unit - This is the VAST ad unit which is used for requesting pre-roll ads on the video. Parameter value macros can be appended to the VAST ad unit and replaced with device and user values (see below).
b. GAM video ad interval - After the user watches X videos the app will request a pre-roll ad using the value provided in the previous field. If one is returned by GAM it is shown before the video asset begins. - In the same section, a field titled ‘Parameter appendage to URL request’ can be used for app managers who wish to use SSAI.
In this field, a string can be placed which includes parameters and macros (listed in the next section). This string will then be appended to all videos shown within the app and the macros will be replaced with the corresponding values to allow for more targeted SSAI requests. - Hit ‘Save changes’ at the top once configuration is complete.
- If you would like to use a different ad set up for a specific section (ex. An ad unit was created to serve sports specific ads) then you can click the subsection from the URL map within the app’s root endpoint.
- Follow steps 3-6 within the subsection. The app will use the settings from a section then default to the root (/nowapp or /native) if nothing is available.
Parameter value macros
App managers who are using SSAI or wish to provide more details about the device or content playing to ad servers can use parameter value macros. These macros are denoted with matching curly braces ‘{[macro]}’’. These macros can be added to a VAST tag or placed in the ‘Parameter appendage to URL request’ field.
Parameter Value Macros
| NAME | DESCRIPTION | MACRO | POSSIBLE VALUE |
|---|---|---|---|
| Height | Height of the video player | {HEIGHT} | 1280 |
| Width | Width of the video player | {WIDTH} | 720 |
| Device ID | The identifier number/name of the device | {DEVICE_ID} | 7308d80a-9203-493a-9a44-c8c1d3cba5db |
| Bundle ID | App’s bundle ID | {APP_BUNDLE} | com.townnews.news |
| App Name | App’s name | {APP_NAME} | St. Louis Post Dispatch |
| App Domain | Domain powering the app | {APP_DOMAIN} | journalstar.com |
| Device User Agent | User agent of device | {DEVICE_USER_AGENT} | Mozilla/5.0%20(iPhone;%20CPU%20iPhone%20OS%2013_3_1%20like Mac OS X)%20AppleWebKit/605.1.15%20(KHTML,%20like%20Gecko)%20Mobile/15E148%20WebViewApp%20Townnews-Now/4.0 |
| App Version | App bundle’s version | {APP_VERSION} | 209.2 |
| Device Operating System | The device’s operating system version prepended with platform | {OS_VERSION} | iOS 17.2 |
| Content Length | Length of current video in seconds (Marco will be removed if video is a livestream) | {CONTENT_LENGTH} | 210 |
| Content Keywords | Keywords associated with video, separated by commas | {CONTENT_KEYWORD} | local,cat,street |
| Advertising Identifier | Advertising identifier from the device. Sometimes this is called IDFA, Google Advertiser ID, or ADID | {AD_IDENTIFIER} | 97f9e0d535f683a8651731ce5846d4bb |
| Platform Name | Name of device’s platform | {PLATFORM} | ios |
| IFA Type | Type of advertising identifier; This is specific to the platform. | {IFA_TYPE} | adid or idfa |
e-Edition reader ad placements
Apps featuring an e-Edition have ad placement opportunities outside of the e-Edition issue. There is one sticky ad placement shown at the bottom of the e-Edition reader. This banner will appear at the bottom of the reader based on an interval, set by the app manager.
- Open Apps
- Click the ‘Monetization’ tab
- Scroll down to the section labeled ‘E-Edition Page Ad Settings’
- To use ads within the e-Edition reader click the checkbox labeled ‘Enable settings’
- The ad unit for request should be placed in ‘E-edition reader sticky ad unit’.
- Based on the value entered in ‘E-edition reader sticky ad unit interval’ a sticky ad unit request will be made every X number of pages viewed by the user. This is based on number of views and not page number. For example, if the user is on page 1 and skips ahead 5 pages, the user has only viewed 1 page.
- When finished click “Save” at the top of the bar.
- Click ‘App Info’ then publish and make live the version
- After the version has been made live the overrides will be used to evaluate article detail view ad placements. This could take up to 15 minutes to reflect in the app due to cache.
Please note ads shown in the e-Edition issue are static and come from the creation of the paper. We do not allow app managers to dynamically show ads within the e-Edition content.
