This document provides cURL examples for testing the ad-tech banner API endpoints, including fetching banners, tracking clicks, and tracking impressions.
http://localhost:8080/discovery-service/api/v1/adtech
| module RakeTaskServices | |
| class DeleteKeenDuplicateEventsService < ApplicationService | |
| def initialize(collection_id, start_date: '01/12/2021', end_date: Date.today) | |
| @collection_id = collection_id #collection id is the id of getro jobs collection. | |
| @start_date = start_date.to_date | |
| @end_date = end_date | |
| end | |
| def call | |
| puts "Total events count for collection##{collection_id}: #{collection_events_count}" |
| ### Keybase proof | |
| I hereby claim: | |
| * I am mohamedelkadi on github. | |
| * I am molhm (https://keybase.io/molhm) on keybase. | |
| * I have a public key ASDqCPFI5vZMsE9JAcx4njme5oGeCxTzI93v-Duu2xQ41Qo | |
| To claim this, I am signing this object: |