Partner Custom Macros
Partner custom macros are site-wide macros that you can configure on a per-site or per-partner basis within your account.
Main Use Case
These macros are primarily used to set up custom variables that apply either network-wide or site-wide. This enables you to easily pre-populate your monetization ad tags or Prebid.js bidder setups with pre-configured macro templates.
Setup
All partner macros are set on the site settings page. There is no limit to the number of macros you can set per account.
Macro Format
Each partner macro is prefixed with _bp_
, followed by your custom value.
Availability
Once set up, these macros become available throughout various sections of the CMS. You can use them when adding new ad sources or configuring Prebid.js bidders.
Common Use Cases
- SSP Bidder ID: A common use case is setting the ID for a specific SSP bidder to simplify header bidding setup.
- Google Ad Manager Ad Unit Name: You can also use these macros to define an ad unit name for Google Ad Manager, allowing you to populate the same ad source across multiple web properties.