GCP.RealTimeBidding reference
BiddersPretargetingConfig
Section titled “BiddersPretargetingConfig”Source:
src/GCP/RealTimeBidding/BiddersPretargetingConfig.ts
An Authorized Buyers Real-time Bidding pretargeting configuration
(bidders/{bidder}/pretargetingConfigs/{config}).
Pretargeting configs have no labels field, so Alchemy stamps ownership
into displayName for list / nuke. Parent and config id are
identity — changing either replaces the config. Display name and
targeting update in place. Create yields ACTIVE; pass state: "SUSPENDED" to suspend. A bidder may own at most 10 configs.
BiddersPretargetingConfig: Creating a Pretargeting Config
Section titled “BiddersPretargetingConfig: Creating a Pretargeting Config”Generated display name
const config = yield* GCP.RealTimeBidding.BiddersPretargetingConfig( "WebHtml", { parent: "bidders/123" },);Named config for web HTML
const config = yield* GCP.RealTimeBidding.BiddersPretargetingConfig( "WebHtml", { parent: "bidders/123", displayName: "web-html", includedEnvironments: ["WEB"], includedFormats: ["HTML"], },);BiddersPretargetingConfig: Updating a Pretargeting Config
Section titled “BiddersPretargetingConfig: Updating a Pretargeting Config”Change props on the same logical id; the engine keeps the physical id.
const config = yield* GCP.RealTimeBidding.BiddersPretargetingConfig( "WebHtml", { parent: "bidders/123", displayName: "web-html-v2", includedEnvironments: ["WEB"], includedFormats: ["HTML", "NATIVE"], state: "SUSPENDED", },);