Skip to content

Commit 15e5c20

Browse files
1 parent 3457a51 commit 15e5c20

2 files changed

Lines changed: 40 additions & 1 deletion

File tree

src/DisplayVideo/DemandGenBiddingStrategy.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ class DemandGenBiddingStrategy extends \Google\Model
5858
* budget.
5959
*/
6060
public const TYPE_DEMAND_GEN_BIDDING_STRATEGY_TYPE_MAXIMIZE_CLICKS = 'DEMAND_GEN_BIDDING_STRATEGY_TYPE_MAXIMIZE_CLICKS';
61+
/**
62+
* A bidding strategy that automatically optimizes cost per click.
63+
*/
64+
public const TYPE_DEMAND_GEN_BIDDING_STRATEGY_TYPE_TARGET_CPC = 'DEMAND_GEN_BIDDING_STRATEGY_TYPE_TARGET_CPC';
6165
/**
6266
* Output only. The value effectively used by the bidding strategy. This field
6367
* will be the same as value if set. If value is not set and the strategy is
@@ -147,7 +151,8 @@ public function getEffectiveBiddingValueSource()
147151
* DEMAND_GEN_BIDDING_STRATEGY_TYPE_TARGET_ROAS,
148152
* DEMAND_GEN_BIDDING_STRATEGY_TYPE_MAXIMIZE_CONVERSIONS,
149153
* DEMAND_GEN_BIDDING_STRATEGY_TYPE_MAXIMIZE_CONVERSION_VALUE,
150-
* DEMAND_GEN_BIDDING_STRATEGY_TYPE_MAXIMIZE_CLICKS
154+
* DEMAND_GEN_BIDDING_STRATEGY_TYPE_MAXIMIZE_CLICKS,
155+
* DEMAND_GEN_BIDDING_STRATEGY_TYPE_TARGET_CPC
151156
*
152157
* @param self::TYPE_* $type
153158
*/

src/DisplayVideo/LineItem.php

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,18 @@ class LineItem extends \Google\Collection
301301
* @var string
302302
*/
303303
public $name;
304+
/**
305+
* Optional. Whether to enable DV360's bid optimization for fixed bid line
306+
* items. By default, DV360 optimizes your fixed bid by automatically lowering
307+
* bids for impressions that are less likely to perform well. This
308+
* optimization is enabled by default (value is true). When this field is set
309+
* to `false`, this optimization is disabled, and the bid will not be lowered
310+
* for any reason. This setting only applies to line items with a
311+
* `bidding_strategy` of type `FIXED_BID`.
312+
*
313+
* @var bool
314+
*/
315+
public $optimizeFixedBidding;
304316
protected $pacingType = Pacing::class;
305317
protected $pacingDataType = '';
306318
protected $partnerCostsType = PartnerCost::class;
@@ -686,6 +698,28 @@ public function getName()
686698
{
687699
return $this->name;
688700
}
701+
/**
702+
* Optional. Whether to enable DV360's bid optimization for fixed bid line
703+
* items. By default, DV360 optimizes your fixed bid by automatically lowering
704+
* bids for impressions that are less likely to perform well. This
705+
* optimization is enabled by default (value is true). When this field is set
706+
* to `false`, this optimization is disabled, and the bid will not be lowered
707+
* for any reason. This setting only applies to line items with a
708+
* `bidding_strategy` of type `FIXED_BID`.
709+
*
710+
* @param bool $optimizeFixedBidding
711+
*/
712+
public function setOptimizeFixedBidding($optimizeFixedBidding)
713+
{
714+
$this->optimizeFixedBidding = $optimizeFixedBidding;
715+
}
716+
/**
717+
* @return bool
718+
*/
719+
public function getOptimizeFixedBidding()
720+
{
721+
return $this->optimizeFixedBidding;
722+
}
689723
/**
690724
* Required. The budget spending speed setting of the line item.
691725
*

0 commit comments

Comments
 (0)