Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/DisplayVideo/InsertionOrderBudget.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
/**
Expand Down
27 changes: 26 additions & 1 deletion src/DisplayVideo/KeywordAssignedTargetingOptionDetails.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand Down
5 changes: 3 additions & 2 deletions src/DisplayVideo/LineItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
10 changes: 8 additions & 2 deletions src/DisplayVideo/LineItemBudget.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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,
Expand Down
8 changes: 6 additions & 2 deletions src/DisplayVideo/PartnerRevenueModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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,
Expand Down
16 changes: 5 additions & 11 deletions src/DisplayVideo/ThirdPartyMeasurementConfigs.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
*/
Expand All @@ -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
*/
Expand All @@ -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
*/
Expand Down