place

Get an ad tag from the placement level. The ad tag from the placement level belongs to a specific section of the site. Embed the tag in the layout of the site section where you plan to serve ads.

Request format

https://adfox.yandex.com/api/v1
  ? object=placement
  & action=info
  & mode=place
  & placeID=<integer>
  & synchronousFactor=<integer>
  & parametersDivider=<integer>
  & [nonRepeatingPlaces=<integer>]

placeID*

Placement ID.

See also:

synchronousFactor*

Ad tag type.

Acceptable values:

  • 1: Asynchronous.
  • 2: Asynchronous with scroll check.
  • 3: Adaptive.

parametersDivider*

Request parameter separator. Not used in ad tags with a loader.

Acceptable values:

  • 0: &amp.
  • 1: &.

nonRepeatingPlaces

Get a specific number of ad tags for unrepeatable placements.

Acceptable values: from 1 to 20.

Default value: 1.

* Required

Sample request

Request:

https://adfox.yandex.com/api/v1?object=placement&action=info&mode=place&placeID=264752

Other actions with the object

See also other actions with the place object:

Placement ID.

See also:

Ad tag type.

Acceptable values:

  • 1: Asynchronous.

  • 2: Asynchronous with scroll check.

  • 3: Adaptive.

Request parameter separator. Not used in ad tags with a loader.

Acceptable values:

  • 0: &amp.

  • 1: &.

Get a specific number of ad tags for unrepeatable placements.

Acceptable values: from 1 to 20.

Default value: 1.

Required

Previous