# Get Ads and Settings

&#x20;To retrieve all ads and settings added to your network via the console, use the `getNetworkAds()` function. This function provides a comprehensive view of your ads and configurations, allowing UIKit or your application to consume and display ads accordingly.

{% tabs %}
{% tab title="iOS" %}
{% embed url="<https://gist.github.com/amythee/a5caebc73eb0304b82fbc75878ddd898>" %}
{% endtab %}

{% tab title="Android" %}
{% embed url="<https://gist.github.com/71c40115f4b3b5f85774f677e4701b1e>" %}
{% endtab %}

{% tab title="TypeScript" %}
{% embed url="<https://gist.github.com/amythee/669bf8f8c86114df95dbd83e53e717e1#file-getnetworkads-ts>" %}
{% endtab %}
{% endtabs %}


---

# 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://docs.social.plus/social-plus-sdk/core-concepts/ads/get-ads-and-settings.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.
