Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 746 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 746 Bytes

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.