---
updatedAt: 2026-05-13T08:34:14.000Z
agentTools:
  projectIndex: https://docs.nefta.io/llms.txt
---

# AdMob - iOS

Based on the MAX demo project: <https://github.com/googleads/googleads-mobile-ios-mediation>, you can check the Nefta custom adapter integration example here: <https://github.com/Nefta-io/NeftaAMAdapter-iOS>.

## Include the SDK

### CocoaPods

To integrate Nefta SDK for MAX Mediation add the following to your Podfile:

```ruby
  pod 'NeftaAMAdapter'
```

Run the following command:

```shell Shell
pod install --repo-update
```

<br />

### Swift Package

File > Add Package Dependencies ... and enter repository: <https://github.com/Nefta-io/NeftaAMAdapter-iOS.git>

![](https://files.readme.io/b2a379c43378bf360471d5f9351738cc0f390e37e8327f2f8a03dec66e119d69-image.png)

<br />

<br />

### Manually

Or you can integrate it manually: <https://docs.nefta.io/update/docs/manual-ios-integration-1#/>

<br />

## Code integration

Initialize the SDK as soon as possible (for accurate session tracking) with:

```swift
import NeftaSDK

GADNeftaAdapter.Init(appId: "5731414989340672", onReady: { initConfig in
   print("[NeftaPluginAM] Nefta initialized, nuid: \(initConfig._nuid)")
})
```
```objectivec
#import "NeftaAdapter.h"

[GADNeftaAdapter InitWithAppId: @"5661184053215232" onReady: ^(InitConfiguration *initConfig) {
  NSLog(@"Nefta initialized, nuid: %@", initConfig._nuid);
}];
```

<br />