Base URL
The following URL provides the base for all query parameters described below:
http://googleads.g.doubleclick.net/pagead/ads?
Required Parameters
ad_type
(String) Specifies the type of ad desired. These should be concatenated using an underscore (‘_’).
Values
● video
○ All video ads: equivalent to standardvideo_skippablevideo.
● skippablevideo
○ Only skippable video ads. This may require additional publisher permissions to
receive skippable ads. ● standardvideo
○ Only non-skippable video ads. ● image
○ Allows image ads that fit within the specified non-linear slot size. ● text
○ Allows text ads. ● flash
○ Allows flash ads that fit within the specified non-linear slot size.
Examples
● &ad_type=video_text_image_flash
○ Allows all formats.
● &ad_type=video_text
○ Allows any video format and text ads.
● &ad_type=standardvideo_image
○ Allows only standard, non-skippable video and image ads.
V2 Equivalent
com.google.ads.instream.api.AdsRequest.adType
client
(String) The Web Property ID of the publisher.
Example
● &client=ca-video-afvtest
V2 Equivalent
com.google.ads.instream.api.AdsRequest.publisherId
description_url
(String) A full, URL-encoded URL of an HTML page that describes the video.
Example
● &client=ca-video-afvtest
V2 Equivalent
com.google.ads.instream.api.AdsRequest.descriptionUrl
URL Example
The following is a URL example containing the minimum required parameters.
Requests video ads for the publisher, ca-video-afvtest, with a description URL of http:// myurl.com/page?key=value&key2=value2
I am working with Google Flash IMA ads Flash version 3.0. This new update seems very less parameters for requesting an ad from Google AdSense. Ex,
var adsRequestDFP:AdsRequest = new AdsRequest(); adsRequestDFP.linearAdSlotWidth = 400; adsRequestDFP.linearAdSlotHeight = 300; adsRequestDFP.nonLinearAdSlotWidth = 400; adsRequestDFP.nonLinearAdSlotHeight = 300; adsRequestDFP.adTagUrl = "http://ad.doubleclick.net/pfadx/AngelaSite;kw=html5linearnonlinear;sz=300x300;ord=5036130;dcmt=text/xml"
Normally I used adsRequestDFP.publisherId to use my AdSense Id, but now that property is not available. Should I write it in the adTagUrl parameter? How?
Thanks!