Skip to content

About

Library for advertising delivery on iOS

Resources

Contributing

Stars

0 stars

Watchers

33 watching

Forks

Repository files navigation

Lib Pub App

Overview

The Lib Pub App IOS is a library designed to allow all Apple products to be monetized using a single solution.

It encapsulates both Prebid SDK and Google Mobile Ads SDK functionalities, allowing banner and and native ads to be served using the agreed commercial.

Features List

  • Simple API for serving ads.
  • Integration with Prebid and Google Ads.
  • Well-aligned rules for serving ads inside Globo App Products.
  • Strong contracts for collecting and sending common targeting parameters, allowing the correct campaign segmentation.
  • Detailed documentation and examples for developers.

Technologies

The main technologies used in this project include:

  • Swift: For iOS application development.
  • Cocoapods: Build automation tool for the project.
  • Google Mobile Ads: For integrating Google ad services.
  • Prebid SDK: For enabling header bidding auctions in mobile apps.

Available ad formats

Banner

Future development.

Native

  • Pause Ads ✅
  • Binge Ads ✅

Usage

Latest stable version: 0.0.1

Requirements

Instalação Xcode Installation Status
iOS 14.0+ 16.0 CocoaPods Available

CocoaPods

To integrate LibPub into your project, add the following to your Podfile:

source("https://github.com/globoi/pods-repository")
...
pod 'LibPub', '0.0.1'

Note: Remember to update your repositories with pod install --repo-update

Development

Setup

Check your cocoapods version:

gem info cocoapods

If your version is not 1.16+, run:

sudo gem install cocoapods

Installing Libraries

To install the required libraries for the LibPub project using CocoaPods:

pod deintegrate
pod install

Open LibPub Project

cd LibPub
open LibPub.xcworkspace

Playground

In the root directory of the repository, there is a Playground project named LibPubPlayground.

This project is designed to help you test and experiment with the LibPub library easily.

cd LibPubPlayground
open LibPubPlayground.xcworkspace

Whenever you make changes to the LibPub library or update its dependencies,

it is essential to run the following command in your terminal to ensure that your project has the latest version.

pod deintegrate
pod install

Tests

make lint
make test

Generating new version

make bump_version
> 0.0.X

make add_version_remote
> branch-name

make setup_cocoapods_deploy
> your github user
> your github token

make validate_podspec # optional

make cocoapods_deploy

Check if the package was generated:

https://github.com/globoi/pods-repository/tree/master/LibPub/

About

Library for advertising delivery on iOS

Resources

Contributing

Stars

0 stars

Watchers

33 watching

Forks

Releases

Packages

Contributors

Languages