seanzhang414-openadserver

Namespace

seanzhang414-openadserver

Description:
  • Elevate your advertising with OpenAdServer's ML-powered CTR predictions. Tailored for SMBs and developers seeking a powerful yet simple solution. Enjoy full control and maximize revenue without complexity.

Author:

Methods

(async, static) createSeanzhang414OpenadserverInstance(context, body) → {Seanzhang414Openadserver}

Description:
  • Create a new Open Ad Server instance

Example
import { Context } from '@osaas/client-core';
import { createSeanzhang414OpenadserverInstance } from '@osaas/client-services';

const ctx = new Context();
const body: Seanzhang414OpenadserverConfig = { name: 'myinstance', ... };
const instance = await createSeanzhang414OpenadserverInstance(ctx, body);
console.log(instance.url);
Parameters:
Name Type Description
context Context

Open Source Cloud configuration context

body Seanzhang414OpenadserverConfig

Service instance configuration

Returns:
  • Service instance
Type
Seanzhang414Openadserver

(async, static) getSeanzhang414OpenadserverInstance(context, name) → {Seanzhang414Openadserver}

Description:
  • Get a Open Ad Server instance

Example
import { Context } from '@osaas/client-core';
import { getSeanzhang414OpenadserverInstance } from '@osaas/client-services';

const ctx = new Context();
const instance = await getSeanzhang414OpenadserverInstance(ctx, 'myinstance');
console.log(instance.url);
Parameters:
Name Type Description
context Context

Open Source Cloud configuration context

name string

Name of the openadserver to be retrieved

Returns:
  • Service instance
Type
Seanzhang414Openadserver

(async, static) removeSeanzhang414OpenadserverInstance(context, name)

Description:
  • Remove a Open Ad Server instance

Parameters:
Name Type Description
context Context

Open Source Cloud configuration context

name string

Name of the openadserver to be removed