Re: How to create adTagUrl in Google Adsense account?

928 views
Skip to first unread message

IMA SDK Support

unread,
Jan 30, 2013, 2:24:50 PM1/30/13
to ima...@googlegroups.com

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.

http://googleads.g.doubleclick.net/pagead/ads?client=ca-video- afvtest&ad_type=video&description_url=http%3A%2F%2Fmyurl.com%2Fpage%3Fkey%3Dvalu e%26key2%3Dvalue2

Requests video ads for the publisher, ca-video-afvtest, with a description URL of http:// myurl.com/page?key=value&key2=value2


On Wednesday, January 23, 2013 12:57:49 AM UTC-8, Jose Ignacio Hita Barraza wrote:

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!
Reply all
Reply to author
Forward
Message has been deleted
0 new messages