| Is there a DFP macro for the Dimensions of the Creative? | maxbrow | 3/29/11 12:13 PM | Hi guys, we are looking for a way to dynamically add the dimensions of the creative into the JavaScript of a third party ad tag that we are trafficking - and I was wondering if DFP already had a handy macro that would pull the dimensions value in? O |
| Re: Is there a DFP macro for the Dimensions of the Creative? | oncalladops | 3/29/11 1:05 PM | Hi Max, to my knowledge there is not...I can also tell you that messing around with a 3rd party tag? not a good idea. It's really easy to mess up the tracking for the advertiser and they usually aren't too happy about that! :-) Why do you need it |
| Re: Is there a DFP macro for the Dimensions of the Creative? | maxbrow | 3/29/11 1:36 PM | Hi Rainey - thanks for the quick reply on that! In our tag, we actually have a specific variable for the creative dimensions - reason being that our reporting system captures the data for processing on our back end, and up to this point we've been en |
| Re: Is there a DFP macro for the Dimensions of the Creative? | oncalladops | 3/29/11 2:04 PM | No problem Max... sorry I can't give you an answer that you need/want or one that's very techy. I do know that messing with the code in 3rd party tags really isn't something you want to do much of...I wonder if you could have a snippet of code that |
| Re: Is there a DFP macro for the Dimensions of the Creative? | Sean Dillon | 5/17/12 5:31 AM | Hi, am resurrecting this as I was looking for something similar today. So, one way would you could expose some info about the ad-size would be to use the expand macro %p to pick up the 'sz' key-value-pair in the initial adtag eg; adSize = "%psz=!;" |
| Re: Is there a DFP macro for the Dimensions of the Creative? | Andrew- DFP Product Manager | 5/17/12 8:46 AM | Hi Sean, We've added two macros, %%WIDTH%% and %%HEIGHT%% that will get this info for you. The code should go out in our next release, so these should start working by mid-late next week. Best,Andrew |