New: Automate Hosting & WordPress Setup via API
26th April 2026Why we built it
Agencies managing ads.txt for dozens of publishers have been telling us the same thing: setting up each new domain still required a few manual clicks in our UI. For an agency onboarding their tenth or fiftieth client, those clicks add up.
So we've added two new API endpoints that let you automate the bits that were previously UI-only.
Connect Hosting via API
The new /api/1.0/domain/hosting endpoint enables Connect Hosting for any domain in your account and returns the hosted ads.txt URL ready to share with the publisher.
One call gives you back the redirect URL the publisher needs to point their /ads.txt at. The endpoint is idempotent — call it again to retrieve the same URL, or pass enabled=0 to disable hosting.
WordPress plugin connect via API
The new /api/1.0/domain/wordpress endpoint accepts the same Connect Data blob the WordPress plugin generates today, runs the live handshake against the publisher's WordPress site to verify credentials, and saves the connection.
If you receive Connect Data from your client via email, ticket, or form, you can now feed it straight into your automation rather than pasting it into our UI. Same endpoint disconnects too.
Reliability improvements you'll notice
- Connect Hosting auto-verify — domains using Connect Hosting now verify themselves on the first successful sync. No need to click verify manually after enabling hosting.
- Redirect health alerts — if your
/ads.txtredirect to our hosting endpoint stops working, we surface a non-blocking alert in the UI so you know to check before your inventory gets rejected. - Sync loop fix — Connect Hosting domains no longer get stuck in a re-sync loop in rare edge cases.
Accidental deletes are now recoverable
Previously, deleting a domain or group cleared the underlying ads.txt history. Now, when something is deleted we keep the last known ads.txt content as a recoverable snapshot.
So if a client asks you what was in their ads.txt before they removed a domain — or you accidentally delete the wrong group — the content is still recoverable. Drop us a line and we can pull it back.
One more thing worth knowing
Search now reveals every match — searching your ads.txt records, domain list, or group list shows every matching row in one view rather than hiding matches across pages. Easier to find an entry by partial name.
Where to start
API access is included with the Ad Network tier. Generate a key and secret in your account settings, then check the API documentation for the full reference.
If you're already on the Ad Network tier and have automation infrastructure in place, plugging these new endpoints in should be a half-day job. If you'd like a hand sketching the integration, we're happy to help.
Questions about automating ads.txt management for your agency? Contact our team for a personalized demo.
Articles
New: One Reuse Group, DIRECT on Your Site and RESELLER on Publishers
29th May 2026
New: Automate Hosting & WordPress Setup via API
26th April 2026
The Hidden ROI of ads.txt Management for Ad Networks
4th October 2025
Under New Management
10th August 2025
Appending Custom ads.txt Records
15th March 2021
New Collaboration Process
22nd February 2021
Goodbye Duplicate Records!
24th November 2020
Publisher Plan Changes
7th July 2020
ads.txt Comparison Tool
7th July 2020
Collaborator Search & Flex Data Import
9th August 2018
Ad Networks: Managing Your Publisher's ads.txt Files
31st July 2018
ads.txt Hosting, Certification ID Validation & More
24th July 2018
Introducing Flex Records
18th July 2018
The perfect ads.txt file
12th July 2018
What is an ads.txt file?
1st July 2018