Browse the help center

Advertiser Price Adjustment Rules API endpoints

Endpoint reference for the Advertiser Price Adjustment Rules tag (10 endpoints): Price adjustment rule management for advertisers

Reference network manager admin

Price adjustment rule management for advertisers. 10 endpoints, generated from the OpenAPI spec. Authentication, the response envelope, pagination and error codes are shared by all endpoints — see REST API overview. Parameters marked form go in an application/x-www-form-urlencoded request body.

POST /rest-api/price-adjustment-rules/advertiser/{entityId}/create.do

Request examples

Create an advertiser price adjustment rule.

ParameterInTypeRequiredDescription
entityIdpathintegeryesUnique numeric identifier of the advertiser
actionTypeformstringnoAction type — MULTIPLY multiplies the gross by actionValue, SET sets the gross to actionValue Values: MULTIPLY, SET.
actionValueformnumbernoAction value — the numeric value for the action (e.g. 1.5 for multiply, 2.0 for set)
conditionOperatorformstringnoCondition operator — how to compare Values: IS.
conditionSubjectformstringnoCondition subject — what the rule checks Values: PLACEMENT.
conditionValueformstringnoCondition value — the ID of the entity to match (e.g. placement ID)

Responses: 200 — Successful operation · 404 — Not found — resource does not exist. Errors follow the shared conventions.

POST /rest-api/price-adjustment-rules/advertiser/{entityId}/disable.do

Request examples

Disable advertiser price adjusting.

ParameterInTypeRequiredDescription
entityIdpathintegeryesUnique numeric identifier of the advertiser

Responses: 200 — Successful operation · 404 — Not found — resource does not exist. Errors follow the shared conventions.

POST /rest-api/price-adjustment-rules/advertiser/{entityId}/enable.do

Request examples

Enable advertiser price adjusting.

ParameterInTypeRequiredDescription
entityIdpathintegeryesUnique numeric identifier of the advertiser

Responses: 200 — Successful operation · 404 — Not found — resource does not exist. Errors follow the shared conventions.

GET /rest-api/price-adjustment-rules/advertiser/{entityId}/list.do

Request examples

List advertiser price adjustment rules.

ParameterInTypeRequiredDescription
entityIdpathintegeryesUnique numeric identifier of the advertiser

Responses: 200 — Successful operation · 404 — Not found — resource does not exist. Errors follow the shared conventions.

GET /rest-api/price-adjustment-rules/advertiser/action-types.do

Request examples

Get action types.

No parameters beyond authentication.

Responses: 200 — Successful operation. Errors follow the shared conventions.

GET /rest-api/price-adjustment-rules/advertiser/condition-operators.do

Request examples

Get condition operators.

No parameters beyond authentication.

Responses: 200 — Successful operation. Errors follow the shared conventions.

GET /rest-api/price-adjustment-rules/advertiser/condition-subjects.do

Request examples

Get condition subjects.

No parameters beyond authentication.

Responses: 200 — Successful operation. Errors follow the shared conventions.

GET /rest-api/price-adjustment-rules/advertiser/rule/{ruleId}.do

Request examples

Get advertiser price adjustment rule by ID.

ParameterInTypeRequiredDescription
ruleIdpathintegeryesUnique numeric identifier of the price adjustment rule

Responses: 200 — Successful operation · 404 — Not found — resource does not exist. Errors follow the shared conventions.

DELETE /rest-api/price-adjustment-rules/advertiser/rule/{ruleId}/delete.do

Request examples

Delete an advertiser price adjustment rule.

ParameterInTypeRequiredDescription
ruleIdpathintegeryesUnique numeric identifier of the price adjustment rule to delete

Responses: 200 — Successful operation · 404 — Not found — resource does not exist. Errors follow the shared conventions.

POST /rest-api/price-adjustment-rules/advertiser/rule/{ruleId}/update.do

Request examples

Update an advertiser price adjustment rule.

ParameterInTypeRequiredDescription
ruleIdpathintegeryesUnique numeric identifier of the price adjustment rule
actionTypeformstringnoAction type — MULTIPLY multiplies the gross by actionValue, SET sets the gross to actionValue Values: MULTIPLY, SET.
actionValueformnumbernoAction value — the numeric value for the action (e.g. 1.5 for multiply, 2.0 for set)
conditionOperatorformstringnoCondition operator — how to compare Values: IS.
conditionSubjectformstringnoCondition subject — what the rule checks Values: PLACEMENT.
conditionValueformstringnoCondition value — the ID of the entity to match (e.g. placement ID)

Responses: 200 — Successful operation · 404 — Not found — resource does not exist. Errors follow the shared conventions.

Related pages

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.