diff --git a/src/DisplayVideo/InsertionOrderBudget.php b/src/DisplayVideo/InsertionOrderBudget.php index cbc7f69b00a..f0dde6129ff 100644 --- a/src/DisplayVideo/InsertionOrderBudget.php +++ b/src/DisplayVideo/InsertionOrderBudget.php @@ -37,7 +37,7 @@ class InsertionOrderBudget extends \Google\Collection public const AUTOMATION_TYPE_INSERTION_ORDER_AUTOMATION_TYPE_NONE = 'INSERTION_ORDER_AUTOMATION_TYPE_NONE'; /** * Allow the system to automatically adjust bids and shift budget to owning - * line items to optimize performance defined by kpi. + * line items to optimize performance defined by bid_strategy. */ public const AUTOMATION_TYPE_INSERTION_ORDER_AUTOMATION_TYPE_BID_BUDGET = 'INSERTION_ORDER_AUTOMATION_TYPE_BID_BUDGET'; /** diff --git a/src/DisplayVideo/KeywordAssignedTargetingOptionDetails.php b/src/DisplayVideo/KeywordAssignedTargetingOptionDetails.php index 4446b4552b9..8e12425229b 100644 --- a/src/DisplayVideo/KeywordAssignedTargetingOptionDetails.php +++ b/src/DisplayVideo/KeywordAssignedTargetingOptionDetails.php @@ -17,8 +17,16 @@ namespace Google\Service\DisplayVideo; -class KeywordAssignedTargetingOptionDetails extends \Google\Model +class KeywordAssignedTargetingOptionDetails extends \Google\Collection { + protected $collection_key = 'exemptedPolicyNames'; + /** + * Optional. The policy names to exempt the keyword from. This field is only + * applicable for Demand Gen keywords, which are positively targeted. + * + * @var string[] + */ + public $exemptedPolicyNames; /** * Required. The keyword, for example `car insurance`. Positive keyword cannot * be offensive word. Must be UTF-8 encoded with a maximum size of 255 bytes. @@ -34,6 +42,23 @@ class KeywordAssignedTargetingOptionDetails extends \Google\Model */ public $negative; + /** + * Optional. The policy names to exempt the keyword from. This field is only + * applicable for Demand Gen keywords, which are positively targeted. + * + * @param string[] $exemptedPolicyNames + */ + public function setExemptedPolicyNames($exemptedPolicyNames) + { + $this->exemptedPolicyNames = $exemptedPolicyNames; + } + /** + * @return string[] + */ + public function getExemptedPolicyNames() + { + return $this->exemptedPolicyNames; + } /** * Required. The keyword, for example `car insurance`. Positive keyword cannot * be offensive word. Must be UTF-8 encoded with a maximum size of 255 bytes. diff --git a/src/DisplayVideo/LineItem.php b/src/DisplayVideo/LineItem.php index 669a60c58bb..2541cc4ff83 100644 --- a/src/DisplayVideo/LineItem.php +++ b/src/DisplayVideo/LineItem.php @@ -526,9 +526,10 @@ public function getFlight() return $this->flight; } /** - * Required. The impression frequency cap settings of the line item. The + * Optional. The impression frequency cap settings of the line item. The * max_impressions field in this settings object must be used if assigning a - * limited cap. + * limited cap. This field is REQUIRED for all line item types excluding + * LINE_ITEM_TYPE_DEMAND_GEN. * * @param FrequencyCap $frequencyCap */ diff --git a/src/DisplayVideo/LineItemBudget.php b/src/DisplayVideo/LineItemBudget.php index 54868a11ef2..522d8d4305d 100644 --- a/src/DisplayVideo/LineItemBudget.php +++ b/src/DisplayVideo/LineItemBudget.php @@ -50,7 +50,10 @@ class LineItemBudget extends \Google\Model /** * Required. The type of the budget allocation. * `LINE_ITEM_BUDGET_ALLOCATION_TYPE_AUTOMATIC` is only applicable when - * automatic budget allocation is enabled for the parent insertion order. + * automatic budget allocation is enabled for the parent insertion order. For + * demand gen line items, budget allocation type must be + * `LINE_ITEM_BUDGET_ALLOCATION_TYPE_FIXED`. Demand Gen line items do not + * support other budget allocation types. * * @var string */ @@ -82,7 +85,10 @@ class LineItemBudget extends \Google\Model /** * Required. The type of the budget allocation. * `LINE_ITEM_BUDGET_ALLOCATION_TYPE_AUTOMATIC` is only applicable when - * automatic budget allocation is enabled for the parent insertion order. + * automatic budget allocation is enabled for the parent insertion order. For + * demand gen line items, budget allocation type must be + * `LINE_ITEM_BUDGET_ALLOCATION_TYPE_FIXED`. Demand Gen line items do not + * support other budget allocation types. * * Accepted values: LINE_ITEM_BUDGET_ALLOCATION_TYPE_UNSPECIFIED, * LINE_ITEM_BUDGET_ALLOCATION_TYPE_AUTOMATIC, diff --git a/src/DisplayVideo/PartnerRevenueModel.php b/src/DisplayVideo/PartnerRevenueModel.php index 32d40e39a3c..003ba8ad8c3 100644 --- a/src/DisplayVideo/PartnerRevenueModel.php +++ b/src/DisplayVideo/PartnerRevenueModel.php @@ -56,7 +56,9 @@ class PartnerRevenueModel extends \Google\Model */ public $markupAmount; /** - * Required. The markup type of the partner revenue model. + * Required. The markup type of the partner revenue model. Demand Gen line + * items only support + * `PARTNER_REVENUE_MODEL_MARKUP_TYPE_TOTAL_MEDIA_COST_MARKUP`. * * @var string */ @@ -89,7 +91,9 @@ public function getMarkupAmount() return $this->markupAmount; } /** - * Required. The markup type of the partner revenue model. + * Required. The markup type of the partner revenue model. Demand Gen line + * items only support + * `PARTNER_REVENUE_MODEL_MARKUP_TYPE_TOTAL_MEDIA_COST_MARKUP`. * * Accepted values: PARTNER_REVENUE_MODEL_MARKUP_TYPE_UNSPECIFIED, * PARTNER_REVENUE_MODEL_MARKUP_TYPE_CPM, diff --git a/src/DisplayVideo/ThirdPartyMeasurementConfigs.php b/src/DisplayVideo/ThirdPartyMeasurementConfigs.php index 4cbd96b7ffc..48539a521e4 100644 --- a/src/DisplayVideo/ThirdPartyMeasurementConfigs.php +++ b/src/DisplayVideo/ThirdPartyMeasurementConfigs.php @@ -32,8 +32,7 @@ class ThirdPartyMeasurementConfigs extends \Google\Collection /** * Optional. The third-party vendors measuring brand lift. The following * third-party vendors are applicable: * `THIRD_PARTY_VENDOR_DYNATA` * - * `THIRD_PARTY_VENDOR_KANTAR` * `THIRD_PARTY_VENDOR_KANTAR_MILLWARD_BROWN` * - * `THIRD_PARTY_VENDOR_GOOGLE_INTERNAL` * `THIRD_PARTY_VENDOR_INTAGE` * + * `THIRD_PARTY_VENDOR_KANTAR` * `THIRD_PARTY_VENDOR_INTAGE` * * `THIRD_PARTY_VENDOR_NIELSEN` * `THIRD_PARTY_VENDOR_MACROMILL` * * @param ThirdPartyVendorConfig[] $brandLiftVendorConfigs @@ -51,10 +50,8 @@ public function getBrandLiftVendorConfigs() } /** * Optional. The third-party vendors measuring brand safety. The following - * third-party vendors are applicable: * `THIRD_PARTY_VENDOR_ZERF` * - * `THIRD_PARTY_VENDOR_DOUBLE_VERIFY` * - * `THIRD_PARTY_VENDOR_INTEGRAL_AD_SCIENCE` * - * `THIRD_PARTY_VENDOR_GOOGLE_INTERNAL` * `THIRD_PARTY_VENDOR_ZEFR` + * third-party vendors are applicable: * `THIRD_PARTY_VENDOR_DOUBLE_VERIFY` * + * `THIRD_PARTY_VENDOR_INTEGRAL_AD_SCIENCE` * `THIRD_PARTY_VENDOR_ZEFR` * * @param ThirdPartyVendorConfig[] $brandSafetyVendorConfigs */ @@ -73,11 +70,9 @@ public function getBrandSafetyVendorConfigs() * Optional. The third-party vendors measuring reach. The following third- * party vendors are applicable: * `THIRD_PARTY_VENDOR_NIELSEN` * * `THIRD_PARTY_VENDOR_COMSCORE` * `THIRD_PARTY_VENDOR_KANTAR` * - * `THIRD_PARTY_VENDOR_GOOGLE_INTERNAL` * - * `THIRD_PARTY_VENDOR_KANTAR_MILLWARD_BROWN` * * `THIRD_PARTY_VENDOR_VIDEO_RESEARCH` * `THIRD_PARTY_VENDOR_MEDIA_SCOPE` * * `THIRD_PARTY_VENDOR_AUDIENCE_PROJECT` * `THIRD_PARTY_VENDOR_VIDEO_AMP` * - * `THIRD_PARTY_VENDOR_ISPOT_TV` + * `THIRD_PARTY_VENDOR_ISPOT_TV` * `THIRD_PARTY_VENDOR_GEMIUS` * * @param ThirdPartyVendorConfig[] $reachVendorConfigs */ @@ -97,8 +92,7 @@ public function getReachVendorConfigs() * third-party vendors are applicable: * `THIRD_PARTY_VENDOR_MOAT` * * `THIRD_PARTY_VENDOR_DOUBLE_VERIFY` * * `THIRD_PARTY_VENDOR_INTEGRAL_AD_SCIENCE` * `THIRD_PARTY_VENDOR_COMSCORE` * - * `THIRD_PARTY_VENDOR_TELEMETRY` * `THIRD_PARTY_VENDOR_MEETRICS` * - * `THIRD_PARTY_VENDOR_GOOGLE_INTERNAL` + * `THIRD_PARTY_VENDOR_TELEMETRY` * `THIRD_PARTY_VENDOR_MEETRICS` * * @param ThirdPartyVendorConfig[] $viewabilityVendorConfigs */