Actions

NativeTarget SDK5.0

From SVG Media

Contents

Overview

Ecosystem.png

  • Monetize your apps with new NativeTarget SDK
  • Flexibility to choose various Ad Types- Product Listing Ads ( PLA) and Install Ads (ALA)
  • Ability to choose Ad formats- Native,Offer Wall, Interstisial, Expandable, banners
  • Best Ad Type served based on optimization algorithm, which generates highest eCPM for the publisher

Newlogo.png

  • Native Ad Formats
  • Product Listing Ads
  • Optimization algorithm


Monetize

How monetization works ?

Integrate-SDK.png
Step 1

Register your app with TyrooCentral and manage Ad rules and Placements from the interface.

Decide-on-ad-platform.png
Step 2

Decide the Ad type( PLA, Install) , Campaigns and the Ad format from the interface.

User-views-the-ad.png
Step 3

Ads based on optimization algorithm and your preferences is served to the user. User views the Ad ,clicks on it and perform actions like Purchase or install.

You-earn-revenue.png
Step 4

Track your earnings from TyrooCentral interface real time or integrate postbacks if you want to track it in your own platform.

Steps to Integrate the new version 5.0

STEP 1:Register App on TyrooCentral

1.Go to TyrooCentral site or click here.
2.Login with your TyrooCentral username and password
3.Click on the Mobile tab
4.Click on the “Register New App” tab.
4.png
5.Fill app details and save.
5.png

STEP 2: Integrate NativeTarget SDK Library

  • Unzip the downloaded file.
  • Import the NativeTarget SDK Library into Eclipse

D1.png

  • Then select Existing Android code into workspace

D2.png

  • Click on Browse and Add "'NativeTarget SDK Library"'
 *  And mark on copy projects into workspace"' and  click "'Finish"'.

D3.png

  • Right click on your app project in Eclipse and select Properties.
31.png
  • Select Android and then click Add. Find the nativetarget-sdk_lib project and select OK

to add the NativeTarget SDK library.


32.png


  • The project now references the NativeTarget SDK library.


33.png



Integrate NativeTarget Resource file

For every app you register on TyrooCentral platform, you can download a resource file.

4.png


  • Select the Manage Apps tab
  • Select the particular app from your list of apps.
  • Click on the View Details link for that app

This action takes the control to the Manage Placements section. Click on -


Download NativeTarget Resource

141.png


Clicking this gives a pop-up to select the type of banners that you would like to cache or not cache (It is advised to cache as many banner types as possible for performance and revenue maximization)


Select the Ads to be Cached

15.png


If you choose to select some of the categories then you need to check them and click on "Select" to download and use the nt.xml generated

161.png


If you choose to deselect certain categories then you need to check them and click on "Skip and download" to download and use the nt.xml generated


171.png


Either of the two actions will result in your nt.xml file



Place this file in -

"Your App Name" >> res >> values >> nt.xml

Eclipsentxml.png


Please change nt_debug to false when you are publlishing your application on the store.

Replace <bool name="nt_debug">true</bool> with <bool name="nt_debug">false</bool> in nt.xml



Manage Placements

Placements level rule application on the Apps

Application dropdown: Select the App on which the placement needs to be applied


7.png


Add Placement: Create a new placement

1) Ad Creative Type: Select the ad creative type from this list

       a.	For creative types "Adwall" and "Native Ads":
               i.   Select Adwall and then select Normal Adwall.
               ii.  Then select the respective adwall from the list.
       c.	In case of other ad creative types
               i.   Rules : Select rules from the rule list
               ii.  Static Banner: Select from the campaigns that need to be visible


8.png


Placement Table

1) View Rules: Click on View Rules in the Rule(s) column to see the rules applied 2) Edit: Edit the parameters of the placement 3) Delete: Delete a particular placement


9.png

Next Steps

Now you are ready to integrate different ad formats into your app. Please follow steps for each type of ad specified in next section.

Formats

Banner ad displays a small image creative to the user which can be clicked and leads the user to a website or app store page.

Display Ad

Create a new NTView object for respective ad types

NTView ntView=new NTView(MainActivity.this);
ntView.getSingleBanner(LinearLayout mLinearLayout,String adViewId)
PlacementId/adViewId This is the ID of placement created on TyrooCentral Platform.
mLinearLayout This is the reference of the linear layout for displaying the ad.View will be added in the passed layout.
Banner.png


News Feeds Caroural

Display Ad

Create a new NTView object for respective ad types

NTView ntView=new NTView(MainActivity.this);
 
ntView.getNewsFeedCarouselAds(LinearLayout mLinearLayout,String adViewId)
PlacementId/adViewId This is the ID of placement created on TyrooCentral Platform.
mLinearLayout This is the reference of the linear layout for displaying the ad.View will be added in the passed layout.
Carousal list.png



News Feeds List

Display Ad

Create a new NTView object for respective ad types

NTView ntView=new NTView(MainActivity.this);
 
