blockscout / frontend

Front-end application for Blockscout
https://blockscout.com
GNU General Public License v3.0
139 stars 360 forks source link

Add ad provider #2053

Open ulyanas opened 6 days ago

ulyanas commented 6 days ago

The task is to add one more ad provider. Provider name: base

API: https://www.base.org/api/ocsRegistry Endpoints:

Fields mapping:

Image banners: Destination URL -> Target URL + utm_source=blockscout&utm_medium=ad Image > Image URL (looks like we don't know the dimensions yet, will probably need to resize it to fit the placements Alternate text > CTA Text

Notes:

Text ads:
Image

Logo > Creator Image URL Name > Title Text > Short Description CTA > CTA Text Destination URL -> Target URL + utm_source=blockscout&utm_medium=ad

API spec - on request