Skip to content

Instantly share code, notes, and snippets.

@Meekohi
Created October 25, 2017 18:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Meekohi/8a303e73f90fa1f2018415c6031daa34 to your computer and use it in GitHub Desktop.
Save Meekohi/8a303e73f90fa1f2018415c6031daa34 to your computer and use it in GitHub Desktop.
Instructions for initial setup of Scenethink Main Advertisement in Google DFP
  1. Delivery > Creatives > Add Creatives
  2. Choose the advertiser
  3. Choose Custom creative type
  4. Pick a name
  5. Upload your image under "Upload Files". Use a 600x1000px image (can actually be any size, but 600x1000 will look good)
  6. Paste this code snippet:
<div class='sctk-ad-space'>
<a href='%%CLICK_URL_ESC%%%%DEST_URL%%'>
<img src='INSERT_FILE_MACRO_HERE'/>
</a>
</div>
  1. Highlight INSERT_FILE_MACRO_HERE and click "Insert file macros" and choose your image. It'll replace that text with something like %%FILE:PNG1%%
  2. Choose your click-through URL
  3. Target ad size: select 600x1000 (Note: choose this even if you uploaded a different sized image above!)
  4. uncheck "Serve into a SafeFrame"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment