Skip to content

Latest commit

 

History

History
100 lines (87 loc) · 2.35 KB

SspCampaignWrite.md

File metadata and controls

100 lines (87 loc) · 2.35 KB

SspCampaignWrite

Properties

Name Type
name string
adtype number
ssptype string
rtbtype string
headerBidding boolean
rtbNetwork number
sspPct number
siteid number
slots Array<SspCampaignWriteSlotsInner>
requestUrl string
useType number
zoneurls Array<SspCampaignWriteZoneurlsInner>
pType number
admResponseType string
rtbTplId number
bidAction number
deviceTypeIds Array<number>
osids Array<number>
browserids Array<number>
regionids Array<number>
browserlanguages Array<string>
connectionTypes Array<number>
sspIds Array<number>
wlRonCampaignIds Array<number>
rtbCategories Array<string>
dspIds Array<number>
displayoptions string
logSkipped number
useAdscan number
billOnBurl number
useOptimiser number
optimiserData object
useApi number
apiData object

Example

import type { SspCampaignWrite } from 'goadserver-sdk'

// TODO: Update the object below with actual values
const example = {
  "name": null,
  "adtype": null,
  "ssptype": null,
  "rtbtype": null,
  "headerBidding": null,
  "rtbNetwork": null,
  "sspPct": null,
  "siteid": null,
  "slots": null,
  "requestUrl": null,
  "useType": null,
  "zoneurls": null,
  "pType": null,
  "admResponseType": null,
  "rtbTplId": null,
  "bidAction": null,
  "deviceTypeIds": null,
  "osids": null,
  "browserids": null,
  "regionids": null,
  "browserlanguages": null,
  "connectionTypes": null,
  "sspIds": null,
  "wlRonCampaignIds": null,
  "rtbCategories": null,
  "dspIds": null,
  "displayoptions": null,
  "logSkipped": null,
  "useAdscan": null,
  "billOnBurl": null,
  "useOptimiser": null,
  "optimiserData": null,
  "useApi": null,
  "apiData": null,
} satisfies SspCampaignWrite

console.log(example)

// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example)
console.log(exampleJSON)

// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as SspCampaignWrite
console.log(exampleParsed)

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