Instance Level

Here you can find the endpoints and parameters for Instances, using the DT Management API.

Get Instances

Description

Return the instance configuration by Instance ID.

Show all the configured instances for a specific placement.

Method

GET console.fyber.com/api/management/v1/instance?instanceInternalId=

GET console.fyber.com/api/management/v1/instance?placementId=

Request Parameters

Key
Description
Type
Required
Example

instanceInternalId

The ID of the instance (DT ID)

String

Required

678643

PlacementId

The ID of the placement

String

Required

10804

Example Request

console.fyber.com/api/management/v1/instance?placementId=10804

Response Parameters

Key
Description
Type
Example

name

DT instance name

String

"my-instance"

instanceInternalId

DT instance ID

String

"123123"

mediatedNetworkName

The mediated network of the instance

String

"Meta"

instanceId

External instance value

String

"my-instanceId"

status

The status of the instance. Can be either "active" or "inactive"

String

"active"

userTrackingStatus

User tracking status

String

targetedCountries

The targeted countries of the instance

Object (enabled: boolean, include: boolean, countries: string array)

{ "countries": ["BT", "SG"], "include": true, "enabled": true }

cpmManualPrices

The manually set CPM price you predict to be paid by this instance. This price will be used if "Manual" CPM price method is selected or while Auto CPM prediction ramps up

Object Array (Country: string, price: number)

[{ “Country”: “WW”, “Price”: 0.01 }]

cpmPriceMethod

Manual/AUTO

String

"AUTO"

capping

*only if enabled=true Limit the number of impressions per second / minute / day

Object (value: number, unit: String, enabled: boolean)

{ "value": 12, "unit": "minute", "enabled": true }

pacing

*only if enabled=true Set the pace for the maximum number of ad impressions per second / minute / day / hour

Object (value: number, unit: String, enabled: boolean)

{ "value": 12, "unit": "minute", "enabled": true }

Example Response

Create Instance

Description

Show all the configured instances for a specific placement.

Method

POST https://console.fyber.com/api/management/v1/instance

Request Parameters

Key
Description
Type
Required
Example

placementId

The ID of the placement

String

Required

"123321"

name

The name of the instance

String

Required

"my-instance-name"

instanceId

The external instance ID

String

Required

"my-instance-id"

mediatedNetworkName

The mediated network

String

Required

"Meta"

UserTrackingStatus

*only if enabled=true

String

Optional

“Tracking Only”

geo

*only if enabled=true

Object (enabled: boolean, include: boolean, countries: string array)

Optional

{ "countries": ["BT", "SG"], "include": true, "enabled": true }

capping

*only if enabled=true Limit the number of impressions per second / minute / day

Object (value: number, unit: string)

Optional

{ "value": 12, "unit": "minute", "enabled": true }

pacing

*only if cpmPriceMethod= manual Set the pace for the maximum number of ad impressions per second / minute / day / hour

Object (value: number, unit: string)

Optional

{ "value": 12, "unit": "minute", "enabled": true }

cpmManualPrices

The manually set CPM price you predict to be paid by this instance. This price will be used if "Manual" CPM price method is selected or while Auto CPM prediction ramps up

Object array (price:number, country:string)

Optional

[{ price: 2, Country: “US” }]

cpmPriceMethod

The CPM price method of the instance

String

Optional

"AUTO"

Starting from March 1st 2022, the names of Facebook and Facebook Bidder in the Management API have been changed to Meta and Meta Bidder, accordingly. Adjust when using the API, as required.

Example Request

Response Parameters

Key
Description
Type
Example

name

DT instance name

String

"my-instance"

instanceInternalId

DT instance ID

String

"123123"

mediatedNetworkName

The mediated network of the instance

String

"Meta"

instanceId

External instance value

String

"my-instanceId"

status

The status of the instance. Can be either "active" or "inactive"

String

"active"

userTrackingStatus

User tracking status

String

"Tracking Only"

targetedCountries

The targeted countries of the instance

Object (include: boolean, value: string array)

{”enabled”: true, “include”: true, “countries”: [“US”]}

cpmManualPrices

The manually set CPM price you predict to be paid by this instance. This price will be used if "Manual" CPM price method is selected or while Auto CPM prediction ramps up

Object Array (country: string, price: number)

[{ “Country”: “WW”, “value”: 0.01 },{ “Country”: “IL”, “Price”: 0.01 }]

capping

*only if enabled=true Limit the number of impressions per second / minute / day

Object (value: number, unit: string)

{ "value": 12, "unit": "minute", "enabled": true }

pacing

*only if enabled=true Set the pace for the maximum number of ad impressions per second / minute / day / hour

Object (value: number, unit: string)

{ "value": 12, "unit": "minute", "enabled": true }

Example Response

Update Instance

Description

Show all the configured instances for a specific placement.

Method

PUT https://console.fyber.com/api/management/v1/instance

Request Parameters

Key
Description
Type
Required
Example

instanceInternalId

The DT ID of the instance

String

Required

"123123"

name

The name of the instance

String

Optional

"my-instance-name"

