=== Ultima Ads for Publishers ===
Author: Preciso
Author URI: https://preciso.net
Plugin URI: https://preciso.net/ultima
Tags: ads, advertising, monetization, publishers, ad-network
Requires at least: 5.8
Tested up to: 7.0.1
Stable tag: 1.1.16
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Ultima enables small and medium-sized publishers to connect with more demand partners, increase revenues, and retain control over their ad ecosystem.

== Description ==

Ultima is a comprehensive WordPress plugin designed to empower publishers with advanced ad management capabilities. It bridges the gap between small publishers and large ad networks, providing access to premium demand partners and tools for sustainable growth.

### Publisher Benefits

**Open inventory access:** Connect with multiple demand partners.
**Revenue uplift:** Increase earnings with quality advertisers.
**Control & choice:** Decide which ads run on your site.
**Transparency:** Full control over your ad ecosystem.
**Sustainable growth:** Build long-term monetization strategies.

### Features

- User authentication and account management
- Dashboard for ad performance tracking
- Ad slot creation and management
- Blacklisting unwanted domains
- External ad service integration
- Payment history and payout requests
- Master script management
- Responsive admin UI

== Installation ==

1. Upload the `ultima` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin via **Plugins → Installed Plugins**.
3. Open **Ultima Ads for Publishers** from the admin menu.
4. Sign up or log in to configure your account and ad slots.

== Frequently Asked Questions ==

= How do I get started? =
After activation, go to the Ultima menu in WordPress admin and sign up or log in.

= Can I control which ads appear? =
Yes. You can blacklist domains and manage demand partners.

= Does it support multiple ad formats? =
Currently supports script-based ads. More formats are planned.

== Screenshots ==

1. Dashboard overview
2. Get Ad Script
3. Transaction Report
4. Request Payout

== Videos ==
A quick walkthrough of the plugin showing setup, ad slot creation, performance tracking, and payout requests.

[youtube https://youtu.be/xsHZANnHhBQ]

== Changelog ==

= 1.0.0 =
* Initial release
* Publisher authentication
* Ad slot & script management
* Blacklisting functionality
* Payment tracking

= 1.0.1 =
* Fixed auto login issue

= 1.0.2 =
* Update sign up UI and its function
* Added dynamic ads script

= 1.0.3 =
* Added feature to auto embed script
* Fixed ad display issue

= 1.0.4 =
* Updated ads dsiplay
* Disable all adslots on plugin uninstall

= 1.0.5 =
* Update ads close button position

= 1.0.6 =
* Auto-reload ads

= 1.0.7 =
* When Iframe loads only then display close button
* If merchant wants to enabled for same position in same page then they are not able to do that

= 1.0.8 =
* Fixed ads script issues

= 1.0.9 =
* Remove reload adscript functionality now it is managed by adscript itself

= 1.0.10 =
* Display only supported banner sizes

= 1.1.0 =
* Fixed banner size issue

= 1.1.1 =
* Fixed banner size issue

= 1.1.2 =
* Updating ad slots will regenerate the load-active-ads.js script with the div append and ad logic.

= 1.1.3 =
* Add cron job to generate load-active-ads.js file 
* Add delete ads slot functionality 

= 1.1.4 =
* Notify when new version release
* if load-active-ad.js not found then create it when go adslot page in the plugin

= 1.1.7 =
* When user login add the masterscript to header
* If masterscript not exist in header - display banner
* Made different section for masterscript from where user can add and remove the masterscript from header

= 1.1.10 =
* Login flow changed
* Client can have multiple website with same login credentials

= 1.1.11 =
* Disable the Ads Blacklisting

= 1.1.12 =
* Enable the Ads Blacklisting

= 1.1.13 =
* If user logout even then masterscript will show

= 1.1.14 =
* If user logout even then masterscript will show

= 1.1.15 =
* If user logout even then masterscript will show

= 1.1.16 =
* Fixed load script issue

== Upgrade Notice ==

= 1.0.0 =
Initial release.


== Support ==

For support, contact: tech@preciso.net

== Source Code Included ==

The plugin bundles third-party libraries as built assets. To comply with WordPress.org requirements, human-readable source files for bundled libraries are included under the `assets/js/src/` folder. Example:

- `assets/js/src/tailwincss.js` — unminified/expanded browser build of `@tailwindcss/browser@4.1.4` (original source: https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4.1.4/dist/index.global.js)
- `assets/js/src/chartjs.js` — reference pointing to unminified Chart.js UMD build `chart.umd.js` (Chart.js v4.5.1) available at https://cdn.jsdelivr.net/npm/chart.js@4.5.1/dist/chart.umd.js

Note: If reviewers require the literal unminified file included in the plugin, I can fetch and place the full `chart.umd.js` under `assets/js/src/` as well.

If you prefer to provide a public repository instead, add your plugin repository URL here (Plugin URI) in this file.

== External Services & Data Disclosure ==

This plugin communicates with external services to provide ad delivery, reporting and payout processing. These services are operated by Ultima and include (but may not be limited to):

- publishers.ultima-ads.com
- pub-api.ultima-ads.com

What data is sent
- Publisher account information (email, account ID) when you create or link an account.
- Site information (site URL, site title) during account setup and to scope ad delivery.
- Ad slot configuration and placement settings when you create or update ad slots.
- Usage and performance metrics such as impressions and click counts for reporting and analytics.
- Payout request data (payment account details and payout amount) when you request withdrawals.

When data is sent
- During account registration and login flows.
- When fetching or updating ad scripts and ad slot settings in the admin UI.
- Periodically (or on demand) to collect ad performance metrics and billing information.
- When you submit a payout request or interact with external integrations.

Why data is sent
- To authenticate and authorize your publisher account.
- To deliver and configure ad scripts for your site.
- To collect analytics required for billing, reporting, and optimization.
- To process payouts and maintain payment records.

Privacy & Terms
- A plugin-specific Privacy Policy and Terms of Service have been added to the plugin root: [PRIVACY_POLICY.txt](PRIVACY_POLICY.txt) and [TERMS_OF_SERVICE.txt](TERMS_OF_SERVICE.txt).
- If you host the plugin on a public repository, include link(s) to your repo here as an alternative to bundling full upstream sources.

Contact
- For questions about what is shared or how to opt out, contact: tech@preciso.net