@tekdi/ngtek-social-ads
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

Social Ads Module for Angular

This is an Angular module to display remote ads from the Techjoomla Social Ads extension. You can learn more about remote ads and multi site ad delivery here

Usage

To load remote ads in an angular app, you can use the below code on your template

<app-social-ads [baseUrl]="apiBaseUrl" ad_unit="sa_ads29" zone=31 num_ads=4 ad_rotation=0 height_img=250 no_rand=0> </app-social-ads>

These attributes are the same that can be configured when getting the widget code in Social Ads. This will load the iframe for the ads based on the configuration provided.

Package Sidebar

Install

npm i @tekdi/ngtek-social-ads

Weekly Downloads

6

Version

0.0.6

License

GPL-3.0

Unpacked Size

100 kB

Total Files

30

Last publish

Collaborators

  • coolbung
  • amol_g
  • pratikshak