How can I (via Google's DFP or any other method) generate VAST ad tags for javascript ad code, so I can show the ad as pre-roll or mid-roll on videos.
my player supports only vast tags ... so I can not integrate javaspcrit ad codes with it directly.
basically, I want to ad my ad network to DFP so DFP creates the VAST tag and handled this creative.
I assume you are referring to VPAID if you are talking about javascript ads?
Integrating VPAID from scratch can be a complex proces, because the spec specifies a lot of technical requirements for both the player and the ad unit.
There are several ways you can tackle this: