Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 2.16 KB

SiteCreate.md

File metadata and controls

22 lines (19 loc) · 2.16 KB

SiteCreate

Properties

Name Type Description Notes
name string
url string
description string [optional]
main_catid int Main-category id from /api/v1/lookups/main-categories. [optional] [default to 1]
typeid int Website-type id from /api/v1/lookups/website-types. Module-gated. [optional] [default to 0]
categories int[] Category ids from /api/v1/lookups/categories. Module-gated (modules.global.categories). [optional]
sitelanguages string[] ISO language codes from /api/v1/lookups/website-languages. Module-gated (modules.global.website_languages). [optional]
postbacks array<string,mixed>[] Per-event postback URLs. Module-gated (modules.publisher.postbacks). [optional]
ad_domainid int Ad-domain id when the tenant uses a separate ad-serving domain. [optional] [default to 0]
tags int[] Site groups (campaign_groups ids). A zone with no groups of its own inherits these. [optional]
isapp bool A mobile app instead of a website (in-app ads through Prebid Mobile or an SSP's OpenRTB app requests, docs/IN_APP.md). `url` is then set by the server to https://<bundle pseudo-domain>.inapp (lowercase, other characters → '-', e.g. com.example.game → com-example-game.inapp) — the address the ad server runs the app's traffic under — and the site skips the verification meta tag (publish the ads.txt line as app-ads.txt on the developer website). Campaign domain filters and blocklists take apps as `app:<bundle>`. [optional] [default to false]
app_bundle string With isapp (required): the bundle the SDK sends as app.bundle — Android package name, iOS bundle id or numeric App Store id. [optional]
app_store_url string With isapp: the store page (http/https). [optional]
app_platform string With isapp; guessed from app_store_url when omitted. [optional]

[Back to Model list] [Back to API list] [Back to README]