I am currently in the progress of writing a Google IMA-like implementation because IMA is not supported on various platforms I am working with.
When IMA sends tracking events, it replaces certain macro's in URLs. See the [XXXXX]
values in the url below.
https://video-ad-stats.googlesyndication.com/video/client_events?event=3&web_property=ca-pub-2226646527662415&cpn=[CPN]&break_type=[BREAK_TYPE]&slot_pos=[SLOT_POS]&ad_id=[AD_ID]&ad_sys=[AD_SYS]&ad_len=[AD_LEN]&p_w=[P_W]&p_h=[P_H]&mt=[MT]&rwt=[RWT]&wt=[WT]&sdkv=[SDKV]&vol=[VOL]&content_v=[CONTENT_V]&conn=[CONN]&format=[FORMAT_NAMESPACE]_[FORMAT_TYPE]_[FORMAT_SUBTYPE]
Because I can not use IMA, I have to replace these macros myself. The google IMA website did not give any clues as to what these values should be. Some I have inferred from looking at the urls IMA creates, but some are still missing. See the full list below.
CPN:
BREAK_TYPE: The type of adbreak (1 for preroll)
SLOT_POS: Sequence number of the advertisement
AD_ID: Advertisement ID, inline-advertisement ID
AD_SYS: Advertisement system, inline-advertisement system
AD_LEN: AD length in miliseconds
P_W: Videoplayers' size width (pixels)
P_H: Videoplayers' size height (pixels)
MT:
RWT:
WT:
SDKV: SDK Version (so our own version?)
VOL: Sound Volume (not 100% sure)
CONTENT_V:
CONN:
FORMAT_NAMESPACE:
FORMAT_TYPE:
FORMAT_SUBTYPE:
What are the other macro values being used by Google IMA?
Additions
- RWT seems to be a succession of four timestamps. Which timestamps not sure. (Unix Epoch format)
- WT is one single timestamp. (Unix Epoch format)