# App Linking

#### 1. Add PubScale app ID

Enter your PubScale App ID into the PubScale Editor window located under **Window/PubScale SDK/Main**

<figure><img src="/files/GrIb4BqxmwOGooKMIptl" alt=""><figcaption><p>App ID from PubScale Dashboard</p></figcaption></figure>

<div><figure><img src="/files/s1rinwnxeKfNbYJ2LxIY" alt=""><figcaption><p>Android Platform</p></figcaption></figure> <figure><img src="/files/mS96J31KOsIoupQmWaLX" alt=""><figcaption><p>iOS Platform</p></figcaption></figure></div>

#### 2. Add AdMob app ID

Enter your AdMob app ID in Google Mobile Ads settings by following the steps below

2.1. You can open this from **Assets/Google Mobile Ads/Settings**

<figure><img src="/files/HfKnQHl26Xh7s5uJ4ZBU" alt="" width="356"><figcaption><p>You can open this from <strong>Assets/Google Mobile Ads/Settings</strong></p></figcaption></figure>

2.2. Add the AdMob application IDs here

<figure><img src="/files/H9Ixg35Qwhv4jJbmnFpP" alt=""><figcaption><p>Add the <strong>AdMob application IDs</strong> here</p></figcaption></figure>

{% hint style="info" %}
Make sure the 'Optimize initialization' and 'Optimize ad loading' options are checked when building for the Android platform.
{% endhint %}

The editor is now set up. Learn how to add ads to your scene in the next step.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://pubscale.gitbook.io/immersive-ads-sdk/integration/app-linking.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
