Amazon TAM Bid Metrics
Amazon TAM Bid Metrics reports are supported through the Switchboard Amazon S3 Connector. To ensure that any restatements are ingested, we recommend using a 60-day lookback period (by setting the lookback_days
parameter to 60
).
Sample Switchboard Script
import amazon_tam_bid_metrics_raw from {
type: "s3_ng";
regex: "s3://aps-external-download/aps-download-publisher-12345/bid_metrics_report/YYYY-MM-DD/.*";
datetime_pattern: "*/YYYY-MM-DD/*";
key: "aws_amazon_tam_key";
format: "json";
lookback_days: 60;
period_hours: 1;
} using {
filename: string;
date: datetime;
hour: integer;
sitename: string;
size: string;
slotname: string;
ipgeo: string;
devicespec: string;
bidder_name: string;
inventorytype: string;
auctiontype: string;
outgoing_bid_requests: integer;
valid_bids: integer;
bids_won: integer;
no_bids: integer;
bids_error: integer;
bids_timeout: integer;
impressions: integer;
earnings: float;
};