Saltar al contenido principal
PUT
Update a Catalog Zone

Autorizaciones

Authorization
string
header
requerido

API key en el header Authorization: Basic TU_API_KEY. La key va tal cual, sin codificar en base64. Las credenciales se entregan al comenzar la integración.

Parámetros de ruta

zone_id
integer
requerido

Identifier of the Catalog Zone.

Cuerpo

application/json
name
string

The name of the catalog zone

Maximum string length: 255
Ejemplo:

"Promotions"

bid_floor_cpm
number<float>

Sets the bid floor for CPM in the zone, bids below this will be eliminated. This value can be overridden at the time of the ad request. This should be set if the advertiser_cost_type is CPM. It is assumed to be in the publisher's currency.

Ejemplo:

1.1

bid_floor_cpc
number<float>

Sets the bid floor for CPC in the zone, bids below this will be eliminated. This value can be overridden at the time of the ad request. This should be set if the advertiser_cost_type is CPC. It is assumed to be in the publisher's currency.

Ejemplo:

1.3

advertiser_cost_type
enum<string>

Configures the zone to charge the advertiser by either impression (CPM) or by clicks (CPC). The valid values are CPM or CPC, it will default to CPC.

Opciones disponibles:
CPM,
CPC
Ejemplo:

"CPC"

auction_type
enum<string>

Sets the type of auctions in this zone, values are either FIRST_PRICE or SECOND_PRICE. It will default to SECOND_PRICE.

Opciones disponibles:
FIRST_PRICE,
SECOND_PRICE
Ejemplo:

"SECOND_PRICE"

click_cooldown_period
integer

Adjusts the cooldown period for users clicking on the same advertisement more than once within a designated period. Expects a value between 1 and 86400 inclusive (seconds). Default 3600 seconds.

Rango requerido: 1 <= x <= 86400
Ejemplo:

60

conversion_lookback_period
integer

Adjusts the conversion lookback period which controls the period of time which it would be possible to record a conversion for a given click. Expects a value between 1 and 7776000 inclusive (seconds). Default 7776000 seconds (90 days).

Rango requerido: 1 <= x <= 7776000
Ejemplo:

7776000

Respuesta

default - application/json

successful operation

name
string

The name of the catalog zone

Maximum string length: 255
Ejemplo:

"Product DB"

catalog_id
integer

The identifier (ID) of the catalog

Ejemplo:

74374

publisher
integer

The identifier (ID) of the publisher to which the zone belongs

Ejemplo:

53563

bid_floor
number<float>

The default bid floor for this zone

Ejemplo:

0

bid_floor_cpm
number<float>

Sets the bid floor for CPM in the zone

Ejemplo:

1.1

bid_floor_cpc
number<float>

Sets the bid floor for CPC in the zone

Ejemplo:

1.3

advertiser_cost_type
enum<string>

Configures the zone to charge the advertiser by either impression (CPM) or by clicks (CPC)

Opciones disponibles:
CPM,
CPC
Ejemplo:

"CPC"

auction_type
enum<string>

Sets the type of auctions in this zone

Opciones disponibles:
FIRST_PRICE,
SECOND_PRICE
Ejemplo:

"SECOND_PRICE"

click_cooldown_period
integer

The cooldown period for users clicking on the same advertisement

Rango requerido: 1 <= x <= 86400
Ejemplo:

60

conversion_lookback_period
integer

The conversion lookback period

Rango requerido: 1 <= x <= 7776000
Ejemplo:

7776000

object
string

A string denoting the current resource being requested or affected.

Ejemplo:

"catalog_zone"

self
string

The relative URL of the current resource being requested or affected.

Ejemplo:

"/v2/zones/catalog/104339"

id
integer

The current resource identifier (ID).

Ejemplo:

104339

metadata
object

An object containing any number of metadata fields and values.

Ejemplo: