Skip to content
This repository has been archived by the owner on Jun 6, 2022. It is now read-only.

guardian/ad-code-gen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ad-code-gen

DFP Third Party Ad Code Generator

The code-generating script is ad-gen.coffee

Examples of use are:

To Install Coffeescript

sudo npm install -g coffee-script

To Generate JS

coffee -c ad-gen.coffee

To Test

  1. Generate JS
  2. ./startServer.sh
  3. http://localhost:8000/client.html

To Deploy

  1. Generate JS
  2. Upload ad-gen.js to aws-frontend-store/PROD/commercial with: Encryption: AES-256 (Amazon S3 server-side encryption, aka Amazon S3 master-key) Permission: Public Read, Storage Class: Standard, Metadata: Content-Type application/x-javascript
  3. Make script public

TODO

See https://support.google.com/dfp_premium/answer/2811375 for a better way of doing this

About

DFP Third Party Ad Code Generator

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •