Skip to content

Latest commit

 

History

History
62 lines (49 loc) · 1.45 KB

File metadata and controls

62 lines (49 loc) · 1.45 KB

ApiV1CampaignsTypeCampaignIdAdsPostRequest

Properties

Name Type
title string
bid number
destinationUrl string
description string
displayUrl string
previewUrl string
isActive boolean
sortWeight number
bannerPoolId number
videoPoolId number
urlPoolId number
creativeId number
bannerUrl string
bannerHtml string
bansizeid number

Example

import type { ApiV1CampaignsTypeCampaignIdAdsPostRequest } from 'goadserver-sdk'

// TODO: Update the object below with actual values
const example = {
  "title": Promo Q3 banner,
  "bid": 0.0042,
  "destinationUrl": https://example.com/lander?src={subid},
  "description": null,
  "displayUrl": null,
  "previewUrl": null,
  "isActive": null,
  "sortWeight": null,
  "bannerPoolId": null,
  "videoPoolId": null,
  "urlPoolId": null,
  "creativeId": null,
  "bannerUrl": null,
  "bannerHtml": null,
  "bansizeid": null,
} satisfies ApiV1CampaignsTypeCampaignIdAdsPostRequest

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 ApiV1CampaignsTypeCampaignIdAdsPostRequest
console.log(exampleParsed)

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