- Resource: PricingRule
- PricingSubrule
- PricingRuleCpmThresholdType
- PricingRuleCandidateSelector
- AdvertiserBrandSelector
- PricingRuleCategorySelector
- PricingRuleCreativeFormatSelector
- PricingRuleCreativeFormat
- PricingRuleDurationSelector
- PricingRuleSizeSelector
- PricingRuleSkippabilitySelector
- PricingRuleSkipSelectType
- PricingRuleDemandSelector
- PricingRuleGoogleDemandType
- PricingRuleDemandChannelBidderSet
- RuleStatus
- Methods
Resource: PricingRule
Rule that dictates price thresholds for segments of inventory.
| JSON representation |
|---|
{ "name": string, "pricingSubrules": [ { object ( |
| Fields | |
|---|---|
name |
Identifier. The resource name of the |
pricingSubrules[] |
Required. Subrules that represent the creative-level targeting and price thresholds associated with this PricingRule. |
targeting |
Optional. Inventory targeted by this PricingRule. |
displayName |
Required. User-specified display name of this PricingRule. |
status |
Output only. Status of this PricingRule. |
PricingSubrule
Subrule of a PricingRule that dictates price thresholds for given segments of the auction.
| JSON representation |
|---|
{ "cpmThreshold": { object ( |
| Fields | |
|---|---|
cpmThreshold |
Optional. Minimum CPM for this subrule. |
updateTime |
Output only. The last modified time of the Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
candidateSelector |
Optional. Specification for verticals of the Auction the threshold applies to. |
cpmThresholdType |
Required. Whether the threshold is floor, target, or optimized. |
id |
Optional. Non-empty default. Unique identifier of the subrule. This field is assigned by Google when the subrule is created. Provide this ID when updating an existing subrule; omit it when adding a new subrule. |
PricingRuleCpmThresholdType
Type of threshold.
| Enums | |
|---|---|
PRICING_RULE_CPM_THRESHOLD_TYPE_UNSPECIFIED |
Default value. This value is unused. |
FLOOR |
A fixed floor threshold value. |
OPTIMIZED |
The floor is optimized. |
TARGET |
A specific target is set as the threshold. |
PricingRuleCandidateSelector
Selector for identifying candidate opportunities for pricing rules.
| JSON representation |
|---|
{ "advertiserBrandSelectors": [ { object ( |
| Fields | |
|---|---|
advertiserBrandSelectors[] |
Optional. Selects candidates for specific advertisers and their brands. |
categorySelector |
Optional. Selects candidates for specific categories. |
creativeFormatSelector |
Optional. Selects candidates based on creative format. |
durationSelector |
Optional. Selects candidates based on the minimum duration. |
sizeSelector |
Optional. Selects candidates for specific ad sizes. |
skippabilitySelector |
Optional. Selects candidates based on the skippability. |
demandSelector |
Optional. Selects candidates based on the demand source. |
AdvertiserBrandSelector
A selection of an advertiser and associated child brands.
| JSON representation |
|---|
{ "exchangeBrands": [ string ], "exchangeAdvertiser": string } |
| Fields | |
|---|---|
exchangeBrands[] |
Optional. Unordered list. The resource names for the set of |
exchangeAdvertiser |
Required. The resource name for the |
PricingRuleCategorySelector
Selector for category-based targeting.
| JSON representation |
|---|
{ "sensitiveCategories": [ string ], "generalCategories": [ string ] } |
| Fields | |
|---|---|
sensitiveCategories[] |
Optional. The targeted sensitive categories. Format: |
generalCategories[] |
Optional. The targeted general categories. Format: |
PricingRuleCreativeFormatSelector
Selector for creative format targeting.
| JSON representation |
|---|
{
"creativeFormat": enum ( |
| Fields | |
|---|---|
creativeFormat |
Optional. The creative format to select. |
PricingRuleCreativeFormat
The creative format targeted by a pricing rule.
| Enums | |
|---|---|
PRICING_RULE_CREATIVE_FORMAT_UNSPECIFIED |
Default value. This value is unused. |
DISPLAY |
Display creative format. |
VIDEO |
Video creative format. |
PricingRuleDurationSelector
Selector for video duration targeting.
| JSON representation |
|---|
{ "minimumDuration": string } |
| Fields | |
|---|---|
minimumDuration |
Optional. Minimum duration. A duration in seconds with up to nine fractional digits, ending with ' |
PricingRuleSizeSelector
Selector for size-based targeting.
| JSON representation |
|---|
{
"sizes": [
{
object ( |
| Fields | |
|---|---|
sizes[] |
Optional. The sizes to select. |
targeted |
Optional. Whether this selector targets the listed sizes. If false, it targets all sizes except those listed. |
PricingRuleSkippabilitySelector
Selector for skippability targeting.
| JSON representation |
|---|
{
"skipSelectType": enum ( |
| Fields | |
|---|---|
skipSelectType |
Optional. The skippability type to select. |
PricingRuleSkipSelectType
The skippability type targeted by a pricing rule.
| Enums | |
|---|---|
PRICING_RULE_SKIP_SELECT_TYPE_UNSPECIFIED |
Default value. This value is unused. |
SKIPPABLE |
Target skippable inventory. |
NOT_SKIPPABLE |
Target non-skippable inventory. |
PricingRuleDemandSelector
Selector for demand source targeting.
| JSON representation |
|---|
{ "googleDemandTypes": [ enum ( |
| Fields | |
|---|---|
googleDemandTypes[] |
Optional. Google demand types. |
authorizedBuyers |
Optional. Authorized Buyers. |
openBidders |
Optional. Open Bidders. |
sdkBidders |
Optional. SDK Bidders. |
headerBiddingBidders |
Optional. Header Bidding Trafficking bidders. |
remnantLineItemsSelected |
Optional. Whether remnant line items are selected. |
PricingRuleGoogleDemandType
The Google demand source type targeted by a pricing rule.
| Enums | |
|---|---|
PRICING_RULE_GOOGLE_DEMAND_TYPE_UNSPECIFIED |
Default value. This value is unused. |
GOOGLE_ADS |
Google Ads demand. |
DISPLAY_VIDEO_360 |
Display & Video 360 demand. |
CROSS_PUBLISHER_ADS |
Ad Manager cross-publisher ads campaigns. |
PricingRuleDemandChannelBidderSet
Set of bidders for a demand channel.
| JSON representation |
|---|
{ "bidders": [ string ], "allSelected": boolean } |
| Fields | |
|---|---|
bidders[] |
Optional. Unordered list. Bidders. Format: |
allSelected |
Optional. Whether all bidders are selected. |
RuleStatus
Status of a rule.
| Enums | |
|---|---|
RULE_STATUS_UNSPECIFIED |
Default value. This value is unused. |
ACTIVE |
The rule is active. |
ARCHIVED |
The rule is archived. |
INACTIVE |
The rule is inactive. |
Methods |
|
|---|---|
|
Activates a list of PricingRule objects. |
|
Deactivates a list of PricingRule objects. |
|
Enables target CPM for a list of PricingRule objects. |
|
API to create a PricingRule object. |
|
API to retrieve a PricingRule object. |
|
API to retrieve a list of PricingRule objects. |
|
API to update a PricingRule object. |