Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Required parameters: name, rate, vast_endpoint_url, demand_partner_id.


Response

Status code 200

Code Block
{
  'account_id': 1,
  'active': True,
  'allowed_player_sizes': [
    's',
    'm',
    'l',
    'u'
  ],
  'bid_floor_type': 'dynamic',
  'bid_margin': 1.0,
  'bid_optional_params': {'context': 0},
  'bid_params': {'placementId': u'1'},
  'bid_platform': None,
  'budget_metric': None,
  'budget_pacing': None,
  'budget_period': None,
  'budget_value': None,
  'campaign_id': None,
  'country_codes': [],
  'country_targeting': 'All',
  'demand_code': None,
  'demand_group_id': None,
  'demand_partner_id': 1764,
  'tag_pixels': [],
  'demand_tag_type': 2,
  'demand_type': 2,
  'direct_connect': False,
  'dma_codes': [],
  'dma_targeting': u'All',
  'domain_list_ids': [],
  'domain_targeting': u'All',
  'end_date': None,
  'frequency_cap_metric': None,
  'frequency_cap_period': None,
  'frequency_cap_value': None,
  'id': 30424,
  'key_value_targeting': True,
  'name': 'TEST API DOCS',
  'player_size_targeting': 'All',
  'rate': '0.01',
  'start_date': None,
  'supply_tag_ids': [96296],
  'targeting_demand_ids': [],
  'targeting_demand_white_list': '',
  'timeout': 20000,
  'updated_at': '2017-07-28T15:06:47.191Z',
  'user_agent_devices': [],
  'user_agent_operating_systems': [],
  'vast_endpoint_url': 'http://test.com'
}

...

Code Block
In [1]: tag = springserve.demand_tags.get(30424)

In [2]: print tag.name

"TEST API DOCS"


REST API

GET /api/v0/demand_tags/<id>

...