Manage Targeting Rules for Inventory Pricing With API

Solveiga
Solveiga
  • Updated

You can use targeting rules to set up pricing for specific schedule slots or for each publisher, advertiser, placement, and deal available within your inventory. To do so, you must first create targeting rules and define the specific publishers, advertisers, placements, deals, schedules, or a combination of them. Then, you can apply pricing for these targeting setup rules.

Tip

For more information about targeting rules, see Set Up Targeting Rules.

After you've set up your inventory and, if needed, set up deals, you need to create targeting rules and apply pricing for them. By combining targeting rules with pricing rules, you can control floor prices for your inventory in open auctions and real-time bidding (RTB). You can also set custom prices for specific deals.

With Targeting Rules API, you first create targeting rules that define the publishers, advertisers, placements, deals, and scheduling. Then you can apply pricing to those targeting rules.

Authentication

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.targetingrules: Grants access to Targeting 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.

Prerequisites

To set up and manage targeting rules, use the following IDs in your requests:

ID

Used To

Retrieve From

ruleId

Specify the targeting rule to update or retrieve its information

Provided as part of response body after creating a targeting rule (see step 1 in workflow)

advertiserId

Specify the advertiser which to include or exclude in the targeting rule

RecognizedAdvertisers section in Global Buyers API

dealId

Specify the deal for which to create the targeting rule

Seller Deals API

placementId

Specify the placement for which to create the targeting rule

Note

This is also known as Master Tag ID.

Placements API

publisherId

Specify the publisher for which to create the targeting rule

Publishers API

Note

Additional IDs might be used, but the listed ones are required to pass a request.

Workflow

After you've set up your inventory and deals (if needed), you can continue with creating the targeting setup.

Tip

To learn how to use Adform APIs, read Guide to Using Adform APIs.

To set up and manage targeting rules, use these endpoints:

After you create a targeting rule setup, you can continue with setting up pricing rules.

Endpoints

[{"api":"Targeting Rules","titles":"AdvertiserRules, DealRules, PlacementRules, PublisherRules, ScheduleRules"}]

Was this article helpful?

/
How can we make it better?

Thank you for your feedback!