freinir/ad-wizard

Package for generate Yandex RTB blocks and google ads for desktop and mobile version

1.6 2021-08-19 07:58 UTC

This package is not auto-updated.

Last update: 2024-05-23 21:34:20 UTC


README

This README would normally document whatever steps are necessary to get your application up and running.

About

This library provides an interface for rendering different ads for mobile versions and desktops.

Installation

Install the package via Composer

composer require freinir/ad-wizard

Basic usage

$yandexAd = new AdYandex('R-XXX-XX')

Insert into your views

<?=$yandexAd->getDesktop(1, 'My first RTB block', 'adv__custom')?>