cpmPriceMethod

The CPM price method of the instance

String

Optional

“auto”

status

The status of the instance. Can be either "active" or "inactive"

String

Optional

“inactive”

userTrackingStatus

User tracking status

String

Optional

“Tracking Only”

geo

*only if enabled=true

Object (enabled: boolean, include: boolean, countries: string array)

Optional

{ "countries": ["BT", "SG"], "include": true, "enabled": true }

capping

*only if enabled=true Limit the number of impressions per second / minute / day

Object (value: number, unit: string)

Optional

{ "value": 12, "unit": "minute", "enabled": true }

pacing

*only if enabled=true Set the pace for the maximum number of ad impressions per second / minute / day / hour

Object (value: number, unit: string)

Optional

{ "value": 12, "unit": "minute", "enabled": true }

cpmManualPrices

The manually set CPM price you predict to be paid by this instance. This price will be used if "Manual" CPM price method is selected or while Auto CPM prediction ramps up

Object Array (country: string, price: number)

Optional

[{ “Country”: “WW”, “price”: 0.01 },{ “Country”: “IL”, “Price”: 0.01 }]

Example Request

Response Parameters

Key
Description
Type
Example

name

DT instance name

String

"my-instance"

instanceInternalId

DT instance ID

String

"123123"

mediatedNetworkName

The mediated network of the instance

String

“Meta”

instanceId

External instance value

String

“my-instanceId”

status

The status of the instance. Can be either "active" or "inactive"

String

“active”

userTrackingStatus

User tracking status

String

“Tracking Only”

targetedCountries

The targeted countries of the instance

Object (enabled: boolean, include: boolean, countries: string array)

{ "countries": ["BT", "SG"], "include": true, "enabled": true }

cpmManualPrices

The manually set CPM price you predict to be paid by this instance. This price will be used if "Manual" CPM price method is selected or while Auto CPM prediction ramps up

Object Array (country: string, price: number)

[{ “Country”: “WW”, “Price”: 0.01 }]

capping

*only if enabled=true Limit the number of impressions per second / minute / day

Object (value: number, unit: string)

{ "value": 12, "unit": "minute", "enabled": true }

pacing

*only if enabled=true Set the pace for the maximum number of ad impressions per second / minute / day / hour

Object (value: number, unit: string)

{ "value": 12, "unit": "minute", "enabled": true }

Example Response

Delete Instance

Description

Delete a specific instance.

Method

DELETE https://console.fyber.com/api/management/v1/instance

Request Parameters

Key
Description
Required
Type

instanceInternalId

The DT ID of the instance

Required

String

Example Request

Multi-Test

  • It is not possible to create or update Placements under multi-test

  • It is possible to use the ‘Get’ method to return them - get placement by placement ID, get placements by app ID, get instance by instance ID and get instances by placement ID;

For more information, see Placement Experiments.

Example Response

Store Categories

Set out below are a list of all store categories:

chevron-rightAndroid Store Categorieshashtag

'Books & Reference', 'Business', 'Comics', 'Communication', 'Education', 'Entertainment', 'Finance', 'Games - Arcade & Action', 'Games - Brain & Puzzle', 'Games - Cards & Casino', 'Games - Casual', 'Games - Live Wallpaper', 'Games - Racing', 'Games - Sports Games', 'Games - Widgets', 'Health & Fitness', 'Libraries & Demo', 'Lifestyle', 'Live Wallpaper', 'Media & Video', 'Medical', 'Music & Audio', 'News & Magazines', 'Personalization', 'Photography', 'Productivity', 'Shopping', 'Social', 'Sports', 'Tools', 'Transportation', 'Travel & Local', 'Weather', 'Widgets', 'Casual', 'Android Wear', 'Art & Design', 'Auto & Vehicles', 'Beauty', 'Dating', 'Events', 'Action', 'Adventure', 'Arcade', 'Board', 'Games - Cards', 'Casino', 'Educational', 'Family', 'Music Games', 'Puzzle', 'Role Playing', 'Simulation', 'Strategy', 'Trivia', 'Word Games', 'House & Home', 'Maps & Navigation', 'Overall', 'Parenting', 'Video Players & Editors', 'Word', 'Card'

chevron-rightiOS Store Categorieshashtag

'Books', 'Business', 'Catalogs', 'Education', 'Entertainment', 'Finance', 'Food & Drink', 'Games - Action', 'Games - Adventure', 'Games - Arcade', 'Games - Board', 'Games - Card', 'Games - Casino', 'Games - Dice', 'Games - Educational', 'Games - Family', 'Games - Kids', 'Games - Music', 'Games - Puzzle', 'Games - Racing', 'Games - Role Playing', 'Games - Simulation', 'Games - Sports', 'Games - Strategy', 'Games - Trivia', 'Games - Word', 'Health & Fitness', 'Lifestyle', 'Medical', 'Music', 'Navigation', 'News', 'Newsstand', 'Photo & video', 'Productivity', 'Reference', 'Social Networking', 'Sports', 'Travel', 'Utilities', 'Weather', 'Games

Last updated