IMA SDK macro question

1,030 views
Skip to first unread message

BlankMedia Games

unread,
Jul 14, 2015, 4:28:53 PM7/14/15
to ima...@googlegroups.com
Hello Everyone!

I am working on getting some video ads on my website and I am having trouble finding half decent documentation on the available macros IMA uses.

I have a URL from spotxchange for testing: 


and I went through and put in the macros I knew about myself but I need a timestamp for them. Is there any documentation on all of the macros and what they mean?

Thanks!

Tyler Sidell (IMA SDK Team)

unread,
Jul 14, 2015, 5:09:14 PM7/14/15
to ima...@googlegroups.com
Hi,

The macros, including timestamp, should get filled automatically by the SDK.  The creating a master video tag manually documentation is a great place to start.  If you need assistance getting started with the IMA SDK you can also read any of our Getting Started guides, depending on the SDK version you are implementing (HTML5, Flash, iOS, or Android).

Thanks,
Tyler Sidell
IMA SDK Team

BlankMedia Games

unread,
Jul 14, 2015, 5:11:49 PM7/14/15
to ima...@googlegroups.com
Yes, I understand that the macro is filled by the sdk and I have looked that both of those articles but there is no list of the available macros. Creating a tag manually doesn't help me when i know the fields and what they expect as a value but I do not know the macro the SDK is expecting in order to fill in that value. For example, I have [TIMESTAMP] in my url but I have no idea if that is a valid macro or not.

Tyler Sidell (IMA SDK Team)

unread,
Jul 15, 2015, 10:54:02 AM7/15/15
to ima...@googlegroups.com
Hi,

Although we do not have IMA documentation that lists all of the available macros there is a page that lists all of the available DFP macros.  As this list may not contain all of the up-to-date macros, I would suggest to reach out the DFP support group.  

[TIMESTAMP] is supported by our SDK.  You can test by using our Video Suite Inspector with your ad tag.  Then open up your browser developer tools, look at the Network tab, and you'll be able to see the ad request that is returned.

Thanks,
Tyler Sidell
IMA SDK Team

Message has been deleted

BlankMedia Games

unread,
Jul 16, 2015, 8:23:50 PM7/16/15
to ima...@googlegroups.com
okay great. I have been speaking with my ad provider and they are saving our macros are not populating. 


I am seeing the tremor tag being called here but it looks like the macros are not being populated… here is what I am seeing. Can you please take a look.
 

adCode

kqsg4

playerWidth

400

playerHeight

300

mediaId

[MEDIA_ID]

mediaTitle

[MEDIA_TITLE]

mediaDesc

[MEDIA_DESCRIPTION]

mediaUrl

[MEDIA_URL]

srcPageUrl

[SOURCE_PAGE_URL]



How does the SDK populate these macros? Is there something I should be doing before passing the URL to the ads loader like below?

var adsRequest:AdsRequest = new AdsRequest();
adsRequest.adTagUrl = adTag;
adsRequest.linearAdSlotWidth = 300;
adsRequest.linearAdSlotHeight = 200;
adsRequest.nonLinearAdSlotWidth = 300;
adsRequest.nonLinearAdSlotHeight = 200;

// Instruct the AdsLoader to request ads using the AdsRequest object.
adsLoader.requestAds(adsRequest);

Tyler Sidell (IMA SDK Team)

unread,
Jul 17, 2015, 12:42:17 PM7/17/15
to ima...@googlegroups.com
Hi,

We do not comment on the internal workings of the SDK but at runtime, only supported macros in the URL are replaced.  Currently the highlighted macros below are not supported by the SDK.   If you do need new macros, I can talk to the team to see if this is something that they would consider adding.

Thanks,
Tyler Sidell
IMA SDK Team

Reply all
Reply to author
Forward
0 new messages