Loss Logs Schema

HeaderPositionDefinitionSQL DatatypeDDL Desc
ad_position1If applicable, ad position on pageVARCHAR(255)
app_bundle2Application bundle or package name (e.g., com.foo.mygame). This is intended to be a unique ID across multiple exchanges.VARCHAR(255)
app_id3Application ID on the exchange. For uniqueness, Uses ad exchange/SSP identifier as prefix e.g. pm/ representing pubmaticVARCHAR(255)
app_name4Mobile app nameVARCHAR(255)
auction_id5Unique ID for every auction in the system. A joining key for all the events associated with the auction, like impression, clicks, and activities.VARCHAR(255)
bid_time6Time of bid request sent, YYYY-MM-DD HH:MM:SS in ET timezoneTIMESTAMP
category7CSV of IAB-defined content categories: http://www.iab.com/guidelines/iab-quality-assurance-guidelines-qag-taxonomy/; determine type of content associated with a particular slice of inventoryVARCHAR(255)
content_coppa_flag8Children’s Online Privacy Protection Act (COPPA) Flag; inventory with this flag carries several ad quality limitationsBOOLEAN
content_language9Language in which content associated to the impression is written (as declared by the publisher)VARCHAR(255)
content_rating10Content parental rating (as declared by the publisher)VARCHAR(255)
domain11Domain name from which a given impression originatedVARCHAR(255)
environment_type12Environment type (APP or WEB)VARCHAR(255)
geo_city13City geo code IP address. MaxMindDB Lookup dataVARCHAR(255)
geo_country14Country geo name IP address. MaxMindDB Lookup dataVARCHAR(255)
geo_metro15Metro geo code IP address. MaxMindDB Lookup dataVARCHAR(255)
geo_region16Geo region name IP address. MaxMindDB Lookup dataVARCHAR(255)
geo_zip17Zip code IP address. MaxMindDB Lookup dataVARCHAR(255)
inventory_interstitial18determines if ad tag responsible for the impression accepts interstitial creatives or not; 1 for yes, 0 for noBOOLEAN
inventory_source19Inventory source - exchange nameVARCHAR(255)
inventory_source_relationship20Inventory source relationshipVARCHAR(255)
ip_address21IP address provided by the exchange during the auctionVARCHAR(255)
ip_range22IP address provided by the exchange during the auction (same as ip_address)VARCHAR(255)
placement23Placement ID/name, as provided by the publisher. Prefixed with exchange handle.VARCHAR(255)
platform_bandwidth24Shows whether the browser is using wifi or carrier to establish connection with internet to generate the impressionVARCHAR(255)
platform_browser25Name of browser used during the auction for the impression at handVARCHAR(255)
platform_browser_version26Version of browser used to during the auction for the impression at handVARCHAR(255)
platform_carrier27If the device is using a mobile carrier to establish internet connection, this field will identify which carrier is usedVARCHAR(255)
platform_device_didmd528Hardware device ID (e.g., IMEI); hashed via MD5VARCHAR(255)
platform_device_didsha129Hardware device ID (e.g., IMEI); hashed via SHA1VARCHAR(255)
platform_device_dpidmd530Platform device ID (e.g., Android ID); hashed via MD5VARCHAR(255)
platform_device_dpidsha131Platform device ID (e.g., Android ID); hashed via SHA1VARCHAR(255)
platform_device_idfa32iOS app ID; "Identifier for Advertisers"; deprecatedVARCHAR(255)
platform_device_ifa33ID sanctioned for advertiser use in the clear (i.e., not hashed)VARCHAR(255)
platform_device_make34Make of the device used to generate the impressionVARCHAR(255)
platform_device_model35Model of the device used to generate the impressionVARCHAR(255)
platform_device_screen_size36Screensize of the device used to generate the impressionVARCHAR(255)
platform_device_type37Type of the device used to generate the impressionVARCHAR(255)
platform_js38Indicates whether the browser supports JavaScript or notBOOLEAN
platform_os39Operating system of the device used to generate the impressionVARCHAR(255)
platform_os_version40Operating system version of the device used to generate the impressionVARCHAR(255)
segment_id41AIDEM segment IDVARCHAR(255)
segment_user_id42AIDEM segment user IDINT2
site_id43ID of the site that generated the impression, as provided by the publisher. Prefixed with exchange handle for uniqueness.VARCHAR(255)
site_name44Name of the site that generated the impression, as provided by the publisherVARCHAR(255)
time_of_week45Time of week in GPS weekly time during which the impression occurred; InternalINT4
user_id46Device ID for mobile, cookie for desktop. Will populate with cookie on a desktop OR an iOS/Android ID for mobileVARCHAR(255)
video_boxing_allowed47Indicates if letter-boxing of 4:3 content into a 16:9 window is allowed, where 0 = no, 1 = yesBOOLEAN
video_companion_required48A banner companion ad is required to accompany the video ad: 0=false, 1=trueBOOLEAN
video_playback_method49Video playback method, as determined by the publisher.VARCHAR(255)
video_player_size50Video player sizeVARCHAR(255)
video_start_delay51Indicates the start delay in seconds for pre-roll, mid-roll, or post-roll ad placementsINT2
test52Indicator of test mode in which auctions are not billable, where 0 = live mode, 1 = test modeBOOLEAN
placement_type53Placement type, indicates whether the placement is meant for banner, video ads, or bothVARCHAR(255)
geo_lat54Latitude associated with the impressionVARCHAR(50)
geo_lon55Longitude associated with the impressionVARCHAR(50)
video_min_Duration56Minimum duration of the video creative, as allowed by the publisherINT4
video_max_duration57Maximum duration of the video creative, as allowed by the publisherINT4
video_player_width58Width of the video player that is responsible for generating the impressionINT4
video_player_height59Height of the video player that is responsible for generating the impressionINT4
banner_width60Width of the banner placement tagINT4
banner_height61Height of the banner placement tagINT4
banner_width_max62Maximum width of the banner placement, as allowed by the publisherINT4
banner_height_max63Maximum height of the banner placement, as allowed by the publisherINT4
banner_width_min64Minimum width of the banner placement, as allowed by the publisherINT4
banner_height_min65Minimum height of the banner placement, as allowed by the publisherINT4
dnt66Do Not TrackINT4
geo_type67LocationType, how the geographic information was determinedVARCHAR(20)
bid_time_epoch_in_usecs68bid timestamp(epoch) with microsecond precision. Allows the customer to calculate the bid_time in any timezone instead of relying on bid_time field which is ET timezoneINT8
page_url69URL of the page responsible for the auctionVARCHAR(255)
exchange_predicted_view_rate70Predicted Viewability Rate of the impression within the auction, as determined by the exchange-auctionerNUMERIC(18,6)
available_deal_ids71CSV of all available deal IDs that the impression is available viaVARCHAR(255)
battrs72CSV of Creative attributes that are blocked by the publisher, as declared by the publisherVARCHAR(255)
exchange_auction_id73Auction ID generated by the auction host ; different to that of AIDEMVARCHAR(255)
rewarded74States whether the placement tag behind the impression is meant for rewarded adsINT2
ua75User agent header that is passed along by the browser to the auction host when an impression is generatedVARCHAR(255)
account_id76AIDEM bidder account ID; represents the bidder seat for a particular clientINT4
auction_adgroup_id77Combination of auction ID, buzzkey, account ID, campaign ID, and line item IDVARCHAR(255)
bid_price_micros_usd78Bid price returned by the bidding agent(in USD micros). 1 USD = 1,000,000 microsINT8
bid_time79Time of bid request sent, YYYY-MM-DD HH:MM:SS in ET timezoneTIMESTAMPYYYY-MM-DD HH24:MI:SS.MS in ET
buzz_key80AIDEM Buzz key, an identifier for client bidder instancesVARCHAR(255)
campaign_id81ID of the campaign that submitted the bidINT4
campaign_revenue_amount_micros82Campaign revenue in micros. 1 USD = 1,000,000 microsINT8
campaign_revenue_type83Campaign revenue type determines how revenue is booked by the advertiser for a particular campaign; CPM or CPC (cost per click) basisVARCHAR(255)
creative_id84ID of the creative that was submitted within the bid requestINT4
customer_id85Customer AIDEM ID; cookie ID provided for a particular browser by AIDEMINT4
deal_id86ID of the deal within which the impression is available; Pulsepoint (pp), Mopub (mp), Rubicon (rp); is populated if an impression was sold via a dealVARCHAR(255)
line_item_id87Line Item ID that was responsible for submitting the bid, as listed in AIDEMINT4
line_item_revenue_amount_micros88Amount of revenue booked by line item for winning this impression, in micros. 1 USD = 1,000,000 microsINT8
line_item_revenue_type89Type determines how the revenue was booked by the line item e.g. on a CPM or CPC basisVARCHAR(255)
pre_reduction_bid_price_micros_usd90Bid price returned by the bidding agent in micros. 1 USD = 1,000,000 microsINT8
sent_to_exchange91Always true. Signifies whether this was the bid internally sent to the exchangeBOOLEAN
total_cpm_vendor_fee_amount_micros92Internal, tracks total vendor fee per CPM. 1 USD = 1,000,000 microsINT8
total_percent_vendor_fee_amount_micros93Internal, tracks total vendor fee % of win_cost_micros_usd. 1 USD = 1,000,000 microsINT8
model_id94Pending renaming to agent_id. Holds the agent_id field value of the BidAgentResponse return by the customer's bidding agent. This can be used for debugging.VARCHAR(255)
model_params95Pending renaming to agent_params. Holds the agent_params field value of the BidAgentResponse return by the customer's bidding agent. This can be used for debugging. Format => {key}={value},{key}={value}..VARCHAR(255)
bidding_strategy_id96ID of the custom bidding strategy in AIDEMVARCHAR(255)
bidding_strategy_params97Parameters passed along by the client for the custom bidding strategy in AIDEMVARCHAR(255)
bid_price_micros98Bid price in native currency returned by the bidding agent(in micros). 1 USD = 1,000,000 microsINT8
bid_price_micros_currency99Three letter currency code for bid_price_micros fieldVARCHAR(10)
bid_price_micros_currency_rate100Currency exchange rate (in decimal) at the auction timeNUMERIC(18,10)
exchange_feedback_bid_id101ID of the adcandidate/bid in the bidresponse. It is used to identify the adcandidate making the bid. For GOOGLE_ADX, it is the index of BidResponse_Ad (starting from 0).VARCHAR(255)
adx_creative_status_code102The status code for the ad. See creative-status-codes.txt in the technical documentation for a list of IDs.INT4
adx_cpm_micros103The second price cpm in micros of your account currency if your bid won the auction, or the CPM that must be exceeded to win the auction if your bid was outbid. This is only set if your bid participated in the auction. It is not set if the bid was filtered prior to the auction. It is also withheld if the publisher or winning bidder has opted out of price feedback, or if your account has opted out of sharing winning prices with other bidders.INT8
user_time_of_week104Time of week in GPS weekly time during which the impression occurred using the user's timezone; internalINT4
minimum_bid_to_win105Indicates the minimum bid needed to clear floors and outbid all competitors. Only populated for first-price auctions.INT8
bid_time_utc106Time of bid request sent, in UTC timezoneTIMESTAMP
test_group_id107ID of the Test Group the user fell into within the test plan. Should match the Test Group assigned to the line itemINT4
experiment_user_index108Random number between 1-1000 assigned to a user. Used for test group assignmentINT4
test_plan_id109ID of the Test Plan associated with the campaignINT4
is_gdpr_consented110Whether the auction is regulated by GDPR AND the customer has been granted consent by the end user.VARCHAR(255)
targeted_lat_long_lists111The names of the lat/long lists specified that were targeted and matched on the given request.INT8
qaq_media_rating112If defined, contains the QAG Media Rating of the content as defined by OpenRTB spec.INT8
guaranteed113Indicates whether a given line item is a guaranteed line item or not.INT2
creative_alt_id114If set, the alternative ID of the creative that won the auction will populate in this column.VARCHAR(255)
creative_name115The name of the creative as specified in Buzz.VARCHAR(255)
lat_long_list_item_ids116Comma-separated list of unique keys describing the matching lat/long list item IDs for this event. Formed as the cocatenation of the List ID and List Item ID.VARCHAR(255)
lat_long_list_item_names117Comma-separated list of names (if set) for the the matching lat/long list item IDs for this event. Displayed in the same order as the IDs in the previous column. If no name is set for the matched list item then the field will be set to an empty string for each given list item id. If multiple list items match this field may have multiple commas with no values in it.VARCHAR(255)
bcat118Blocked advertiser categories using the IAB content categories.VARCHAR(255)
platform_device_hwv119Hardware Version of the Device sent via OpenRTBVARCHAR(255)
platform_device_language120Browser language using ISO-639-1-alpha-2. Sent via OpenRTBVARCHAR(255)
platform_device_w121Physical width of the screen in pixelsINT4
platform_device_h122Physical height of the screen in pixelsINT4
platform_device_ppi123Screen size as pixels per linear inch.INT4
platform_device_pxratio124The ratio of physical pixels to device independent pixels.NUMERIC(18,6)
experiment_id_type125The ID type used for segregation of impressions for AIDEM's experiment feature.VARCHAR(255)
tmax126The required time in milliseconds for the bid to respond to the exchange to be considered in the auctionINT4
video_skippable127If the ad is a video ad, this field indicates whether the creative trafficked could have been skippable.INT2
advertiser_id128Advertiser IDINT8
lmt129Limit Ad Tracking (LMT) is a device-level opt-out setting, that allows users to limit the amount of information sent from their device to ad exchanges (including omitting their device ID)INT2