The below macros should be written as {{.MACRO}}
, there is also a description of the macro - you just need to pick up the necessary macro.
{{.Exchange}}
-- The name of the exchange{{.SSP}}
-- The name of the SSP{{.AppBundle}}
-- Unique identifier for the app(bundle_id){{.AppName}}
-- App name from the store{{.BidID}}
-- Unique ID of the bid (and impression, click, and install, respectively){{.CampaignID}}
-- Campaign_id{{.CampaignTitle}}
-- Campaign name{{.City}}
-- City{{.Country}}
-- Country (Indicated by 3 characters-RUS / USA){{.Country2}}
-- Country (Indicated by 2 characters-RU / US){{.CreativeID}}
-- Creative_id
{{.CreativeHash}}
-- Creative hash{{.CreativeType}}
-- Creative type (could be banner / video / native){{.DeviceMake}}
-- The manufacturer of the device{{.DeviceModel}}
-- Device Model{{.IFA}}
-- A unique advertising ID, the case of which is set automatically depending on the OS{{.ImpWidth}}
-- The width of the placement during the bid{{.ImpHeight}}
-- The height of the placement during the bid{{.Interstitial}}
-- Is the placement full screen{{.IP}}
-- IP address{{.Lang}}
-- language (Indicated by 2 characters-RU / USA){{.Lat}}
-- Latitude from -90.0 to +90.0, where negative is south{{.Lon}}
-- Longitude from -180.0 to +180.0, where negative is west.{{.Month}}
-- Month in UTC (numbers){{.OSVer}}
-- Operating system version{{.PayoutCPI}}
-- Payout CPI size{{.Revenue}}
-- For CPM (cost per impression ), for CPC-cost per click{{.RevenueCPM}}
-- For the CPM case, the cost per impression (1000 units){{.Rewarded}}
-- Is the ad placement Rewarded{{.UserAgent}}
-- The user-agent during the bid{{.Error}}
-- Address of the bidease error tracker{{.Event}}
-- Address of the bidease event tracker{{.ImpCr}}
-- Address of the impression tracker from bidease creatives{{.Imp}}
-- Address of the impression tracker bidease{{.ImpType}}
{{.Click}}
-- Address of the click tracker{{.ImpURL}}
-- Link to the tracker (af/adjust, ...) where to send the information by impressions{{.ClickURL}}
-- Link to the tracker (af/adjust, ...) where to send click-through information{{.TargetURL}}
-- Link to the app in the store{{.CompanyID}}
-- Organization ID on bidease platform{{.ProductID}}
-- Product (Application or Mobile Content) ID{{.OriginCompanyID}}
-- Original parent campaign for retargeting{{.OriginCreativeID}}
-- Original parent creative for retargeting
{{.CampaignCreatedAt.Format "2006-01-02"}}
-- Campaign creation date in `2024-02-07` format
{{.MD5 .AppBundle}}
-- MD5 hashed unique identifier for the app(bundle_id)
{{.UniqueID}}
-- Bidease internal device ID
Macros below are written as {{MACRO}}
{{time.Unix}}
-- bid time in unix timestamp
{{time.Format "2006-01-02"}}
-- bid time in `2024-02-07` format
You can use custom variables in campaigns. There is a certain type of macros that you can use to pass hardcoded values for each campaign/creative.
For example, you need to pass API key to your MMP. You should use custom variable:
In Key field specify name of that macros ( you can use any name for that).
In Value field specify a value for that macros.
Then you should add new variable into tracking link.
- Variables from campaigns and creatives are written as
{{.Var "VARIABLE_NAME"}}
- For variable MyApiKey macros would be look like this
{{.Var "MyApiKey"}}
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article