Get Started with Glispa Connect

Overview

Examples

Android

Overview

- Native Ads

List/Feed

Custom

- Standard IAB Formats

Banner

Interstitial

Video

- Others

GDPR

Troubleshooting

Admob Android Adapter

Mopub Android Adapter

DFP Android Adapter

iOS

Overview

- Native Ads

List/Feed

Custom

- Standard IAB Formats

Banner

Interstitial

Video

- Others

GDPR

Troubleshooting

- Adapters

Admob iOS Adapter

Mopub iOS Adapter

DFP iOS Adapter

API Documentation

Reporting API

Help

GDPR FAQ

General

Earnings

Payments and Accounting

Integration

Reporting

Legal and Privacy

Updates

SDK Deprecation Schedule

SDK Change Log

Android Change Log

iOS Change Log

Mopub Ad Tag integration

Updated 6 months ago by Nikos Tsiougkos

This tutorial helps you setup ad tags and receive your first Glispa Connect (formerly Avocarrot) ads in your app that already has integrated with Mopub SDK.

  1. Open Order tab in Mopub dashboard

  2. Click on "Create Order"



  3. Fill with a descriptive name Order Name and Advertiser



  4. Create a new Add Line with
    Type & Priority :
    Network  |  1
    Network :
    Custom Network
    Custom HTML :

    <script type="text/javascript" src="https://adtags.glispaconnect.com/v1/tags-latest.js"></script>
              <script type="text/javascript">
                requestAd({
                  "adunitId": "GLISPA ADUNIT ID",
                  "ifa": "%eudid!",
                  "size": "SMALL",
                  "lmt": "%%DNT%%",
                  "geo": {
                    "ip": "%%IPADDRESS%%",
                    "latitude": "%%LATITUDE%%",
                    "longitude": "%%LONGITUDE%%"
                  },
                  "userAgent": "%%USERAGENT%%",
                  "cacheBuster": "%%CACHEBUSTER%%",
                  "fallbackUrl": "mopub://failLoad",
                  "bundleId": "%%BUNDLE%%"
                });
              </script>
              
    Replace "GLISPA ADUNIT ID" with the adunit you create in GlispaConnect Dashboard. Glispa Connect account
    You may change your adunit size. Valid values are SMALL (for 320x50), MEDIUM (for 300x250)  &  INTERSTITIAL 



  5. Select your ad unit to connect with the new line item


  6. Add any Targeting you want and click "Save and View"




Was this article useful?