Integration with DoubleClick for Publisher - VMFive/vmfive-man-web-demo GitHub Wiki

Getting Started

This section will introduce how to served VMFive Ads through DoubleClick for Publisher(DFP).

Get Your Sample Code

Get your code from VMFive Ads Universal Code.

(Need Safeframe serving? Please check VMFive Ads Inline Code.)

How to use DFP to serve VMFive Ads

Create AdUnit

  1. Sign in DFP and go to Inventory page

  2. Choose New ad unit and select ad unit's level

    https://github.com/VMFive/vmfive-man-web-demo/blob/gh-pages/images/guideimages/dfp/adunit_1.png

  3. Input the Code (Unique ID) you want and filled other optional fields you need

  4. Choose default size provided by DFP or input your own custom size if it was not in the list

    https://github.com/VMFive/vmfive-man-web-demo/blob/gh-pages/images/guideimages/dfp/adunit_2.png

  5. Save

  6. Click Generate Tags to get your Google Publisher Tag (GPT)

    https://github.com/VMFive/vmfive-man-web-demo/blob/gh-pages/images/guideimages/dfp/adunit_3.png

    https://github.com/VMFive/vmfive-man-web-demo/blob/gh-pages/images/guideimages/dfp/adunit_4.png

  7. Enable Enable single request and Collapse empty divs

    https://github.com/VMFive/vmfive-man-web-demo/blob/gh-pages/images/guideimages/dfp/adunit_5.png

  8. Get your GPT code

    https://github.com/VMFive/vmfive-man-web-demo/blob/gh-pages/images/guideimages/dfp/adunit_6.png

Deliver VMFive Ads

  1. Sign in DFP and go to Delivery page

  2. Choose Order from left menu and click New Order

    https://github.com/VMFive/vmfive-man-web-demo/blob/gh-pages/images/guideimages/dfp/deliver_1.png

  3. Input Order Name you want and choose (or create) an Advertiser

    https://github.com/VMFive/vmfive-man-web-demo/blob/gh-pages/images/guideimages/dfp/deliver_2.png

  4. Input the Name of Line Item and start setting your line item

  5. Select Inventory Sizes (You could input custom size here, such as 300x200)

    https://github.com/VMFive/vmfive-man-web-demo/blob/gh-pages/images/guideimages/dfp/deliver_3.png

  6. Set your Delivery Type, Start Time, End Time, Price, etc

    You could also check the reference from DFP to set your line item :Create a line item

    https://github.com/VMFive/vmfive-man-web-demo/blob/gh-pages/images/guideimages/dfp/deliver_4.png

  7. Add specific Ad Unit you want to target in Add Targeting https://github.com/VMFive/vmfive-man-web-demo/blob/gh-pages/images/guideimages/dfp/deliver_5.png

  8. Click Save

  9. Enter Creatives from left menu

  10. Click Add Creative and choose an Advertiser

https://github.com/VMFive/vmfive-man-web-demo/blob/gh-pages/images/guideimages/dfp/deliver_6.png

https://github.com/VMFive/vmfive-man-web-demo/blob/gh-pages/images/guideimages/dfp/deliver_7.png

  1. Choose Third party

    https://github.com/VMFive/vmfive-man-web-demo/blob/gh-pages/images/guideimages/dfp/deliver_8.png

    https://github.com/VMFive/vmfive-man-web-demo/blob/gh-pages/images/guideimages/dfp/creative_1.png

  2. Set your Creative Name

  3. Place VMFive Ad Universal Code in the Code Snippet Area

  4. Check if macros have been inserted correctly

    https://github.com/VMFive/vmfive-man-web-demo/blob/gh-pages/images/guideimages/dfp/creative_2.png

  5. Choose one Target ad unit size. (Target ad unit size could not be changed once you saved it.)

  6. "Serve into a SafeFrame" option depends on what type of code you used

    1. If you were using VMFive Ads Universal Code, please DO NOT enable Serve into a SafeFrame.
    2. If you were using VMFive Ads Inline Code, please make sure Serve into a SafeFrame was checked.
  7. Click Add Line Items

    https://github.com/VMFive/vmfive-man-web-demo/blob/gh-pages/images/guideimages/dfp/deliver_10.png

  8. Select Line Items you want to associate

    https://github.com/VMFive/vmfive-man-web-demo/blob/gh-pages/images/guideimages/dfp/deliver_11.png

    https://github.com/VMFive/vmfive-man-web-demo/blob/gh-pages/images/guideimages/dfp/deliver_12.png

  9. Save

  10. Follow Creative Setting

  11. Back to your Order and approve it. (Sometimes you also have to active your Line Item if it was inactive)

  12. Take a coffee and wait it for 30~60 minutes to start delivery