πŸŽ‰ Getting Started with Ads360+ πŸŽ‰

Getting Started

Fork this repository https://github.com/erickouassi/MyAds360/fork in your account.

How to

First of all, make local copies of my ad_data.json and ad_script.js files into a new directory on your local machine.

Open your own file ad_data.json, replace all the values except "id": "72", "category": "weekNumber", and "frequency": "53" as an example.

Example of ad data:
{
    "id": "72",
    "created_on": "5/12/2022",
    "category": "weekNumber",
    "frequency": "53",
    "reference": "Referral program",
    "adURL": "https://bit.ly/35qVQwT",
    "adText": "Hey, we can both earn $10 ...",
    "callToAction": "Use my link:",
    "company": "PayPal"
},

Updating ad_script.js

Go to the file ad_script.js to change the advert to your own.

Example of ad data:
cycleAds = `<div class="#" style="width:330px;height:auto;background-color:powderblue;padding:5px;">
<span>Hey! I've been using Cash App to send money and spend using the Cash Card. Try it using my code <mark>JCMLKKL</mark> and you'll get $5.
Use my link: <a href='https://bit.ly/3sFOEWm' rel='nofollow'>
<span style="text-decoration: none;">https://bit.ly/3sFOEWm</span></a>
</span></div>;

Adding JavaScript Code Snippet

Add this JavaScript code snippet to any page and your ad will show automatically:

<div>
    <script src="./ad_script.js"></script>
    <div id="randomTextAd"></div>
</div>
            

πŸ‘‡ Output Random ad

That is all! πŸ‘πŸΏπŸ‘πŸΏπŸ‘πŸΏπŸ‘πŸΏπŸ‘πŸΏ

Note on the JavaScript Code Snippet

id="randomTextAd" indicates random ad.

id="timeTextAd" indicates time of day (Morning, Afternoon & Evening) ad.

id="todayTextAd" indicates daily ad.

id="weeklyTextAd" indicates weekly ad.

id="monthlyTextAd" indicates monthly ad.

Back to Homepage