Google AdMob and Google Ad Manager integration for FeedAd iOS

The FeedAd iOS SDK can be easily combined with ads served through the Google Ads SDK for iOS. It supports ads served through Google Ad Manager and Google AdMob.

FeedAd can be integrated into a waterfall mediation by using Custom Events (Google Ad Manager, AdMob).
There is no coding required, FeedAd provides a plugin that can be used as a dependency alongside the FeedAd SDK.

To see an example, please check out our iOS demo app.

Supported Ad Types

The following ad types are supported by the Adapter Plugin:

  • Banner
  • Interstitial
  • Native

Integration

1. Install the Adapter Library

Make sure, you've followed the initial installation instructions for the FeedAd SDK at Getting Started. The following instructions will then guide you through the installation of the adapter library for Google Ads.

Via Swift Package Manager

Either add the FeedAd-AppLovin library to your Package.swift as a dependency:

dependencies: [
    .package(url: "https://bitbucket.org/feedad/feedad-ios-gam-spm.git", .upToNextMajor(from: "1.0.3"))
]

Or manually add it as package dependency in your Xcode project by following these steps:

  1. Open your project in Xcode
  2. Goto File > Add Package Dependencies ...
  3. In the search field, enter the repository URL: https://bitbucket.org/feedad/feedad-ios-gam-spm.git
  4. Choose the dependency rule and what projects to add the package to
  5. Click Add Package

Via CocoaPods

Add the following line to your Podfile:

pod "FeedAd-GAM"

Then run

pod install --repo-update

to let CocoaPods install the adapter.

2. Custom Event Configuration

Create and configure the Custom Event in the UI of your Google Ads Dashboard:

Use the class name: FeedAd_GAM.CustomEvent. In the field Parameter, put the placement id you would like to use.

Placement ID?

You can choose placement IDs yourself. A placement ID should be named after the ad position inside your product. For example, if you want to display an ad inside a list of news articles, you could name it "ad-news-overview".
A placement ID may consist of lowercase a-z, 0-9, - and _. You do not have to manually create the placement IDs before using them. Just specify them within the code, and they will appear in the FeedAd admin panel after the first request. Learn more about Placement IDs and how they are grouped to play the same Creative

Integration Support

Please don't hesitate to contact your FeedAd account manager, if you experience any issues with integrating FeedAd into a Google Ads mediation.

You can also view the code of our iOS demo app, for a technical example.

Changelog

v1.0.3 (2025-02-12)

  • Initial release via CocoaPods and Swift Package Manager
  • Extended supported formats