Targeting

Create a Target

Create a target

post/targets

Request

  • Base URL
    https://api.mediamath.com/api/v3.0
  • Auth
    OAuth 2
    Authorization codehttps://auth.mediamath.com/authorize
    Token URLhttps://auth.mediamath.com/oauth/token
    Scopesoffline_access, manage:services
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Request body

parent_idinteger
namestring required
factual_idstring
mediamath_organization_idinteger
target_inetstring
visibleboolean
visible_overriddenboolean
bidder_frequencyinteger
dimension_codestring

Example request

{
  "parent_id": 10,
  "mediamath_organization_id": 20,
  "bidder_frequency": 5
}

Response

Target response

Example response

{
  "data": {
    "parent_id": 10,
    "mediamath_organization_id": 20,
    "bidder_frequency": 5
  },
  "meta": {
    "status": "success"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.