Whenever an ad is clicked, it will open the URL that was set in the ad URL parameter at the campaign creation time. If you wish to open a specific screen inside your app after the click action, you must enable your application to react for this action.

Creating an Ad with a deeplink

While creating an ad, you can set the URL that will be opened when the user clicks on it. For example:


You can use the whole URI Scheme to customize this url. For example:


Reacting to the Deeplink

Include the following lines in your AndroidManifest.xml file inside the <activity> you wish to open when the ad is clicked.

<activity android:name="<Your_Activity>" >
<category android:name="android.intent.category.DEFAULT" />
<action android:name="android.intent.action.VIEW"/>
<data android:scheme="<url_scheme>"/>

The <data> property can contain other properties such as host, path and others. This example includes only the scheme which in the previous example was inlocomedia.

(Optional) To retrieve any parameter inside the ad url, you can do as shown below. The Activity must be the same you used in the intent-filter.

public class <Your_Activity> extends Activity {
protected void onCreate(Bundle savedInstanceState) {
if (this.getIntent().getAction().equals(Intent.ACTION_VIEW)) {
Uri uri = this.getIntent().getData();
String param = uri.getQueryParameter("your_parameter_key");