ntView.getNewsFeedListViewAds(LinearLayout mLinearLayout,String adViewId)
PlacementId/adViewId This is the ID of placement created on TyrooCentral Platform.
mLinearLayout This is the reference of the linear layout for displaying the ad.View will be added in the passed layout.
NewsFeedList.png


Dialog List

Display Ad

Create a new NTView object for respective ad types

NTView ntView=new NTView(MainActivity.this);
 
ntView.getDialogListViewAds(String adViewId)
PlacementId/adViewId This is the ID of placement created on TyrooCentral Platform.
Dialog list.png


Interstitial List

Display Ad

Create a new NTView object for respective ad types

NTView ntView=new NTView(MainActivity.this);
 
ntView.getInterstitialListViewAds(String adViewId)
PlacementId/adViewId This is the ID of placement created on TyrooCentral Platform.
Interstitial list.png


Interstitial Grid

Display Ad

Create a new NTView object for respective ad types

NTView ntView=new NTView(MainActivity.this);
 
ntView.getInterstitialGridViewAds(String adViewId)
PlacementId/adViewId This is the ID of placement created on TyrooCentral Platform.
Interstitial Grid.png


Shopping Section

Display Ad

Create a new NTView object for respective ad types

NTView ntView=new NTView(MainActivity.this);
 
ntView.getShoppingSection(String adViewId1, String adViewId2, String adViewId4, String adViewId4);
PlacementId/adViewId This is the ID of placement created on TyrooCentral Platform.
Shopping.png


Declare Activity in AndroidMainfest.xml

The NativeTarget SDK requires some activities to be declared in your app's AndroidManifest.xml . Declare it inside <application> :


       <activity
           android:name="com.nt.sdk.tyroo.view.NTFullScreenActivity"
           android:label="@string/app_name" >
       </activity>
       <activity
           android:name="com.nt.sdk.tyroo.view.ProductDetailActivity"
           android:launchMode="singleTask"
           android:screenOrientation="portrait"
           android:theme="@android:style/Theme.Dialog" />
       <activity
           android:name="com.nt.sdk.tyroo.view.CustomActivity"
           android:launchMode="singleTask"
           android:screenOrientation="portrait"
            />

Setup permissions

Making ad requests requires these permissions to be declared in the manifest, Declare it outside <application>:

    <uses-permission android:name="android.permission.INTERNET" />
   <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
   <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
   <uses-permission android:name="android.permission.GET_ACCOUNTS" />


How to upgrade to new version from older version

Update in Progress


Rules and Apps

Post registering the App, Ads will be served based on default rule.Default rule serves the Install and Product Listing Ads which are approved for the Publisher.However if the publisher wants to select certain campaigns for Install and Product Listing Ads, he can do so by applying rules/filters.

Following sections will list down , how one can manage Rules that can be applied on the App or the placements.It will also shows how one can manage Apps and Placements and apply the created rules on those.These features give full control to the publishers

  • Which Ad Type to be served
  • Which Ad Formats to be served
  • Where to be served

If a publisher chooses not to apply any filter or rule, a default rule is applied and the Ads are served basis the default rule.

Manage Ad Rules

How to create a new Rule

A new rule can be created by clicking on the "Add Rule" button.

Addrule7.PNG


On the displayed pop up, preferences can be chosen like whether you want to served Install Ads, Product Listing Ads or both.


When Install Ad is selected , you can choose the following

  • Campaigns for which you want to serve the Ads
  • Campaign category
  • Language in which you want to serve the Ads

Installads.PNG


When Product Ad is selected, you can choose the following

  • Campaigns for which you want to serve the Ads

PLA.PNG

Activate/Deactivate the Rule

A rule can be activated or deactivated , by selecting the rule and clicking on the "Activate Rule" or "Deactivate Rule " button.

Activate Rule Activaterule.PNG


Deactivate Rule


Deactivaterule.PNG

How to apply or remove a rule from an App

A rule can be applied or removed from Apps by selecting the rule and clicking on the "Apply to all Apps" or "Remove from all Apps button "

Apply to All Apps

Applytoapps.PNG


Remove from all Apps

Removeapps.PNG

View the Rules filters

View filters.PNG


View the Apps on which the the rule is applied

Viewapps.PNG

Filters

These filter will help you filter rules by their status

Filter.png

Manage Apps

Register New App: Enables registering a new App

4.png


5.png


Apply Rules:

This tab enables app level application and removal of rules (created in Manage Ad Rules tab)

  • Click on Apply Rules tab – A pop-up with App and Rule list is shown
  • Search/select the Apps and the corresponding Rules and click on Apply


6.png


App Information

1) Manage Rules: Enables removal of particular rules from Apps

       a.	Click on the Manage Rules link for a particular App and remove the Rule that you want

2) View Details : Clicking on this link takes you to Manage Placement tab for that particular tab

       a.	The details are described in the Manage Placements section