Get Started with Avocarrot

Overview

Examples

Android

Overview

Getting Started

- Integrating Ads

Stream

Native Assets

Banner

Interstitial

Video

- Others

Troubleshooting

- Adapters

Admob Android Adapter

Mopub Android Adapter

iOS

Overview

Getting Started

- Integrating Ads

Stream

Native Assets

Banner

Interstitial

Video

- Others

Troubleshooting

- Adapters

Admob iOS Adapter

Mopub iOS Adapter

API Documentation

Reporting API

Help

Supported Networks & Ad Types

General

Earnings

Payments and Accounting

Integration

Reporting

Mediation Network Optimization

Legal and Privacy

Updates

SDK Change Log

Android Change Log

iOS Change Log

Mopub iOS Adapter

Updated 14 days ago ​by Derek Lim

Requirements

  • Mopub SDK
  • Avocarrot SDK v4.7.2.

Supported Ad Formats

  • Banner
  • Interstitial
  • Native

Setup Avocarrot Network

Ad typeClasses
BannersAvocarrotMoPubBannerCustomEvent
InterstitialAvocarrotMoPubInterstitialCustomEvent
NativeAvocarrotMoPubNativeCustomEventAvocarrotMoPubCustomAdapter

Setup MoPub Dashboard for Native

Create an "Avocarrot" network in MoPub dashboard and connect it to your Ad Units.

  • In MoPub dashboard select Networks > Add New network


  • Then select Custom Native Network
  • Complete the fields according to the Ad Unit that you want to use

Native Ad Units

For Native Ad Units you need to :

  • Fill in the following data in the MoPub dashboard:

Custom Event Class

AvocarrotMoPubNativeCustomEvent

Custom Event Class Data

{"adUnit":"<AvocarrotAdUnit>"}

Get your adUnit from the Avocarrot dashboard.

Congratulations! You have now successfully integrated Avocarrot ad network and you should receive your first ad from there.

Troubleshooting

  • Please have in mind, that any time you make a change to the MoPub dashboard, try to fetch an ad a couple of times and then wait a few minutes for MoPub's cache to clear.
  • You can also try cloning the example project below to make sure everything is running fine.
  • If at any point you need any technical help, please get in touch with Avocarrot Support

Clone the Example Project

git clone https://github.com/avocarrot/ios-adapters.git



Was this article useful?