Giter VIP home page Giter VIP logo

binom-api's Introduction

Binom-API-Bash

[in progress] This project contains scripts that help to receive the data from Binom ad tracker in JSON and CSV formats. Useful info on Binom API requests can be found here and here.

Although Binom is a powerful ad manager, it has number of limitations and weak points. The inability to display the dynamics of any parameters in a large timeframe is only one of them. The following scripts help to curl the available data and prapare it for further transformations. The recieved outputs can be be aggregated and enriched to be used in further analythis.

All scripts are written to be executable in Cloud Shell (GCP) To launch script print in Shell:

chmod +x ScriptName.sh # make executable

./ScriptName.sh #launch script

Abbreviations used:

  • GCP - Google Cloud Platform
  • GCS - Google Cloud Stotage

CampList.sh

Script returns the list of ad campaigns running in Binom in JSON format

DailyGeoJSON.sh

This script returns JSON file. It contains data on how traffic was distributed by geos for every campaign in a specific date. This way one can see "Live" data. Here I should explain what Live data in this case is. Binom puts Late Sales not in the date they were made, but to the Lead|Registration date. So you won't see reliable historical data in your tracker. On the contrary, every day the manager will see different KPI on every day that campaigns were running. This script daily scrapes the data for the specific date(e.g. yesterday) and saves it in GCS. This way saving the data on the daily basis will create a dataset with only Live data.

DailyGeoCSV.sh

This script does exactly same job as DailyGeoJSON.sh but produces csv output. Because of Binoms' json stucture(listing objects instead of nesting data) and data enrichment, csv transformation is part of a parsing loop.

binom-api's People

Contributors

mariiachernysh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.