Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 595 Bytes

File metadata and controls

24 lines (15 loc) · 595 Bytes

AdView Manager

Gives you the ability to generate the code required for showing ads on a website (publisher).

Testing

There is a local server that you can run for testing purposes This server gives you access to routes for showing ads and in terms to view, the generated by this crate HTML/JavaScript code which is used on a publisher websites.

Running the local server:

RUST_LOG=debug cargo run -p serve

This will start a server at 127.0.0.1:3030

You can use RUST_LOG environment variable to set the logging level for the server.

Routes:

  • GET /ad - visualizes a single ad