Update Supply

Updates Supply

PATCH /api/player/[player_id]

Request
Body Parameters
     

Attribute Name

Summary

Required

Possible Values

Default

player_name

Supply Name

Yes

string

NA

player_type

Player Type

Yes

0 - HTML Player

1 - Vast 

2 - CedatoX

NA
is_activeactiveNo0/11
is_desktopIs desktop supplyNo0/10
is_mobile_webIs mobile web supplyNo0/10
is_mobile_app
Is mobile app supplyNo0/10
is_ctvIs CTV supplyNo0/10
isMutedMuteNo0/10
rotateAllows ad rotationNo0/10
rotate_numberNumber of allowed rotationsNo

1 to 5 

0 is unlimited

0
autoplayAutoplayNo0/10
controlbarControl BarNo0/10
loader_image_urlImage for url loaderNo  
cost_typeCost Type

No

(Yes if CedatoX)

1 - Revshare (Not CedatoX)

2 - Fixed CPM per Opportunities (Not CedatoX)

3 - Fixed CPM per Impressions (Not CedatoX)

4 - Revshare (CedatoX)

5 - Fixed CPM (CedatoX)

 
cost_value No  
user_mvr

VAST Requests Limit

Nofrom 1 to 5 (highest)5
domain_list_type

List restriction type (cedatoX)

No

1 - white list

2- black list

0
preroll

Pre Roll

No0/10
preroll_time

Pre Roll Ad Max Loading Time

Noint4
max_total_vast_requests

Maximum Ad Requests per Opportunity

No  
content_url

Content video

No  
content_loop

Loop Content

No  
content_play_full

Play Full Content

No  

affiliate_network_id

Partner Network ID (CedatoX)Only For CedatoX NA
callbacksCallbacksNo

callbacks[0][url]=https://callbackurl.com&callbacks[0][typeId]=0&callbacks[0][eventId]=1

eventId options :

  • Player Ready = 1
  • Ad Starts = 2
  • Ad Complete =3
  • Ad Click = 4

typeId is mandatory

  • URL request = 0
  • JS run = 1 (eventId should be 2)
 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us how can we improve this article!

Select atleast one of the reasons

Feedback sent

We apprciate your effort and will try to fix the article