You can use pricing rules to set floor prices for your inventory in open programmatic auctions and manage pricing during real-time bidding (RTB). You can also set custom pricing for specific deals based on inventory, demand, or timing. With pricing rules, you can control revenue and apply differentiated pricing across your inventory.
Tip
For more information about pricing rules, see Guide to Inventory Pricing Rules and Guide to Deal Pricing Rules.
After you've set up your inventory, deals (if needed), and targeting rules, you need to set up pricing rules. With pricing rules, you can set floor prices for your inventory or specific deals.
With Pricing Rules API, you can create, retrieve, update, and delete pricing rules.
To authenticate and use Adform APIs, your user account must have the necessary permissions and your OAuth client must have the required scopes assigned to it.
To set up and manage targeting and pricing rules, Adform SSP user account must have these permissions assigned by the user account admin:
-
View RTB Rules
-
Manage RTB Rules
You also need the following scope assigned to your OAuth client by Adform Support:
-
https://api.adform.com/scope/api.pricingrules: Grants access to Pricing Rules API.
Tip
If you don't have an OAuth client yet, follow the procedure in Get Authentication Credentials for Adform APIs to register one.
To set up and manage pricing rules, use the following IDs in your requests:
|
ID |
Used To |
Retrieve From |
|---|---|---|
|
|
Specify the deal pricing rule to update, retrieve its information, or delete |
Provided as |
|
|
Specify the inventory pricing rule to update, retrieve its information, or delete |
Provided as |
|
|
Specify the inventory source that a publisher, placement, or deal is using |
To get the ID, contact Adform Publishers Support (publishers@adform.com) NoteInventory source ID is your Adform SSP account ID and is sent after Adform creates your SSP account. |
|
|
Specify the placement or publisher targeting rule to apply the pricing for |
|
|
|
Specify the deal targeting rule to apply the pricing for |
|
|
|
Specify the advertiser targeting rule to apply the pricing for |
|
|
|
Specify the scheduling targeting rule to apply the pricing for |
Note
Additional IDs might be used, but the listed ones are required to pass a request.
After you've set up targeting rules, you can continue with creating pricing rules.
Tip
To learn how to use Adform APIs, read Guide to Using Adform APIs.
To create and manage pricing rules with API, use these endpoints:
-
POST endpoints in Deal Pricing Rule and Pricing Rule sections of Pricing Rules API: To create a new pricing rule.
-
(Optional) GET endpoints in Deal Pricing Rule and Pricing Rule sections of Pricing Rules API: To retrieve a specific pricing rule or a list of all pricing rules.
-
(Optional) PUT endpoints in Deal Pricing Rule and Pricing Rule sections of Pricing Rules API: To update a pricing rule.
-
(Optional) DELETE endpoints in Deal Pricing Rule and Pricing Rule sections of Pricing Rules API: To delete a pricing rule.
[{"api":"Pricing Rules","titles":"Deal Pricing Rule API, Pricing Rule API"}]