bannerPlace

Get the ad tag from the banner. Only this banner can be served for the banner ad tag. If it isn't active, the backup ad is returned in the response.

Request format

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

placeID*

The campaign's placement ID.

See also:

bannerID*

The ID of the banner whose ad tag you need.

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: &.

* Required

Sample request

Request:

https://adfox.yandex.com/api/v1?object=placement&action=info&mode=bannerPlace&placeID=<integer>&bannerID=<integer>

The campaign's placement ID.

See also:

The ID of the banner whose ad tag you need.

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: &.

Required

Next