Skip to main content

GET All Select Options

Overview


The following table contains important information about the GET method in regards to receiving all select options.

GET All Select Options
MethodGET
URL or Endpoint/api/projects/projectId/ad-schedules/select-options
HeadersAuthorization
ParametersprojectId
BodyNot Applicable

The description of the URL parameter is as follows:

projectId URL Parameter
URL Parameter NameprojectId
MandatoryYes
Typestring
DescriptionUnique Id of the project.

Request Body

The request does not contain a request body.

Response

{
"success": true,
"errors": [],
"messages": [],
"result": {
"adManagerOptions": [
{
"id": 1,
"Value": "VAST"
},
{
"id": 2,
"Value": "VMAP"
}
],
"vpaidModeOptions": [
{
"id": 2,
"name": "Insecure"
},
{
"id": 4,
"name": "Disabled"
}
],
"adSeenOnSubsequentVisitOptions": [
{
"id": 1,
"name": "Play the preroll break"
},
{
"id": 2,
"name": "Do not play ads"
},
{
"id": 3,
"name": "Play a preroll and any skipped midroll"
}
],
"adBreakTypeOptions": [
{
"id": 1,
"name": "Preroll"
},
{
"id": 2,
"name": "Midroll"
},
{
"id": 3,
"name": "Postroll"
}
],
"breakTimingTypeOptions": [
{
"id": 1,
"name": "Seconds into Video"
},
{
"id": 3,
"name": "% of Video"
}
],
"biddingTemplateOptions": [
{
"name": "Bidding type 1 - u ",
"publicId": "bqevmvtn",
"mediationOptionId": 1,
"biddingTemplateBidders": []
},
{
"name": "njomza",
"publicId": "bqevmvto",
"mediationOptionId": 1,
"biddingTemplateBidders": []
},
{
"name": "Mall Bidder Update ",
"publicId": "bqevmvts",
"mediationOptionId": 1,
"biddingTemplateBidders": []
},
{
"name": "Bidding type 1",
"publicId": "bqevmvtz",
"mediationOptionId": 1,
"biddingTemplateBidders": []
},
{
"name": "test idding 2 ad partners - update",
"publicId": "bqevmvue",
"mediationOptionId": 1,
"biddingTemplateBidders": []
},
{
"name": "test bidding temp",
"publicId": "bqevmvuf",
"mediationOptionId": 1,
"biddingTemplateBidders": []
},
{
"name": "Bidding template test add",
"publicId": "bqevmvug",
"mediationOptionId": 1,
"biddingTemplateBidders": []
},
{
"name": "ylber test bidding template",
"publicId": "bqevmvuh",
"mediationOptionId": 1,
"biddingTemplateBidders": []
},
{
"name": "Test Player Bidding",
"publicId": "bqevmvtl",
"mediationOptionId": 1,
"biddingTemplateBidders": []
},
{
"name": "Gentiana",
"publicId": "bqevmvtm",
"mediationOptionId": 1,
"biddingTemplateBidders": []
}
]
},
"resultInfo": null,
"statusCode": 200
}

Information about the fields that appear when you receive the response are displayed in the table below.

Field NameTypeDescription
successboolIf the response is successful it will return true. Otherwise will return false.
errorsarray[]Indicates if there was an error.
messagesarray[]Returns the response message from back-end.
resultarray[Object]Returns the response object.
adManagerObjectReturns the ad manager option.
idinteger($int32)Id of the ad manager type.
namestringName of the ad manager type.
vpaidModeOptionsarray[Object]Returns the VPAID mode options as an array of objects.
idinteger($int32)Id of the ad VPAID mode option.
namestringName of the VPAID mode option.
adSeenOnSubsequentOptionsarray[Object]Returns the subsequent visit options.
idinteger($int32)Id of the subsequent visit option.
namestringName of the subsequent visit option.
idinteger($int32)Id of the ad break type.
namestringName of the ad break type.
breakTimingOptionsarray[Object]Returns the break timing options as an array of objects.
idinteger($int32)Id of the break timing option.
namestringName of the break timing option.
biddingTemplateOptionsarray[Object]Returns the bidding template options as an array of objects.
namestringThe name of the bidding type.
publicIdstringThe id of the bidding type.
mediationOptionIdinteger($int32)The id of the mediation option.
biddingTemplateBiddersarray[Object]Returns the template bidders as an array of objects.
resultInfostringReturns extra information about the result.
statusCodeinteger($int32)Returns the HTTP Status Code.

If the action is successful, the service sends back an HTTP 200 or 201 response.

Errors

For information about the errors that are common to all actions, see Common Errors:

  • HTTP Status Code 400: Bad Request

  • HTTP Status Code 401: Unauthorized

  • HTTP Status Code 403: Forbidden

  • HTTP Status Code 404: Result Not Found

  • HTTP Status Code 500: Internal Server Error

  • HTTP Status Code 503: Backend Fetch Failed