This example script takes a Google Spreadsheet that is visible to anybody with the URL (example here: https://docs.google.com/spreadsheets/d/1D2_QWqMkELL2H-iSSi53VXJfGHoz9VXVqexRS4T1t4M/edit?usp=sharing), downloads it, converts to AdStage conversion format, then uploads to the AdStage custom conversion endpoint (as documented here: http://docs.adstageapi.apiary.io/#reference/0/custom-conversions/step-2.-post-data)
- To run this script, save this file as conversion_upload_script.rb
- Edit the variables
- ADSTAGE_ORG must be set to your Organization number