diff --git a/src/Google/AdsApi/AdManager/AdManagerServices.php b/src/Google/AdsApi/AdManager/AdManagerServices.php index 616def389..422d0cbab 100644 --- a/src/Google/AdsApi/AdManager/AdManagerServices.php +++ b/src/Google/AdsApi/AdManager/AdManagerServices.php @@ -35,8 +35,8 @@ final class AdManagerServices implements AdsServices * @param AdManagerHeaderHandler|null $adManagerHeaderHandler */ public function __construct( - AdsSoapClientFactory $adsSoapClientFactory = null, - AdManagerHeaderHandler $adManagerHeaderHandler = null + ?AdsSoapClientFactory $adsSoapClientFactory = null, + ?AdManagerHeaderHandler $adManagerHeaderHandler = null ) { $this->adsSoapClientFactory = ($adsSoapClientFactory === null) ? new AdsSoapClientFactory( diff --git a/src/Google/AdsApi/AdManager/AdManagerSessionBuilder.php b/src/Google/AdsApi/AdManager/AdManagerSessionBuilder.php index b28273748..21fc67bf2 100644 --- a/src/Google/AdsApi/AdManager/AdManagerSessionBuilder.php +++ b/src/Google/AdsApi/AdManager/AdManagerSessionBuilder.php @@ -92,7 +92,7 @@ public function __construct() * @throws InvalidArgumentException if the configuration file could not be * found */ - public function fromFile(string $path = null) + public function fromFile(?string $path = null) { if ($path === null) { $path = self::DEFAULT_CONFIGURATION_FILENAME; diff --git a/src/Google/AdsApi/AdManager/v202502/AdBreak.php b/src/Google/AdsApi/AdManager/v202502/AdBreak.php index 0b7333080..a1669bae6 100644 --- a/src/Google/AdsApi/AdManager/v202502/AdBreak.php +++ b/src/Google/AdsApi/AdManager/v202502/AdBreak.php @@ -89,7 +89,7 @@ class AdBreak * @param boolean $decisionedAds * @param \Google\AdsApi\AdManager\v202502\TrackingEvent[] $trackingEvents */ - public function __construct(array $rootAdResponses = null, array $adDecisionCreatives = null, $podNum = null, $linearAbsolutePodNum = null, $adBreakDurationMillis = null, $filledDurationMillis = null, $servedDurationMillis = null, $startDateTime = null, $startTimeOffsetMillis = null, $samError = null, $midrollIndex = null, $decisionedAds = null, array $trackingEvents = null) + public function __construct(?array $rootAdResponses = null, ?array $adDecisionCreatives = null, $podNum = null, $linearAbsolutePodNum = null, $adBreakDurationMillis = null, $filledDurationMillis = null, $servedDurationMillis = null, $startDateTime = null, $startTimeOffsetMillis = null, $samError = null, $midrollIndex = null, $decisionedAds = null, ?array $trackingEvents = null) { $this->rootAdResponses = $rootAdResponses; $this->adDecisionCreatives = $adDecisionCreatives; @@ -118,7 +118,7 @@ public function getRootAdResponses() * @param \Google\AdsApi\AdManager\v202502\AdResponse[]|null $rootAdResponses * @return \Google\AdsApi\AdManager\v202502\AdBreak */ - public function setRootAdResponses(array $rootAdResponses = null) + public function setRootAdResponses(?array $rootAdResponses = null) { $this->rootAdResponses = $rootAdResponses; return $this; @@ -136,7 +136,7 @@ public function getAdDecisionCreatives() * @param \Google\AdsApi\AdManager\v202502\AdDecisionCreative[]|null $adDecisionCreatives * @return \Google\AdsApi\AdManager\v202502\AdBreak */ - public function setAdDecisionCreatives(array $adDecisionCreatives = null) + public function setAdDecisionCreatives(?array $adDecisionCreatives = null) { $this->adDecisionCreatives = $adDecisionCreatives; return $this; @@ -338,7 +338,7 @@ public function getTrackingEvents() * @param \Google\AdsApi\AdManager\v202502\TrackingEvent[]|null $trackingEvents * @return \Google\AdsApi\AdManager\v202502\AdBreak */ - public function setTrackingEvents(array $trackingEvents = null) + public function setTrackingEvents(?array $trackingEvents = null) { $this->trackingEvents = $trackingEvents; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/AdBreakMarkupError.php b/src/Google/AdsApi/AdManager/v202502/AdBreakMarkupError.php index 1f5a5c57d..48065f417 100644 --- a/src/Google/AdsApi/AdManager/v202502/AdBreakMarkupError.php +++ b/src/Google/AdsApi/AdManager/v202502/AdBreakMarkupError.php @@ -21,7 +21,7 @@ class AdBreakMarkupError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/AdExchangeCreative.php b/src/Google/AdsApi/AdManager/v202502/AdExchangeCreative.php index 3863689a9..709e57db0 100644 --- a/src/Google/AdsApi/AdManager/v202502/AdExchangeCreative.php +++ b/src/Google/AdsApi/AdManager/v202502/AdExchangeCreative.php @@ -41,7 +41,7 @@ class AdExchangeCreative extends \Google\AdsApi\AdManager\v202502\HasHtmlSnippet * @param boolean $isInterstitial * @param boolean $isAllowsAllRequestedSizes */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $codeSnippet = null, $isNativeEligible = null, $isInterstitial = null, $isAllowsAllRequestedSizes = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $codeSnippet = null, $isNativeEligible = null, $isInterstitial = null, $isAllowsAllRequestedSizes = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $codeSnippet); $this->isNativeEligible = $isNativeEligible; diff --git a/src/Google/AdsApi/AdManager/v202502/AdResponse.php b/src/Google/AdsApi/AdManager/v202502/AdResponse.php index 1f0f4882e..a8f56e5f8 100644 --- a/src/Google/AdsApi/AdManager/v202502/AdResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/AdResponse.php @@ -47,7 +47,7 @@ class AdResponse * @param \Google\AdsApi\AdManager\v202502\SamError $samError * @param \Google\AdsApi\AdManager\v202502\SamError[] $adErrors */ - public function __construct($requestUrl = null, $isVmapRequest = null, $responseBody = null, array $redirectResponses = null, $samError = null, array $adErrors = null) + public function __construct($requestUrl = null, $isVmapRequest = null, $responseBody = null, ?array $redirectResponses = null, $samError = null, ?array $adErrors = null) { $this->requestUrl = $requestUrl; $this->isVmapRequest = $isVmapRequest; @@ -123,7 +123,7 @@ public function getRedirectResponses() * @param \Google\AdsApi\AdManager\v202502\AdResponse[]|null $redirectResponses * @return \Google\AdsApi\AdManager\v202502\AdResponse */ - public function setRedirectResponses(array $redirectResponses = null) + public function setRedirectResponses(?array $redirectResponses = null) { $this->redirectResponses = $redirectResponses; return $this; @@ -159,7 +159,7 @@ public function getAdErrors() * @param \Google\AdsApi\AdManager\v202502\SamError[]|null $adErrors * @return \Google\AdsApi\AdManager\v202502\AdResponse */ - public function setAdErrors(array $adErrors = null) + public function setAdErrors(?array $adErrors = null) { $this->adErrors = $adErrors; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/AdRuleDateError.php b/src/Google/AdsApi/AdManager/v202502/AdRuleDateError.php index d2032ac20..44ec9ff2b 100644 --- a/src/Google/AdsApi/AdManager/v202502/AdRuleDateError.php +++ b/src/Google/AdsApi/AdManager/v202502/AdRuleDateError.php @@ -21,7 +21,7 @@ class AdRuleDateError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/AdRuleError.php b/src/Google/AdsApi/AdManager/v202502/AdRuleError.php index 74e97c4b6..0ab89c45d 100644 --- a/src/Google/AdsApi/AdManager/v202502/AdRuleError.php +++ b/src/Google/AdsApi/AdManager/v202502/AdRuleError.php @@ -21,7 +21,7 @@ class AdRuleError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/AdRuleFrequencyCapError.php b/src/Google/AdsApi/AdManager/v202502/AdRuleFrequencyCapError.php index 10c01ee02..c2c9a0889 100644 --- a/src/Google/AdsApi/AdManager/v202502/AdRuleFrequencyCapError.php +++ b/src/Google/AdsApi/AdManager/v202502/AdRuleFrequencyCapError.php @@ -21,7 +21,7 @@ class AdRuleFrequencyCapError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/AdRulePage.php b/src/Google/AdsApi/AdManager/v202502/AdRulePage.php index 4bc7cfa5d..5a273959c 100644 --- a/src/Google/AdsApi/AdManager/v202502/AdRulePage.php +++ b/src/Google/AdsApi/AdManager/v202502/AdRulePage.php @@ -29,7 +29,7 @@ class AdRulePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\AdRule[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\AdRule[]|null $results * @return \Google\AdsApi\AdManager\v202502\AdRulePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/AdRulePriorityError.php b/src/Google/AdsApi/AdManager/v202502/AdRulePriorityError.php index 41411a3d1..e7bf44a9a 100644 --- a/src/Google/AdsApi/AdManager/v202502/AdRulePriorityError.php +++ b/src/Google/AdsApi/AdManager/v202502/AdRulePriorityError.php @@ -21,7 +21,7 @@ class AdRulePriorityError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/AdRuleSlotError.php b/src/Google/AdsApi/AdManager/v202502/AdRuleSlotError.php index 969d3ec56..fa018f439 100644 --- a/src/Google/AdsApi/AdManager/v202502/AdRuleSlotError.php +++ b/src/Google/AdsApi/AdManager/v202502/AdRuleSlotError.php @@ -21,7 +21,7 @@ class AdRuleSlotError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/AdRuleTargetingError.php b/src/Google/AdsApi/AdManager/v202502/AdRuleTargetingError.php index f8cb603a7..836ac0576 100644 --- a/src/Google/AdsApi/AdManager/v202502/AdRuleTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202502/AdRuleTargetingError.php @@ -21,7 +21,7 @@ class AdRuleTargetingError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/AdSenseAccountError.php b/src/Google/AdsApi/AdManager/v202502/AdSenseAccountError.php index 0813e388f..1bfb828b8 100644 --- a/src/Google/AdsApi/AdManager/v202502/AdSenseAccountError.php +++ b/src/Google/AdsApi/AdManager/v202502/AdSenseAccountError.php @@ -21,7 +21,7 @@ class AdSenseAccountError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/AdSenseCreative.php b/src/Google/AdsApi/AdManager/v202502/AdSenseCreative.php index 9a50450a8..653f2f507 100644 --- a/src/Google/AdsApi/AdManager/v202502/AdSenseCreative.php +++ b/src/Google/AdsApi/AdManager/v202502/AdSenseCreative.php @@ -23,7 +23,7 @@ class AdSenseCreative extends \Google\AdsApi\AdManager\v202502\HasHtmlSnippetDyn * @param boolean $adBadgingEnabled * @param string $codeSnippet */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $codeSnippet = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $codeSnippet = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $codeSnippet); } diff --git a/src/Google/AdsApi/AdManager/v202502/AdSpot.php b/src/Google/AdsApi/AdManager/v202502/AdSpot.php index e1a0f8327..99671459f 100644 --- a/src/Google/AdsApi/AdManager/v202502/AdSpot.php +++ b/src/Google/AdsApi/AdManager/v202502/AdSpot.php @@ -77,7 +77,7 @@ class AdSpot * @param string[] $allowedLineItemTypes * @param boolean $inventorySharingBlocked */ - public function __construct($id = null, $name = null, $displayName = null, $customSpot = null, $flexible = null, $maxDurationMillis = null, $maxNumberOfAds = null, $targetingType = null, $backfillBlocked = null, array $allowedLineItemTypes = null, $inventorySharingBlocked = null) + public function __construct($id = null, $name = null, $displayName = null, $customSpot = null, $flexible = null, $maxDurationMillis = null, $maxNumberOfAds = null, $targetingType = null, $backfillBlocked = null, ?array $allowedLineItemTypes = null, $inventorySharingBlocked = null) { $this->id = $id; $this->name = $name; @@ -268,7 +268,7 @@ public function getAllowedLineItemTypes() * @param string[]|null $allowedLineItemTypes * @return \Google\AdsApi\AdManager\v202502\AdSpot */ - public function setAllowedLineItemTypes(array $allowedLineItemTypes = null) + public function setAllowedLineItemTypes(?array $allowedLineItemTypes = null) { $this->allowedLineItemTypes = $allowedLineItemTypes; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/AdSpotPage.php b/src/Google/AdsApi/AdManager/v202502/AdSpotPage.php index a75a37fd1..8f5b6ea90 100644 --- a/src/Google/AdsApi/AdManager/v202502/AdSpotPage.php +++ b/src/Google/AdsApi/AdManager/v202502/AdSpotPage.php @@ -29,7 +29,7 @@ class AdSpotPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\AdSpot[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\AdSpot[]|null $results * @return \Google\AdsApi\AdManager\v202502\AdSpotPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/AdUnit.php b/src/Google/AdsApi/AdManager/v202502/AdUnit.php index 40d257ace..36f5a4c63 100644 --- a/src/Google/AdsApi/AdManager/v202502/AdUnit.php +++ b/src/Google/AdsApi/AdManager/v202502/AdUnit.php @@ -179,7 +179,7 @@ class AdUnit * @param boolean $isSetTopBoxEnabled * @param int $applicationId */ - public function __construct($id = null, $parentId = null, $hasChildren = null, array $parentPath = null, $name = null, $description = null, $targetWindow = null, $status = null, $adUnitCode = null, array $adUnitSizes = null, $isInterstitial = null, $isNative = null, $isFluid = null, $explicitlyTargeted = null, $adSenseSettings = null, $adSenseSettingsSource = null, array $appliedLabelFrequencyCaps = null, array $effectiveLabelFrequencyCaps = null, array $appliedLabels = null, array $effectiveAppliedLabels = null, array $effectiveTeamIds = null, array $appliedTeamIds = null, $lastModifiedDateTime = null, $smartSizeMode = null, $refreshRate = null, $externalSetTopBoxChannelId = null, $isSetTopBoxEnabled = null, $applicationId = null) + public function __construct($id = null, $parentId = null, $hasChildren = null, ?array $parentPath = null, $name = null, $description = null, $targetWindow = null, $status = null, $adUnitCode = null, ?array $adUnitSizes = null, $isInterstitial = null, $isNative = null, $isFluid = null, $explicitlyTargeted = null, $adSenseSettings = null, $adSenseSettingsSource = null, ?array $appliedLabelFrequencyCaps = null, ?array $effectiveLabelFrequencyCaps = null, ?array $appliedLabels = null, ?array $effectiveAppliedLabels = null, ?array $effectiveTeamIds = null, ?array $appliedTeamIds = null, $lastModifiedDateTime = null, $smartSizeMode = null, $refreshRate = null, $externalSetTopBoxChannelId = null, $isSetTopBoxEnabled = null, $applicationId = null) { $this->id = $id; $this->parentId = $parentId; @@ -277,7 +277,7 @@ public function getParentPath() * @param \Google\AdsApi\AdManager\v202502\AdUnitParent[]|null $parentPath * @return \Google\AdsApi\AdManager\v202502\AdUnit */ - public function setParentPath(array $parentPath = null) + public function setParentPath(?array $parentPath = null) { $this->parentPath = $parentPath; return $this; @@ -385,7 +385,7 @@ public function getAdUnitSizes() * @param \Google\AdsApi\AdManager\v202502\AdUnitSize[]|null $adUnitSizes * @return \Google\AdsApi\AdManager\v202502\AdUnit */ - public function setAdUnitSizes(array $adUnitSizes = null) + public function setAdUnitSizes(?array $adUnitSizes = null) { $this->adUnitSizes = $adUnitSizes; return $this; @@ -511,7 +511,7 @@ public function getAppliedLabelFrequencyCaps() * @param \Google\AdsApi\AdManager\v202502\LabelFrequencyCap[]|null $appliedLabelFrequencyCaps * @return \Google\AdsApi\AdManager\v202502\AdUnit */ - public function setAppliedLabelFrequencyCaps(array $appliedLabelFrequencyCaps = null) + public function setAppliedLabelFrequencyCaps(?array $appliedLabelFrequencyCaps = null) { $this->appliedLabelFrequencyCaps = $appliedLabelFrequencyCaps; return $this; @@ -529,7 +529,7 @@ public function getEffectiveLabelFrequencyCaps() * @param \Google\AdsApi\AdManager\v202502\LabelFrequencyCap[]|null $effectiveLabelFrequencyCaps * @return \Google\AdsApi\AdManager\v202502\AdUnit */ - public function setEffectiveLabelFrequencyCaps(array $effectiveLabelFrequencyCaps = null) + public function setEffectiveLabelFrequencyCaps(?array $effectiveLabelFrequencyCaps = null) { $this->effectiveLabelFrequencyCaps = $effectiveLabelFrequencyCaps; return $this; @@ -547,7 +547,7 @@ public function getAppliedLabels() * @param \Google\AdsApi\AdManager\v202502\AppliedLabel[]|null $appliedLabels * @return \Google\AdsApi\AdManager\v202502\AdUnit */ - public function setAppliedLabels(array $appliedLabels = null) + public function setAppliedLabels(?array $appliedLabels = null) { $this->appliedLabels = $appliedLabels; return $this; @@ -565,7 +565,7 @@ public function getEffectiveAppliedLabels() * @param \Google\AdsApi\AdManager\v202502\AppliedLabel[]|null $effectiveAppliedLabels * @return \Google\AdsApi\AdManager\v202502\AdUnit */ - public function setEffectiveAppliedLabels(array $effectiveAppliedLabels = null) + public function setEffectiveAppliedLabels(?array $effectiveAppliedLabels = null) { $this->effectiveAppliedLabels = $effectiveAppliedLabels; return $this; @@ -583,7 +583,7 @@ public function getEffectiveTeamIds() * @param int[]|null $effectiveTeamIds * @return \Google\AdsApi\AdManager\v202502\AdUnit */ - public function setEffectiveTeamIds(array $effectiveTeamIds = null) + public function setEffectiveTeamIds(?array $effectiveTeamIds = null) { $this->effectiveTeamIds = $effectiveTeamIds; return $this; @@ -601,7 +601,7 @@ public function getAppliedTeamIds() * @param int[]|null $appliedTeamIds * @return \Google\AdsApi\AdManager\v202502\AdUnit */ - public function setAppliedTeamIds(array $appliedTeamIds = null) + public function setAppliedTeamIds(?array $appliedTeamIds = null) { $this->appliedTeamIds = $appliedTeamIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/AdUnitCodeError.php b/src/Google/AdsApi/AdManager/v202502/AdUnitCodeError.php index 40f9fd772..71e693971 100644 --- a/src/Google/AdsApi/AdManager/v202502/AdUnitCodeError.php +++ b/src/Google/AdsApi/AdManager/v202502/AdUnitCodeError.php @@ -21,7 +21,7 @@ class AdUnitCodeError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/AdUnitHierarchyError.php b/src/Google/AdsApi/AdManager/v202502/AdUnitHierarchyError.php index 6a6268569..03b5c6962 100644 --- a/src/Google/AdsApi/AdManager/v202502/AdUnitHierarchyError.php +++ b/src/Google/AdsApi/AdManager/v202502/AdUnitHierarchyError.php @@ -21,7 +21,7 @@ class AdUnitHierarchyError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/AdUnitPage.php b/src/Google/AdsApi/AdManager/v202502/AdUnitPage.php index e4b1b75c5..1ac810215 100644 --- a/src/Google/AdsApi/AdManager/v202502/AdUnitPage.php +++ b/src/Google/AdsApi/AdManager/v202502/AdUnitPage.php @@ -29,7 +29,7 @@ class AdUnitPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\AdUnit[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\AdUnit[]|null $results * @return \Google\AdsApi\AdManager\v202502\AdUnitPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/AdUnitSize.php b/src/Google/AdsApi/AdManager/v202502/AdUnitSize.php index e080e2445..f06ad5937 100644 --- a/src/Google/AdsApi/AdManager/v202502/AdUnitSize.php +++ b/src/Google/AdsApi/AdManager/v202502/AdUnitSize.php @@ -41,7 +41,7 @@ class AdUnitSize * @param string $fullDisplayString * @param boolean $isAudio */ - public function __construct($size = null, $environmentType = null, array $companions = null, $fullDisplayString = null, $isAudio = null) + public function __construct($size = null, $environmentType = null, ?array $companions = null, $fullDisplayString = null, $isAudio = null) { $this->size = $size; $this->environmentType = $environmentType; @@ -98,7 +98,7 @@ public function getCompanions() * @param \Google\AdsApi\AdManager\v202502\AdUnitSize[]|null $companions * @return \Google\AdsApi\AdManager\v202502\AdUnitSize */ - public function setCompanions(array $companions = null) + public function setCompanions(?array $companions = null) { $this->companions = $companions; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/ApiError.php b/src/Google/AdsApi/AdManager/v202502/ApiError.php index a483d95ce..f71606bfd 100644 --- a/src/Google/AdsApi/AdManager/v202502/ApiError.php +++ b/src/Google/AdsApi/AdManager/v202502/ApiError.php @@ -35,7 +35,7 @@ abstract class ApiError * @param string $trigger * @param string $errorString */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null) { $this->fieldPath = $fieldPath; $this->fieldPathElements = $fieldPathElements; @@ -73,7 +73,7 @@ public function getFieldPathElements() * @param \Google\AdsApi\AdManager\v202502\FieldPathElement[]|null $fieldPathElements * @return \Google\AdsApi\AdManager\v202502\ApiError */ - public function setFieldPathElements(array $fieldPathElements = null) + public function setFieldPathElements(?array $fieldPathElements = null) { $this->fieldPathElements = $fieldPathElements; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/ApiException.php b/src/Google/AdsApi/AdManager/v202502/ApiException.php index 152e59209..135e6f778 100644 --- a/src/Google/AdsApi/AdManager/v202502/ApiException.php +++ b/src/Google/AdsApi/AdManager/v202502/ApiException.php @@ -19,7 +19,7 @@ class ApiException extends \Google\AdsApi\AdManager\v202502\ApplicationException * @param string $message1 * @param \Google\AdsApi\AdManager\v202502\ApiError[] $errors */ - public function __construct($message = null, $message1 = null, array $errors = null) + public function __construct($message = null, $message1 = null, ?array $errors = null) { parent::__construct($message, $message1); $this->errors = $errors; @@ -37,7 +37,7 @@ public function getErrors() * @param \Google\AdsApi\AdManager\v202502\ApiError[]|null $errors * @return \Google\AdsApi\AdManager\v202502\ApiException */ - public function setErrors(array $errors = null) + public function setErrors(?array $errors = null) { $this->errors = $errors; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/ApiVersionError.php b/src/Google/AdsApi/AdManager/v202502/ApiVersionError.php index a9370cd1d..846196139 100644 --- a/src/Google/AdsApi/AdManager/v202502/ApiVersionError.php +++ b/src/Google/AdsApi/AdManager/v202502/ApiVersionError.php @@ -21,7 +21,7 @@ class ApiVersionError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/AspectRatioImageCreative.php b/src/Google/AdsApi/AdManager/v202502/AspectRatioImageCreative.php index d08a4cafa..ddb58cbc4 100644 --- a/src/Google/AdsApi/AdManager/v202502/AspectRatioImageCreative.php +++ b/src/Google/AdsApi/AdManager/v202502/AspectRatioImageCreative.php @@ -48,7 +48,7 @@ class AspectRatioImageCreative extends \Google\AdsApi\AdManager\v202502\HasDesti * @param string[] $thirdPartyImpressionTrackingUrls * @param boolean $overrideSize */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, array $imageAssets = null, $altText = null, array $thirdPartyImpressionTrackingUrls = null, $overrideSize = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, ?array $imageAssets = null, $altText = null, ?array $thirdPartyImpressionTrackingUrls = null, $overrideSize = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $destinationUrl, $destinationUrlType); $this->imageAssets = $imageAssets; @@ -69,7 +69,7 @@ public function getImageAssets() * @param \Google\AdsApi\AdManager\v202502\CreativeAsset[]|null $imageAssets * @return \Google\AdsApi\AdManager\v202502\AspectRatioImageCreative */ - public function setImageAssets(array $imageAssets = null) + public function setImageAssets(?array $imageAssets = null) { $this->imageAssets = $imageAssets; return $this; @@ -105,7 +105,7 @@ public function getThirdPartyImpressionTrackingUrls() * @param string[]|null $thirdPartyImpressionTrackingUrls * @return \Google\AdsApi\AdManager\v202502\AspectRatioImageCreative */ - public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) + public function setThirdPartyImpressionTrackingUrls(?array $thirdPartyImpressionTrackingUrls = null) { $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/AssetCreativeTemplateVariable.php b/src/Google/AdsApi/AdManager/v202502/AssetCreativeTemplateVariable.php index 9b28eeb17..21c9dd455 100644 --- a/src/Google/AdsApi/AdManager/v202502/AssetCreativeTemplateVariable.php +++ b/src/Google/AdsApi/AdManager/v202502/AssetCreativeTemplateVariable.php @@ -21,7 +21,7 @@ class AssetCreativeTemplateVariable extends \Google\AdsApi\AdManager\v202502\Cre * @param boolean $isRequired * @param string[] $mimeTypes */ - public function __construct($label = null, $uniqueName = null, $description = null, $isRequired = null, array $mimeTypes = null) + public function __construct($label = null, $uniqueName = null, $description = null, $isRequired = null, ?array $mimeTypes = null) { parent::__construct($label, $uniqueName, $description, $isRequired); $this->mimeTypes = $mimeTypes; @@ -39,7 +39,7 @@ public function getMimeTypes() * @param string[]|null $mimeTypes * @return \Google\AdsApi\AdManager\v202502\AssetCreativeTemplateVariable */ - public function setMimeTypes(array $mimeTypes = null) + public function setMimeTypes(?array $mimeTypes = null) { $this->mimeTypes = $mimeTypes; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/AssetError.php b/src/Google/AdsApi/AdManager/v202502/AssetError.php index a6dec28db..dc56076b5 100644 --- a/src/Google/AdsApi/AdManager/v202502/AssetError.php +++ b/src/Google/AdsApi/AdManager/v202502/AssetError.php @@ -21,7 +21,7 @@ class AssetError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/AudienceExtensionError.php b/src/Google/AdsApi/AdManager/v202502/AudienceExtensionError.php index 46cee475f..e09ab2740 100644 --- a/src/Google/AdsApi/AdManager/v202502/AudienceExtensionError.php +++ b/src/Google/AdsApi/AdManager/v202502/AudienceExtensionError.php @@ -21,7 +21,7 @@ class AudienceExtensionError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/AudienceSegment.php b/src/Google/AdsApi/AdManager/v202502/AudienceSegment.php index 6805d97b2..fe81727fe 100644 --- a/src/Google/AdsApi/AdManager/v202502/AudienceSegment.php +++ b/src/Google/AdsApi/AdManager/v202502/AudienceSegment.php @@ -83,7 +83,7 @@ class AudienceSegment * @param \Google\AdsApi\AdManager\v202502\AudienceSegmentDataProvider $dataProvider * @param string $type */ - public function __construct($id = null, $name = null, array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null) + public function __construct($id = null, $name = null, ?array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null) { $this->id = $id; $this->name = $name; @@ -148,7 +148,7 @@ public function getCategoryIds() * @param int[]|null $categoryIds * @return \Google\AdsApi\AdManager\v202502\AudienceSegment */ - public function setCategoryIds(array $categoryIds = null) + public function setCategoryIds(?array $categoryIds = null) { $this->categoryIds = $categoryIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/AudienceSegmentCriteria.php b/src/Google/AdsApi/AdManager/v202502/AudienceSegmentCriteria.php index 554300d19..acc927891 100644 --- a/src/Google/AdsApi/AdManager/v202502/AudienceSegmentCriteria.php +++ b/src/Google/AdsApi/AdManager/v202502/AudienceSegmentCriteria.php @@ -23,7 +23,7 @@ class AudienceSegmentCriteria extends \Google\AdsApi\AdManager\v202502\CustomCri * @param string $operator * @param int[] $audienceSegmentIds */ - public function __construct($operator = null, array $audienceSegmentIds = null) + public function __construct($operator = null, ?array $audienceSegmentIds = null) { $this->operator = $operator; $this->audienceSegmentIds = $audienceSegmentIds; @@ -59,7 +59,7 @@ public function getAudienceSegmentIds() * @param int[]|null $audienceSegmentIds * @return \Google\AdsApi\AdManager\v202502\AudienceSegmentCriteria */ - public function setAudienceSegmentIds(array $audienceSegmentIds = null) + public function setAudienceSegmentIds(?array $audienceSegmentIds = null) { $this->audienceSegmentIds = $audienceSegmentIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/AudienceSegmentError.php b/src/Google/AdsApi/AdManager/v202502/AudienceSegmentError.php index 89d620a81..2f2079b94 100644 --- a/src/Google/AdsApi/AdManager/v202502/AudienceSegmentError.php +++ b/src/Google/AdsApi/AdManager/v202502/AudienceSegmentError.php @@ -21,7 +21,7 @@ class AudienceSegmentError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/AudienceSegmentPage.php b/src/Google/AdsApi/AdManager/v202502/AudienceSegmentPage.php index f3e7ab147..feb1f1798 100644 --- a/src/Google/AdsApi/AdManager/v202502/AudienceSegmentPage.php +++ b/src/Google/AdsApi/AdManager/v202502/AudienceSegmentPage.php @@ -29,7 +29,7 @@ class AudienceSegmentPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\AudienceSegment[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\AudienceSegment[]|null $results * @return \Google\AdsApi\AdManager\v202502\AudienceSegmentPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/AudioCreative.php b/src/Google/AdsApi/AdManager/v202502/AudioCreative.php index 87c295521..cd4eb8569 100644 --- a/src/Google/AdsApi/AdManager/v202502/AudioCreative.php +++ b/src/Google/AdsApi/AdManager/v202502/AudioCreative.php @@ -41,7 +41,7 @@ class AudioCreative extends \Google\AdsApi\AdManager\v202502\BaseAudioCreative * @param string $sslManualOverride * @param string $audioSourceUrl */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, array $trackingUrls = null, array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $audioSourceUrl = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, ?array $trackingUrls = null, ?array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $audioSourceUrl = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $destinationUrl, $destinationUrlType, $duration, $allowDurationOverride, $trackingUrls, $companionCreativeIds, $customParameters, $adId, $adIdType, $skippableAdType, $vastPreviewUrl, $sslScanResult, $sslManualOverride); $this->audioSourceUrl = $audioSourceUrl; diff --git a/src/Google/AdsApi/AdManager/v202502/AudioRedirectCreative.php b/src/Google/AdsApi/AdManager/v202502/AudioRedirectCreative.php index c26104f55..89f58bf24 100644 --- a/src/Google/AdsApi/AdManager/v202502/AudioRedirectCreative.php +++ b/src/Google/AdsApi/AdManager/v202502/AudioRedirectCreative.php @@ -47,7 +47,7 @@ class AudioRedirectCreative extends \Google\AdsApi\AdManager\v202502\BaseAudioCr * @param \Google\AdsApi\AdManager\v202502\VideoRedirectAsset[] $audioAssets * @param \Google\AdsApi\AdManager\v202502\VideoRedirectAsset $mezzanineFile */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, array $trackingUrls = null, array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, array $audioAssets = null, $mezzanineFile = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, ?array $trackingUrls = null, ?array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, ?array $audioAssets = null, $mezzanineFile = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $destinationUrl, $destinationUrlType, $duration, $allowDurationOverride, $trackingUrls, $companionCreativeIds, $customParameters, $adId, $adIdType, $skippableAdType, $vastPreviewUrl, $sslScanResult, $sslManualOverride); $this->audioAssets = $audioAssets; @@ -66,7 +66,7 @@ public function getAudioAssets() * @param \Google\AdsApi\AdManager\v202502\VideoRedirectAsset[]|null $audioAssets * @return \Google\AdsApi\AdManager\v202502\AudioRedirectCreative */ - public function setAudioAssets(array $audioAssets = null) + public function setAudioAssets(?array $audioAssets = null) { $this->audioAssets = $audioAssets; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/AuthenticationError.php b/src/Google/AdsApi/AdManager/v202502/AuthenticationError.php index 03cfb0320..caa50ecc7 100644 --- a/src/Google/AdsApi/AdManager/v202502/AuthenticationError.php +++ b/src/Google/AdsApi/AdManager/v202502/AuthenticationError.php @@ -21,7 +21,7 @@ class AuthenticationError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/AvailabilityForecast.php b/src/Google/AdsApi/AdManager/v202502/AvailabilityForecast.php index d63b220a3..396eb2cb4 100644 --- a/src/Google/AdsApi/AdManager/v202502/AvailabilityForecast.php +++ b/src/Google/AdsApi/AdManager/v202502/AvailabilityForecast.php @@ -83,7 +83,7 @@ class AvailabilityForecast * @param \Google\AdsApi\AdManager\v202502\ContendingLineItem[] $contendingLineItems * @param \Google\AdsApi\AdManager\v202502\AlternativeUnitTypeForecast[] $alternativeUnitTypeForecasts */ - public function __construct($lineItemId = null, $orderId = null, $unitType = null, $availableUnits = null, $deliveredUnits = null, $matchedUnits = null, $possibleUnits = null, $reservedUnits = null, array $breakdowns = null, array $targetingCriteriaBreakdowns = null, array $contendingLineItems = null, array $alternativeUnitTypeForecasts = null) + public function __construct($lineItemId = null, $orderId = null, $unitType = null, $availableUnits = null, $deliveredUnits = null, $matchedUnits = null, $possibleUnits = null, $reservedUnits = null, ?array $breakdowns = null, ?array $targetingCriteriaBreakdowns = null, ?array $contendingLineItems = null, ?array $alternativeUnitTypeForecasts = null) { $this->lineItemId = $lineItemId; $this->orderId = $orderId; @@ -262,7 +262,7 @@ public function getBreakdowns() * @param \Google\AdsApi\AdManager\v202502\ForecastBreakdown[]|null $breakdowns * @return \Google\AdsApi\AdManager\v202502\AvailabilityForecast */ - public function setBreakdowns(array $breakdowns = null) + public function setBreakdowns(?array $breakdowns = null) { $this->breakdowns = $breakdowns; return $this; @@ -280,7 +280,7 @@ public function getTargetingCriteriaBreakdowns() * @param \Google\AdsApi\AdManager\v202502\TargetingCriteriaBreakdown[]|null $targetingCriteriaBreakdowns * @return \Google\AdsApi\AdManager\v202502\AvailabilityForecast */ - public function setTargetingCriteriaBreakdowns(array $targetingCriteriaBreakdowns = null) + public function setTargetingCriteriaBreakdowns(?array $targetingCriteriaBreakdowns = null) { $this->targetingCriteriaBreakdowns = $targetingCriteriaBreakdowns; return $this; @@ -298,7 +298,7 @@ public function getContendingLineItems() * @param \Google\AdsApi\AdManager\v202502\ContendingLineItem[]|null $contendingLineItems * @return \Google\AdsApi\AdManager\v202502\AvailabilityForecast */ - public function setContendingLineItems(array $contendingLineItems = null) + public function setContendingLineItems(?array $contendingLineItems = null) { $this->contendingLineItems = $contendingLineItems; return $this; @@ -316,7 +316,7 @@ public function getAlternativeUnitTypeForecasts() * @param \Google\AdsApi\AdManager\v202502\AlternativeUnitTypeForecast[]|null $alternativeUnitTypeForecasts * @return \Google\AdsApi\AdManager\v202502\AvailabilityForecast */ - public function setAlternativeUnitTypeForecasts(array $alternativeUnitTypeForecasts = null) + public function setAlternativeUnitTypeForecasts(?array $alternativeUnitTypeForecasts = null) { $this->alternativeUnitTypeForecasts = $alternativeUnitTypeForecasts; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/BandwidthGroupTargeting.php b/src/Google/AdsApi/AdManager/v202502/BandwidthGroupTargeting.php index 9d4125d80..2a1574c54 100644 --- a/src/Google/AdsApi/AdManager/v202502/BandwidthGroupTargeting.php +++ b/src/Google/AdsApi/AdManager/v202502/BandwidthGroupTargeting.php @@ -23,7 +23,7 @@ class BandwidthGroupTargeting * @param boolean $isTargeted * @param \Google\AdsApi\AdManager\v202502\Technology[] $bandwidthGroups */ - public function __construct($isTargeted = null, array $bandwidthGroups = null) + public function __construct($isTargeted = null, ?array $bandwidthGroups = null) { $this->isTargeted = $isTargeted; $this->bandwidthGroups = $bandwidthGroups; @@ -59,7 +59,7 @@ public function getBandwidthGroups() * @param \Google\AdsApi\AdManager\v202502\Technology[]|null $bandwidthGroups * @return \Google\AdsApi\AdManager\v202502\BandwidthGroupTargeting */ - public function setBandwidthGroups(array $bandwidthGroups = null) + public function setBandwidthGroups(?array $bandwidthGroups = null) { $this->bandwidthGroups = $bandwidthGroups; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/BaseAudioCreative.php b/src/Google/AdsApi/AdManager/v202502/BaseAudioCreative.php index c277dc36a..d106e62e5 100644 --- a/src/Google/AdsApi/AdManager/v202502/BaseAudioCreative.php +++ b/src/Google/AdsApi/AdManager/v202502/BaseAudioCreative.php @@ -90,7 +90,7 @@ abstract class BaseAudioCreative extends \Google\AdsApi\AdManager\v202502\HasDes * @param string $sslScanResult * @param string $sslManualOverride */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, array $trackingUrls = null, array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, ?array $trackingUrls = null, ?array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $destinationUrl, $destinationUrlType); $this->duration = $duration; @@ -154,7 +154,7 @@ public function getTrackingUrls() * @param \Google\AdsApi\AdManager\v202502\ConversionEvent_TrackingUrlsMapEntry[]|null $trackingUrls * @return \Google\AdsApi\AdManager\v202502\BaseAudioCreative */ - public function setTrackingUrls(array $trackingUrls = null) + public function setTrackingUrls(?array $trackingUrls = null) { $this->trackingUrls = $trackingUrls; return $this; @@ -172,7 +172,7 @@ public function getCompanionCreativeIds() * @param int[]|null $companionCreativeIds * @return \Google\AdsApi\AdManager\v202502\BaseAudioCreative */ - public function setCompanionCreativeIds(array $companionCreativeIds = null) + public function setCompanionCreativeIds(?array $companionCreativeIds = null) { $this->companionCreativeIds = $companionCreativeIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/BaseDynamicAllocationCreative.php b/src/Google/AdsApi/AdManager/v202502/BaseDynamicAllocationCreative.php index d46008a90..84518df74 100644 --- a/src/Google/AdsApi/AdManager/v202502/BaseDynamicAllocationCreative.php +++ b/src/Google/AdsApi/AdManager/v202502/BaseDynamicAllocationCreative.php @@ -22,7 +22,7 @@ abstract class BaseDynamicAllocationCreative extends \Google\AdsApi\AdManager\v2 * @param \Google\AdsApi\AdManager\v202502\ThirdPartyDataDeclaration $thirdPartyDataDeclaration * @param boolean $adBadgingEnabled */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled); } diff --git a/src/Google/AdsApi/AdManager/v202502/BaseImageCreative.php b/src/Google/AdsApi/AdManager/v202502/BaseImageCreative.php index 798ff1963..56838480f 100644 --- a/src/Google/AdsApi/AdManager/v202502/BaseImageCreative.php +++ b/src/Google/AdsApi/AdManager/v202502/BaseImageCreative.php @@ -36,7 +36,7 @@ abstract class BaseImageCreative extends \Google\AdsApi\AdManager\v202502\HasDes * @param boolean $overrideSize * @param \Google\AdsApi\AdManager\v202502\CreativeAsset $primaryImageAsset */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $overrideSize = null, $primaryImageAsset = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $overrideSize = null, $primaryImageAsset = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $destinationUrl, $destinationUrlType); $this->overrideSize = $overrideSize; diff --git a/src/Google/AdsApi/AdManager/v202502/BaseImageRedirectCreative.php b/src/Google/AdsApi/AdManager/v202502/BaseImageRedirectCreative.php index dba40e90d..79abcf10f 100644 --- a/src/Google/AdsApi/AdManager/v202502/BaseImageRedirectCreative.php +++ b/src/Google/AdsApi/AdManager/v202502/BaseImageRedirectCreative.php @@ -30,7 +30,7 @@ abstract class BaseImageRedirectCreative extends \Google\AdsApi\AdManager\v20250 * @param string $destinationUrlType * @param string $imageUrl */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $imageUrl = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $imageUrl = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $destinationUrl, $destinationUrlType); $this->imageUrl = $imageUrl; diff --git a/src/Google/AdsApi/AdManager/v202502/BaseRichMediaStudioCreative.php b/src/Google/AdsApi/AdManager/v202502/BaseRichMediaStudioCreative.php index 446f1fa5b..a24c6d35b 100644 --- a/src/Google/AdsApi/AdManager/v202502/BaseRichMediaStudioCreative.php +++ b/src/Google/AdsApi/AdManager/v202502/BaseRichMediaStudioCreative.php @@ -124,7 +124,7 @@ abstract class BaseRichMediaStudioCreative extends \Google\AdsApi\AdManager\v202 * @param string $sslScanResult * @param string $sslManualOverride */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $studioCreativeId = null, $creativeFormat = null, $artworkType = null, $totalFileSize = null, array $adTagKeys = null, array $customKeyValues = null, $surveyUrl = null, $allImpressionsUrl = null, $richMediaImpressionsUrl = null, $backupImageImpressionsUrl = null, $overrideCss = null, $requiredFlashPluginVersion = null, $duration = null, $billingAttribute = null, array $richMediaStudioChildAssetProperties = null, $sslScanResult = null, $sslManualOverride = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $studioCreativeId = null, $creativeFormat = null, $artworkType = null, $totalFileSize = null, ?array $adTagKeys = null, ?array $customKeyValues = null, $surveyUrl = null, $allImpressionsUrl = null, $richMediaImpressionsUrl = null, $backupImageImpressionsUrl = null, $overrideCss = null, $requiredFlashPluginVersion = null, $duration = null, $billingAttribute = null, ?array $richMediaStudioChildAssetProperties = null, $sslScanResult = null, $sslManualOverride = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled); $this->studioCreativeId = $studioCreativeId; @@ -232,7 +232,7 @@ public function getAdTagKeys() * @param string[]|null $adTagKeys * @return \Google\AdsApi\AdManager\v202502\BaseRichMediaStudioCreative */ - public function setAdTagKeys(array $adTagKeys = null) + public function setAdTagKeys(?array $adTagKeys = null) { $this->adTagKeys = $adTagKeys; return $this; @@ -250,7 +250,7 @@ public function getCustomKeyValues() * @param string[]|null $customKeyValues * @return \Google\AdsApi\AdManager\v202502\BaseRichMediaStudioCreative */ - public function setCustomKeyValues(array $customKeyValues = null) + public function setCustomKeyValues(?array $customKeyValues = null) { $this->customKeyValues = $customKeyValues; return $this; @@ -412,7 +412,7 @@ public function getRichMediaStudioChildAssetProperties() * @param \Google\AdsApi\AdManager\v202502\RichMediaStudioChildAssetProperty[]|null $richMediaStudioChildAssetProperties * @return \Google\AdsApi\AdManager\v202502\BaseRichMediaStudioCreative */ - public function setRichMediaStudioChildAssetProperties(array $richMediaStudioChildAssetProperties = null) + public function setRichMediaStudioChildAssetProperties(?array $richMediaStudioChildAssetProperties = null) { $this->richMediaStudioChildAssetProperties = $richMediaStudioChildAssetProperties; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/BaseVideoCreative.php b/src/Google/AdsApi/AdManager/v202502/BaseVideoCreative.php index 34e8a9626..bf1750119 100644 --- a/src/Google/AdsApi/AdManager/v202502/BaseVideoCreative.php +++ b/src/Google/AdsApi/AdManager/v202502/BaseVideoCreative.php @@ -90,7 +90,7 @@ abstract class BaseVideoCreative extends \Google\AdsApi\AdManager\v202502\HasDes * @param string $sslScanResult * @param string $sslManualOverride */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, array $trackingUrls = null, array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, ?array $trackingUrls = null, ?array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $destinationUrl, $destinationUrlType); $this->duration = $duration; @@ -154,7 +154,7 @@ public function getTrackingUrls() * @param \Google\AdsApi\AdManager\v202502\ConversionEvent_TrackingUrlsMapEntry[]|null $trackingUrls * @return \Google\AdsApi\AdManager\v202502\BaseVideoCreative */ - public function setTrackingUrls(array $trackingUrls = null) + public function setTrackingUrls(?array $trackingUrls = null) { $this->trackingUrls = $trackingUrls; return $this; @@ -172,7 +172,7 @@ public function getCompanionCreativeIds() * @param int[]|null $companionCreativeIds * @return \Google\AdsApi\AdManager\v202502\BaseVideoCreative */ - public function setCompanionCreativeIds(array $companionCreativeIds = null) + public function setCompanionCreativeIds(?array $companionCreativeIds = null) { $this->companionCreativeIds = $companionCreativeIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/BillingError.php b/src/Google/AdsApi/AdManager/v202502/BillingError.php index 3951f9d67..29d0e86e7 100644 --- a/src/Google/AdsApi/AdManager/v202502/BillingError.php +++ b/src/Google/AdsApi/AdManager/v202502/BillingError.php @@ -21,7 +21,7 @@ class BillingError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/BreakTemplate.php b/src/Google/AdsApi/AdManager/v202502/BreakTemplate.php index 928567b5b..71ccd30ac 100644 --- a/src/Google/AdsApi/AdManager/v202502/BreakTemplate.php +++ b/src/Google/AdsApi/AdManager/v202502/BreakTemplate.php @@ -41,7 +41,7 @@ class BreakTemplate * @param string $displayName * @param \Google\AdsApi\AdManager\v202502\BreakTemplateBreakTemplateMember[] $breakTemplateMembers */ - public function __construct($id = null, $customTemplate = null, $name = null, $displayName = null, array $breakTemplateMembers = null) + public function __construct($id = null, $customTemplate = null, $name = null, $displayName = null, ?array $breakTemplateMembers = null) { $this->id = $id; $this->customTemplate = $customTemplate; @@ -135,7 +135,7 @@ public function getBreakTemplateMembers() * @param \Google\AdsApi\AdManager\v202502\BreakTemplateBreakTemplateMember[]|null $breakTemplateMembers * @return \Google\AdsApi\AdManager\v202502\BreakTemplate */ - public function setBreakTemplateMembers(array $breakTemplateMembers = null) + public function setBreakTemplateMembers(?array $breakTemplateMembers = null) { $this->breakTemplateMembers = $breakTemplateMembers; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/BreakTemplatePage.php b/src/Google/AdsApi/AdManager/v202502/BreakTemplatePage.php index 6948e0949..0eba7fc5d 100644 --- a/src/Google/AdsApi/AdManager/v202502/BreakTemplatePage.php +++ b/src/Google/AdsApi/AdManager/v202502/BreakTemplatePage.php @@ -29,7 +29,7 @@ class BreakTemplatePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\BreakTemplate[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\BreakTemplate[]|null $results * @return \Google\AdsApi\AdManager\v202502\BreakTemplatePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/BrowserLanguageTargeting.php b/src/Google/AdsApi/AdManager/v202502/BrowserLanguageTargeting.php index a53eda43a..1bb2d37fb 100644 --- a/src/Google/AdsApi/AdManager/v202502/BrowserLanguageTargeting.php +++ b/src/Google/AdsApi/AdManager/v202502/BrowserLanguageTargeting.php @@ -23,7 +23,7 @@ class BrowserLanguageTargeting * @param boolean $isTargeted * @param \Google\AdsApi\AdManager\v202502\Technology[] $browserLanguages */ - public function __construct($isTargeted = null, array $browserLanguages = null) + public function __construct($isTargeted = null, ?array $browserLanguages = null) { $this->isTargeted = $isTargeted; $this->browserLanguages = $browserLanguages; @@ -59,7 +59,7 @@ public function getBrowserLanguages() * @param \Google\AdsApi\AdManager\v202502\Technology[]|null $browserLanguages * @return \Google\AdsApi\AdManager\v202502\BrowserLanguageTargeting */ - public function setBrowserLanguages(array $browserLanguages = null) + public function setBrowserLanguages(?array $browserLanguages = null) { $this->browserLanguages = $browserLanguages; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/BrowserTargeting.php b/src/Google/AdsApi/AdManager/v202502/BrowserTargeting.php index d5160905b..376d8f102 100644 --- a/src/Google/AdsApi/AdManager/v202502/BrowserTargeting.php +++ b/src/Google/AdsApi/AdManager/v202502/BrowserTargeting.php @@ -23,7 +23,7 @@ class BrowserTargeting * @param boolean $isTargeted * @param \Google\AdsApi\AdManager\v202502\Technology[] $browsers */ - public function __construct($isTargeted = null, array $browsers = null) + public function __construct($isTargeted = null, ?array $browsers = null) { $this->isTargeted = $isTargeted; $this->browsers = $browsers; @@ -59,7 +59,7 @@ public function getBrowsers() * @param \Google\AdsApi\AdManager\v202502\Technology[]|null $browsers * @return \Google\AdsApi\AdManager\v202502\BrowserTargeting */ - public function setBrowsers(array $browsers = null) + public function setBrowsers(?array $browsers = null) { $this->browsers = $browsers; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/BuyerRfp.php b/src/Google/AdsApi/AdManager/v202502/BuyerRfp.php index 31f853d15..e3d1497e6 100644 --- a/src/Google/AdsApi/AdManager/v202502/BuyerRfp.php +++ b/src/Google/AdsApi/AdManager/v202502/BuyerRfp.php @@ -83,7 +83,7 @@ class BuyerRfp * @param string $adExchangeEnvironment * @param string $rfpType */ - public function __construct($costPerUnit = null, $units = null, $budget = null, $currencyCode = null, $startDateTime = null, $endDateTime = null, $description = null, array $creativePlaceholders = null, $targeting = null, $additionalTerms = null, $adExchangeEnvironment = null, $rfpType = null) + public function __construct($costPerUnit = null, $units = null, $budget = null, $currencyCode = null, $startDateTime = null, $endDateTime = null, $description = null, ?array $creativePlaceholders = null, $targeting = null, $additionalTerms = null, $adExchangeEnvironment = null, $rfpType = null) { $this->costPerUnit = $costPerUnit; $this->units = $units; @@ -238,7 +238,7 @@ public function getCreativePlaceholders() * @param \Google\AdsApi\AdManager\v202502\CreativePlaceholder[]|null $creativePlaceholders * @return \Google\AdsApi\AdManager\v202502\BuyerRfp */ - public function setCreativePlaceholders(array $creativePlaceholders = null) + public function setCreativePlaceholders(?array $creativePlaceholders = null) { $this->creativePlaceholders = $creativePlaceholders; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/CdnConfigurationError.php b/src/Google/AdsApi/AdManager/v202502/CdnConfigurationError.php index c169cf195..a0cbcdd01 100644 --- a/src/Google/AdsApi/AdManager/v202502/CdnConfigurationError.php +++ b/src/Google/AdsApi/AdManager/v202502/CdnConfigurationError.php @@ -21,7 +21,7 @@ class CdnConfigurationError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/CdnConfigurationPage.php b/src/Google/AdsApi/AdManager/v202502/CdnConfigurationPage.php index 3472c5ebb..c4515f0e8 100644 --- a/src/Google/AdsApi/AdManager/v202502/CdnConfigurationPage.php +++ b/src/Google/AdsApi/AdManager/v202502/CdnConfigurationPage.php @@ -29,7 +29,7 @@ class CdnConfigurationPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\CdnConfiguration[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\CdnConfiguration[]|null $results * @return \Google\AdsApi\AdManager\v202502\CdnConfigurationPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/ChildPublisher.php b/src/Google/AdsApi/AdManager/v202502/ChildPublisher.php index de2aa2d3a..2804aab03 100644 --- a/src/Google/AdsApi/AdManager/v202502/ChildPublisher.php +++ b/src/Google/AdsApi/AdManager/v202502/ChildPublisher.php @@ -59,7 +59,7 @@ class ChildPublisher * @param int $proposedRevenueShareMillipercent * @param string[] $onboardingTasks */ - public function __construct($approvedDelegationType = null, $proposedDelegationType = null, $status = null, $accountStatus = null, $childNetworkCode = null, $sellerId = null, $proposedRevenueShareMillipercent = null, array $onboardingTasks = null) + public function __construct($approvedDelegationType = null, $proposedDelegationType = null, $status = null, $accountStatus = null, $childNetworkCode = null, $sellerId = null, $proposedRevenueShareMillipercent = null, ?array $onboardingTasks = null) { $this->approvedDelegationType = $approvedDelegationType; $this->proposedDelegationType = $proposedDelegationType; @@ -210,7 +210,7 @@ public function getOnboardingTasks() * @param string[]|null $onboardingTasks * @return \Google\AdsApi\AdManager\v202502\ChildPublisher */ - public function setOnboardingTasks(array $onboardingTasks = null) + public function setOnboardingTasks(?array $onboardingTasks = null) { $this->onboardingTasks = $onboardingTasks; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/ClickTrackingCreative.php b/src/Google/AdsApi/AdManager/v202502/ClickTrackingCreative.php index dcf5ccf49..af27e251a 100644 --- a/src/Google/AdsApi/AdManager/v202502/ClickTrackingCreative.php +++ b/src/Google/AdsApi/AdManager/v202502/ClickTrackingCreative.php @@ -28,7 +28,7 @@ class ClickTrackingCreative extends \Google\AdsApi\AdManager\v202502\Creative * @param boolean $adBadgingEnabled * @param string $clickTrackingUrl */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $clickTrackingUrl = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $clickTrackingUrl = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled); $this->clickTrackingUrl = $clickTrackingUrl; diff --git a/src/Google/AdsApi/AdManager/v202502/ClickTrackingLineItemError.php b/src/Google/AdsApi/AdManager/v202502/ClickTrackingLineItemError.php index 4eb70180b..f2d0422ea 100644 --- a/src/Google/AdsApi/AdManager/v202502/ClickTrackingLineItemError.php +++ b/src/Google/AdsApi/AdManager/v202502/ClickTrackingLineItemError.php @@ -21,7 +21,7 @@ class ClickTrackingLineItemError extends \Google\AdsApi\AdManager\v202502\ApiErr * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/CmsMetadataCriteria.php b/src/Google/AdsApi/AdManager/v202502/CmsMetadataCriteria.php index db59b5278..eb2a4bf80 100644 --- a/src/Google/AdsApi/AdManager/v202502/CmsMetadataCriteria.php +++ b/src/Google/AdsApi/AdManager/v202502/CmsMetadataCriteria.php @@ -23,7 +23,7 @@ class CmsMetadataCriteria extends \Google\AdsApi\AdManager\v202502\CustomCriteri * @param string $operator * @param int[] $cmsMetadataValueIds */ - public function __construct($operator = null, array $cmsMetadataValueIds = null) + public function __construct($operator = null, ?array $cmsMetadataValueIds = null) { $this->operator = $operator; $this->cmsMetadataValueIds = $cmsMetadataValueIds; @@ -59,7 +59,7 @@ public function getCmsMetadataValueIds() * @param int[]|null $cmsMetadataValueIds * @return \Google\AdsApi\AdManager\v202502\CmsMetadataCriteria */ - public function setCmsMetadataValueIds(array $cmsMetadataValueIds = null) + public function setCmsMetadataValueIds(?array $cmsMetadataValueIds = null) { $this->cmsMetadataValueIds = $cmsMetadataValueIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/CmsMetadataKeyPage.php b/src/Google/AdsApi/AdManager/v202502/CmsMetadataKeyPage.php index f50a9dc08..968b6b09c 100644 --- a/src/Google/AdsApi/AdManager/v202502/CmsMetadataKeyPage.php +++ b/src/Google/AdsApi/AdManager/v202502/CmsMetadataKeyPage.php @@ -29,7 +29,7 @@ class CmsMetadataKeyPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\CmsMetadataKey[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\CmsMetadataKey[]|null $results * @return \Google\AdsApi\AdManager\v202502\CmsMetadataKeyPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/CmsMetadataValuePage.php b/src/Google/AdsApi/AdManager/v202502/CmsMetadataValuePage.php index 728630a64..ca2ebd88e 100644 --- a/src/Google/AdsApi/AdManager/v202502/CmsMetadataValuePage.php +++ b/src/Google/AdsApi/AdManager/v202502/CmsMetadataValuePage.php @@ -29,7 +29,7 @@ class CmsMetadataValuePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\CmsMetadataValue[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\CmsMetadataValue[]|null $results * @return \Google\AdsApi\AdManager\v202502\CmsMetadataValuePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/CollectionSizeError.php b/src/Google/AdsApi/AdManager/v202502/CollectionSizeError.php index f40ffa7c4..1872e83b0 100644 --- a/src/Google/AdsApi/AdManager/v202502/CollectionSizeError.php +++ b/src/Google/AdsApi/AdManager/v202502/CollectionSizeError.php @@ -21,7 +21,7 @@ class CollectionSizeError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/CommonError.php b/src/Google/AdsApi/AdManager/v202502/CommonError.php index 72d35505c..eefeb3304 100644 --- a/src/Google/AdsApi/AdManager/v202502/CommonError.php +++ b/src/Google/AdsApi/AdManager/v202502/CommonError.php @@ -21,7 +21,7 @@ class CommonError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/Company.php b/src/Google/AdsApi/AdManager/v202502/Company.php index e9ae3e32d..221d0465e 100644 --- a/src/Google/AdsApi/AdManager/v202502/Company.php +++ b/src/Google/AdsApi/AdManager/v202502/Company.php @@ -113,7 +113,7 @@ class Company * @param \Google\AdsApi\AdManager\v202502\ChildPublisher $childPublisher * @param \Google\AdsApi\AdManager\v202502\ViewabilityProvider $viewabilityProvider */ - public function __construct($id = null, $name = null, $type = null, $address = null, $email = null, $faxPhone = null, $primaryPhone = null, $externalId = null, $comment = null, $creditStatus = null, array $appliedLabels = null, $primaryContactId = null, array $appliedTeamIds = null, $thirdPartyCompanyId = null, $lastModifiedDateTime = null, $childPublisher = null, $viewabilityProvider = null) + public function __construct($id = null, $name = null, $type = null, $address = null, $email = null, $faxPhone = null, $primaryPhone = null, $externalId = null, $comment = null, $creditStatus = null, ?array $appliedLabels = null, $primaryContactId = null, ?array $appliedTeamIds = null, $thirdPartyCompanyId = null, $lastModifiedDateTime = null, $childPublisher = null, $viewabilityProvider = null) { $this->id = $id; $this->name = $name; @@ -327,7 +327,7 @@ public function getAppliedLabels() * @param \Google\AdsApi\AdManager\v202502\AppliedLabel[]|null $appliedLabels * @return \Google\AdsApi\AdManager\v202502\Company */ - public function setAppliedLabels(array $appliedLabels = null) + public function setAppliedLabels(?array $appliedLabels = null) { $this->appliedLabels = $appliedLabels; return $this; @@ -364,7 +364,7 @@ public function getAppliedTeamIds() * @param int[]|null $appliedTeamIds * @return \Google\AdsApi\AdManager\v202502\Company */ - public function setAppliedTeamIds(array $appliedTeamIds = null) + public function setAppliedTeamIds(?array $appliedTeamIds = null) { $this->appliedTeamIds = $appliedTeamIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/CompanyCreditStatusError.php b/src/Google/AdsApi/AdManager/v202502/CompanyCreditStatusError.php index 544fb8fe6..063e4010c 100644 --- a/src/Google/AdsApi/AdManager/v202502/CompanyCreditStatusError.php +++ b/src/Google/AdsApi/AdManager/v202502/CompanyCreditStatusError.php @@ -21,7 +21,7 @@ class CompanyCreditStatusError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/CompanyError.php b/src/Google/AdsApi/AdManager/v202502/CompanyError.php index 1e2a7689f..7b098103e 100644 --- a/src/Google/AdsApi/AdManager/v202502/CompanyError.php +++ b/src/Google/AdsApi/AdManager/v202502/CompanyError.php @@ -21,7 +21,7 @@ class CompanyError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/CompanyPage.php b/src/Google/AdsApi/AdManager/v202502/CompanyPage.php index bdd0ce8d1..bb08b8b94 100644 --- a/src/Google/AdsApi/AdManager/v202502/CompanyPage.php +++ b/src/Google/AdsApi/AdManager/v202502/CompanyPage.php @@ -29,7 +29,7 @@ class CompanyPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\Company[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\Company[]|null $results * @return \Google\AdsApi\AdManager\v202502\CompanyPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/ContactError.php b/src/Google/AdsApi/AdManager/v202502/ContactError.php index 4b76c3df0..40898ee26 100644 --- a/src/Google/AdsApi/AdManager/v202502/ContactError.php +++ b/src/Google/AdsApi/AdManager/v202502/ContactError.php @@ -21,7 +21,7 @@ class ContactError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/ContactPage.php b/src/Google/AdsApi/AdManager/v202502/ContactPage.php index 362b0134e..e255d835b 100644 --- a/src/Google/AdsApi/AdManager/v202502/ContactPage.php +++ b/src/Google/AdsApi/AdManager/v202502/ContactPage.php @@ -29,7 +29,7 @@ class ContactPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\Contact[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\Contact[]|null $results * @return \Google\AdsApi\AdManager\v202502\ContactPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/Content.php b/src/Google/AdsApi/AdManager/v202502/Content.php index ae481bd7a..60c079d82 100644 --- a/src/Google/AdsApi/AdManager/v202502/Content.php +++ b/src/Google/AdsApi/AdManager/v202502/Content.php @@ -107,7 +107,7 @@ class Content * @param int[] $cmsMetadataValueIds * @param int $duration */ - public function __construct($id = null, $name = null, $status = null, $statusDefinedBy = null, $hlsIngestStatus = null, array $hlsIngestErrors = null, $lastHlsIngestDateTime = null, $dashIngestStatus = null, array $dashIngestErrors = null, $lastDashIngestDateTime = null, $importDateTime = null, $lastModifiedDateTime = null, array $cmsSources = null, array $contentBundleIds = null, array $cmsMetadataValueIds = null, $duration = null) + public function __construct($id = null, $name = null, $status = null, $statusDefinedBy = null, $hlsIngestStatus = null, ?array $hlsIngestErrors = null, $lastHlsIngestDateTime = null, $dashIngestStatus = null, ?array $dashIngestErrors = null, $lastDashIngestDateTime = null, $importDateTime = null, $lastModifiedDateTime = null, ?array $cmsSources = null, ?array $contentBundleIds = null, ?array $cmsMetadataValueIds = null, $duration = null) { $this->id = $id; $this->name = $name; @@ -230,7 +230,7 @@ public function getHlsIngestErrors() * @param \Google\AdsApi\AdManager\v202502\DaiIngestError[]|null $hlsIngestErrors * @return \Google\AdsApi\AdManager\v202502\Content */ - public function setHlsIngestErrors(array $hlsIngestErrors = null) + public function setHlsIngestErrors(?array $hlsIngestErrors = null) { $this->hlsIngestErrors = $hlsIngestErrors; return $this; @@ -284,7 +284,7 @@ public function getDashIngestErrors() * @param \Google\AdsApi\AdManager\v202502\DaiIngestError[]|null $dashIngestErrors * @return \Google\AdsApi\AdManager\v202502\Content */ - public function setDashIngestErrors(array $dashIngestErrors = null) + public function setDashIngestErrors(?array $dashIngestErrors = null) { $this->dashIngestErrors = $dashIngestErrors; return $this; @@ -356,7 +356,7 @@ public function getCmsSources() * @param \Google\AdsApi\AdManager\v202502\CmsContent[]|null $cmsSources * @return \Google\AdsApi\AdManager\v202502\Content */ - public function setCmsSources(array $cmsSources = null) + public function setCmsSources(?array $cmsSources = null) { $this->cmsSources = $cmsSources; return $this; @@ -374,7 +374,7 @@ public function getContentBundleIds() * @param int[]|null $contentBundleIds * @return \Google\AdsApi\AdManager\v202502\Content */ - public function setContentBundleIds(array $contentBundleIds = null) + public function setContentBundleIds(?array $contentBundleIds = null) { $this->contentBundleIds = $contentBundleIds; return $this; @@ -392,7 +392,7 @@ public function getCmsMetadataValueIds() * @param int[]|null $cmsMetadataValueIds * @return \Google\AdsApi\AdManager\v202502\Content */ - public function setCmsMetadataValueIds(array $cmsMetadataValueIds = null) + public function setCmsMetadataValueIds(?array $cmsMetadataValueIds = null) { $this->cmsMetadataValueIds = $cmsMetadataValueIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/ContentBundlePage.php b/src/Google/AdsApi/AdManager/v202502/ContentBundlePage.php index c04e9a0e6..37ec2ea15 100644 --- a/src/Google/AdsApi/AdManager/v202502/ContentBundlePage.php +++ b/src/Google/AdsApi/AdManager/v202502/ContentBundlePage.php @@ -29,7 +29,7 @@ class ContentBundlePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\ContentBundle[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\ContentBundle[]|null $results * @return \Google\AdsApi\AdManager\v202502\ContentBundlePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/ContentFilterError.php b/src/Google/AdsApi/AdManager/v202502/ContentFilterError.php index 8552f154e..95c941409 100644 --- a/src/Google/AdsApi/AdManager/v202502/ContentFilterError.php +++ b/src/Google/AdsApi/AdManager/v202502/ContentFilterError.php @@ -21,7 +21,7 @@ class ContentFilterError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/ContentLabelTargeting.php b/src/Google/AdsApi/AdManager/v202502/ContentLabelTargeting.php index 0afe84e8f..51cf8838e 100644 --- a/src/Google/AdsApi/AdManager/v202502/ContentLabelTargeting.php +++ b/src/Google/AdsApi/AdManager/v202502/ContentLabelTargeting.php @@ -17,7 +17,7 @@ class ContentLabelTargeting /** * @param int[] $excludedContentLabelIds */ - public function __construct(array $excludedContentLabelIds = null) + public function __construct(?array $excludedContentLabelIds = null) { $this->excludedContentLabelIds = $excludedContentLabelIds; } @@ -34,7 +34,7 @@ public function getExcludedContentLabelIds() * @param int[]|null $excludedContentLabelIds * @return \Google\AdsApi\AdManager\v202502\ContentLabelTargeting */ - public function setExcludedContentLabelIds(array $excludedContentLabelIds = null) + public function setExcludedContentLabelIds(?array $excludedContentLabelIds = null) { $this->excludedContentLabelIds = $excludedContentLabelIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/ContentPage.php b/src/Google/AdsApi/AdManager/v202502/ContentPage.php index 81d458afc..964b774c7 100644 --- a/src/Google/AdsApi/AdManager/v202502/ContentPage.php +++ b/src/Google/AdsApi/AdManager/v202502/ContentPage.php @@ -29,7 +29,7 @@ class ContentPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\Content[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\Content[]|null $results * @return \Google\AdsApi\AdManager\v202502\ContentPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/ContentTargeting.php b/src/Google/AdsApi/AdManager/v202502/ContentTargeting.php index b90f7d96d..a5d1a74e3 100644 --- a/src/Google/AdsApi/AdManager/v202502/ContentTargeting.php +++ b/src/Google/AdsApi/AdManager/v202502/ContentTargeting.php @@ -35,7 +35,7 @@ class ContentTargeting * @param int[] $targetedVideoContentBundleIds * @param int[] $excludedVideoContentBundleIds */ - public function __construct(array $targetedContentIds = null, array $excludedContentIds = null, array $targetedVideoContentBundleIds = null, array $excludedVideoContentBundleIds = null) + public function __construct(?array $targetedContentIds = null, ?array $excludedContentIds = null, ?array $targetedVideoContentBundleIds = null, ?array $excludedVideoContentBundleIds = null) { $this->targetedContentIds = $targetedContentIds; $this->excludedContentIds = $excludedContentIds; @@ -55,7 +55,7 @@ public function getTargetedContentIds() * @param int[]|null $targetedContentIds * @return \Google\AdsApi\AdManager\v202502\ContentTargeting */ - public function setTargetedContentIds(array $targetedContentIds = null) + public function setTargetedContentIds(?array $targetedContentIds = null) { $this->targetedContentIds = $targetedContentIds; return $this; @@ -73,7 +73,7 @@ public function getExcludedContentIds() * @param int[]|null $excludedContentIds * @return \Google\AdsApi\AdManager\v202502\ContentTargeting */ - public function setExcludedContentIds(array $excludedContentIds = null) + public function setExcludedContentIds(?array $excludedContentIds = null) { $this->excludedContentIds = $excludedContentIds; return $this; @@ -91,7 +91,7 @@ public function getTargetedVideoContentBundleIds() * @param int[]|null $targetedVideoContentBundleIds * @return \Google\AdsApi\AdManager\v202502\ContentTargeting */ - public function setTargetedVideoContentBundleIds(array $targetedVideoContentBundleIds = null) + public function setTargetedVideoContentBundleIds(?array $targetedVideoContentBundleIds = null) { $this->targetedVideoContentBundleIds = $targetedVideoContentBundleIds; return $this; @@ -109,7 +109,7 @@ public function getExcludedVideoContentBundleIds() * @param int[]|null $excludedVideoContentBundleIds * @return \Google\AdsApi\AdManager\v202502\ContentTargeting */ - public function setExcludedVideoContentBundleIds(array $excludedVideoContentBundleIds = null) + public function setExcludedVideoContentBundleIds(?array $excludedVideoContentBundleIds = null) { $this->excludedVideoContentBundleIds = $excludedVideoContentBundleIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/Creative.php b/src/Google/AdsApi/AdManager/v202502/Creative.php index 707635a74..0572e5cd0 100644 --- a/src/Google/AdsApi/AdManager/v202502/Creative.php +++ b/src/Google/AdsApi/AdManager/v202502/Creative.php @@ -77,7 +77,7 @@ abstract class Creative * @param \Google\AdsApi\AdManager\v202502\ThirdPartyDataDeclaration $thirdPartyDataDeclaration * @param boolean $adBadgingEnabled */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null) { $this->advertiserId = $advertiserId; $this->id = $id; @@ -196,7 +196,7 @@ public function getPolicyLabels() * @param string[]|null $policyLabels * @return \Google\AdsApi\AdManager\v202502\Creative */ - public function setPolicyLabels(array $policyLabels = null) + public function setPolicyLabels(?array $policyLabels = null) { $this->policyLabels = $policyLabels; return $this; @@ -214,7 +214,7 @@ public function getAppliedLabels() * @param \Google\AdsApi\AdManager\v202502\AppliedLabel[]|null $appliedLabels * @return \Google\AdsApi\AdManager\v202502\Creative */ - public function setAppliedLabels(array $appliedLabels = null) + public function setAppliedLabels(?array $appliedLabels = null) { $this->appliedLabels = $appliedLabels; return $this; @@ -250,7 +250,7 @@ public function getCustomFieldValues() * @param \Google\AdsApi\AdManager\v202502\BaseCustomFieldValue[]|null $customFieldValues * @return \Google\AdsApi\AdManager\v202502\Creative */ - public function setCustomFieldValues(array $customFieldValues = null) + public function setCustomFieldValues(?array $customFieldValues = null) { $this->customFieldValues = $customFieldValues; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/CreativeAsset.php b/src/Google/AdsApi/AdManager/v202502/CreativeAsset.php index e56700de3..f970dfc1f 100644 --- a/src/Google/AdsApi/AdManager/v202502/CreativeAsset.php +++ b/src/Google/AdsApi/AdManager/v202502/CreativeAsset.php @@ -59,7 +59,7 @@ class CreativeAsset * @param \Google\AdsApi\AdManager\v202502\ClickTag[] $clickTags * @param string $imageDensity */ - public function __construct($assetId = null, $assetByteArray = null, $fileName = null, $fileSize = null, $assetUrl = null, $size = null, array $clickTags = null, $imageDensity = null) + public function __construct($assetId = null, $assetByteArray = null, $fileName = null, $fileSize = null, $assetUrl = null, $size = null, ?array $clickTags = null, $imageDensity = null) { $this->assetId = $assetId; $this->assetByteArray = $assetByteArray; @@ -193,7 +193,7 @@ public function getClickTags() * @param \Google\AdsApi\AdManager\v202502\ClickTag[]|null $clickTags * @return \Google\AdsApi\AdManager\v202502\CreativeAsset */ - public function setClickTags(array $clickTags = null) + public function setClickTags(?array $clickTags = null) { $this->clickTags = $clickTags; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/CreativeAssetMacroError.php b/src/Google/AdsApi/AdManager/v202502/CreativeAssetMacroError.php index c0820a28c..998002ed0 100644 --- a/src/Google/AdsApi/AdManager/v202502/CreativeAssetMacroError.php +++ b/src/Google/AdsApi/AdManager/v202502/CreativeAssetMacroError.php @@ -21,7 +21,7 @@ class CreativeAssetMacroError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/CreativeError.php b/src/Google/AdsApi/AdManager/v202502/CreativeError.php index 8d73e8564..87e79f5fb 100644 --- a/src/Google/AdsApi/AdManager/v202502/CreativeError.php +++ b/src/Google/AdsApi/AdManager/v202502/CreativeError.php @@ -21,7 +21,7 @@ class CreativeError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/CreativePage.php b/src/Google/AdsApi/AdManager/v202502/CreativePage.php index 2b4e7aeec..fdcff1592 100644 --- a/src/Google/AdsApi/AdManager/v202502/CreativePage.php +++ b/src/Google/AdsApi/AdManager/v202502/CreativePage.php @@ -29,7 +29,7 @@ class CreativePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\Creative[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\Creative[]|null $results * @return \Google\AdsApi\AdManager\v202502\CreativePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/CreativePlaceholder.php b/src/Google/AdsApi/AdManager/v202502/CreativePlaceholder.php index 923120f4b..c381b6321 100644 --- a/src/Google/AdsApi/AdManager/v202502/CreativePlaceholder.php +++ b/src/Google/AdsApi/AdManager/v202502/CreativePlaceholder.php @@ -65,7 +65,7 @@ class CreativePlaceholder * @param string $targetingName * @param boolean $isAmpOnly */ - public function __construct($size = null, $creativeTemplateId = null, array $companions = null, array $appliedLabels = null, array $effectiveAppliedLabels = null, $expectedCreativeCount = null, $creativeSizeType = null, $targetingName = null, $isAmpOnly = null) + public function __construct($size = null, $creativeTemplateId = null, ?array $companions = null, ?array $appliedLabels = null, ?array $effectiveAppliedLabels = null, $expectedCreativeCount = null, $creativeSizeType = null, $targetingName = null, $isAmpOnly = null) { $this->size = $size; $this->creativeTemplateId = $creativeTemplateId; @@ -127,7 +127,7 @@ public function getCompanions() * @param \Google\AdsApi\AdManager\v202502\CreativePlaceholder[]|null $companions * @return \Google\AdsApi\AdManager\v202502\CreativePlaceholder */ - public function setCompanions(array $companions = null) + public function setCompanions(?array $companions = null) { $this->companions = $companions; return $this; @@ -145,7 +145,7 @@ public function getAppliedLabels() * @param \Google\AdsApi\AdManager\v202502\AppliedLabel[]|null $appliedLabels * @return \Google\AdsApi\AdManager\v202502\CreativePlaceholder */ - public function setAppliedLabels(array $appliedLabels = null) + public function setAppliedLabels(?array $appliedLabels = null) { $this->appliedLabels = $appliedLabels; return $this; @@ -163,7 +163,7 @@ public function getEffectiveAppliedLabels() * @param \Google\AdsApi\AdManager\v202502\AppliedLabel[]|null $effectiveAppliedLabels * @return \Google\AdsApi\AdManager\v202502\CreativePlaceholder */ - public function setEffectiveAppliedLabels(array $effectiveAppliedLabels = null) + public function setEffectiveAppliedLabels(?array $effectiveAppliedLabels = null) { $this->effectiveAppliedLabels = $effectiveAppliedLabels; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/CreativePreviewError.php b/src/Google/AdsApi/AdManager/v202502/CreativePreviewError.php index f88b43d4c..0f7b3d32b 100644 --- a/src/Google/AdsApi/AdManager/v202502/CreativePreviewError.php +++ b/src/Google/AdsApi/AdManager/v202502/CreativePreviewError.php @@ -21,7 +21,7 @@ class CreativePreviewError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/CreativeSet.php b/src/Google/AdsApi/AdManager/v202502/CreativeSet.php index 3573eb4c5..3cba24a04 100644 --- a/src/Google/AdsApi/AdManager/v202502/CreativeSet.php +++ b/src/Google/AdsApi/AdManager/v202502/CreativeSet.php @@ -41,7 +41,7 @@ class CreativeSet * @param int[] $companionCreativeIds * @param \Google\AdsApi\AdManager\v202502\DateTime $lastModifiedDateTime */ - public function __construct($id = null, $name = null, $masterCreativeId = null, array $companionCreativeIds = null, $lastModifiedDateTime = null) + public function __construct($id = null, $name = null, $masterCreativeId = null, ?array $companionCreativeIds = null, $lastModifiedDateTime = null) { $this->id = $id; $this->name = $name; @@ -118,7 +118,7 @@ public function getCompanionCreativeIds() * @param int[]|null $companionCreativeIds * @return \Google\AdsApi\AdManager\v202502\CreativeSet */ - public function setCompanionCreativeIds(array $companionCreativeIds = null) + public function setCompanionCreativeIds(?array $companionCreativeIds = null) { $this->companionCreativeIds = $companionCreativeIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/CreativeSetError.php b/src/Google/AdsApi/AdManager/v202502/CreativeSetError.php index 706a680b7..428805c9b 100644 --- a/src/Google/AdsApi/AdManager/v202502/CreativeSetError.php +++ b/src/Google/AdsApi/AdManager/v202502/CreativeSetError.php @@ -21,7 +21,7 @@ class CreativeSetError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/CreativeSetPage.php b/src/Google/AdsApi/AdManager/v202502/CreativeSetPage.php index 5284d74e9..b9f797b93 100644 --- a/src/Google/AdsApi/AdManager/v202502/CreativeSetPage.php +++ b/src/Google/AdsApi/AdManager/v202502/CreativeSetPage.php @@ -29,7 +29,7 @@ class CreativeSetPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\CreativeSet[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\CreativeSet[]|null $results * @return \Google\AdsApi\AdManager\v202502\CreativeSetPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/CreativeTemplate.php b/src/Google/AdsApi/AdManager/v202502/CreativeTemplate.php index 04a43f94a..29fd30dcc 100644 --- a/src/Google/AdsApi/AdManager/v202502/CreativeTemplate.php +++ b/src/Google/AdsApi/AdManager/v202502/CreativeTemplate.php @@ -71,7 +71,7 @@ class CreativeTemplate * @param boolean $isNativeEligible * @param boolean $isSafeFrameCompatible */ - public function __construct($id = null, $name = null, $description = null, array $variables = null, $snippet = null, $status = null, $type = null, $isInterstitial = null, $isNativeEligible = null, $isSafeFrameCompatible = null) + public function __construct($id = null, $name = null, $description = null, ?array $variables = null, $snippet = null, $status = null, $type = null, $isInterstitial = null, $isNativeEligible = null, $isSafeFrameCompatible = null) { $this->id = $id; $this->name = $name; @@ -152,7 +152,7 @@ public function getVariables() * @param \Google\AdsApi\AdManager\v202502\CreativeTemplateVariable[]|null $variables * @return \Google\AdsApi\AdManager\v202502\CreativeTemplate */ - public function setVariables(array $variables = null) + public function setVariables(?array $variables = null) { $this->variables = $variables; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/CreativeTemplateError.php b/src/Google/AdsApi/AdManager/v202502/CreativeTemplateError.php index 196c04379..21351b322 100644 --- a/src/Google/AdsApi/AdManager/v202502/CreativeTemplateError.php +++ b/src/Google/AdsApi/AdManager/v202502/CreativeTemplateError.php @@ -21,7 +21,7 @@ class CreativeTemplateError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/CreativeTemplateOperationError.php b/src/Google/AdsApi/AdManager/v202502/CreativeTemplateOperationError.php index bab457865..b02394f65 100644 --- a/src/Google/AdsApi/AdManager/v202502/CreativeTemplateOperationError.php +++ b/src/Google/AdsApi/AdManager/v202502/CreativeTemplateOperationError.php @@ -21,7 +21,7 @@ class CreativeTemplateOperationError extends \Google\AdsApi\AdManager\v202502\Ap * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/CreativeTemplatePage.php b/src/Google/AdsApi/AdManager/v202502/CreativeTemplatePage.php index ddd307d65..24b4bb086 100644 --- a/src/Google/AdsApi/AdManager/v202502/CreativeTemplatePage.php +++ b/src/Google/AdsApi/AdManager/v202502/CreativeTemplatePage.php @@ -29,7 +29,7 @@ class CreativeTemplatePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\CreativeTemplate[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\CreativeTemplate[]|null $results * @return \Google\AdsApi\AdManager\v202502\CreativeTemplatePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/CreativeWrapper.php b/src/Google/AdsApi/AdManager/v202502/CreativeWrapper.php index 9cc2786fe..58667b513 100644 --- a/src/Google/AdsApi/AdManager/v202502/CreativeWrapper.php +++ b/src/Google/AdsApi/AdManager/v202502/CreativeWrapper.php @@ -77,7 +77,7 @@ class CreativeWrapper * @param string $ordering * @param string $status */ - public function __construct($id = null, $labelId = null, $creativeWrapperType = null, $htmlHeader = null, $htmlFooter = null, $ampHead = null, $ampBody = null, array $videoTrackingUrls = null, $thirdPartyDataDeclaration = null, $ordering = null, $status = null) + public function __construct($id = null, $labelId = null, $creativeWrapperType = null, $htmlHeader = null, $htmlFooter = null, $ampHead = null, $ampBody = null, ?array $videoTrackingUrls = null, $thirdPartyDataDeclaration = null, $ordering = null, $status = null) { $this->id = $id; $this->labelId = $labelId; @@ -232,7 +232,7 @@ public function getVideoTrackingUrls() * @param \Google\AdsApi\AdManager\v202502\ConversionEvent_TrackingUrlsMapEntry[]|null $videoTrackingUrls * @return \Google\AdsApi\AdManager\v202502\CreativeWrapper */ - public function setVideoTrackingUrls(array $videoTrackingUrls = null) + public function setVideoTrackingUrls(?array $videoTrackingUrls = null) { $this->videoTrackingUrls = $videoTrackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/CreativeWrapperError.php b/src/Google/AdsApi/AdManager/v202502/CreativeWrapperError.php index 6dd8b60fd..bdd432ad9 100644 --- a/src/Google/AdsApi/AdManager/v202502/CreativeWrapperError.php +++ b/src/Google/AdsApi/AdManager/v202502/CreativeWrapperError.php @@ -21,7 +21,7 @@ class CreativeWrapperError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/CreativeWrapperPage.php b/src/Google/AdsApi/AdManager/v202502/CreativeWrapperPage.php index 97f4ac36e..3d31cca24 100644 --- a/src/Google/AdsApi/AdManager/v202502/CreativeWrapperPage.php +++ b/src/Google/AdsApi/AdManager/v202502/CreativeWrapperPage.php @@ -29,7 +29,7 @@ class CreativeWrapperPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\CreativeWrapper[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\CreativeWrapper[]|null $results * @return \Google\AdsApi\AdManager\v202502\CreativeWrapperPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/CrossSellError.php b/src/Google/AdsApi/AdManager/v202502/CrossSellError.php index e0d7a9176..00351ae65 100644 --- a/src/Google/AdsApi/AdManager/v202502/CrossSellError.php +++ b/src/Google/AdsApi/AdManager/v202502/CrossSellError.php @@ -21,7 +21,7 @@ class CrossSellError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/CurrencyCodeError.php b/src/Google/AdsApi/AdManager/v202502/CurrencyCodeError.php index 23d7672ba..038f916f5 100644 --- a/src/Google/AdsApi/AdManager/v202502/CurrencyCodeError.php +++ b/src/Google/AdsApi/AdManager/v202502/CurrencyCodeError.php @@ -21,7 +21,7 @@ class CurrencyCodeError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/CustomCreative.php b/src/Google/AdsApi/AdManager/v202502/CustomCreative.php index c4f81815f..7a29cc71e 100644 --- a/src/Google/AdsApi/AdManager/v202502/CustomCreative.php +++ b/src/Google/AdsApi/AdManager/v202502/CustomCreative.php @@ -72,7 +72,7 @@ class CustomCreative extends \Google\AdsApi\AdManager\v202502\HasDestinationUrlC * @param boolean $isSafeFrameCompatible * @param string[] $thirdPartyImpressionTrackingUrls */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $htmlSnippet = null, array $customCreativeAssets = null, $isInterstitial = null, $lockedOrientation = null, $sslScanResult = null, $sslManualOverride = null, $isSafeFrameCompatible = null, array $thirdPartyImpressionTrackingUrls = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $htmlSnippet = null, ?array $customCreativeAssets = null, $isInterstitial = null, $lockedOrientation = null, $sslScanResult = null, $sslManualOverride = null, $isSafeFrameCompatible = null, ?array $thirdPartyImpressionTrackingUrls = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $destinationUrl, $destinationUrlType); $this->htmlSnippet = $htmlSnippet; @@ -115,7 +115,7 @@ public function getCustomCreativeAssets() * @param \Google\AdsApi\AdManager\v202502\CustomCreativeAsset[]|null $customCreativeAssets * @return \Google\AdsApi\AdManager\v202502\CustomCreative */ - public function setCustomCreativeAssets(array $customCreativeAssets = null) + public function setCustomCreativeAssets(?array $customCreativeAssets = null) { $this->customCreativeAssets = $customCreativeAssets; return $this; @@ -223,7 +223,7 @@ public function getThirdPartyImpressionTrackingUrls() * @param string[]|null $thirdPartyImpressionTrackingUrls * @return \Google\AdsApi\AdManager\v202502\CustomCreative */ - public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) + public function setThirdPartyImpressionTrackingUrls(?array $thirdPartyImpressionTrackingUrls = null) { $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/CustomCreativeError.php b/src/Google/AdsApi/AdManager/v202502/CustomCreativeError.php index cc6bebc7f..b23426c7a 100644 --- a/src/Google/AdsApi/AdManager/v202502/CustomCreativeError.php +++ b/src/Google/AdsApi/AdManager/v202502/CustomCreativeError.php @@ -21,7 +21,7 @@ class CustomCreativeError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/CustomCriteria.php b/src/Google/AdsApi/AdManager/v202502/CustomCriteria.php index 6b4887dd1..0bb0b4454 100644 --- a/src/Google/AdsApi/AdManager/v202502/CustomCriteria.php +++ b/src/Google/AdsApi/AdManager/v202502/CustomCriteria.php @@ -29,7 +29,7 @@ class CustomCriteria extends \Google\AdsApi\AdManager\v202502\CustomCriteriaLeaf * @param int[] $valueIds * @param string $operator */ - public function __construct($keyId = null, array $valueIds = null, $operator = null) + public function __construct($keyId = null, ?array $valueIds = null, $operator = null) { $this->keyId = $keyId; $this->valueIds = $valueIds; @@ -67,7 +67,7 @@ public function getValueIds() * @param int[]|null $valueIds * @return \Google\AdsApi\AdManager\v202502\CustomCriteria */ - public function setValueIds(array $valueIds = null) + public function setValueIds(?array $valueIds = null) { $this->valueIds = $valueIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/CustomCriteriaSet.php b/src/Google/AdsApi/AdManager/v202502/CustomCriteriaSet.php index 88452d59f..3e8393b8a 100644 --- a/src/Google/AdsApi/AdManager/v202502/CustomCriteriaSet.php +++ b/src/Google/AdsApi/AdManager/v202502/CustomCriteriaSet.php @@ -23,7 +23,7 @@ class CustomCriteriaSet extends \Google\AdsApi\AdManager\v202502\CustomCriteriaN * @param string $logicalOperator * @param \Google\AdsApi\AdManager\v202502\CustomCriteriaNode[] $children */ - public function __construct($logicalOperator = null, array $children = null) + public function __construct($logicalOperator = null, ?array $children = null) { $this->logicalOperator = $logicalOperator; $this->children = $children; @@ -59,7 +59,7 @@ public function getChildren() * @param \Google\AdsApi\AdManager\v202502\CustomCriteriaNode[]|null $children * @return \Google\AdsApi\AdManager\v202502\CustomCriteriaSet */ - public function setChildren(array $children = null) + public function setChildren(?array $children = null) { $this->children = $children; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/CustomFieldError.php b/src/Google/AdsApi/AdManager/v202502/CustomFieldError.php index ebccfcf54..735a2154d 100644 --- a/src/Google/AdsApi/AdManager/v202502/CustomFieldError.php +++ b/src/Google/AdsApi/AdManager/v202502/CustomFieldError.php @@ -21,7 +21,7 @@ class CustomFieldError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/CustomFieldPage.php b/src/Google/AdsApi/AdManager/v202502/CustomFieldPage.php index e9cf8cf41..1cc630556 100644 --- a/src/Google/AdsApi/AdManager/v202502/CustomFieldPage.php +++ b/src/Google/AdsApi/AdManager/v202502/CustomFieldPage.php @@ -29,7 +29,7 @@ class CustomFieldPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\CustomField[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\CustomField[]|null $results * @return \Google\AdsApi\AdManager\v202502\CustomFieldPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/CustomFieldValueError.php b/src/Google/AdsApi/AdManager/v202502/CustomFieldValueError.php index 6aa6624dd..0ed04dc5a 100644 --- a/src/Google/AdsApi/AdManager/v202502/CustomFieldValueError.php +++ b/src/Google/AdsApi/AdManager/v202502/CustomFieldValueError.php @@ -21,7 +21,7 @@ class CustomFieldValueError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/CustomPacingCurve.php b/src/Google/AdsApi/AdManager/v202502/CustomPacingCurve.php index f2de63221..781e475f8 100644 --- a/src/Google/AdsApi/AdManager/v202502/CustomPacingCurve.php +++ b/src/Google/AdsApi/AdManager/v202502/CustomPacingCurve.php @@ -23,7 +23,7 @@ class CustomPacingCurve * @param string $customPacingGoalUnit * @param \Google\AdsApi\AdManager\v202502\CustomPacingGoal[] $customPacingGoals */ - public function __construct($customPacingGoalUnit = null, array $customPacingGoals = null) + public function __construct($customPacingGoalUnit = null, ?array $customPacingGoals = null) { $this->customPacingGoalUnit = $customPacingGoalUnit; $this->customPacingGoals = $customPacingGoals; @@ -59,7 +59,7 @@ public function getCustomPacingGoals() * @param \Google\AdsApi\AdManager\v202502\CustomPacingGoal[]|null $customPacingGoals * @return \Google\AdsApi\AdManager\v202502\CustomPacingCurve */ - public function setCustomPacingGoals(array $customPacingGoals = null) + public function setCustomPacingGoals(?array $customPacingGoals = null) { $this->customPacingGoals = $customPacingGoals; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/CustomTargetingError.php b/src/Google/AdsApi/AdManager/v202502/CustomTargetingError.php index f6c261394..d232c5a4f 100644 --- a/src/Google/AdsApi/AdManager/v202502/CustomTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202502/CustomTargetingError.php @@ -21,7 +21,7 @@ class CustomTargetingError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/CustomTargetingKeyPage.php b/src/Google/AdsApi/AdManager/v202502/CustomTargetingKeyPage.php index cb3896539..bf4282565 100644 --- a/src/Google/AdsApi/AdManager/v202502/CustomTargetingKeyPage.php +++ b/src/Google/AdsApi/AdManager/v202502/CustomTargetingKeyPage.php @@ -29,7 +29,7 @@ class CustomTargetingKeyPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\CustomTargetingKey[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\CustomTargetingKey[]|null $results * @return \Google\AdsApi\AdManager\v202502\CustomTargetingKeyPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/CustomTargetingValuePage.php b/src/Google/AdsApi/AdManager/v202502/CustomTargetingValuePage.php index 04edfce0f..3978bb35c 100644 --- a/src/Google/AdsApi/AdManager/v202502/CustomTargetingValuePage.php +++ b/src/Google/AdsApi/AdManager/v202502/CustomTargetingValuePage.php @@ -29,7 +29,7 @@ class CustomTargetingValuePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\CustomTargetingValue[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\CustomTargetingValue[]|null $results * @return \Google\AdsApi\AdManager\v202502\CustomTargetingValuePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/DaiAuthenticationKeyActionError.php b/src/Google/AdsApi/AdManager/v202502/DaiAuthenticationKeyActionError.php index 78a60c317..81ad4c896 100644 --- a/src/Google/AdsApi/AdManager/v202502/DaiAuthenticationKeyActionError.php +++ b/src/Google/AdsApi/AdManager/v202502/DaiAuthenticationKeyActionError.php @@ -21,7 +21,7 @@ class DaiAuthenticationKeyActionError extends \Google\AdsApi\AdManager\v202502\A * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/DaiAuthenticationKeyPage.php b/src/Google/AdsApi/AdManager/v202502/DaiAuthenticationKeyPage.php index 1a62dac18..f70c371f3 100644 --- a/src/Google/AdsApi/AdManager/v202502/DaiAuthenticationKeyPage.php +++ b/src/Google/AdsApi/AdManager/v202502/DaiAuthenticationKeyPage.php @@ -29,7 +29,7 @@ class DaiAuthenticationKeyPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\DaiAuthenticationKey[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\DaiAuthenticationKey[]|null $results * @return \Google\AdsApi\AdManager\v202502\DaiAuthenticationKeyPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/DaiEncodingProfileAdMatchingError.php b/src/Google/AdsApi/AdManager/v202502/DaiEncodingProfileAdMatchingError.php index 536da0f0c..1764c8252 100644 --- a/src/Google/AdsApi/AdManager/v202502/DaiEncodingProfileAdMatchingError.php +++ b/src/Google/AdsApi/AdManager/v202502/DaiEncodingProfileAdMatchingError.php @@ -21,7 +21,7 @@ class DaiEncodingProfileAdMatchingError extends \Google\AdsApi\AdManager\v202502 * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/DaiEncodingProfileContainerSettingsError.php b/src/Google/AdsApi/AdManager/v202502/DaiEncodingProfileContainerSettingsError.php index eceb21116..40e7dd47f 100644 --- a/src/Google/AdsApi/AdManager/v202502/DaiEncodingProfileContainerSettingsError.php +++ b/src/Google/AdsApi/AdManager/v202502/DaiEncodingProfileContainerSettingsError.php @@ -21,7 +21,7 @@ class DaiEncodingProfileContainerSettingsError extends \Google\AdsApi\AdManager\ * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/DaiEncodingProfileNameError.php b/src/Google/AdsApi/AdManager/v202502/DaiEncodingProfileNameError.php index 4f02aa8c6..a9d361d86 100644 --- a/src/Google/AdsApi/AdManager/v202502/DaiEncodingProfileNameError.php +++ b/src/Google/AdsApi/AdManager/v202502/DaiEncodingProfileNameError.php @@ -21,7 +21,7 @@ class DaiEncodingProfileNameError extends \Google\AdsApi\AdManager\v202502\ApiEr * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/DaiEncodingProfilePage.php b/src/Google/AdsApi/AdManager/v202502/DaiEncodingProfilePage.php index 208b3a99e..626c336b0 100644 --- a/src/Google/AdsApi/AdManager/v202502/DaiEncodingProfilePage.php +++ b/src/Google/AdsApi/AdManager/v202502/DaiEncodingProfilePage.php @@ -29,7 +29,7 @@ class DaiEncodingProfilePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\DaiEncodingProfile[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\DaiEncodingProfile[]|null $results * @return \Google\AdsApi\AdManager\v202502\DaiEncodingProfilePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/DaiEncodingProfileUpdateError.php b/src/Google/AdsApi/AdManager/v202502/DaiEncodingProfileUpdateError.php index 90fd3bd2e..88bd28a47 100644 --- a/src/Google/AdsApi/AdManager/v202502/DaiEncodingProfileUpdateError.php +++ b/src/Google/AdsApi/AdManager/v202502/DaiEncodingProfileUpdateError.php @@ -21,7 +21,7 @@ class DaiEncodingProfileUpdateError extends \Google\AdsApi\AdManager\v202502\Api * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/DaiEncodingProfileVariantSettingsError.php b/src/Google/AdsApi/AdManager/v202502/DaiEncodingProfileVariantSettingsError.php index 0e47d2542..73736a8aa 100644 --- a/src/Google/AdsApi/AdManager/v202502/DaiEncodingProfileVariantSettingsError.php +++ b/src/Google/AdsApi/AdManager/v202502/DaiEncodingProfileVariantSettingsError.php @@ -21,7 +21,7 @@ class DaiEncodingProfileVariantSettingsError extends \Google\AdsApi\AdManager\v2 * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/DailyVolumeSettings.php b/src/Google/AdsApi/AdManager/v202502/DailyVolumeSettings.php index c4703e557..1f42f225c 100644 --- a/src/Google/AdsApi/AdManager/v202502/DailyVolumeSettings.php +++ b/src/Google/AdsApi/AdManager/v202502/DailyVolumeSettings.php @@ -17,7 +17,7 @@ class DailyVolumeSettings /** * @param int[] $adOpportunityCounts */ - public function __construct(array $adOpportunityCounts = null) + public function __construct(?array $adOpportunityCounts = null) { $this->adOpportunityCounts = $adOpportunityCounts; } @@ -34,7 +34,7 @@ public function getAdOpportunityCounts() * @param int[]|null $adOpportunityCounts * @return \Google\AdsApi\AdManager\v202502\DailyVolumeSettings */ - public function setAdOpportunityCounts(array $adOpportunityCounts = null) + public function setAdOpportunityCounts(?array $adOpportunityCounts = null) { $this->adOpportunityCounts = $adOpportunityCounts; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/DateError.php b/src/Google/AdsApi/AdManager/v202502/DateError.php index db28cad4d..daaccdde4 100644 --- a/src/Google/AdsApi/AdManager/v202502/DateError.php +++ b/src/Google/AdsApi/AdManager/v202502/DateError.php @@ -21,7 +21,7 @@ class DateError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/DateTimeRangeTargeting.php b/src/Google/AdsApi/AdManager/v202502/DateTimeRangeTargeting.php index fa9989af6..c23d0cb41 100644 --- a/src/Google/AdsApi/AdManager/v202502/DateTimeRangeTargeting.php +++ b/src/Google/AdsApi/AdManager/v202502/DateTimeRangeTargeting.php @@ -17,7 +17,7 @@ class DateTimeRangeTargeting /** * @param \Google\AdsApi\AdManager\v202502\DateTimeRange[] $targetedDateTimeRanges */ - public function __construct(array $targetedDateTimeRanges = null) + public function __construct(?array $targetedDateTimeRanges = null) { $this->targetedDateTimeRanges = $targetedDateTimeRanges; } @@ -34,7 +34,7 @@ public function getTargetedDateTimeRanges() * @param \Google\AdsApi\AdManager\v202502\DateTimeRange[]|null $targetedDateTimeRanges * @return \Google\AdsApi\AdManager\v202502\DateTimeRangeTargeting */ - public function setTargetedDateTimeRanges(array $targetedDateTimeRanges = null) + public function setTargetedDateTimeRanges(?array $targetedDateTimeRanges = null) { $this->targetedDateTimeRanges = $targetedDateTimeRanges; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/DateTimeRangeTargetingError.php b/src/Google/AdsApi/AdManager/v202502/DateTimeRangeTargetingError.php index 980c782ce..869c08a61 100644 --- a/src/Google/AdsApi/AdManager/v202502/DateTimeRangeTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202502/DateTimeRangeTargetingError.php @@ -21,7 +21,7 @@ class DateTimeRangeTargetingError extends \Google\AdsApi\AdManager\v202502\ApiEr * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/DayPartTargeting.php b/src/Google/AdsApi/AdManager/v202502/DayPartTargeting.php index 01756e05f..2b5a31020 100644 --- a/src/Google/AdsApi/AdManager/v202502/DayPartTargeting.php +++ b/src/Google/AdsApi/AdManager/v202502/DayPartTargeting.php @@ -23,7 +23,7 @@ class DayPartTargeting * @param \Google\AdsApi\AdManager\v202502\DayPart[] $dayParts * @param string $timeZone */ - public function __construct(array $dayParts = null, $timeZone = null) + public function __construct(?array $dayParts = null, $timeZone = null) { $this->dayParts = $dayParts; $this->timeZone = $timeZone; @@ -41,7 +41,7 @@ public function getDayParts() * @param \Google\AdsApi\AdManager\v202502\DayPart[]|null $dayParts * @return \Google\AdsApi\AdManager\v202502\DayPartTargeting */ - public function setDayParts(array $dayParts = null) + public function setDayParts(?array $dayParts = null) { $this->dayParts = $dayParts; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/DayPartTargetingError.php b/src/Google/AdsApi/AdManager/v202502/DayPartTargetingError.php index 003fb598f..0487c328a 100644 --- a/src/Google/AdsApi/AdManager/v202502/DayPartTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202502/DayPartTargetingError.php @@ -21,7 +21,7 @@ class DayPartTargetingError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/DealError.php b/src/Google/AdsApi/AdManager/v202502/DealError.php index 8babe6735..23b9e82ee 100644 --- a/src/Google/AdsApi/AdManager/v202502/DealError.php +++ b/src/Google/AdsApi/AdManager/v202502/DealError.php @@ -21,7 +21,7 @@ class DealError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/DeliveryData.php b/src/Google/AdsApi/AdManager/v202502/DeliveryData.php index ef334caf9..e665a28ac 100644 --- a/src/Google/AdsApi/AdManager/v202502/DeliveryData.php +++ b/src/Google/AdsApi/AdManager/v202502/DeliveryData.php @@ -17,7 +17,7 @@ class DeliveryData /** * @param int[] $units */ - public function __construct(array $units = null) + public function __construct(?array $units = null) { $this->units = $units; } @@ -34,7 +34,7 @@ public function getUnits() * @param int[]|null $units * @return \Google\AdsApi\AdManager\v202502\DeliveryData */ - public function setUnits(array $units = null) + public function setUnits(?array $units = null) { $this->units = $units; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/DeliveryForecast.php b/src/Google/AdsApi/AdManager/v202502/DeliveryForecast.php index cd37243d7..4e188f426 100644 --- a/src/Google/AdsApi/AdManager/v202502/DeliveryForecast.php +++ b/src/Google/AdsApi/AdManager/v202502/DeliveryForecast.php @@ -17,7 +17,7 @@ class DeliveryForecast /** * @param \Google\AdsApi\AdManager\v202502\LineItemDeliveryForecast[] $lineItemDeliveryForecasts */ - public function __construct(array $lineItemDeliveryForecasts = null) + public function __construct(?array $lineItemDeliveryForecasts = null) { $this->lineItemDeliveryForecasts = $lineItemDeliveryForecasts; } @@ -34,7 +34,7 @@ public function getLineItemDeliveryForecasts() * @param \Google\AdsApi\AdManager\v202502\LineItemDeliveryForecast[]|null $lineItemDeliveryForecasts * @return \Google\AdsApi\AdManager\v202502\DeliveryForecast */ - public function setLineItemDeliveryForecasts(array $lineItemDeliveryForecasts = null) + public function setLineItemDeliveryForecasts(?array $lineItemDeliveryForecasts = null) { $this->lineItemDeliveryForecasts = $lineItemDeliveryForecasts; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/DeliveryForecastOptions.php b/src/Google/AdsApi/AdManager/v202502/DeliveryForecastOptions.php index 46706ef31..cdac6d671 100644 --- a/src/Google/AdsApi/AdManager/v202502/DeliveryForecastOptions.php +++ b/src/Google/AdsApi/AdManager/v202502/DeliveryForecastOptions.php @@ -17,7 +17,7 @@ class DeliveryForecastOptions /** * @param int[] $ignoredLineItemIds */ - public function __construct(array $ignoredLineItemIds = null) + public function __construct(?array $ignoredLineItemIds = null) { $this->ignoredLineItemIds = $ignoredLineItemIds; } @@ -34,7 +34,7 @@ public function getIgnoredLineItemIds() * @param int[]|null $ignoredLineItemIds * @return \Google\AdsApi\AdManager\v202502\DeliveryForecastOptions */ - public function setIgnoredLineItemIds(array $ignoredLineItemIds = null) + public function setIgnoredLineItemIds(?array $ignoredLineItemIds = null) { $this->ignoredLineItemIds = $ignoredLineItemIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/DeviceCapabilityTargeting.php b/src/Google/AdsApi/AdManager/v202502/DeviceCapabilityTargeting.php index 584402d19..82b6930c2 100644 --- a/src/Google/AdsApi/AdManager/v202502/DeviceCapabilityTargeting.php +++ b/src/Google/AdsApi/AdManager/v202502/DeviceCapabilityTargeting.php @@ -23,7 +23,7 @@ class DeviceCapabilityTargeting * @param \Google\AdsApi\AdManager\v202502\Technology[] $targetedDeviceCapabilities * @param \Google\AdsApi\AdManager\v202502\Technology[] $excludedDeviceCapabilities */ - public function __construct(array $targetedDeviceCapabilities = null, array $excludedDeviceCapabilities = null) + public function __construct(?array $targetedDeviceCapabilities = null, ?array $excludedDeviceCapabilities = null) { $this->targetedDeviceCapabilities = $targetedDeviceCapabilities; $this->excludedDeviceCapabilities = $excludedDeviceCapabilities; @@ -41,7 +41,7 @@ public function getTargetedDeviceCapabilities() * @param \Google\AdsApi\AdManager\v202502\Technology[]|null $targetedDeviceCapabilities * @return \Google\AdsApi\AdManager\v202502\DeviceCapabilityTargeting */ - public function setTargetedDeviceCapabilities(array $targetedDeviceCapabilities = null) + public function setTargetedDeviceCapabilities(?array $targetedDeviceCapabilities = null) { $this->targetedDeviceCapabilities = $targetedDeviceCapabilities; return $this; @@ -59,7 +59,7 @@ public function getExcludedDeviceCapabilities() * @param \Google\AdsApi\AdManager\v202502\Technology[]|null $excludedDeviceCapabilities * @return \Google\AdsApi\AdManager\v202502\DeviceCapabilityTargeting */ - public function setExcludedDeviceCapabilities(array $excludedDeviceCapabilities = null) + public function setExcludedDeviceCapabilities(?array $excludedDeviceCapabilities = null) { $this->excludedDeviceCapabilities = $excludedDeviceCapabilities; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/DeviceCategoryTargeting.php b/src/Google/AdsApi/AdManager/v202502/DeviceCategoryTargeting.php index 1077cad14..b88f8c077 100644 --- a/src/Google/AdsApi/AdManager/v202502/DeviceCategoryTargeting.php +++ b/src/Google/AdsApi/AdManager/v202502/DeviceCategoryTargeting.php @@ -23,7 +23,7 @@ class DeviceCategoryTargeting * @param \Google\AdsApi\AdManager\v202502\Technology[] $targetedDeviceCategories * @param \Google\AdsApi\AdManager\v202502\Technology[] $excludedDeviceCategories */ - public function __construct(array $targetedDeviceCategories = null, array $excludedDeviceCategories = null) + public function __construct(?array $targetedDeviceCategories = null, ?array $excludedDeviceCategories = null) { $this->targetedDeviceCategories = $targetedDeviceCategories; $this->excludedDeviceCategories = $excludedDeviceCategories; @@ -41,7 +41,7 @@ public function getTargetedDeviceCategories() * @param \Google\AdsApi\AdManager\v202502\Technology[]|null $targetedDeviceCategories * @return \Google\AdsApi\AdManager\v202502\DeviceCategoryTargeting */ - public function setTargetedDeviceCategories(array $targetedDeviceCategories = null) + public function setTargetedDeviceCategories(?array $targetedDeviceCategories = null) { $this->targetedDeviceCategories = $targetedDeviceCategories; return $this; @@ -59,7 +59,7 @@ public function getExcludedDeviceCategories() * @param \Google\AdsApi\AdManager\v202502\Technology[]|null $excludedDeviceCategories * @return \Google\AdsApi\AdManager\v202502\DeviceCategoryTargeting */ - public function setExcludedDeviceCategories(array $excludedDeviceCategories = null) + public function setExcludedDeviceCategories(?array $excludedDeviceCategories = null) { $this->excludedDeviceCategories = $excludedDeviceCategories; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/DeviceManufacturerTargeting.php b/src/Google/AdsApi/AdManager/v202502/DeviceManufacturerTargeting.php index ecec580f2..561fd663d 100644 --- a/src/Google/AdsApi/AdManager/v202502/DeviceManufacturerTargeting.php +++ b/src/Google/AdsApi/AdManager/v202502/DeviceManufacturerTargeting.php @@ -23,7 +23,7 @@ class DeviceManufacturerTargeting * @param boolean $isTargeted * @param \Google\AdsApi\AdManager\v202502\Technology[] $deviceManufacturers */ - public function __construct($isTargeted = null, array $deviceManufacturers = null) + public function __construct($isTargeted = null, ?array $deviceManufacturers = null) { $this->isTargeted = $isTargeted; $this->deviceManufacturers = $deviceManufacturers; @@ -59,7 +59,7 @@ public function getDeviceManufacturers() * @param \Google\AdsApi\AdManager\v202502\Technology[]|null $deviceManufacturers * @return \Google\AdsApi\AdManager\v202502\DeviceManufacturerTargeting */ - public function setDeviceManufacturers(array $deviceManufacturers = null) + public function setDeviceManufacturers(?array $deviceManufacturers = null) { $this->deviceManufacturers = $deviceManufacturers; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/DistinctError.php b/src/Google/AdsApi/AdManager/v202502/DistinctError.php index e92bb9838..7f2bf1602 100644 --- a/src/Google/AdsApi/AdManager/v202502/DistinctError.php +++ b/src/Google/AdsApi/AdManager/v202502/DistinctError.php @@ -21,7 +21,7 @@ class DistinctError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/DropDownCustomField.php b/src/Google/AdsApi/AdManager/v202502/DropDownCustomField.php index 81f4c7aa7..12225be19 100644 --- a/src/Google/AdsApi/AdManager/v202502/DropDownCustomField.php +++ b/src/Google/AdsApi/AdManager/v202502/DropDownCustomField.php @@ -24,7 +24,7 @@ class DropDownCustomField extends \Google\AdsApi\AdManager\v202502\CustomField * @param string $visibility * @param \Google\AdsApi\AdManager\v202502\CustomFieldOption[] $options */ - public function __construct($id = null, $name = null, $description = null, $isActive = null, $entityType = null, $dataType = null, $visibility = null, array $options = null) + public function __construct($id = null, $name = null, $description = null, $isActive = null, $entityType = null, $dataType = null, $visibility = null, ?array $options = null) { parent::__construct($id, $name, $description, $isActive, $entityType, $dataType, $visibility); $this->options = $options; @@ -42,7 +42,7 @@ public function getOptions() * @param \Google\AdsApi\AdManager\v202502\CustomFieldOption[]|null $options * @return \Google\AdsApi\AdManager\v202502\DropDownCustomField */ - public function setOptions(array $options = null) + public function setOptions(?array $options = null) { $this->options = $options; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/EntityChildrenLimitReachedError.php b/src/Google/AdsApi/AdManager/v202502/EntityChildrenLimitReachedError.php index d3534fb7d..1041224c0 100644 --- a/src/Google/AdsApi/AdManager/v202502/EntityChildrenLimitReachedError.php +++ b/src/Google/AdsApi/AdManager/v202502/EntityChildrenLimitReachedError.php @@ -21,7 +21,7 @@ class EntityChildrenLimitReachedError extends \Google\AdsApi\AdManager\v202502\A * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/EntityLimitReachedError.php b/src/Google/AdsApi/AdManager/v202502/EntityLimitReachedError.php index b8badae08..a3b9dbc29 100644 --- a/src/Google/AdsApi/AdManager/v202502/EntityLimitReachedError.php +++ b/src/Google/AdsApi/AdManager/v202502/EntityLimitReachedError.php @@ -21,7 +21,7 @@ class EntityLimitReachedError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/ExchangeRateError.php b/src/Google/AdsApi/AdManager/v202502/ExchangeRateError.php index 612eca4c9..15f282ed3 100644 --- a/src/Google/AdsApi/AdManager/v202502/ExchangeRateError.php +++ b/src/Google/AdsApi/AdManager/v202502/ExchangeRateError.php @@ -21,7 +21,7 @@ class ExchangeRateError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/ExchangeSignupApiError.php b/src/Google/AdsApi/AdManager/v202502/ExchangeSignupApiError.php index 7ffdd69ad..b997ef5d7 100644 --- a/src/Google/AdsApi/AdManager/v202502/ExchangeSignupApiError.php +++ b/src/Google/AdsApi/AdManager/v202502/ExchangeSignupApiError.php @@ -21,7 +21,7 @@ class ExchangeSignupApiError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/FeatureError.php b/src/Google/AdsApi/AdManager/v202502/FeatureError.php index 3ac9ef31c..d9eee4500 100644 --- a/src/Google/AdsApi/AdManager/v202502/FeatureError.php +++ b/src/Google/AdsApi/AdManager/v202502/FeatureError.php @@ -21,7 +21,7 @@ class FeatureError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/FileError.php b/src/Google/AdsApi/AdManager/v202502/FileError.php index 0f0f2fda0..bc9ddd185 100644 --- a/src/Google/AdsApi/AdManager/v202502/FileError.php +++ b/src/Google/AdsApi/AdManager/v202502/FileError.php @@ -21,7 +21,7 @@ class FileError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/FirstPartyAudienceSegment.php b/src/Google/AdsApi/AdManager/v202502/FirstPartyAudienceSegment.php index 06091cab8..0a52da5db 100644 --- a/src/Google/AdsApi/AdManager/v202502/FirstPartyAudienceSegment.php +++ b/src/Google/AdsApi/AdManager/v202502/FirstPartyAudienceSegment.php @@ -23,7 +23,7 @@ abstract class FirstPartyAudienceSegment extends \Google\AdsApi\AdManager\v20250 * @param \Google\AdsApi\AdManager\v202502\AudienceSegmentDataProvider $dataProvider * @param string $type */ - public function __construct($id = null, $name = null, array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null) + public function __construct($id = null, $name = null, ?array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null) { parent::__construct($id, $name, $categoryIds, $description, $status, $size, $mobileWebSize, $idfaSize, $adIdSize, $ppidSize, $dataProvider, $type); } diff --git a/src/Google/AdsApi/AdManager/v202502/ForecastAdjustment.php b/src/Google/AdsApi/AdManager/v202502/ForecastAdjustment.php index dc40bb3fc..aa1a35c76 100644 --- a/src/Google/AdsApi/AdManager/v202502/ForecastAdjustment.php +++ b/src/Google/AdsApi/AdManager/v202502/ForecastAdjustment.php @@ -77,7 +77,7 @@ class ForecastAdjustment * @param \Google\AdsApi\AdManager\v202502\HistoricalBasisVolumeSettings $historicalBasisVolumeSettings * @param int[] $calculatedDailyAdOpportunityCounts */ - public function __construct($id = null, $trafficForecastSegmentId = null, $name = null, $dateRange = null, $status = null, $volumeType = null, $allowAdjustingForecastAboveRecommendedLimit = null, $dailyVolumeSettings = null, $totalVolumeSettings = null, $historicalBasisVolumeSettings = null, array $calculatedDailyAdOpportunityCounts = null) + public function __construct($id = null, $trafficForecastSegmentId = null, $name = null, $dateRange = null, $status = null, $volumeType = null, $allowAdjustingForecastAboveRecommendedLimit = null, $dailyVolumeSettings = null, $totalVolumeSettings = null, $historicalBasisVolumeSettings = null, ?array $calculatedDailyAdOpportunityCounts = null) { $this->id = $id; $this->trafficForecastSegmentId = $trafficForecastSegmentId; @@ -286,7 +286,7 @@ public function getCalculatedDailyAdOpportunityCounts() * @param int[]|null $calculatedDailyAdOpportunityCounts * @return \Google\AdsApi\AdManager\v202502\ForecastAdjustment */ - public function setCalculatedDailyAdOpportunityCounts(array $calculatedDailyAdOpportunityCounts = null) + public function setCalculatedDailyAdOpportunityCounts(?array $calculatedDailyAdOpportunityCounts = null) { $this->calculatedDailyAdOpportunityCounts = $calculatedDailyAdOpportunityCounts; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/ForecastAdjustmentError.php b/src/Google/AdsApi/AdManager/v202502/ForecastAdjustmentError.php index 209b28f69..43bc73085 100644 --- a/src/Google/AdsApi/AdManager/v202502/ForecastAdjustmentError.php +++ b/src/Google/AdsApi/AdManager/v202502/ForecastAdjustmentError.php @@ -21,7 +21,7 @@ class ForecastAdjustmentError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/ForecastAdjustmentPage.php b/src/Google/AdsApi/AdManager/v202502/ForecastAdjustmentPage.php index 085980008..6826e6b44 100644 --- a/src/Google/AdsApi/AdManager/v202502/ForecastAdjustmentPage.php +++ b/src/Google/AdsApi/AdManager/v202502/ForecastAdjustmentPage.php @@ -29,7 +29,7 @@ class ForecastAdjustmentPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\ForecastAdjustment[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\ForecastAdjustment[]|null $results * @return \Google\AdsApi\AdManager\v202502\ForecastAdjustmentPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/ForecastBreakdown.php b/src/Google/AdsApi/AdManager/v202502/ForecastBreakdown.php index 687694a2e..cf57a9520 100644 --- a/src/Google/AdsApi/AdManager/v202502/ForecastBreakdown.php +++ b/src/Google/AdsApi/AdManager/v202502/ForecastBreakdown.php @@ -29,7 +29,7 @@ class ForecastBreakdown * @param \Google\AdsApi\AdManager\v202502\DateTime $endTime * @param \Google\AdsApi\AdManager\v202502\ForecastBreakdownEntry[] $breakdownEntries */ - public function __construct($startTime = null, $endTime = null, array $breakdownEntries = null) + public function __construct($startTime = null, $endTime = null, ?array $breakdownEntries = null) { $this->startTime = $startTime; $this->endTime = $endTime; @@ -84,7 +84,7 @@ public function getBreakdownEntries() * @param \Google\AdsApi\AdManager\v202502\ForecastBreakdownEntry[]|null $breakdownEntries * @return \Google\AdsApi\AdManager\v202502\ForecastBreakdown */ - public function setBreakdownEntries(array $breakdownEntries = null) + public function setBreakdownEntries(?array $breakdownEntries = null) { $this->breakdownEntries = $breakdownEntries; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/ForecastBreakdownOptions.php b/src/Google/AdsApi/AdManager/v202502/ForecastBreakdownOptions.php index e69703dc2..146c0eff7 100644 --- a/src/Google/AdsApi/AdManager/v202502/ForecastBreakdownOptions.php +++ b/src/Google/AdsApi/AdManager/v202502/ForecastBreakdownOptions.php @@ -23,7 +23,7 @@ class ForecastBreakdownOptions * @param \Google\AdsApi\AdManager\v202502\DateTime[] $timeWindows * @param \Google\AdsApi\AdManager\v202502\ForecastBreakdownTarget[] $targets */ - public function __construct(array $timeWindows = null, array $targets = null) + public function __construct(?array $timeWindows = null, ?array $targets = null) { $this->timeWindows = $timeWindows; $this->targets = $targets; @@ -41,7 +41,7 @@ public function getTimeWindows() * @param \Google\AdsApi\AdManager\v202502\DateTime[]|null $timeWindows * @return \Google\AdsApi\AdManager\v202502\ForecastBreakdownOptions */ - public function setTimeWindows(array $timeWindows = null) + public function setTimeWindows(?array $timeWindows = null) { $this->timeWindows = $timeWindows; return $this; @@ -59,7 +59,7 @@ public function getTargets() * @param \Google\AdsApi\AdManager\v202502\ForecastBreakdownTarget[]|null $targets * @return \Google\AdsApi\AdManager\v202502\ForecastBreakdownOptions */ - public function setTargets(array $targets = null) + public function setTargets(?array $targets = null) { $this->targets = $targets; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/ForecastError.php b/src/Google/AdsApi/AdManager/v202502/ForecastError.php index 9a6792650..3b1aa16fb 100644 --- a/src/Google/AdsApi/AdManager/v202502/ForecastError.php +++ b/src/Google/AdsApi/AdManager/v202502/ForecastError.php @@ -21,7 +21,7 @@ class ForecastError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/FrequencyCapError.php b/src/Google/AdsApi/AdManager/v202502/FrequencyCapError.php index 4669be0b3..5de0d8871 100644 --- a/src/Google/AdsApi/AdManager/v202502/FrequencyCapError.php +++ b/src/Google/AdsApi/AdManager/v202502/FrequencyCapError.php @@ -21,7 +21,7 @@ class FrequencyCapError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/GenericTargetingError.php b/src/Google/AdsApi/AdManager/v202502/GenericTargetingError.php index ef9838ef7..392f800a9 100644 --- a/src/Google/AdsApi/AdManager/v202502/GenericTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202502/GenericTargetingError.php @@ -21,7 +21,7 @@ class GenericTargetingError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/GeoTargeting.php b/src/Google/AdsApi/AdManager/v202502/GeoTargeting.php index 0331e6046..5c6607154 100644 --- a/src/Google/AdsApi/AdManager/v202502/GeoTargeting.php +++ b/src/Google/AdsApi/AdManager/v202502/GeoTargeting.php @@ -23,7 +23,7 @@ class GeoTargeting * @param \Google\AdsApi\AdManager\v202502\Location[] $targetedLocations * @param \Google\AdsApi\AdManager\v202502\Location[] $excludedLocations */ - public function __construct(array $targetedLocations = null, array $excludedLocations = null) + public function __construct(?array $targetedLocations = null, ?array $excludedLocations = null) { $this->targetedLocations = $targetedLocations; $this->excludedLocations = $excludedLocations; @@ -41,7 +41,7 @@ public function getTargetedLocations() * @param \Google\AdsApi\AdManager\v202502\Location[]|null $targetedLocations * @return \Google\AdsApi\AdManager\v202502\GeoTargeting */ - public function setTargetedLocations(array $targetedLocations = null) + public function setTargetedLocations(?array $targetedLocations = null) { $this->targetedLocations = $targetedLocations; return $this; @@ -59,7 +59,7 @@ public function getExcludedLocations() * @param \Google\AdsApi\AdManager\v202502\Location[]|null $excludedLocations * @return \Google\AdsApi\AdManager\v202502\GeoTargeting */ - public function setExcludedLocations(array $excludedLocations = null) + public function setExcludedLocations(?array $excludedLocations = null) { $this->excludedLocations = $excludedLocations; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/GeoTargetingError.php b/src/Google/AdsApi/AdManager/v202502/GeoTargetingError.php index 8f1679dbc..954d3accb 100644 --- a/src/Google/AdsApi/AdManager/v202502/GeoTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202502/GeoTargetingError.php @@ -21,7 +21,7 @@ class GeoTargetingError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/GrpSettingsError.php b/src/Google/AdsApi/AdManager/v202502/GrpSettingsError.php index 96cb00701..84335ecd4 100644 --- a/src/Google/AdsApi/AdManager/v202502/GrpSettingsError.php +++ b/src/Google/AdsApi/AdManager/v202502/GrpSettingsError.php @@ -21,7 +21,7 @@ class GrpSettingsError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/HasDestinationUrlCreative.php b/src/Google/AdsApi/AdManager/v202502/HasDestinationUrlCreative.php index d900a5a7b..29fe797aa 100644 --- a/src/Google/AdsApi/AdManager/v202502/HasDestinationUrlCreative.php +++ b/src/Google/AdsApi/AdManager/v202502/HasDestinationUrlCreative.php @@ -34,7 +34,7 @@ abstract class HasDestinationUrlCreative extends \Google\AdsApi\AdManager\v20250 * @param string $destinationUrl * @param string $destinationUrlType */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled); $this->destinationUrl = $destinationUrl; diff --git a/src/Google/AdsApi/AdManager/v202502/HasHtmlSnippetDynamicAllocationCreative.php b/src/Google/AdsApi/AdManager/v202502/HasHtmlSnippetDynamicAllocationCreative.php index 0d8f511db..24742278c 100644 --- a/src/Google/AdsApi/AdManager/v202502/HasHtmlSnippetDynamicAllocationCreative.php +++ b/src/Google/AdsApi/AdManager/v202502/HasHtmlSnippetDynamicAllocationCreative.php @@ -28,7 +28,7 @@ abstract class HasHtmlSnippetDynamicAllocationCreative extends \Google\AdsApi\Ad * @param boolean $adBadgingEnabled * @param string $codeSnippet */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $codeSnippet = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $codeSnippet = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled); $this->codeSnippet = $codeSnippet; diff --git a/src/Google/AdsApi/AdManager/v202502/Html5Creative.php b/src/Google/AdsApi/AdManager/v202502/Html5Creative.php index 953fad46f..c282bba5c 100644 --- a/src/Google/AdsApi/AdManager/v202502/Html5Creative.php +++ b/src/Google/AdsApi/AdManager/v202502/Html5Creative.php @@ -70,7 +70,7 @@ class Html5Creative extends \Google\AdsApi\AdManager\v202502\Creative * @param boolean $isSafeFrameCompatible * @param \Google\AdsApi\AdManager\v202502\CreativeAsset $html5Asset */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $overrideSize = null, array $thirdPartyImpressionTrackingUrls = null, $thirdPartyClickTrackingUrl = null, $lockedOrientation = null, $sslScanResult = null, $sslManualOverride = null, $isSafeFrameCompatible = null, $html5Asset = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $overrideSize = null, ?array $thirdPartyImpressionTrackingUrls = null, $thirdPartyClickTrackingUrl = null, $lockedOrientation = null, $sslScanResult = null, $sslManualOverride = null, $isSafeFrameCompatible = null, $html5Asset = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled); $this->overrideSize = $overrideSize; @@ -113,7 +113,7 @@ public function getThirdPartyImpressionTrackingUrls() * @param string[]|null $thirdPartyImpressionTrackingUrls * @return \Google\AdsApi\AdManager\v202502\Html5Creative */ - public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) + public function setThirdPartyImpressionTrackingUrls(?array $thirdPartyImpressionTrackingUrls = null) { $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/HtmlBundleProcessorError.php b/src/Google/AdsApi/AdManager/v202502/HtmlBundleProcessorError.php index 5eb255bf1..0b63a4c33 100644 --- a/src/Google/AdsApi/AdManager/v202502/HtmlBundleProcessorError.php +++ b/src/Google/AdsApi/AdManager/v202502/HtmlBundleProcessorError.php @@ -21,7 +21,7 @@ class HtmlBundleProcessorError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/IdError.php b/src/Google/AdsApi/AdManager/v202502/IdError.php index 1d319ebee..c9903d9f5 100644 --- a/src/Google/AdsApi/AdManager/v202502/IdError.php +++ b/src/Google/AdsApi/AdManager/v202502/IdError.php @@ -21,7 +21,7 @@ class IdError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/ImageCreative.php b/src/Google/AdsApi/AdManager/v202502/ImageCreative.php index 71bf07107..2763bbbe5 100644 --- a/src/Google/AdsApi/AdManager/v202502/ImageCreative.php +++ b/src/Google/AdsApi/AdManager/v202502/ImageCreative.php @@ -44,7 +44,7 @@ class ImageCreative extends \Google\AdsApi\AdManager\v202502\BaseImageCreative * @param string[] $thirdPartyImpressionTrackingUrls * @param \Google\AdsApi\AdManager\v202502\CreativeAsset[] $secondaryImageAssets */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $overrideSize = null, $primaryImageAsset = null, $altText = null, array $thirdPartyImpressionTrackingUrls = null, array $secondaryImageAssets = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $overrideSize = null, $primaryImageAsset = null, $altText = null, ?array $thirdPartyImpressionTrackingUrls = null, ?array $secondaryImageAssets = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $destinationUrl, $destinationUrlType, $overrideSize, $primaryImageAsset); $this->altText = $altText; @@ -82,7 +82,7 @@ public function getThirdPartyImpressionTrackingUrls() * @param string[]|null $thirdPartyImpressionTrackingUrls * @return \Google\AdsApi\AdManager\v202502\ImageCreative */ - public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) + public function setThirdPartyImpressionTrackingUrls(?array $thirdPartyImpressionTrackingUrls = null) { $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; return $this; @@ -100,7 +100,7 @@ public function getSecondaryImageAssets() * @param \Google\AdsApi\AdManager\v202502\CreativeAsset[]|null $secondaryImageAssets * @return \Google\AdsApi\AdManager\v202502\ImageCreative */ - public function setSecondaryImageAssets(array $secondaryImageAssets = null) + public function setSecondaryImageAssets(?array $secondaryImageAssets = null) { $this->secondaryImageAssets = $secondaryImageAssets; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/ImageError.php b/src/Google/AdsApi/AdManager/v202502/ImageError.php index 089a79ec8..ce5297715 100644 --- a/src/Google/AdsApi/AdManager/v202502/ImageError.php +++ b/src/Google/AdsApi/AdManager/v202502/ImageError.php @@ -21,7 +21,7 @@ class ImageError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/ImageOverlayCreative.php b/src/Google/AdsApi/AdManager/v202502/ImageOverlayCreative.php index 32b002f90..4d6ec0b9f 100644 --- a/src/Google/AdsApi/AdManager/v202502/ImageOverlayCreative.php +++ b/src/Google/AdsApi/AdManager/v202502/ImageOverlayCreative.php @@ -62,7 +62,7 @@ class ImageOverlayCreative extends \Google\AdsApi\AdManager\v202502\BaseImageCre * @param int $duration * @param string $vastPreviewUrl */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $overrideSize = null, $primaryImageAsset = null, array $companionCreativeIds = null, array $trackingUrls = null, $lockedOrientation = null, $customParameters = null, $duration = null, $vastPreviewUrl = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $overrideSize = null, $primaryImageAsset = null, ?array $companionCreativeIds = null, ?array $trackingUrls = null, $lockedOrientation = null, $customParameters = null, $duration = null, $vastPreviewUrl = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $destinationUrl, $destinationUrlType, $overrideSize, $primaryImageAsset); $this->companionCreativeIds = $companionCreativeIds; @@ -85,7 +85,7 @@ public function getCompanionCreativeIds() * @param int[]|null $companionCreativeIds * @return \Google\AdsApi\AdManager\v202502\ImageOverlayCreative */ - public function setCompanionCreativeIds(array $companionCreativeIds = null) + public function setCompanionCreativeIds(?array $companionCreativeIds = null) { $this->companionCreativeIds = $companionCreativeIds; return $this; @@ -103,7 +103,7 @@ public function getTrackingUrls() * @param \Google\AdsApi\AdManager\v202502\ConversionEvent_TrackingUrlsMapEntry[]|null $trackingUrls * @return \Google\AdsApi\AdManager\v202502\ImageOverlayCreative */ - public function setTrackingUrls(array $trackingUrls = null) + public function setTrackingUrls(?array $trackingUrls = null) { $this->trackingUrls = $trackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/ImageRedirectCreative.php b/src/Google/AdsApi/AdManager/v202502/ImageRedirectCreative.php index 59f8c5e74..8399e51e9 100644 --- a/src/Google/AdsApi/AdManager/v202502/ImageRedirectCreative.php +++ b/src/Google/AdsApi/AdManager/v202502/ImageRedirectCreative.php @@ -37,7 +37,7 @@ class ImageRedirectCreative extends \Google\AdsApi\AdManager\v202502\BaseImageRe * @param string $altText * @param string[] $thirdPartyImpressionTrackingUrls */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $imageUrl = null, $altText = null, array $thirdPartyImpressionTrackingUrls = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $imageUrl = null, $altText = null, ?array $thirdPartyImpressionTrackingUrls = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $destinationUrl, $destinationUrlType, $imageUrl); $this->altText = $altText; @@ -74,7 +74,7 @@ public function getThirdPartyImpressionTrackingUrls() * @param string[]|null $thirdPartyImpressionTrackingUrls * @return \Google\AdsApi\AdManager\v202502\ImageRedirectCreative */ - public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) + public function setThirdPartyImpressionTrackingUrls(?array $thirdPartyImpressionTrackingUrls = null) { $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/ImageRedirectOverlayCreative.php b/src/Google/AdsApi/AdManager/v202502/ImageRedirectOverlayCreative.php index b725ae582..5f8a11004 100644 --- a/src/Google/AdsApi/AdManager/v202502/ImageRedirectOverlayCreative.php +++ b/src/Google/AdsApi/AdManager/v202502/ImageRedirectOverlayCreative.php @@ -61,7 +61,7 @@ class ImageRedirectOverlayCreative extends \Google\AdsApi\AdManager\v202502\Base * @param string $customParameters * @param string $vastPreviewUrl */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $imageUrl = null, $assetSize = null, $duration = null, array $companionCreativeIds = null, array $trackingUrls = null, $customParameters = null, $vastPreviewUrl = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $imageUrl = null, $assetSize = null, $duration = null, ?array $companionCreativeIds = null, ?array $trackingUrls = null, $customParameters = null, $vastPreviewUrl = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $destinationUrl, $destinationUrlType, $imageUrl); $this->assetSize = $assetSize; @@ -120,7 +120,7 @@ public function getCompanionCreativeIds() * @param int[]|null $companionCreativeIds * @return \Google\AdsApi\AdManager\v202502\ImageRedirectOverlayCreative */ - public function setCompanionCreativeIds(array $companionCreativeIds = null) + public function setCompanionCreativeIds(?array $companionCreativeIds = null) { $this->companionCreativeIds = $companionCreativeIds; return $this; @@ -138,7 +138,7 @@ public function getTrackingUrls() * @param \Google\AdsApi\AdManager\v202502\ConversionEvent_TrackingUrlsMapEntry[]|null $trackingUrls * @return \Google\AdsApi\AdManager\v202502\ImageRedirectOverlayCreative */ - public function setTrackingUrls(array $trackingUrls = null) + public function setTrackingUrls(?array $trackingUrls = null) { $this->trackingUrls = $trackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/InternalApiError.php b/src/Google/AdsApi/AdManager/v202502/InternalApiError.php index d38e2acd3..62b19b3fb 100644 --- a/src/Google/AdsApi/AdManager/v202502/InternalApiError.php +++ b/src/Google/AdsApi/AdManager/v202502/InternalApiError.php @@ -21,7 +21,7 @@ class InternalApiError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/InternalRedirectCreative.php b/src/Google/AdsApi/AdManager/v202502/InternalRedirectCreative.php index 38469eb79..6d58ca7ae 100644 --- a/src/Google/AdsApi/AdManager/v202502/InternalRedirectCreative.php +++ b/src/Google/AdsApi/AdManager/v202502/InternalRedirectCreative.php @@ -70,7 +70,7 @@ class InternalRedirectCreative extends \Google\AdsApi\AdManager\v202502\Creative * @param string $sslManualOverride * @param string[] $thirdPartyImpressionTrackingUrls */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $lockedOrientation = null, $assetSize = null, $internalRedirectUrl = null, $overrideSize = null, $isInterstitial = null, $sslScanResult = null, $sslManualOverride = null, array $thirdPartyImpressionTrackingUrls = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $lockedOrientation = null, $assetSize = null, $internalRedirectUrl = null, $overrideSize = null, $isInterstitial = null, $sslScanResult = null, $sslManualOverride = null, ?array $thirdPartyImpressionTrackingUrls = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled); $this->lockedOrientation = $lockedOrientation; @@ -221,7 +221,7 @@ public function getThirdPartyImpressionTrackingUrls() * @param string[]|null $thirdPartyImpressionTrackingUrls * @return \Google\AdsApi\AdManager\v202502\InternalRedirectCreative */ - public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) + public function setThirdPartyImpressionTrackingUrls(?array $thirdPartyImpressionTrackingUrls = null) { $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/InvalidColorError.php b/src/Google/AdsApi/AdManager/v202502/InvalidColorError.php index f9dac16e9..9d835f912 100644 --- a/src/Google/AdsApi/AdManager/v202502/InvalidColorError.php +++ b/src/Google/AdsApi/AdManager/v202502/InvalidColorError.php @@ -21,7 +21,7 @@ class InvalidColorError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/InvalidEmailError.php b/src/Google/AdsApi/AdManager/v202502/InvalidEmailError.php index 56efef4f3..66b39499b 100644 --- a/src/Google/AdsApi/AdManager/v202502/InvalidEmailError.php +++ b/src/Google/AdsApi/AdManager/v202502/InvalidEmailError.php @@ -21,7 +21,7 @@ class InvalidEmailError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/InvalidPhoneNumberError.php b/src/Google/AdsApi/AdManager/v202502/InvalidPhoneNumberError.php index e50e40e29..bdbba942d 100644 --- a/src/Google/AdsApi/AdManager/v202502/InvalidPhoneNumberError.php +++ b/src/Google/AdsApi/AdManager/v202502/InvalidPhoneNumberError.php @@ -21,7 +21,7 @@ class InvalidPhoneNumberError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/InvalidUrlError.php b/src/Google/AdsApi/AdManager/v202502/InvalidUrlError.php index f3df71a5c..89336d369 100644 --- a/src/Google/AdsApi/AdManager/v202502/InvalidUrlError.php +++ b/src/Google/AdsApi/AdManager/v202502/InvalidUrlError.php @@ -21,7 +21,7 @@ class InvalidUrlError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/InventoryClientApiError.php b/src/Google/AdsApi/AdManager/v202502/InventoryClientApiError.php index 28ae5a1f9..b711e8f07 100644 --- a/src/Google/AdsApi/AdManager/v202502/InventoryClientApiError.php +++ b/src/Google/AdsApi/AdManager/v202502/InventoryClientApiError.php @@ -21,7 +21,7 @@ class InventoryClientApiError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/InventorySizeTargeting.php b/src/Google/AdsApi/AdManager/v202502/InventorySizeTargeting.php index 3ee3116e5..eaee12fd2 100644 --- a/src/Google/AdsApi/AdManager/v202502/InventorySizeTargeting.php +++ b/src/Google/AdsApi/AdManager/v202502/InventorySizeTargeting.php @@ -23,7 +23,7 @@ class InventorySizeTargeting * @param boolean $isTargeted * @param \Google\AdsApi\AdManager\v202502\TargetedSize[] $targetedSizes */ - public function __construct($isTargeted = null, array $targetedSizes = null) + public function __construct($isTargeted = null, ?array $targetedSizes = null) { $this->isTargeted = $isTargeted; $this->targetedSizes = $targetedSizes; @@ -59,7 +59,7 @@ public function getTargetedSizes() * @param \Google\AdsApi\AdManager\v202502\TargetedSize[]|null $targetedSizes * @return \Google\AdsApi\AdManager\v202502\InventorySizeTargeting */ - public function setTargetedSizes(array $targetedSizes = null) + public function setTargetedSizes(?array $targetedSizes = null) { $this->targetedSizes = $targetedSizes; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/InventoryTargeting.php b/src/Google/AdsApi/AdManager/v202502/InventoryTargeting.php index f8fc8f4db..c5127e18d 100644 --- a/src/Google/AdsApi/AdManager/v202502/InventoryTargeting.php +++ b/src/Google/AdsApi/AdManager/v202502/InventoryTargeting.php @@ -29,7 +29,7 @@ class InventoryTargeting * @param \Google\AdsApi\AdManager\v202502\AdUnitTargeting[] $excludedAdUnits * @param int[] $targetedPlacementIds */ - public function __construct(array $targetedAdUnits = null, array $excludedAdUnits = null, array $targetedPlacementIds = null) + public function __construct(?array $targetedAdUnits = null, ?array $excludedAdUnits = null, ?array $targetedPlacementIds = null) { $this->targetedAdUnits = $targetedAdUnits; $this->excludedAdUnits = $excludedAdUnits; @@ -48,7 +48,7 @@ public function getTargetedAdUnits() * @param \Google\AdsApi\AdManager\v202502\AdUnitTargeting[]|null $targetedAdUnits * @return \Google\AdsApi\AdManager\v202502\InventoryTargeting */ - public function setTargetedAdUnits(array $targetedAdUnits = null) + public function setTargetedAdUnits(?array $targetedAdUnits = null) { $this->targetedAdUnits = $targetedAdUnits; return $this; @@ -66,7 +66,7 @@ public function getExcludedAdUnits() * @param \Google\AdsApi\AdManager\v202502\AdUnitTargeting[]|null $excludedAdUnits * @return \Google\AdsApi\AdManager\v202502\InventoryTargeting */ - public function setExcludedAdUnits(array $excludedAdUnits = null) + public function setExcludedAdUnits(?array $excludedAdUnits = null) { $this->excludedAdUnits = $excludedAdUnits; return $this; @@ -84,7 +84,7 @@ public function getTargetedPlacementIds() * @param int[]|null $targetedPlacementIds * @return \Google\AdsApi\AdManager\v202502\InventoryTargeting */ - public function setTargetedPlacementIds(array $targetedPlacementIds = null) + public function setTargetedPlacementIds(?array $targetedPlacementIds = null) { $this->targetedPlacementIds = $targetedPlacementIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/InventoryTargetingError.php b/src/Google/AdsApi/AdManager/v202502/InventoryTargetingError.php index e1afe5850..2fc482734 100644 --- a/src/Google/AdsApi/AdManager/v202502/InventoryTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202502/InventoryTargetingError.php @@ -21,7 +21,7 @@ class InventoryTargetingError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/InventoryUnitError.php b/src/Google/AdsApi/AdManager/v202502/InventoryUnitError.php index 897c0dd5a..f22bf67af 100644 --- a/src/Google/AdsApi/AdManager/v202502/InventoryUnitError.php +++ b/src/Google/AdsApi/AdManager/v202502/InventoryUnitError.php @@ -21,7 +21,7 @@ class InventoryUnitError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/InventoryUnitRefreshRateError.php b/src/Google/AdsApi/AdManager/v202502/InventoryUnitRefreshRateError.php index 7d0e95c55..70c05db52 100644 --- a/src/Google/AdsApi/AdManager/v202502/InventoryUnitRefreshRateError.php +++ b/src/Google/AdsApi/AdManager/v202502/InventoryUnitRefreshRateError.php @@ -21,7 +21,7 @@ class InventoryUnitRefreshRateError extends \Google\AdsApi\AdManager\v202502\Api * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/InventoryUnitSizesError.php b/src/Google/AdsApi/AdManager/v202502/InventoryUnitSizesError.php index cbfd358e3..195cd7405 100644 --- a/src/Google/AdsApi/AdManager/v202502/InventoryUnitSizesError.php +++ b/src/Google/AdsApi/AdManager/v202502/InventoryUnitSizesError.php @@ -21,7 +21,7 @@ class InventoryUnitSizesError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/InventoryUrlTargeting.php b/src/Google/AdsApi/AdManager/v202502/InventoryUrlTargeting.php index 98ed91be7..9b5a09b6e 100644 --- a/src/Google/AdsApi/AdManager/v202502/InventoryUrlTargeting.php +++ b/src/Google/AdsApi/AdManager/v202502/InventoryUrlTargeting.php @@ -23,7 +23,7 @@ class InventoryUrlTargeting * @param \Google\AdsApi\AdManager\v202502\InventoryUrl[] $targetedUrls * @param \Google\AdsApi\AdManager\v202502\InventoryUrl[] $excludedUrls */ - public function __construct(array $targetedUrls = null, array $excludedUrls = null) + public function __construct(?array $targetedUrls = null, ?array $excludedUrls = null) { $this->targetedUrls = $targetedUrls; $this->excludedUrls = $excludedUrls; @@ -41,7 +41,7 @@ public function getTargetedUrls() * @param \Google\AdsApi\AdManager\v202502\InventoryUrl[]|null $targetedUrls * @return \Google\AdsApi\AdManager\v202502\InventoryUrlTargeting */ - public function setTargetedUrls(array $targetedUrls = null) + public function setTargetedUrls(?array $targetedUrls = null) { $this->targetedUrls = $targetedUrls; return $this; @@ -59,7 +59,7 @@ public function getExcludedUrls() * @param \Google\AdsApi\AdManager\v202502\InventoryUrl[]|null $excludedUrls * @return \Google\AdsApi\AdManager\v202502\InventoryUrlTargeting */ - public function setExcludedUrls(array $excludedUrls = null) + public function setExcludedUrls(?array $excludedUrls = null) { $this->excludedUrls = $excludedUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/Label.php b/src/Google/AdsApi/AdManager/v202502/Label.php index 8540813db..06637f6b5 100644 --- a/src/Google/AdsApi/AdManager/v202502/Label.php +++ b/src/Google/AdsApi/AdManager/v202502/Label.php @@ -47,7 +47,7 @@ class Label * @param \Google\AdsApi\AdManager\v202502\AdCategoryDto $adCategory * @param string[] $types */ - public function __construct($id = null, $name = null, $description = null, $isActive = null, $adCategory = null, array $types = null) + public function __construct($id = null, $name = null, $description = null, $isActive = null, $adCategory = null, ?array $types = null) { $this->id = $id; $this->name = $name; @@ -160,7 +160,7 @@ public function getTypes() * @param string[]|null $types * @return \Google\AdsApi\AdManager\v202502\Label */ - public function setTypes(array $types = null) + public function setTypes(?array $types = null) { $this->types = $types; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/LabelEntityAssociationError.php b/src/Google/AdsApi/AdManager/v202502/LabelEntityAssociationError.php index 448a77d9f..40aab008a 100644 --- a/src/Google/AdsApi/AdManager/v202502/LabelEntityAssociationError.php +++ b/src/Google/AdsApi/AdManager/v202502/LabelEntityAssociationError.php @@ -21,7 +21,7 @@ class LabelEntityAssociationError extends \Google\AdsApi\AdManager\v202502\ApiEr * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/LabelError.php b/src/Google/AdsApi/AdManager/v202502/LabelError.php index 594e37284..a0c212846 100644 --- a/src/Google/AdsApi/AdManager/v202502/LabelError.php +++ b/src/Google/AdsApi/AdManager/v202502/LabelError.php @@ -21,7 +21,7 @@ class LabelError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/LabelPage.php b/src/Google/AdsApi/AdManager/v202502/LabelPage.php index d95c79604..22295376c 100644 --- a/src/Google/AdsApi/AdManager/v202502/LabelPage.php +++ b/src/Google/AdsApi/AdManager/v202502/LabelPage.php @@ -29,7 +29,7 @@ class LabelPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\Label[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\Label[]|null $results * @return \Google\AdsApi\AdManager\v202502\LabelPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/LegacyDfpCreative.php b/src/Google/AdsApi/AdManager/v202502/LegacyDfpCreative.php index 33b4cc7c9..cb1950995 100644 --- a/src/Google/AdsApi/AdManager/v202502/LegacyDfpCreative.php +++ b/src/Google/AdsApi/AdManager/v202502/LegacyDfpCreative.php @@ -22,7 +22,7 @@ class LegacyDfpCreative extends \Google\AdsApi\AdManager\v202502\Creative * @param \Google\AdsApi\AdManager\v202502\ThirdPartyDataDeclaration $thirdPartyDataDeclaration * @param boolean $adBadgingEnabled */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled); } diff --git a/src/Google/AdsApi/AdManager/v202502/LineItem.php b/src/Google/AdsApi/AdManager/v202502/LineItem.php index 53b91b2ec..36caead1d 100644 --- a/src/Google/AdsApi/AdManager/v202502/LineItem.php +++ b/src/Google/AdsApi/AdManager/v202502/LineItem.php @@ -86,7 +86,7 @@ class LineItem extends \Google\AdsApi\AdManager\v202502\LineItemSummary * @param \Google\AdsApi\AdManager\v202502\Targeting $targeting * @param \Google\AdsApi\AdManager\v202502\CreativeTargeting[] $creativeTargetings */ - public function __construct($orderId = null, $id = null, $name = null, $externalId = null, $orderName = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $autoExtensionDays = null, $unlimitedEndDateTime = null, $creativeRotationType = null, $deliveryRateType = null, $deliveryForecastSource = null, $customPacingCurve = null, $roadblockingType = null, $skippableAdType = null, array $frequencyCaps = null, $lineItemType = null, $priority = null, $costPerUnit = null, $valueCostPerUnit = null, $costType = null, $discountType = null, $discount = null, $contractedUnitsBought = null, array $creativePlaceholders = null, array $activityAssociations = null, $environmentType = null, array $allowedFormats = null, $companionDeliveryOption = null, $allowOverbook = null, $skipInventoryCheck = null, $skipCrossSellingRuleWarningChecks = null, $reserveAtCreation = null, $stats = null, $deliveryIndicator = null, $deliveryData = null, $budget = null, $status = null, $reservationStatus = null, $isArchived = null, $webPropertyCode = null, array $appliedLabels = null, array $effectiveAppliedLabels = null, $disableSameAdvertiserCompetitiveExclusion = null, $lastModifiedByApp = null, $notes = null, $competitiveConstraintScope = null, $lastModifiedDateTime = null, $creationDateTime = null, array $customFieldValues = null, $isMissingCreatives = null, $programmaticCreativeSource = null, $thirdPartyMeasurementSettings = null, $youtubeKidsRestricted = null, $videoMaxDuration = null, $primaryGoal = null, array $secondaryGoals = null, $grpSettings = null, $dealInfo = null, array $viewabilityProviderCompanyIds = null, $childContentEligibility = null, $customVastExtension = null, $targeting = null, array $creativeTargetings = null) + public function __construct($orderId = null, $id = null, $name = null, $externalId = null, $orderName = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $autoExtensionDays = null, $unlimitedEndDateTime = null, $creativeRotationType = null, $deliveryRateType = null, $deliveryForecastSource = null, $customPacingCurve = null, $roadblockingType = null, $skippableAdType = null, ?array $frequencyCaps = null, $lineItemType = null, $priority = null, $costPerUnit = null, $valueCostPerUnit = null, $costType = null, $discountType = null, $discount = null, $contractedUnitsBought = null, ?array $creativePlaceholders = null, ?array $activityAssociations = null, $environmentType = null, ?array $allowedFormats = null, $companionDeliveryOption = null, $allowOverbook = null, $skipInventoryCheck = null, $skipCrossSellingRuleWarningChecks = null, $reserveAtCreation = null, $stats = null, $deliveryIndicator = null, $deliveryData = null, $budget = null, $status = null, $reservationStatus = null, $isArchived = null, $webPropertyCode = null, ?array $appliedLabels = null, ?array $effectiveAppliedLabels = null, $disableSameAdvertiserCompetitiveExclusion = null, $lastModifiedByApp = null, $notes = null, $competitiveConstraintScope = null, $lastModifiedDateTime = null, $creationDateTime = null, ?array $customFieldValues = null, $isMissingCreatives = null, $programmaticCreativeSource = null, $thirdPartyMeasurementSettings = null, $youtubeKidsRestricted = null, $videoMaxDuration = null, $primaryGoal = null, ?array $secondaryGoals = null, $grpSettings = null, $dealInfo = null, ?array $viewabilityProviderCompanyIds = null, $childContentEligibility = null, $customVastExtension = null, $targeting = null, ?array $creativeTargetings = null) { parent::__construct($orderId, $id, $name, $externalId, $orderName, $startDateTime, $startDateTimeType, $endDateTime, $autoExtensionDays, $unlimitedEndDateTime, $creativeRotationType, $deliveryRateType, $deliveryForecastSource, $customPacingCurve, $roadblockingType, $skippableAdType, $frequencyCaps, $lineItemType, $priority, $costPerUnit, $valueCostPerUnit, $costType, $discountType, $discount, $contractedUnitsBought, $creativePlaceholders, $activityAssociations, $environmentType, $allowedFormats, $companionDeliveryOption, $allowOverbook, $skipInventoryCheck, $skipCrossSellingRuleWarningChecks, $reserveAtCreation, $stats, $deliveryIndicator, $deliveryData, $budget, $status, $reservationStatus, $isArchived, $webPropertyCode, $appliedLabels, $effectiveAppliedLabels, $disableSameAdvertiserCompetitiveExclusion, $lastModifiedByApp, $notes, $competitiveConstraintScope, $lastModifiedDateTime, $creationDateTime, $customFieldValues, $isMissingCreatives, $programmaticCreativeSource, $thirdPartyMeasurementSettings, $youtubeKidsRestricted, $videoMaxDuration, $primaryGoal, $secondaryGoals, $grpSettings, $dealInfo, $viewabilityProviderCompanyIds, $childContentEligibility, $customVastExtension); $this->targeting = $targeting; @@ -123,7 +123,7 @@ public function getCreativeTargetings() * @param \Google\AdsApi\AdManager\v202502\CreativeTargeting[]|null $creativeTargetings * @return \Google\AdsApi\AdManager\v202502\LineItem */ - public function setCreativeTargetings(array $creativeTargetings = null) + public function setCreativeTargetings(?array $creativeTargetings = null) { $this->creativeTargetings = $creativeTargetings; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/LineItemActivityAssociationError.php b/src/Google/AdsApi/AdManager/v202502/LineItemActivityAssociationError.php index 04fa6b431..57921f078 100644 --- a/src/Google/AdsApi/AdManager/v202502/LineItemActivityAssociationError.php +++ b/src/Google/AdsApi/AdManager/v202502/LineItemActivityAssociationError.php @@ -21,7 +21,7 @@ class LineItemActivityAssociationError extends \Google\AdsApi\AdManager\v202502\ * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/LineItemCreativeAssociation.php b/src/Google/AdsApi/AdManager/v202502/LineItemCreativeAssociation.php index 49b5bac7a..840737d09 100644 --- a/src/Google/AdsApi/AdManager/v202502/LineItemCreativeAssociation.php +++ b/src/Google/AdsApi/AdManager/v202502/LineItemCreativeAssociation.php @@ -95,7 +95,7 @@ class LineItemCreativeAssociation * @param \Google\AdsApi\AdManager\v202502\DateTime $lastModifiedDateTime * @param string $targetingName */ - public function __construct($lineItemId = null, $creativeId = null, $creativeSetId = null, $manualCreativeRotationWeight = null, $sequentialCreativeRotationIndex = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $destinationUrl = null, array $sizes = null, $status = null, $stats = null, $lastModifiedDateTime = null, $targetingName = null) + public function __construct($lineItemId = null, $creativeId = null, $creativeSetId = null, $manualCreativeRotationWeight = null, $sequentialCreativeRotationIndex = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $destinationUrl = null, ?array $sizes = null, $status = null, $stats = null, $lastModifiedDateTime = null, $targetingName = null) { $this->lineItemId = $lineItemId; $this->creativeId = $creativeId; @@ -290,7 +290,7 @@ public function getSizes() * @param \Google\AdsApi\AdManager\v202502\Size[]|null $sizes * @return \Google\AdsApi\AdManager\v202502\LineItemCreativeAssociation */ - public function setSizes(array $sizes = null) + public function setSizes(?array $sizes = null) { $this->sizes = $sizes; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/LineItemCreativeAssociationError.php b/src/Google/AdsApi/AdManager/v202502/LineItemCreativeAssociationError.php index 9b4ef89d8..16808df8a 100644 --- a/src/Google/AdsApi/AdManager/v202502/LineItemCreativeAssociationError.php +++ b/src/Google/AdsApi/AdManager/v202502/LineItemCreativeAssociationError.php @@ -21,7 +21,7 @@ class LineItemCreativeAssociationError extends \Google\AdsApi\AdManager\v202502\ * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/LineItemCreativeAssociationOperationError.php b/src/Google/AdsApi/AdManager/v202502/LineItemCreativeAssociationOperationError.php index 8d3d5b64b..6600285e4 100644 --- a/src/Google/AdsApi/AdManager/v202502/LineItemCreativeAssociationOperationError.php +++ b/src/Google/AdsApi/AdManager/v202502/LineItemCreativeAssociationOperationError.php @@ -21,7 +21,7 @@ class LineItemCreativeAssociationOperationError extends \Google\AdsApi\AdManager * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/LineItemCreativeAssociationPage.php b/src/Google/AdsApi/AdManager/v202502/LineItemCreativeAssociationPage.php index 1da7277f9..a9804d70d 100644 --- a/src/Google/AdsApi/AdManager/v202502/LineItemCreativeAssociationPage.php +++ b/src/Google/AdsApi/AdManager/v202502/LineItemCreativeAssociationPage.php @@ -29,7 +29,7 @@ class LineItemCreativeAssociationPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\LineItemCreativeAssociation[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\LineItemCreativeAssociation[]|null $results * @return \Google\AdsApi\AdManager\v202502\LineItemCreativeAssociationPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/LineItemCreativeAssociationStats.php b/src/Google/AdsApi/AdManager/v202502/LineItemCreativeAssociationStats.php index 7ba745dd4..010877c5f 100644 --- a/src/Google/AdsApi/AdManager/v202502/LineItemCreativeAssociationStats.php +++ b/src/Google/AdsApi/AdManager/v202502/LineItemCreativeAssociationStats.php @@ -23,7 +23,7 @@ class LineItemCreativeAssociationStats * @param \Google\AdsApi\AdManager\v202502\Stats $stats * @param \Google\AdsApi\AdManager\v202502\Long_StatsMapEntry[] $creativeSetStats */ - public function __construct($stats = null, array $creativeSetStats = null) + public function __construct($stats = null, ?array $creativeSetStats = null) { $this->stats = $stats; $this->creativeSetStats = $creativeSetStats; @@ -59,7 +59,7 @@ public function getCreativeSetStats() * @param \Google\AdsApi\AdManager\v202502\Long_StatsMapEntry[]|null $creativeSetStats * @return \Google\AdsApi\AdManager\v202502\LineItemCreativeAssociationStats */ - public function setCreativeSetStats(array $creativeSetStats = null) + public function setCreativeSetStats(?array $creativeSetStats = null) { $this->creativeSetStats = $creativeSetStats; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/LineItemError.php b/src/Google/AdsApi/AdManager/v202502/LineItemError.php index 2ab775050..ce42e6915 100644 --- a/src/Google/AdsApi/AdManager/v202502/LineItemError.php +++ b/src/Google/AdsApi/AdManager/v202502/LineItemError.php @@ -21,7 +21,7 @@ class LineItemError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/LineItemFlightDateError.php b/src/Google/AdsApi/AdManager/v202502/LineItemFlightDateError.php index 085a32506..d9a522eaa 100644 --- a/src/Google/AdsApi/AdManager/v202502/LineItemFlightDateError.php +++ b/src/Google/AdsApi/AdManager/v202502/LineItemFlightDateError.php @@ -21,7 +21,7 @@ class LineItemFlightDateError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/LineItemOperationError.php b/src/Google/AdsApi/AdManager/v202502/LineItemOperationError.php index 2a0b6e63e..a4984ae11 100644 --- a/src/Google/AdsApi/AdManager/v202502/LineItemOperationError.php +++ b/src/Google/AdsApi/AdManager/v202502/LineItemOperationError.php @@ -21,7 +21,7 @@ class LineItemOperationError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/LineItemPage.php b/src/Google/AdsApi/AdManager/v202502/LineItemPage.php index 74ef9e5ec..0000dfa77 100644 --- a/src/Google/AdsApi/AdManager/v202502/LineItemPage.php +++ b/src/Google/AdsApi/AdManager/v202502/LineItemPage.php @@ -29,7 +29,7 @@ class LineItemPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\LineItem[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\LineItem[]|null $results * @return \Google\AdsApi\AdManager\v202502\LineItemPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/LineItemSummary.php b/src/Google/AdsApi/AdManager/v202502/LineItemSummary.php index 04695fcfb..71bd956cf 100644 --- a/src/Google/AdsApi/AdManager/v202502/LineItemSummary.php +++ b/src/Google/AdsApi/AdManager/v202502/LineItemSummary.php @@ -389,7 +389,7 @@ class LineItemSummary * @param string $childContentEligibility * @param string $customVastExtension */ - public function __construct($orderId = null, $id = null, $name = null, $externalId = null, $orderName = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $autoExtensionDays = null, $unlimitedEndDateTime = null, $creativeRotationType = null, $deliveryRateType = null, $deliveryForecastSource = null, $customPacingCurve = null, $roadblockingType = null, $skippableAdType = null, array $frequencyCaps = null, $lineItemType = null, $priority = null, $costPerUnit = null, $valueCostPerUnit = null, $costType = null, $discountType = null, $discount = null, $contractedUnitsBought = null, array $creativePlaceholders = null, array $activityAssociations = null, $environmentType = null, array $allowedFormats = null, $companionDeliveryOption = null, $allowOverbook = null, $skipInventoryCheck = null, $skipCrossSellingRuleWarningChecks = null, $reserveAtCreation = null, $stats = null, $deliveryIndicator = null, $deliveryData = null, $budget = null, $status = null, $reservationStatus = null, $isArchived = null, $webPropertyCode = null, array $appliedLabels = null, array $effectiveAppliedLabels = null, $disableSameAdvertiserCompetitiveExclusion = null, $lastModifiedByApp = null, $notes = null, $competitiveConstraintScope = null, $lastModifiedDateTime = null, $creationDateTime = null, array $customFieldValues = null, $isMissingCreatives = null, $programmaticCreativeSource = null, $thirdPartyMeasurementSettings = null, $youtubeKidsRestricted = null, $videoMaxDuration = null, $primaryGoal = null, array $secondaryGoals = null, $grpSettings = null, $dealInfo = null, array $viewabilityProviderCompanyIds = null, $childContentEligibility = null, $customVastExtension = null) + public function __construct($orderId = null, $id = null, $name = null, $externalId = null, $orderName = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $autoExtensionDays = null, $unlimitedEndDateTime = null, $creativeRotationType = null, $deliveryRateType = null, $deliveryForecastSource = null, $customPacingCurve = null, $roadblockingType = null, $skippableAdType = null, ?array $frequencyCaps = null, $lineItemType = null, $priority = null, $costPerUnit = null, $valueCostPerUnit = null, $costType = null, $discountType = null, $discount = null, $contractedUnitsBought = null, ?array $creativePlaceholders = null, ?array $activityAssociations = null, $environmentType = null, ?array $allowedFormats = null, $companionDeliveryOption = null, $allowOverbook = null, $skipInventoryCheck = null, $skipCrossSellingRuleWarningChecks = null, $reserveAtCreation = null, $stats = null, $deliveryIndicator = null, $deliveryData = null, $budget = null, $status = null, $reservationStatus = null, $isArchived = null, $webPropertyCode = null, ?array $appliedLabels = null, ?array $effectiveAppliedLabels = null, $disableSameAdvertiserCompetitiveExclusion = null, $lastModifiedByApp = null, $notes = null, $competitiveConstraintScope = null, $lastModifiedDateTime = null, $creationDateTime = null, ?array $customFieldValues = null, $isMissingCreatives = null, $programmaticCreativeSource = null, $thirdPartyMeasurementSettings = null, $youtubeKidsRestricted = null, $videoMaxDuration = null, $primaryGoal = null, ?array $secondaryGoals = null, $grpSettings = null, $dealInfo = null, ?array $viewabilityProviderCompanyIds = null, $childContentEligibility = null, $customVastExtension = null) { $this->orderId = $orderId; $this->id = $id; @@ -758,7 +758,7 @@ public function getFrequencyCaps() * @param \Google\AdsApi\AdManager\v202502\FrequencyCap[]|null $frequencyCaps * @return \Google\AdsApi\AdManager\v202502\LineItemSummary */ - public function setFrequencyCaps(array $frequencyCaps = null) + public function setFrequencyCaps(?array $frequencyCaps = null) { $this->frequencyCaps = $frequencyCaps; return $this; @@ -921,7 +921,7 @@ public function getCreativePlaceholders() * @param \Google\AdsApi\AdManager\v202502\CreativePlaceholder[]|null $creativePlaceholders * @return \Google\AdsApi\AdManager\v202502\LineItemSummary */ - public function setCreativePlaceholders(array $creativePlaceholders = null) + public function setCreativePlaceholders(?array $creativePlaceholders = null) { $this->creativePlaceholders = $creativePlaceholders; return $this; @@ -939,7 +939,7 @@ public function getActivityAssociations() * @param \Google\AdsApi\AdManager\v202502\LineItemActivityAssociation[]|null $activityAssociations * @return \Google\AdsApi\AdManager\v202502\LineItemSummary */ - public function setActivityAssociations(array $activityAssociations = null) + public function setActivityAssociations(?array $activityAssociations = null) { $this->activityAssociations = $activityAssociations; return $this; @@ -975,7 +975,7 @@ public function getAllowedFormats() * @param string[]|null $allowedFormats * @return \Google\AdsApi\AdManager\v202502\LineItemSummary */ - public function setAllowedFormats(array $allowedFormats = null) + public function setAllowedFormats(?array $allowedFormats = null) { $this->allowedFormats = $allowedFormats; return $this; @@ -1227,7 +1227,7 @@ public function getAppliedLabels() * @param \Google\AdsApi\AdManager\v202502\AppliedLabel[]|null $appliedLabels * @return \Google\AdsApi\AdManager\v202502\LineItemSummary */ - public function setAppliedLabels(array $appliedLabels = null) + public function setAppliedLabels(?array $appliedLabels = null) { $this->appliedLabels = $appliedLabels; return $this; @@ -1245,7 +1245,7 @@ public function getEffectiveAppliedLabels() * @param \Google\AdsApi\AdManager\v202502\AppliedLabel[]|null $effectiveAppliedLabels * @return \Google\AdsApi\AdManager\v202502\LineItemSummary */ - public function setEffectiveAppliedLabels(array $effectiveAppliedLabels = null) + public function setEffectiveAppliedLabels(?array $effectiveAppliedLabels = null) { $this->effectiveAppliedLabels = $effectiveAppliedLabels; return $this; @@ -1371,7 +1371,7 @@ public function getCustomFieldValues() * @param \Google\AdsApi\AdManager\v202502\BaseCustomFieldValue[]|null $customFieldValues * @return \Google\AdsApi\AdManager\v202502\LineItemSummary */ - public function setCustomFieldValues(array $customFieldValues = null) + public function setCustomFieldValues(?array $customFieldValues = null) { $this->customFieldValues = $customFieldValues; return $this; @@ -1498,7 +1498,7 @@ public function getSecondaryGoals() * @param \Google\AdsApi\AdManager\v202502\Goal[]|null $secondaryGoals * @return \Google\AdsApi\AdManager\v202502\LineItemSummary */ - public function setSecondaryGoals(array $secondaryGoals = null) + public function setSecondaryGoals(?array $secondaryGoals = null) { $this->secondaryGoals = $secondaryGoals; return $this; @@ -1552,7 +1552,7 @@ public function getViewabilityProviderCompanyIds() * @param int[]|null $viewabilityProviderCompanyIds * @return \Google\AdsApi\AdManager\v202502\LineItemSummary */ - public function setViewabilityProviderCompanyIds(array $viewabilityProviderCompanyIds = null) + public function setViewabilityProviderCompanyIds(?array $viewabilityProviderCompanyIds = null) { $this->viewabilityProviderCompanyIds = $viewabilityProviderCompanyIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/LineItemTemplatePage.php b/src/Google/AdsApi/AdManager/v202502/LineItemTemplatePage.php index a8a0dbdf5..e7c9b95dd 100644 --- a/src/Google/AdsApi/AdManager/v202502/LineItemTemplatePage.php +++ b/src/Google/AdsApi/AdManager/v202502/LineItemTemplatePage.php @@ -29,7 +29,7 @@ class LineItemTemplatePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\LineItemTemplate[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\LineItemTemplate[]|null $results * @return \Google\AdsApi\AdManager\v202502\LineItemTemplatePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/ListStringCreativeTemplateVariable.php b/src/Google/AdsApi/AdManager/v202502/ListStringCreativeTemplateVariable.php index 9028a3df9..e7c0451a1 100644 --- a/src/Google/AdsApi/AdManager/v202502/ListStringCreativeTemplateVariable.php +++ b/src/Google/AdsApi/AdManager/v202502/ListStringCreativeTemplateVariable.php @@ -28,7 +28,7 @@ class ListStringCreativeTemplateVariable extends \Google\AdsApi\AdManager\v20250 * @param \Google\AdsApi\AdManager\v202502\ListStringCreativeTemplateVariableVariableChoice[] $choices * @param boolean $allowOtherChoice */ - public function __construct($label = null, $uniqueName = null, $description = null, $isRequired = null, $defaultValue = null, array $choices = null, $allowOtherChoice = null) + public function __construct($label = null, $uniqueName = null, $description = null, $isRequired = null, $defaultValue = null, ?array $choices = null, $allowOtherChoice = null) { parent::__construct($label, $uniqueName, $description, $isRequired, $defaultValue); $this->choices = $choices; @@ -47,7 +47,7 @@ public function getChoices() * @param \Google\AdsApi\AdManager\v202502\ListStringCreativeTemplateVariableVariableChoice[]|null $choices * @return \Google\AdsApi\AdManager\v202502\ListStringCreativeTemplateVariable */ - public function setChoices(array $choices = null) + public function setChoices(?array $choices = null) { $this->choices = $choices; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/LiveStreamEvent.php b/src/Google/AdsApi/AdManager/v202502/LiveStreamEvent.php index d4cbee654..c8460aa8f 100644 --- a/src/Google/AdsApi/AdManager/v202502/LiveStreamEvent.php +++ b/src/Google/AdsApi/AdManager/v202502/LiveStreamEvent.php @@ -269,7 +269,7 @@ class LiveStreamEvent * @param string $adServingFormat * @param \Google\AdsApi\AdManager\v202502\LiveStreamConditioning $liveStreamConditioning */ - public function __construct($id = null, $name = null, $status = null, $creationDateTime = null, $lastModifiedDateTime = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $unlimitedEndDateTime = null, $totalEstimatedConcurrentUsers = null, array $contentUrls = null, array $adTags = null, $assetKey = null, $slateCreativeId = null, $dvrWindowSeconds = null, $enableDaiAuthenticationKeys = null, $adBreakFillType = null, $underfillAdBreakFillType = null, $adHolidayDuration = null, $enableMaxFillerDuration = null, $maxFillerDuration = null, $podServingSegmentDuration = null, $enableDurationlessAdBreaks = null, $defaultAdBreakDuration = null, array $streamCreateDaiAuthenticationKeyIds = null, array $sourceContentConfigurationIds = null, $prerollSettings = null, $hlsSettings = null, $enableAllowlistedIps = null, $dynamicAdInsertionType = null, $enableRelativePlaylistDelivery = null, $streamingFormat = null, $prefetchEnabled = null, $prefetchSettings = null, $enableForceCloseAdBreaks = null, $enableShortSegmentDropping = null, $customAssetKey = null, array $daiEncodingProfileIds = null, array $segmentUrlAuthenticationKeyIds = null, array $adBreakMarkups = null, $adBreakMarkupTypesEnabled = null, $adServingFormat = null, $liveStreamConditioning = null) + public function __construct($id = null, $name = null, $status = null, $creationDateTime = null, $lastModifiedDateTime = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $unlimitedEndDateTime = null, $totalEstimatedConcurrentUsers = null, ?array $contentUrls = null, ?array $adTags = null, $assetKey = null, $slateCreativeId = null, $dvrWindowSeconds = null, $enableDaiAuthenticationKeys = null, $adBreakFillType = null, $underfillAdBreakFillType = null, $adHolidayDuration = null, $enableMaxFillerDuration = null, $maxFillerDuration = null, $podServingSegmentDuration = null, $enableDurationlessAdBreaks = null, $defaultAdBreakDuration = null, ?array $streamCreateDaiAuthenticationKeyIds = null, ?array $sourceContentConfigurationIds = null, $prerollSettings = null, $hlsSettings = null, $enableAllowlistedIps = null, $dynamicAdInsertionType = null, $enableRelativePlaylistDelivery = null, $streamingFormat = null, $prefetchEnabled = null, $prefetchSettings = null, $enableForceCloseAdBreaks = null, $enableShortSegmentDropping = null, $customAssetKey = null, ?array $daiEncodingProfileIds = null, ?array $segmentUrlAuthenticationKeyIds = null, ?array $adBreakMarkups = null, $adBreakMarkupTypesEnabled = null, $adServingFormat = null, $liveStreamConditioning = null) { $this->id = $id; $this->name = $name; @@ -510,7 +510,7 @@ public function getContentUrls() * @param string[]|null $contentUrls * @return \Google\AdsApi\AdManager\v202502\LiveStreamEvent */ - public function setContentUrls(array $contentUrls = null) + public function setContentUrls(?array $contentUrls = null) { $this->contentUrls = $contentUrls; return $this; @@ -528,7 +528,7 @@ public function getAdTags() * @param string[]|null $adTags * @return \Google\AdsApi\AdManager\v202502\LiveStreamEvent */ - public function setAdTags(array $adTags = null) + public function setAdTags(?array $adTags = null) { $this->adTags = $adTags; return $this; @@ -767,7 +767,7 @@ public function getStreamCreateDaiAuthenticationKeyIds() * @param int[]|null $streamCreateDaiAuthenticationKeyIds * @return \Google\AdsApi\AdManager\v202502\LiveStreamEvent */ - public function setStreamCreateDaiAuthenticationKeyIds(array $streamCreateDaiAuthenticationKeyIds = null) + public function setStreamCreateDaiAuthenticationKeyIds(?array $streamCreateDaiAuthenticationKeyIds = null) { $this->streamCreateDaiAuthenticationKeyIds = $streamCreateDaiAuthenticationKeyIds; return $this; @@ -785,7 +785,7 @@ public function getSourceContentConfigurationIds() * @param int[]|null $sourceContentConfigurationIds * @return \Google\AdsApi\AdManager\v202502\LiveStreamEvent */ - public function setSourceContentConfigurationIds(array $sourceContentConfigurationIds = null) + public function setSourceContentConfigurationIds(?array $sourceContentConfigurationIds = null) { $this->sourceContentConfigurationIds = $sourceContentConfigurationIds; return $this; @@ -1001,7 +1001,7 @@ public function getDaiEncodingProfileIds() * @param int[]|null $daiEncodingProfileIds * @return \Google\AdsApi\AdManager\v202502\LiveStreamEvent */ - public function setDaiEncodingProfileIds(array $daiEncodingProfileIds = null) + public function setDaiEncodingProfileIds(?array $daiEncodingProfileIds = null) { $this->daiEncodingProfileIds = $daiEncodingProfileIds; return $this; @@ -1019,7 +1019,7 @@ public function getSegmentUrlAuthenticationKeyIds() * @param int[]|null $segmentUrlAuthenticationKeyIds * @return \Google\AdsApi\AdManager\v202502\LiveStreamEvent */ - public function setSegmentUrlAuthenticationKeyIds(array $segmentUrlAuthenticationKeyIds = null) + public function setSegmentUrlAuthenticationKeyIds(?array $segmentUrlAuthenticationKeyIds = null) { $this->segmentUrlAuthenticationKeyIds = $segmentUrlAuthenticationKeyIds; return $this; @@ -1037,7 +1037,7 @@ public function getAdBreakMarkups() * @param string[]|null $adBreakMarkups * @return \Google\AdsApi\AdManager\v202502\LiveStreamEvent */ - public function setAdBreakMarkups(array $adBreakMarkups = null) + public function setAdBreakMarkups(?array $adBreakMarkups = null) { $this->adBreakMarkups = $adBreakMarkups; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/LiveStreamEventActionError.php b/src/Google/AdsApi/AdManager/v202502/LiveStreamEventActionError.php index b011cabf2..853fefa2b 100644 --- a/src/Google/AdsApi/AdManager/v202502/LiveStreamEventActionError.php +++ b/src/Google/AdsApi/AdManager/v202502/LiveStreamEventActionError.php @@ -21,7 +21,7 @@ class LiveStreamEventActionError extends \Google\AdsApi\AdManager\v202502\ApiErr * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/LiveStreamEventCdnSettingsError.php b/src/Google/AdsApi/AdManager/v202502/LiveStreamEventCdnSettingsError.php index 1a0169352..2fc0e59e7 100644 --- a/src/Google/AdsApi/AdManager/v202502/LiveStreamEventCdnSettingsError.php +++ b/src/Google/AdsApi/AdManager/v202502/LiveStreamEventCdnSettingsError.php @@ -21,7 +21,7 @@ class LiveStreamEventCdnSettingsError extends \Google\AdsApi\AdManager\v202502\A * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/LiveStreamEventConditioningError.php b/src/Google/AdsApi/AdManager/v202502/LiveStreamEventConditioningError.php index d17cffd26..35e0aab1c 100644 --- a/src/Google/AdsApi/AdManager/v202502/LiveStreamEventConditioningError.php +++ b/src/Google/AdsApi/AdManager/v202502/LiveStreamEventConditioningError.php @@ -21,7 +21,7 @@ class LiveStreamEventConditioningError extends \Google\AdsApi\AdManager\v202502\ * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/LiveStreamEventCustomAssetKeyError.php b/src/Google/AdsApi/AdManager/v202502/LiveStreamEventCustomAssetKeyError.php index b164d33ff..92e4c4347 100644 --- a/src/Google/AdsApi/AdManager/v202502/LiveStreamEventCustomAssetKeyError.php +++ b/src/Google/AdsApi/AdManager/v202502/LiveStreamEventCustomAssetKeyError.php @@ -21,7 +21,7 @@ class LiveStreamEventCustomAssetKeyError extends \Google\AdsApi\AdManager\v20250 * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/LiveStreamEventDateTimeError.php b/src/Google/AdsApi/AdManager/v202502/LiveStreamEventDateTimeError.php index 9c1b290c7..d52228725 100644 --- a/src/Google/AdsApi/AdManager/v202502/LiveStreamEventDateTimeError.php +++ b/src/Google/AdsApi/AdManager/v202502/LiveStreamEventDateTimeError.php @@ -21,7 +21,7 @@ class LiveStreamEventDateTimeError extends \Google\AdsApi\AdManager\v202502\ApiE * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/LiveStreamEventDvrWindowError.php b/src/Google/AdsApi/AdManager/v202502/LiveStreamEventDvrWindowError.php index d98319e58..82250fd76 100644 --- a/src/Google/AdsApi/AdManager/v202502/LiveStreamEventDvrWindowError.php +++ b/src/Google/AdsApi/AdManager/v202502/LiveStreamEventDvrWindowError.php @@ -21,7 +21,7 @@ class LiveStreamEventDvrWindowError extends \Google\AdsApi\AdManager\v202502\Api * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/LiveStreamEventPage.php b/src/Google/AdsApi/AdManager/v202502/LiveStreamEventPage.php index 2f7911299..83581a29e 100644 --- a/src/Google/AdsApi/AdManager/v202502/LiveStreamEventPage.php +++ b/src/Google/AdsApi/AdManager/v202502/LiveStreamEventPage.php @@ -29,7 +29,7 @@ class LiveStreamEventPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\LiveStreamEvent[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\LiveStreamEvent[]|null $results * @return \Google\AdsApi\AdManager\v202502\LiveStreamEventPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/LiveStreamEventPrerollSettingsError.php b/src/Google/AdsApi/AdManager/v202502/LiveStreamEventPrerollSettingsError.php index 72db43472..e03741389 100644 --- a/src/Google/AdsApi/AdManager/v202502/LiveStreamEventPrerollSettingsError.php +++ b/src/Google/AdsApi/AdManager/v202502/LiveStreamEventPrerollSettingsError.php @@ -21,7 +21,7 @@ class LiveStreamEventPrerollSettingsError extends \Google\AdsApi\AdManager\v2025 * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/LiveStreamEventSlateError.php b/src/Google/AdsApi/AdManager/v202502/LiveStreamEventSlateError.php index 134ac624f..7ed3033ac 100644 --- a/src/Google/AdsApi/AdManager/v202502/LiveStreamEventSlateError.php +++ b/src/Google/AdsApi/AdManager/v202502/LiveStreamEventSlateError.php @@ -21,7 +21,7 @@ class LiveStreamEventSlateError extends \Google\AdsApi\AdManager\v202502\ApiErro * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/MarketplaceCommentPage.php b/src/Google/AdsApi/AdManager/v202502/MarketplaceCommentPage.php index 6d8fa2fbe..4f8b96539 100644 --- a/src/Google/AdsApi/AdManager/v202502/MarketplaceCommentPage.php +++ b/src/Google/AdsApi/AdManager/v202502/MarketplaceCommentPage.php @@ -23,7 +23,7 @@ class MarketplaceCommentPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\MarketplaceComment[] $results */ - public function __construct($startIndex = null, array $results = null) + public function __construct($startIndex = null, ?array $results = null) { $this->startIndex = $startIndex; $this->results = $results; @@ -59,7 +59,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\MarketplaceComment[]|null $results * @return \Google\AdsApi\AdManager\v202502\MarketplaceCommentPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/McmError.php b/src/Google/AdsApi/AdManager/v202502/McmError.php index 5ba9ae50f..29308b54b 100644 --- a/src/Google/AdsApi/AdManager/v202502/McmError.php +++ b/src/Google/AdsApi/AdManager/v202502/McmError.php @@ -21,7 +21,7 @@ class McmError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/MetadataMergeSpecError.php b/src/Google/AdsApi/AdManager/v202502/MetadataMergeSpecError.php index 55c5bc8e1..f77e87560 100644 --- a/src/Google/AdsApi/AdManager/v202502/MetadataMergeSpecError.php +++ b/src/Google/AdsApi/AdManager/v202502/MetadataMergeSpecError.php @@ -21,7 +21,7 @@ class MetadataMergeSpecError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/MobileApplication.php b/src/Google/AdsApi/AdManager/v202502/MobileApplication.php index 89da56dcc..8b99c4c27 100644 --- a/src/Google/AdsApi/AdManager/v202502/MobileApplication.php +++ b/src/Google/AdsApi/AdManager/v202502/MobileApplication.php @@ -89,7 +89,7 @@ class MobileApplication * @param string $downloadUrl * @param string $approvalStatus */ - public function __construct($id = null, $applicationId = null, $displayName = null, $appStoreId = null, array $appStores = null, $isArchived = null, $appStoreName = null, $applicationCode = null, $developerName = null, $platform = null, $isFree = null, $downloadUrl = null, $approvalStatus = null) + public function __construct($id = null, $applicationId = null, $displayName = null, $appStoreId = null, ?array $appStores = null, $isArchived = null, $appStoreName = null, $applicationCode = null, $developerName = null, $platform = null, $isFree = null, $downloadUrl = null, $approvalStatus = null) { $this->id = $id; $this->applicationId = $applicationId; @@ -192,7 +192,7 @@ public function getAppStores() * @param string[]|null $appStores * @return \Google\AdsApi\AdManager\v202502\MobileApplication */ - public function setAppStores(array $appStores = null) + public function setAppStores(?array $appStores = null) { $this->appStores = $appStores; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/MobileApplicationActionError.php b/src/Google/AdsApi/AdManager/v202502/MobileApplicationActionError.php index 89e10f124..864b90ac5 100644 --- a/src/Google/AdsApi/AdManager/v202502/MobileApplicationActionError.php +++ b/src/Google/AdsApi/AdManager/v202502/MobileApplicationActionError.php @@ -21,7 +21,7 @@ class MobileApplicationActionError extends \Google\AdsApi\AdManager\v202502\ApiE * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/MobileApplicationError.php b/src/Google/AdsApi/AdManager/v202502/MobileApplicationError.php index dd8c1e0bf..01f536114 100644 --- a/src/Google/AdsApi/AdManager/v202502/MobileApplicationError.php +++ b/src/Google/AdsApi/AdManager/v202502/MobileApplicationError.php @@ -21,7 +21,7 @@ class MobileApplicationError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/MobileApplicationPage.php b/src/Google/AdsApi/AdManager/v202502/MobileApplicationPage.php index 6dac74ecc..beb92cfc0 100644 --- a/src/Google/AdsApi/AdManager/v202502/MobileApplicationPage.php +++ b/src/Google/AdsApi/AdManager/v202502/MobileApplicationPage.php @@ -29,7 +29,7 @@ class MobileApplicationPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\MobileApplication[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\MobileApplication[]|null $results * @return \Google\AdsApi\AdManager\v202502\MobileApplicationPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/MobileApplicationTargeting.php b/src/Google/AdsApi/AdManager/v202502/MobileApplicationTargeting.php index bb55b1163..9194528aa 100644 --- a/src/Google/AdsApi/AdManager/v202502/MobileApplicationTargeting.php +++ b/src/Google/AdsApi/AdManager/v202502/MobileApplicationTargeting.php @@ -23,7 +23,7 @@ class MobileApplicationTargeting * @param int[] $mobileApplicationIds * @param boolean $isTargeted */ - public function __construct(array $mobileApplicationIds = null, $isTargeted = null) + public function __construct(?array $mobileApplicationIds = null, $isTargeted = null) { $this->mobileApplicationIds = $mobileApplicationIds; $this->isTargeted = $isTargeted; @@ -41,7 +41,7 @@ public function getMobileApplicationIds() * @param int[]|null $mobileApplicationIds * @return \Google\AdsApi\AdManager\v202502\MobileApplicationTargeting */ - public function setMobileApplicationIds(array $mobileApplicationIds = null) + public function setMobileApplicationIds(?array $mobileApplicationIds = null) { $this->mobileApplicationIds = $mobileApplicationIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/MobileApplicationTargetingError.php b/src/Google/AdsApi/AdManager/v202502/MobileApplicationTargetingError.php index 52906633f..0d71456b3 100644 --- a/src/Google/AdsApi/AdManager/v202502/MobileApplicationTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202502/MobileApplicationTargetingError.php @@ -21,7 +21,7 @@ class MobileApplicationTargetingError extends \Google\AdsApi\AdManager\v202502\A * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/MobileCarrierTargeting.php b/src/Google/AdsApi/AdManager/v202502/MobileCarrierTargeting.php index b06b6182f..3b5f4cd92 100644 --- a/src/Google/AdsApi/AdManager/v202502/MobileCarrierTargeting.php +++ b/src/Google/AdsApi/AdManager/v202502/MobileCarrierTargeting.php @@ -23,7 +23,7 @@ class MobileCarrierTargeting * @param boolean $isTargeted * @param \Google\AdsApi\AdManager\v202502\Technology[] $mobileCarriers */ - public function __construct($isTargeted = null, array $mobileCarriers = null) + public function __construct($isTargeted = null, ?array $mobileCarriers = null) { $this->isTargeted = $isTargeted; $this->mobileCarriers = $mobileCarriers; @@ -59,7 +59,7 @@ public function getMobileCarriers() * @param \Google\AdsApi\AdManager\v202502\Technology[]|null $mobileCarriers * @return \Google\AdsApi\AdManager\v202502\MobileCarrierTargeting */ - public function setMobileCarriers(array $mobileCarriers = null) + public function setMobileCarriers(?array $mobileCarriers = null) { $this->mobileCarriers = $mobileCarriers; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/MobileDeviceSubmodelTargeting.php b/src/Google/AdsApi/AdManager/v202502/MobileDeviceSubmodelTargeting.php index b25c3e6c7..405be60bb 100644 --- a/src/Google/AdsApi/AdManager/v202502/MobileDeviceSubmodelTargeting.php +++ b/src/Google/AdsApi/AdManager/v202502/MobileDeviceSubmodelTargeting.php @@ -23,7 +23,7 @@ class MobileDeviceSubmodelTargeting * @param \Google\AdsApi\AdManager\v202502\Technology[] $targetedMobileDeviceSubmodels * @param \Google\AdsApi\AdManager\v202502\Technology[] $excludedMobileDeviceSubmodels */ - public function __construct(array $targetedMobileDeviceSubmodels = null, array $excludedMobileDeviceSubmodels = null) + public function __construct(?array $targetedMobileDeviceSubmodels = null, ?array $excludedMobileDeviceSubmodels = null) { $this->targetedMobileDeviceSubmodels = $targetedMobileDeviceSubmodels; $this->excludedMobileDeviceSubmodels = $excludedMobileDeviceSubmodels; @@ -41,7 +41,7 @@ public function getTargetedMobileDeviceSubmodels() * @param \Google\AdsApi\AdManager\v202502\Technology[]|null $targetedMobileDeviceSubmodels * @return \Google\AdsApi\AdManager\v202502\MobileDeviceSubmodelTargeting */ - public function setTargetedMobileDeviceSubmodels(array $targetedMobileDeviceSubmodels = null) + public function setTargetedMobileDeviceSubmodels(?array $targetedMobileDeviceSubmodels = null) { $this->targetedMobileDeviceSubmodels = $targetedMobileDeviceSubmodels; return $this; @@ -59,7 +59,7 @@ public function getExcludedMobileDeviceSubmodels() * @param \Google\AdsApi\AdManager\v202502\Technology[]|null $excludedMobileDeviceSubmodels * @return \Google\AdsApi\AdManager\v202502\MobileDeviceSubmodelTargeting */ - public function setExcludedMobileDeviceSubmodels(array $excludedMobileDeviceSubmodels = null) + public function setExcludedMobileDeviceSubmodels(?array $excludedMobileDeviceSubmodels = null) { $this->excludedMobileDeviceSubmodels = $excludedMobileDeviceSubmodels; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/MobileDeviceTargeting.php b/src/Google/AdsApi/AdManager/v202502/MobileDeviceTargeting.php index 950062e31..2dd56dee7 100644 --- a/src/Google/AdsApi/AdManager/v202502/MobileDeviceTargeting.php +++ b/src/Google/AdsApi/AdManager/v202502/MobileDeviceTargeting.php @@ -23,7 +23,7 @@ class MobileDeviceTargeting * @param \Google\AdsApi\AdManager\v202502\Technology[] $targetedMobileDevices * @param \Google\AdsApi\AdManager\v202502\Technology[] $excludedMobileDevices */ - public function __construct(array $targetedMobileDevices = null, array $excludedMobileDevices = null) + public function __construct(?array $targetedMobileDevices = null, ?array $excludedMobileDevices = null) { $this->targetedMobileDevices = $targetedMobileDevices; $this->excludedMobileDevices = $excludedMobileDevices; @@ -41,7 +41,7 @@ public function getTargetedMobileDevices() * @param \Google\AdsApi\AdManager\v202502\Technology[]|null $targetedMobileDevices * @return \Google\AdsApi\AdManager\v202502\MobileDeviceTargeting */ - public function setTargetedMobileDevices(array $targetedMobileDevices = null) + public function setTargetedMobileDevices(?array $targetedMobileDevices = null) { $this->targetedMobileDevices = $targetedMobileDevices; return $this; @@ -59,7 +59,7 @@ public function getExcludedMobileDevices() * @param \Google\AdsApi\AdManager\v202502\Technology[]|null $excludedMobileDevices * @return \Google\AdsApi\AdManager\v202502\MobileDeviceTargeting */ - public function setExcludedMobileDevices(array $excludedMobileDevices = null) + public function setExcludedMobileDevices(?array $excludedMobileDevices = null) { $this->excludedMobileDevices = $excludedMobileDevices; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/NativeStyleError.php b/src/Google/AdsApi/AdManager/v202502/NativeStyleError.php index 44cd4dc81..1e81d651d 100644 --- a/src/Google/AdsApi/AdManager/v202502/NativeStyleError.php +++ b/src/Google/AdsApi/AdManager/v202502/NativeStyleError.php @@ -21,7 +21,7 @@ class NativeStyleError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/NativeStylePage.php b/src/Google/AdsApi/AdManager/v202502/NativeStylePage.php index 924df6316..75d494d02 100644 --- a/src/Google/AdsApi/AdManager/v202502/NativeStylePage.php +++ b/src/Google/AdsApi/AdManager/v202502/NativeStylePage.php @@ -29,7 +29,7 @@ class NativeStylePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\NativeStyle[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\NativeStyle[]|null $results * @return \Google\AdsApi\AdManager\v202502\NativeStylePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/Network.php b/src/Google/AdsApi/AdManager/v202502/Network.php index 5c62b66be..ef527a55b 100644 --- a/src/Google/AdsApi/AdManager/v202502/Network.php +++ b/src/Google/AdsApi/AdManager/v202502/Network.php @@ -65,7 +65,7 @@ class Network * @param string $effectiveRootAdUnitId * @param boolean $isTest */ - public function __construct($id = null, $displayName = null, $networkCode = null, $propertyCode = null, $timeZone = null, $currencyCode = null, array $secondaryCurrencyCodes = null, $effectiveRootAdUnitId = null, $isTest = null) + public function __construct($id = null, $displayName = null, $networkCode = null, $propertyCode = null, $timeZone = null, $currencyCode = null, ?array $secondaryCurrencyCodes = null, $effectiveRootAdUnitId = null, $isTest = null) { $this->id = $id; $this->displayName = $displayName; @@ -199,7 +199,7 @@ public function getSecondaryCurrencyCodes() * @param string[]|null $secondaryCurrencyCodes * @return \Google\AdsApi\AdManager\v202502\Network */ - public function setSecondaryCurrencyCodes(array $secondaryCurrencyCodes = null) + public function setSecondaryCurrencyCodes(?array $secondaryCurrencyCodes = null) { $this->secondaryCurrencyCodes = $secondaryCurrencyCodes; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/NetworkError.php b/src/Google/AdsApi/AdManager/v202502/NetworkError.php index b8aa50922..832f47268 100644 --- a/src/Google/AdsApi/AdManager/v202502/NetworkError.php +++ b/src/Google/AdsApi/AdManager/v202502/NetworkError.php @@ -21,7 +21,7 @@ class NetworkError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/NonRuleBasedFirstPartyAudienceSegment.php b/src/Google/AdsApi/AdManager/v202502/NonRuleBasedFirstPartyAudienceSegment.php index 1707ee565..393597756 100644 --- a/src/Google/AdsApi/AdManager/v202502/NonRuleBasedFirstPartyAudienceSegment.php +++ b/src/Google/AdsApi/AdManager/v202502/NonRuleBasedFirstPartyAudienceSegment.php @@ -29,7 +29,7 @@ class NonRuleBasedFirstPartyAudienceSegment extends \Google\AdsApi\AdManager\v20 * @param string $type * @param int $membershipExpirationDays */ - public function __construct($id = null, $name = null, array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null, $membershipExpirationDays = null) + public function __construct($id = null, $name = null, ?array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null, $membershipExpirationDays = null) { parent::__construct($id, $name, $categoryIds, $description, $status, $size, $mobileWebSize, $idfaSize, $adIdSize, $ppidSize, $dataProvider, $type); $this->membershipExpirationDays = $membershipExpirationDays; diff --git a/src/Google/AdsApi/AdManager/v202502/NotNullError.php b/src/Google/AdsApi/AdManager/v202502/NotNullError.php index 17a9b0faa..8cba0807a 100644 --- a/src/Google/AdsApi/AdManager/v202502/NotNullError.php +++ b/src/Google/AdsApi/AdManager/v202502/NotNullError.php @@ -21,7 +21,7 @@ class NotNullError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/NullError.php b/src/Google/AdsApi/AdManager/v202502/NullError.php index 5b13ffba3..5d1e08848 100644 --- a/src/Google/AdsApi/AdManager/v202502/NullError.php +++ b/src/Google/AdsApi/AdManager/v202502/NullError.php @@ -21,7 +21,7 @@ class NullError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/OperatingSystemTargeting.php b/src/Google/AdsApi/AdManager/v202502/OperatingSystemTargeting.php index b4792eb3e..0ec6147bf 100644 --- a/src/Google/AdsApi/AdManager/v202502/OperatingSystemTargeting.php +++ b/src/Google/AdsApi/AdManager/v202502/OperatingSystemTargeting.php @@ -23,7 +23,7 @@ class OperatingSystemTargeting * @param boolean $isTargeted * @param \Google\AdsApi\AdManager\v202502\Technology[] $operatingSystems */ - public function __construct($isTargeted = null, array $operatingSystems = null) + public function __construct($isTargeted = null, ?array $operatingSystems = null) { $this->isTargeted = $isTargeted; $this->operatingSystems = $operatingSystems; @@ -59,7 +59,7 @@ public function getOperatingSystems() * @param \Google\AdsApi\AdManager\v202502\Technology[]|null $operatingSystems * @return \Google\AdsApi\AdManager\v202502\OperatingSystemTargeting */ - public function setOperatingSystems(array $operatingSystems = null) + public function setOperatingSystems(?array $operatingSystems = null) { $this->operatingSystems = $operatingSystems; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/OperatingSystemVersionTargeting.php b/src/Google/AdsApi/AdManager/v202502/OperatingSystemVersionTargeting.php index d88a0cb4f..8f6c63e33 100644 --- a/src/Google/AdsApi/AdManager/v202502/OperatingSystemVersionTargeting.php +++ b/src/Google/AdsApi/AdManager/v202502/OperatingSystemVersionTargeting.php @@ -23,7 +23,7 @@ class OperatingSystemVersionTargeting * @param \Google\AdsApi\AdManager\v202502\Technology[] $targetedOperatingSystemVersions * @param \Google\AdsApi\AdManager\v202502\Technology[] $excludedOperatingSystemVersions */ - public function __construct(array $targetedOperatingSystemVersions = null, array $excludedOperatingSystemVersions = null) + public function __construct(?array $targetedOperatingSystemVersions = null, ?array $excludedOperatingSystemVersions = null) { $this->targetedOperatingSystemVersions = $targetedOperatingSystemVersions; $this->excludedOperatingSystemVersions = $excludedOperatingSystemVersions; @@ -41,7 +41,7 @@ public function getTargetedOperatingSystemVersions() * @param \Google\AdsApi\AdManager\v202502\Technology[]|null $targetedOperatingSystemVersions * @return \Google\AdsApi\AdManager\v202502\OperatingSystemVersionTargeting */ - public function setTargetedOperatingSystemVersions(array $targetedOperatingSystemVersions = null) + public function setTargetedOperatingSystemVersions(?array $targetedOperatingSystemVersions = null) { $this->targetedOperatingSystemVersions = $targetedOperatingSystemVersions; return $this; @@ -59,7 +59,7 @@ public function getExcludedOperatingSystemVersions() * @param \Google\AdsApi\AdManager\v202502\Technology[]|null $excludedOperatingSystemVersions * @return \Google\AdsApi\AdManager\v202502\OperatingSystemVersionTargeting */ - public function setExcludedOperatingSystemVersions(array $excludedOperatingSystemVersions = null) + public function setExcludedOperatingSystemVersions(?array $excludedOperatingSystemVersions = null) { $this->excludedOperatingSystemVersions = $excludedOperatingSystemVersions; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/Order.php b/src/Google/AdsApi/AdManager/v202502/Order.php index 9f595875a..1177120fe 100644 --- a/src/Google/AdsApi/AdManager/v202502/Order.php +++ b/src/Google/AdsApi/AdManager/v202502/Order.php @@ -197,7 +197,7 @@ class Order * @param \Google\AdsApi\AdManager\v202502\DateTime $lastModifiedDateTime * @param \Google\AdsApi\AdManager\v202502\BaseCustomFieldValue[] $customFieldValues */ - public function __construct($id = null, $name = null, $startDateTime = null, $endDateTime = null, $unlimitedEndDateTime = null, $status = null, $isArchived = null, $notes = null, $externalOrderId = null, $poNumber = null, $currencyCode = null, $advertiserId = null, array $advertiserContactIds = null, $agencyId = null, array $agencyContactIds = null, $creatorId = null, $traffickerId = null, array $secondaryTraffickerIds = null, $salespersonId = null, array $secondarySalespersonIds = null, $totalImpressionsDelivered = null, $totalClicksDelivered = null, $totalViewableImpressionsDelivered = null, $totalBudget = null, array $appliedLabels = null, array $effectiveAppliedLabels = null, $lastModifiedByApp = null, $isProgrammatic = null, array $appliedTeamIds = null, $lastModifiedDateTime = null, array $customFieldValues = null) + public function __construct($id = null, $name = null, $startDateTime = null, $endDateTime = null, $unlimitedEndDateTime = null, $status = null, $isArchived = null, $notes = null, $externalOrderId = null, $poNumber = null, $currencyCode = null, $advertiserId = null, ?array $advertiserContactIds = null, $agencyId = null, ?array $agencyContactIds = null, $creatorId = null, $traffickerId = null, ?array $secondaryTraffickerIds = null, $salespersonId = null, ?array $secondarySalespersonIds = null, $totalImpressionsDelivered = null, $totalClicksDelivered = null, $totalViewableImpressionsDelivered = null, $totalBudget = null, ?array $appliedLabels = null, ?array $effectiveAppliedLabels = null, $lastModifiedByApp = null, $isProgrammatic = null, ?array $appliedTeamIds = null, $lastModifiedDateTime = null, ?array $customFieldValues = null) { $this->id = $id; $this->name = $name; @@ -462,7 +462,7 @@ public function getAdvertiserContactIds() * @param int[]|null $advertiserContactIds * @return \Google\AdsApi\AdManager\v202502\Order */ - public function setAdvertiserContactIds(array $advertiserContactIds = null) + public function setAdvertiserContactIds(?array $advertiserContactIds = null) { $this->advertiserContactIds = $advertiserContactIds; return $this; @@ -499,7 +499,7 @@ public function getAgencyContactIds() * @param int[]|null $agencyContactIds * @return \Google\AdsApi\AdManager\v202502\Order */ - public function setAgencyContactIds(array $agencyContactIds = null) + public function setAgencyContactIds(?array $agencyContactIds = null) { $this->agencyContactIds = $agencyContactIds; return $this; @@ -555,7 +555,7 @@ public function getSecondaryTraffickerIds() * @param int[]|null $secondaryTraffickerIds * @return \Google\AdsApi\AdManager\v202502\Order */ - public function setSecondaryTraffickerIds(array $secondaryTraffickerIds = null) + public function setSecondaryTraffickerIds(?array $secondaryTraffickerIds = null) { $this->secondaryTraffickerIds = $secondaryTraffickerIds; return $this; @@ -592,7 +592,7 @@ public function getSecondarySalespersonIds() * @param int[]|null $secondarySalespersonIds * @return \Google\AdsApi\AdManager\v202502\Order */ - public function setSecondarySalespersonIds(array $secondarySalespersonIds = null) + public function setSecondarySalespersonIds(?array $secondarySalespersonIds = null) { $this->secondarySalespersonIds = $secondarySalespersonIds; return $this; @@ -685,7 +685,7 @@ public function getAppliedLabels() * @param \Google\AdsApi\AdManager\v202502\AppliedLabel[]|null $appliedLabels * @return \Google\AdsApi\AdManager\v202502\Order */ - public function setAppliedLabels(array $appliedLabels = null) + public function setAppliedLabels(?array $appliedLabels = null) { $this->appliedLabels = $appliedLabels; return $this; @@ -703,7 +703,7 @@ public function getEffectiveAppliedLabels() * @param \Google\AdsApi\AdManager\v202502\AppliedLabel[]|null $effectiveAppliedLabels * @return \Google\AdsApi\AdManager\v202502\Order */ - public function setEffectiveAppliedLabels(array $effectiveAppliedLabels = null) + public function setEffectiveAppliedLabels(?array $effectiveAppliedLabels = null) { $this->effectiveAppliedLabels = $effectiveAppliedLabels; return $this; @@ -757,7 +757,7 @@ public function getAppliedTeamIds() * @param int[]|null $appliedTeamIds * @return \Google\AdsApi\AdManager\v202502\Order */ - public function setAppliedTeamIds(array $appliedTeamIds = null) + public function setAppliedTeamIds(?array $appliedTeamIds = null) { $this->appliedTeamIds = $appliedTeamIds; return $this; @@ -793,7 +793,7 @@ public function getCustomFieldValues() * @param \Google\AdsApi\AdManager\v202502\BaseCustomFieldValue[]|null $customFieldValues * @return \Google\AdsApi\AdManager\v202502\Order */ - public function setCustomFieldValues(array $customFieldValues = null) + public function setCustomFieldValues(?array $customFieldValues = null) { $this->customFieldValues = $customFieldValues; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/OrderActionError.php b/src/Google/AdsApi/AdManager/v202502/OrderActionError.php index db1f6693e..1e769abdc 100644 --- a/src/Google/AdsApi/AdManager/v202502/OrderActionError.php +++ b/src/Google/AdsApi/AdManager/v202502/OrderActionError.php @@ -21,7 +21,7 @@ class OrderActionError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/OrderError.php b/src/Google/AdsApi/AdManager/v202502/OrderError.php index bfb0f1ef5..6062c0806 100644 --- a/src/Google/AdsApi/AdManager/v202502/OrderError.php +++ b/src/Google/AdsApi/AdManager/v202502/OrderError.php @@ -21,7 +21,7 @@ class OrderError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/OrderPage.php b/src/Google/AdsApi/AdManager/v202502/OrderPage.php index 054c6c084..dcec11dd3 100644 --- a/src/Google/AdsApi/AdManager/v202502/OrderPage.php +++ b/src/Google/AdsApi/AdManager/v202502/OrderPage.php @@ -29,7 +29,7 @@ class OrderPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\Order[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\Order[]|null $results * @return \Google\AdsApi\AdManager\v202502\OrderPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/ParseError.php b/src/Google/AdsApi/AdManager/v202502/ParseError.php index 75d92264c..e4f61b684 100644 --- a/src/Google/AdsApi/AdManager/v202502/ParseError.php +++ b/src/Google/AdsApi/AdManager/v202502/ParseError.php @@ -21,7 +21,7 @@ class ParseError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/PermissionError.php b/src/Google/AdsApi/AdManager/v202502/PermissionError.php index 2c1439d7d..a4ec32aef 100644 --- a/src/Google/AdsApi/AdManager/v202502/PermissionError.php +++ b/src/Google/AdsApi/AdManager/v202502/PermissionError.php @@ -21,7 +21,7 @@ class PermissionError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/Placement.php b/src/Google/AdsApi/AdManager/v202502/Placement.php index 676d325c4..935bb75a8 100644 --- a/src/Google/AdsApi/AdManager/v202502/Placement.php +++ b/src/Google/AdsApi/AdManager/v202502/Placement.php @@ -53,7 +53,7 @@ class Placement extends \Google\AdsApi\AdManager\v202502\SiteTargetingInfo * @param string[] $targetedAdUnitIds * @param \Google\AdsApi\AdManager\v202502\DateTime $lastModifiedDateTime */ - public function __construct($id = null, $name = null, $description = null, $placementCode = null, $status = null, array $targetedAdUnitIds = null, $lastModifiedDateTime = null) + public function __construct($id = null, $name = null, $description = null, $placementCode = null, $status = null, ?array $targetedAdUnitIds = null, $lastModifiedDateTime = null) { $this->id = $id; $this->name = $name; @@ -167,7 +167,7 @@ public function getTargetedAdUnitIds() * @param string[]|null $targetedAdUnitIds * @return \Google\AdsApi\AdManager\v202502\Placement */ - public function setTargetedAdUnitIds(array $targetedAdUnitIds = null) + public function setTargetedAdUnitIds(?array $targetedAdUnitIds = null) { $this->targetedAdUnitIds = $targetedAdUnitIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/PlacementError.php b/src/Google/AdsApi/AdManager/v202502/PlacementError.php index 70cd28857..f9ecd6ee3 100644 --- a/src/Google/AdsApi/AdManager/v202502/PlacementError.php +++ b/src/Google/AdsApi/AdManager/v202502/PlacementError.php @@ -21,7 +21,7 @@ class PlacementError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/PlacementPage.php b/src/Google/AdsApi/AdManager/v202502/PlacementPage.php index f28bde3a3..56fcebc43 100644 --- a/src/Google/AdsApi/AdManager/v202502/PlacementPage.php +++ b/src/Google/AdsApi/AdManager/v202502/PlacementPage.php @@ -29,7 +29,7 @@ class PlacementPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\Placement[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\Placement[]|null $results * @return \Google\AdsApi\AdManager\v202502\PlacementPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/PoddingError.php b/src/Google/AdsApi/AdManager/v202502/PoddingError.php index 5c5965b19..613369b9b 100644 --- a/src/Google/AdsApi/AdManager/v202502/PoddingError.php +++ b/src/Google/AdsApi/AdManager/v202502/PoddingError.php @@ -21,7 +21,7 @@ class PoddingError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/PrecisionError.php b/src/Google/AdsApi/AdManager/v202502/PrecisionError.php index 27261b456..92cef9d8d 100644 --- a/src/Google/AdsApi/AdManager/v202502/PrecisionError.php +++ b/src/Google/AdsApi/AdManager/v202502/PrecisionError.php @@ -21,7 +21,7 @@ class PrecisionError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/PreferredDealError.php b/src/Google/AdsApi/AdManager/v202502/PreferredDealError.php index 6afcc656c..bff7d0cee 100644 --- a/src/Google/AdsApi/AdManager/v202502/PreferredDealError.php +++ b/src/Google/AdsApi/AdManager/v202502/PreferredDealError.php @@ -21,7 +21,7 @@ class PreferredDealError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/ProgrammaticCreative.php b/src/Google/AdsApi/AdManager/v202502/ProgrammaticCreative.php index 64db53fbe..dbcbbbf72 100644 --- a/src/Google/AdsApi/AdManager/v202502/ProgrammaticCreative.php +++ b/src/Google/AdsApi/AdManager/v202502/ProgrammaticCreative.php @@ -22,7 +22,7 @@ class ProgrammaticCreative extends \Google\AdsApi\AdManager\v202502\Creative * @param \Google\AdsApi\AdManager\v202502\ThirdPartyDataDeclaration $thirdPartyDataDeclaration * @param boolean $adBadgingEnabled */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled); } diff --git a/src/Google/AdsApi/AdManager/v202502/ProgrammaticError.php b/src/Google/AdsApi/AdManager/v202502/ProgrammaticError.php index 15265c84a..4fed9b0b9 100644 --- a/src/Google/AdsApi/AdManager/v202502/ProgrammaticError.php +++ b/src/Google/AdsApi/AdManager/v202502/ProgrammaticError.php @@ -21,7 +21,7 @@ class ProgrammaticError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/Proposal.php b/src/Google/AdsApi/AdManager/v202502/Proposal.php index 7a33fe996..8dba50212 100644 --- a/src/Google/AdsApi/AdManager/v202502/Proposal.php +++ b/src/Google/AdsApi/AdManager/v202502/Proposal.php @@ -167,7 +167,7 @@ class Proposal * @param boolean $hasBuyerRfp * @param boolean $deliveryPausingEnabled */ - public function __construct($id = null, $isProgrammatic = null, $dfpOrderId = null, $name = null, $startDateTime = null, $endDateTime = null, $status = null, $isArchived = null, $advertiser = null, array $agencies = null, $internalNotes = null, $primarySalesperson = null, array $salesPlannerIds = null, $primaryTraffickerId = null, array $sellerContactIds = null, array $appliedTeamIds = null, array $customFieldValues = null, array $appliedLabels = null, array $effectiveAppliedLabels = null, $currencyCode = null, $isSold = null, $lastModifiedDateTime = null, $marketplaceInfo = null, $buyerRfp = null, $hasBuyerRfp = null, $deliveryPausingEnabled = null) + public function __construct($id = null, $isProgrammatic = null, $dfpOrderId = null, $name = null, $startDateTime = null, $endDateTime = null, $status = null, $isArchived = null, $advertiser = null, ?array $agencies = null, $internalNotes = null, $primarySalesperson = null, ?array $salesPlannerIds = null, $primaryTraffickerId = null, ?array $sellerContactIds = null, ?array $appliedTeamIds = null, ?array $customFieldValues = null, ?array $appliedLabels = null, ?array $effectiveAppliedLabels = null, $currencyCode = null, $isSold = null, $lastModifiedDateTime = null, $marketplaceInfo = null, $buyerRfp = null, $hasBuyerRfp = null, $deliveryPausingEnabled = null) { $this->id = $id; $this->isProgrammatic = $isProgrammatic; @@ -373,7 +373,7 @@ public function getAgencies() * @param \Google\AdsApi\AdManager\v202502\ProposalCompanyAssociation[]|null $agencies * @return \Google\AdsApi\AdManager\v202502\Proposal */ - public function setAgencies(array $agencies = null) + public function setAgencies(?array $agencies = null) { $this->agencies = $agencies; return $this; @@ -427,7 +427,7 @@ public function getSalesPlannerIds() * @param int[]|null $salesPlannerIds * @return \Google\AdsApi\AdManager\v202502\Proposal */ - public function setSalesPlannerIds(array $salesPlannerIds = null) + public function setSalesPlannerIds(?array $salesPlannerIds = null) { $this->salesPlannerIds = $salesPlannerIds; return $this; @@ -464,7 +464,7 @@ public function getSellerContactIds() * @param int[]|null $sellerContactIds * @return \Google\AdsApi\AdManager\v202502\Proposal */ - public function setSellerContactIds(array $sellerContactIds = null) + public function setSellerContactIds(?array $sellerContactIds = null) { $this->sellerContactIds = $sellerContactIds; return $this; @@ -482,7 +482,7 @@ public function getAppliedTeamIds() * @param int[]|null $appliedTeamIds * @return \Google\AdsApi\AdManager\v202502\Proposal */ - public function setAppliedTeamIds(array $appliedTeamIds = null) + public function setAppliedTeamIds(?array $appliedTeamIds = null) { $this->appliedTeamIds = $appliedTeamIds; return $this; @@ -500,7 +500,7 @@ public function getCustomFieldValues() * @param \Google\AdsApi\AdManager\v202502\BaseCustomFieldValue[]|null $customFieldValues * @return \Google\AdsApi\AdManager\v202502\Proposal */ - public function setCustomFieldValues(array $customFieldValues = null) + public function setCustomFieldValues(?array $customFieldValues = null) { $this->customFieldValues = $customFieldValues; return $this; @@ -518,7 +518,7 @@ public function getAppliedLabels() * @param \Google\AdsApi\AdManager\v202502\AppliedLabel[]|null $appliedLabels * @return \Google\AdsApi\AdManager\v202502\Proposal */ - public function setAppliedLabels(array $appliedLabels = null) + public function setAppliedLabels(?array $appliedLabels = null) { $this->appliedLabels = $appliedLabels; return $this; @@ -536,7 +536,7 @@ public function getEffectiveAppliedLabels() * @param \Google\AdsApi\AdManager\v202502\AppliedLabel[]|null $effectiveAppliedLabels * @return \Google\AdsApi\AdManager\v202502\Proposal */ - public function setEffectiveAppliedLabels(array $effectiveAppliedLabels = null) + public function setEffectiveAppliedLabels(?array $effectiveAppliedLabels = null) { $this->effectiveAppliedLabels = $effectiveAppliedLabels; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/ProposalActionError.php b/src/Google/AdsApi/AdManager/v202502/ProposalActionError.php index 6c4f4a5cc..4a70ee997 100644 --- a/src/Google/AdsApi/AdManager/v202502/ProposalActionError.php +++ b/src/Google/AdsApi/AdManager/v202502/ProposalActionError.php @@ -21,7 +21,7 @@ class ProposalActionError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/ProposalCompanyAssociation.php b/src/Google/AdsApi/AdManager/v202502/ProposalCompanyAssociation.php index 0e767d8a6..88740fcdc 100644 --- a/src/Google/AdsApi/AdManager/v202502/ProposalCompanyAssociation.php +++ b/src/Google/AdsApi/AdManager/v202502/ProposalCompanyAssociation.php @@ -29,7 +29,7 @@ class ProposalCompanyAssociation * @param string $type * @param int[] $contactIds */ - public function __construct($companyId = null, $type = null, array $contactIds = null) + public function __construct($companyId = null, $type = null, ?array $contactIds = null) { $this->companyId = $companyId; $this->type = $type; @@ -85,7 +85,7 @@ public function getContactIds() * @param int[]|null $contactIds * @return \Google\AdsApi\AdManager\v202502\ProposalCompanyAssociation */ - public function setContactIds(array $contactIds = null) + public function setContactIds(?array $contactIds = null) { $this->contactIds = $contactIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/ProposalError.php b/src/Google/AdsApi/AdManager/v202502/ProposalError.php index 2ed2a0230..12fa5841e 100644 --- a/src/Google/AdsApi/AdManager/v202502/ProposalError.php +++ b/src/Google/AdsApi/AdManager/v202502/ProposalError.php @@ -21,7 +21,7 @@ class ProposalError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/ProposalLineItem.php b/src/Google/AdsApi/AdManager/v202502/ProposalLineItem.php index 0c2cfe0a4..ae2de37db 100644 --- a/src/Google/AdsApi/AdManager/v202502/ProposalLineItem.php +++ b/src/Google/AdsApi/AdManager/v202502/ProposalLineItem.php @@ -293,7 +293,7 @@ class ProposalLineItem * @param string $pauseRole * @param string $pauseReason */ - public function __construct($id = null, $proposalId = null, $name = null, $startDateTime = null, $endDateTime = null, $internalNotes = null, $isArchived = null, $goal = null, array $secondaryGoals = null, $contractedUnitsBought = null, $deliveryRateType = null, $roadblockingType = null, $companionDeliveryOption = null, $videoMaxDuration = null, $videoCreativeSkippableAdType = null, array $frequencyCaps = null, $dfpLineItemId = null, $lineItemType = null, $lineItemPriority = null, $rateType = null, array $creativePlaceholders = null, $targeting = null, array $customFieldValues = null, array $appliedLabels = null, array $effectiveAppliedLabels = null, $disableSameAdvertiserCompetitiveExclusion = null, $isSold = null, $netRate = null, $netCost = null, $deliveryIndicator = null, $deliveryData = null, $computedStatus = null, $lastModifiedDateTime = null, $reservationStatus = null, $lastReservationDateTime = null, $environmentType = null, array $allowedFormats = null, $additionalTerms = null, $programmaticCreativeSource = null, $grpSettings = null, $estimatedMinimumImpressions = null, $thirdPartyMeasurementSettings = null, $makegoodInfo = null, $hasMakegood = null, $canCreateMakegood = null, $pauseRole = null, $pauseReason = null) + public function __construct($id = null, $proposalId = null, $name = null, $startDateTime = null, $endDateTime = null, $internalNotes = null, $isArchived = null, $goal = null, ?array $secondaryGoals = null, $contractedUnitsBought = null, $deliveryRateType = null, $roadblockingType = null, $companionDeliveryOption = null, $videoMaxDuration = null, $videoCreativeSkippableAdType = null, ?array $frequencyCaps = null, $dfpLineItemId = null, $lineItemType = null, $lineItemPriority = null, $rateType = null, ?array $creativePlaceholders = null, $targeting = null, ?array $customFieldValues = null, ?array $appliedLabels = null, ?array $effectiveAppliedLabels = null, $disableSameAdvertiserCompetitiveExclusion = null, $isSold = null, $netRate = null, $netCost = null, $deliveryIndicator = null, $deliveryData = null, $computedStatus = null, $lastModifiedDateTime = null, $reservationStatus = null, $lastReservationDateTime = null, $environmentType = null, ?array $allowedFormats = null, $additionalTerms = null, $programmaticCreativeSource = null, $grpSettings = null, $estimatedMinimumImpressions = null, $thirdPartyMeasurementSettings = null, $makegoodInfo = null, $hasMakegood = null, $canCreateMakegood = null, $pauseRole = null, $pauseReason = null) { $this->id = $id; $this->proposalId = $proposalId; @@ -502,7 +502,7 @@ public function getSecondaryGoals() * @param \Google\AdsApi\AdManager\v202502\Goal[]|null $secondaryGoals * @return \Google\AdsApi\AdManager\v202502\ProposalLineItem */ - public function setSecondaryGoals(array $secondaryGoals = null) + public function setSecondaryGoals(?array $secondaryGoals = null) { $this->secondaryGoals = $secondaryGoals; return $this; @@ -630,7 +630,7 @@ public function getFrequencyCaps() * @param \Google\AdsApi\AdManager\v202502\FrequencyCap[]|null $frequencyCaps * @return \Google\AdsApi\AdManager\v202502\ProposalLineItem */ - public function setFrequencyCaps(array $frequencyCaps = null) + public function setFrequencyCaps(?array $frequencyCaps = null) { $this->frequencyCaps = $frequencyCaps; return $this; @@ -721,7 +721,7 @@ public function getCreativePlaceholders() * @param \Google\AdsApi\AdManager\v202502\CreativePlaceholder[]|null $creativePlaceholders * @return \Google\AdsApi\AdManager\v202502\ProposalLineItem */ - public function setCreativePlaceholders(array $creativePlaceholders = null) + public function setCreativePlaceholders(?array $creativePlaceholders = null) { $this->creativePlaceholders = $creativePlaceholders; return $this; @@ -757,7 +757,7 @@ public function getCustomFieldValues() * @param \Google\AdsApi\AdManager\v202502\BaseCustomFieldValue[]|null $customFieldValues * @return \Google\AdsApi\AdManager\v202502\ProposalLineItem */ - public function setCustomFieldValues(array $customFieldValues = null) + public function setCustomFieldValues(?array $customFieldValues = null) { $this->customFieldValues = $customFieldValues; return $this; @@ -775,7 +775,7 @@ public function getAppliedLabels() * @param \Google\AdsApi\AdManager\v202502\AppliedLabel[]|null $appliedLabels * @return \Google\AdsApi\AdManager\v202502\ProposalLineItem */ - public function setAppliedLabels(array $appliedLabels = null) + public function setAppliedLabels(?array $appliedLabels = null) { $this->appliedLabels = $appliedLabels; return $this; @@ -793,7 +793,7 @@ public function getEffectiveAppliedLabels() * @param \Google\AdsApi\AdManager\v202502\AppliedLabel[]|null $effectiveAppliedLabels * @return \Google\AdsApi\AdManager\v202502\ProposalLineItem */ - public function setEffectiveAppliedLabels(array $effectiveAppliedLabels = null) + public function setEffectiveAppliedLabels(?array $effectiveAppliedLabels = null) { $this->effectiveAppliedLabels = $effectiveAppliedLabels; return $this; @@ -1009,7 +1009,7 @@ public function getAllowedFormats() * @param string[]|null $allowedFormats * @return \Google\AdsApi\AdManager\v202502\ProposalLineItem */ - public function setAllowedFormats(array $allowedFormats = null) + public function setAllowedFormats(?array $allowedFormats = null) { $this->allowedFormats = $allowedFormats; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/ProposalLineItemActionError.php b/src/Google/AdsApi/AdManager/v202502/ProposalLineItemActionError.php index 9844752e6..191912f48 100644 --- a/src/Google/AdsApi/AdManager/v202502/ProposalLineItemActionError.php +++ b/src/Google/AdsApi/AdManager/v202502/ProposalLineItemActionError.php @@ -21,7 +21,7 @@ class ProposalLineItemActionError extends \Google\AdsApi\AdManager\v202502\ApiEr * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/ProposalLineItemError.php b/src/Google/AdsApi/AdManager/v202502/ProposalLineItemError.php index fd30e3a91..327a8e4dd 100644 --- a/src/Google/AdsApi/AdManager/v202502/ProposalLineItemError.php +++ b/src/Google/AdsApi/AdManager/v202502/ProposalLineItemError.php @@ -21,7 +21,7 @@ class ProposalLineItemError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/ProposalLineItemMakegoodError.php b/src/Google/AdsApi/AdManager/v202502/ProposalLineItemMakegoodError.php index 45cc77b80..2579127a9 100644 --- a/src/Google/AdsApi/AdManager/v202502/ProposalLineItemMakegoodError.php +++ b/src/Google/AdsApi/AdManager/v202502/ProposalLineItemMakegoodError.php @@ -21,7 +21,7 @@ class ProposalLineItemMakegoodError extends \Google\AdsApi\AdManager\v202502\Api * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/ProposalLineItemPage.php b/src/Google/AdsApi/AdManager/v202502/ProposalLineItemPage.php index acf6c3297..4ca04bfa2 100644 --- a/src/Google/AdsApi/AdManager/v202502/ProposalLineItemPage.php +++ b/src/Google/AdsApi/AdManager/v202502/ProposalLineItemPage.php @@ -29,7 +29,7 @@ class ProposalLineItemPage * @param int $startIndex * @param int $totalResultSetSize */ - public function __construct(array $results = null, $startIndex = null, $totalResultSetSize = null) + public function __construct(?array $results = null, $startIndex = null, $totalResultSetSize = null) { $this->results = $results; $this->startIndex = $startIndex; @@ -48,7 +48,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\ProposalLineItem[]|null $results * @return \Google\AdsApi\AdManager\v202502\ProposalLineItemPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/ProposalLineItemProgrammaticError.php b/src/Google/AdsApi/AdManager/v202502/ProposalLineItemProgrammaticError.php index ff2bee54e..37ca4d7ee 100644 --- a/src/Google/AdsApi/AdManager/v202502/ProposalLineItemProgrammaticError.php +++ b/src/Google/AdsApi/AdManager/v202502/ProposalLineItemProgrammaticError.php @@ -21,7 +21,7 @@ class ProposalLineItemProgrammaticError extends \Google\AdsApi\AdManager\v202502 * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/ProposalPage.php b/src/Google/AdsApi/AdManager/v202502/ProposalPage.php index e79918846..a5f9b92d1 100644 --- a/src/Google/AdsApi/AdManager/v202502/ProposalPage.php +++ b/src/Google/AdsApi/AdManager/v202502/ProposalPage.php @@ -29,7 +29,7 @@ class ProposalPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\Proposal[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\Proposal[]|null $results * @return \Google\AdsApi\AdManager\v202502\ProposalPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/PublisherQueryLanguageContextError.php b/src/Google/AdsApi/AdManager/v202502/PublisherQueryLanguageContextError.php index efb810731..3fb14381a 100644 --- a/src/Google/AdsApi/AdManager/v202502/PublisherQueryLanguageContextError.php +++ b/src/Google/AdsApi/AdManager/v202502/PublisherQueryLanguageContextError.php @@ -21,7 +21,7 @@ class PublisherQueryLanguageContextError extends \Google\AdsApi\AdManager\v20250 * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/PublisherQueryLanguageSyntaxError.php b/src/Google/AdsApi/AdManager/v202502/PublisherQueryLanguageSyntaxError.php index 43863467d..de9543f94 100644 --- a/src/Google/AdsApi/AdManager/v202502/PublisherQueryLanguageSyntaxError.php +++ b/src/Google/AdsApi/AdManager/v202502/PublisherQueryLanguageSyntaxError.php @@ -21,7 +21,7 @@ class PublisherQueryLanguageSyntaxError extends \Google\AdsApi\AdManager\v202502 * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/QuotaError.php b/src/Google/AdsApi/AdManager/v202502/QuotaError.php index 7e832ccef..cf3191741 100644 --- a/src/Google/AdsApi/AdManager/v202502/QuotaError.php +++ b/src/Google/AdsApi/AdManager/v202502/QuotaError.php @@ -21,7 +21,7 @@ class QuotaError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/RangeError.php b/src/Google/AdsApi/AdManager/v202502/RangeError.php index ea9624807..8c440bf63 100644 --- a/src/Google/AdsApi/AdManager/v202502/RangeError.php +++ b/src/Google/AdsApi/AdManager/v202502/RangeError.php @@ -21,7 +21,7 @@ class RangeError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/RegExError.php b/src/Google/AdsApi/AdManager/v202502/RegExError.php index 9a901bb84..bb2b1243c 100644 --- a/src/Google/AdsApi/AdManager/v202502/RegExError.php +++ b/src/Google/AdsApi/AdManager/v202502/RegExError.php @@ -21,7 +21,7 @@ class RegExError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/ReportError.php b/src/Google/AdsApi/AdManager/v202502/ReportError.php index fcd164622..35e9bc0c1 100644 --- a/src/Google/AdsApi/AdManager/v202502/ReportError.php +++ b/src/Google/AdsApi/AdManager/v202502/ReportError.php @@ -21,7 +21,7 @@ class ReportError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/ReportQuery.php b/src/Google/AdsApi/AdManager/v202502/ReportQuery.php index db91895b0..f18055971 100644 --- a/src/Google/AdsApi/AdManager/v202502/ReportQuery.php +++ b/src/Google/AdsApi/AdManager/v202502/ReportQuery.php @@ -89,7 +89,7 @@ class ReportQuery * @param string $reportCurrency * @param string $timeZoneType */ - public function __construct(array $dimensions = null, $adUnitView = null, array $columns = null, array $dimensionAttributes = null, array $customFieldIds = null, array $cmsMetadataKeyIds = null, array $customDimensionKeyIds = null, $startDate = null, $endDate = null, $dateRangeType = null, $statement = null, $reportCurrency = null, $timeZoneType = null) + public function __construct(?array $dimensions = null, $adUnitView = null, ?array $columns = null, ?array $dimensionAttributes = null, ?array $customFieldIds = null, ?array $cmsMetadataKeyIds = null, ?array $customDimensionKeyIds = null, $startDate = null, $endDate = null, $dateRangeType = null, $statement = null, $reportCurrency = null, $timeZoneType = null) { $this->dimensions = $dimensions; $this->adUnitView = $adUnitView; @@ -118,7 +118,7 @@ public function getDimensions() * @param string[]|null $dimensions * @return \Google\AdsApi\AdManager\v202502\ReportQuery */ - public function setDimensions(array $dimensions = null) + public function setDimensions(?array $dimensions = null) { $this->dimensions = $dimensions; return $this; @@ -154,7 +154,7 @@ public function getColumns() * @param string[]|null $columns * @return \Google\AdsApi\AdManager\v202502\ReportQuery */ - public function setColumns(array $columns = null) + public function setColumns(?array $columns = null) { $this->columns = $columns; return $this; @@ -172,7 +172,7 @@ public function getDimensionAttributes() * @param string[]|null $dimensionAttributes * @return \Google\AdsApi\AdManager\v202502\ReportQuery */ - public function setDimensionAttributes(array $dimensionAttributes = null) + public function setDimensionAttributes(?array $dimensionAttributes = null) { $this->dimensionAttributes = $dimensionAttributes; return $this; @@ -190,7 +190,7 @@ public function getCustomFieldIds() * @param int[]|null $customFieldIds * @return \Google\AdsApi\AdManager\v202502\ReportQuery */ - public function setCustomFieldIds(array $customFieldIds = null) + public function setCustomFieldIds(?array $customFieldIds = null) { $this->customFieldIds = $customFieldIds; return $this; @@ -208,7 +208,7 @@ public function getCmsMetadataKeyIds() * @param int[]|null $cmsMetadataKeyIds * @return \Google\AdsApi\AdManager\v202502\ReportQuery */ - public function setCmsMetadataKeyIds(array $cmsMetadataKeyIds = null) + public function setCmsMetadataKeyIds(?array $cmsMetadataKeyIds = null) { $this->cmsMetadataKeyIds = $cmsMetadataKeyIds; return $this; @@ -226,7 +226,7 @@ public function getCustomDimensionKeyIds() * @param int[]|null $customDimensionKeyIds * @return \Google\AdsApi\AdManager\v202502\ReportQuery */ - public function setCustomDimensionKeyIds(array $customDimensionKeyIds = null) + public function setCustomDimensionKeyIds(?array $customDimensionKeyIds = null) { $this->customDimensionKeyIds = $customDimensionKeyIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/RequestError.php b/src/Google/AdsApi/AdManager/v202502/RequestError.php index 0876b4369..e0e15755e 100644 --- a/src/Google/AdsApi/AdManager/v202502/RequestError.php +++ b/src/Google/AdsApi/AdManager/v202502/RequestError.php @@ -21,7 +21,7 @@ class RequestError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/RequestPlatformTargeting.php b/src/Google/AdsApi/AdManager/v202502/RequestPlatformTargeting.php index b329f7ef6..78da9e4fd 100644 --- a/src/Google/AdsApi/AdManager/v202502/RequestPlatformTargeting.php +++ b/src/Google/AdsApi/AdManager/v202502/RequestPlatformTargeting.php @@ -17,7 +17,7 @@ class RequestPlatformTargeting /** * @param string[] $targetedRequestPlatforms */ - public function __construct(array $targetedRequestPlatforms = null) + public function __construct(?array $targetedRequestPlatforms = null) { $this->targetedRequestPlatforms = $targetedRequestPlatforms; } @@ -34,7 +34,7 @@ public function getTargetedRequestPlatforms() * @param string[]|null $targetedRequestPlatforms * @return \Google\AdsApi\AdManager\v202502\RequestPlatformTargeting */ - public function setTargetedRequestPlatforms(array $targetedRequestPlatforms = null) + public function setTargetedRequestPlatforms(?array $targetedRequestPlatforms = null) { $this->targetedRequestPlatforms = $targetedRequestPlatforms; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/RequestPlatformTargetingError.php b/src/Google/AdsApi/AdManager/v202502/RequestPlatformTargetingError.php index b914260e4..0cb3c18d3 100644 --- a/src/Google/AdsApi/AdManager/v202502/RequestPlatformTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202502/RequestPlatformTargetingError.php @@ -21,7 +21,7 @@ class RequestPlatformTargetingError extends \Google\AdsApi\AdManager\v202502\Api * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/RequiredCollectionError.php b/src/Google/AdsApi/AdManager/v202502/RequiredCollectionError.php index 04345f427..8d87741fb 100644 --- a/src/Google/AdsApi/AdManager/v202502/RequiredCollectionError.php +++ b/src/Google/AdsApi/AdManager/v202502/RequiredCollectionError.php @@ -21,7 +21,7 @@ class RequiredCollectionError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/RequiredError.php b/src/Google/AdsApi/AdManager/v202502/RequiredError.php index 104ec458e..0c5a70641 100644 --- a/src/Google/AdsApi/AdManager/v202502/RequiredError.php +++ b/src/Google/AdsApi/AdManager/v202502/RequiredError.php @@ -21,7 +21,7 @@ class RequiredError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/RequiredNumberError.php b/src/Google/AdsApi/AdManager/v202502/RequiredNumberError.php index a74c47c91..dbdde61fd 100644 --- a/src/Google/AdsApi/AdManager/v202502/RequiredNumberError.php +++ b/src/Google/AdsApi/AdManager/v202502/RequiredNumberError.php @@ -21,7 +21,7 @@ class RequiredNumberError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/RequiredSizeError.php b/src/Google/AdsApi/AdManager/v202502/RequiredSizeError.php index dbe9079e9..59f1c6c6a 100644 --- a/src/Google/AdsApi/AdManager/v202502/RequiredSizeError.php +++ b/src/Google/AdsApi/AdManager/v202502/RequiredSizeError.php @@ -21,7 +21,7 @@ class RequiredSizeError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/ReservationDetailsError.php b/src/Google/AdsApi/AdManager/v202502/ReservationDetailsError.php index a88a45354..fe8d44d05 100644 --- a/src/Google/AdsApi/AdManager/v202502/ReservationDetailsError.php +++ b/src/Google/AdsApi/AdManager/v202502/ReservationDetailsError.php @@ -21,7 +21,7 @@ class ReservationDetailsError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/ResultSet.php b/src/Google/AdsApi/AdManager/v202502/ResultSet.php index 5fc13669b..aa1ca1899 100644 --- a/src/Google/AdsApi/AdManager/v202502/ResultSet.php +++ b/src/Google/AdsApi/AdManager/v202502/ResultSet.php @@ -23,7 +23,7 @@ class ResultSet * @param \Google\AdsApi\AdManager\v202502\ColumnType[] $columnTypes * @param \Google\AdsApi\AdManager\v202502\Row[] $rows */ - public function __construct(array $columnTypes = null, array $rows = null) + public function __construct(?array $columnTypes = null, ?array $rows = null) { $this->columnTypes = $columnTypes; $this->rows = $rows; @@ -41,7 +41,7 @@ public function getColumnTypes() * @param \Google\AdsApi\AdManager\v202502\ColumnType[]|null $columnTypes * @return \Google\AdsApi\AdManager\v202502\ResultSet */ - public function setColumnTypes(array $columnTypes = null) + public function setColumnTypes(?array $columnTypes = null) { $this->columnTypes = $columnTypes; return $this; @@ -59,7 +59,7 @@ public function getRows() * @param \Google\AdsApi\AdManager\v202502\Row[]|null $rows * @return \Google\AdsApi\AdManager\v202502\ResultSet */ - public function setRows(array $rows = null) + public function setRows(?array $rows = null) { $this->rows = $rows; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/RichMediaStudioCreative.php b/src/Google/AdsApi/AdManager/v202502/RichMediaStudioCreative.php index 0867b0b7a..2a65f5cd3 100644 --- a/src/Google/AdsApi/AdManager/v202502/RichMediaStudioCreative.php +++ b/src/Google/AdsApi/AdManager/v202502/RichMediaStudioCreative.php @@ -51,7 +51,7 @@ class RichMediaStudioCreative extends \Google\AdsApi\AdManager\v202502\BaseRichM * @param string $lockedOrientation * @param boolean $isInterstitial */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $studioCreativeId = null, $creativeFormat = null, $artworkType = null, $totalFileSize = null, array $adTagKeys = null, array $customKeyValues = null, $surveyUrl = null, $allImpressionsUrl = null, $richMediaImpressionsUrl = null, $backupImageImpressionsUrl = null, $overrideCss = null, $requiredFlashPluginVersion = null, $duration = null, $billingAttribute = null, array $richMediaStudioChildAssetProperties = null, $sslScanResult = null, $sslManualOverride = null, $lockedOrientation = null, $isInterstitial = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $studioCreativeId = null, $creativeFormat = null, $artworkType = null, $totalFileSize = null, ?array $adTagKeys = null, ?array $customKeyValues = null, $surveyUrl = null, $allImpressionsUrl = null, $richMediaImpressionsUrl = null, $backupImageImpressionsUrl = null, $overrideCss = null, $requiredFlashPluginVersion = null, $duration = null, $billingAttribute = null, ?array $richMediaStudioChildAssetProperties = null, $sslScanResult = null, $sslManualOverride = null, $lockedOrientation = null, $isInterstitial = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $studioCreativeId, $creativeFormat, $artworkType, $totalFileSize, $adTagKeys, $customKeyValues, $surveyUrl, $allImpressionsUrl, $richMediaImpressionsUrl, $backupImageImpressionsUrl, $overrideCss, $requiredFlashPluginVersion, $duration, $billingAttribute, $richMediaStudioChildAssetProperties, $sslScanResult, $sslManualOverride); $this->lockedOrientation = $lockedOrientation; diff --git a/src/Google/AdsApi/AdManager/v202502/RichMediaStudioCreativeError.php b/src/Google/AdsApi/AdManager/v202502/RichMediaStudioCreativeError.php index 8de373803..ada78d36b 100644 --- a/src/Google/AdsApi/AdManager/v202502/RichMediaStudioCreativeError.php +++ b/src/Google/AdsApi/AdManager/v202502/RichMediaStudioCreativeError.php @@ -21,7 +21,7 @@ class RichMediaStudioCreativeError extends \Google\AdsApi\AdManager\v202502\ApiE * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/Row.php b/src/Google/AdsApi/AdManager/v202502/Row.php index b565d0d5f..4d7048b15 100644 --- a/src/Google/AdsApi/AdManager/v202502/Row.php +++ b/src/Google/AdsApi/AdManager/v202502/Row.php @@ -17,7 +17,7 @@ class Row /** * @param \Google\AdsApi\AdManager\v202502\Value[] $values */ - public function __construct(array $values = null) + public function __construct(?array $values = null) { $this->values = $values; } @@ -34,7 +34,7 @@ public function getValues() * @param \Google\AdsApi\AdManager\v202502\Value[]|null $values * @return \Google\AdsApi\AdManager\v202502\Row */ - public function setValues(array $values = null) + public function setValues(?array $values = null) { $this->values = $values; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/RuleBasedFirstPartyAudienceSegment.php b/src/Google/AdsApi/AdManager/v202502/RuleBasedFirstPartyAudienceSegment.php index 4737e6fa2..6cd2c2ca9 100644 --- a/src/Google/AdsApi/AdManager/v202502/RuleBasedFirstPartyAudienceSegment.php +++ b/src/Google/AdsApi/AdManager/v202502/RuleBasedFirstPartyAudienceSegment.php @@ -32,7 +32,7 @@ class RuleBasedFirstPartyAudienceSegment extends \Google\AdsApi\AdManager\v20250 * @param int $membershipExpirationDays * @param \Google\AdsApi\AdManager\v202502\FirstPartyAudienceSegmentRule $rule */ - public function __construct($id = null, $name = null, array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null, $pageViews = null, $recencyDays = null, $membershipExpirationDays = null, $rule = null) + public function __construct($id = null, $name = null, ?array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null, $pageViews = null, $recencyDays = null, $membershipExpirationDays = null, $rule = null) { parent::__construct($id, $name, $categoryIds, $description, $status, $size, $mobileWebSize, $idfaSize, $adIdSize, $ppidSize, $dataProvider, $type, $pageViews, $recencyDays, $membershipExpirationDays); $this->rule = $rule; diff --git a/src/Google/AdsApi/AdManager/v202502/RuleBasedFirstPartyAudienceSegmentSummary.php b/src/Google/AdsApi/AdManager/v202502/RuleBasedFirstPartyAudienceSegmentSummary.php index c83ddb810..f4e65b1ad 100644 --- a/src/Google/AdsApi/AdManager/v202502/RuleBasedFirstPartyAudienceSegmentSummary.php +++ b/src/Google/AdsApi/AdManager/v202502/RuleBasedFirstPartyAudienceSegmentSummary.php @@ -41,7 +41,7 @@ class RuleBasedFirstPartyAudienceSegmentSummary extends \Google\AdsApi\AdManager * @param int $recencyDays * @param int $membershipExpirationDays */ - public function __construct($id = null, $name = null, array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null, $pageViews = null, $recencyDays = null, $membershipExpirationDays = null) + public function __construct($id = null, $name = null, ?array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null, $pageViews = null, $recencyDays = null, $membershipExpirationDays = null) { parent::__construct($id, $name, $categoryIds, $description, $status, $size, $mobileWebSize, $idfaSize, $adIdSize, $ppidSize, $dataProvider, $type); $this->pageViews = $pageViews; diff --git a/src/Google/AdsApi/AdManager/v202502/SamSession.php b/src/Google/AdsApi/AdManager/v202502/SamSession.php index 179eb4f03..a354ef5d2 100644 --- a/src/Google/AdsApi/AdManager/v202502/SamSession.php +++ b/src/Google/AdsApi/AdManager/v202502/SamSession.php @@ -53,7 +53,7 @@ class SamSession * @param int $sessionDurationMillis * @param int $contentDurationMillis */ - public function __construct($sessionId = null, $isVodSession = null, $streamCreateRequest = null, array $adBreaks = null, $startDateTime = null, $sessionDurationMillis = null, $contentDurationMillis = null) + public function __construct($sessionId = null, $isVodSession = null, $streamCreateRequest = null, ?array $adBreaks = null, $startDateTime = null, $sessionDurationMillis = null, $contentDurationMillis = null) { $this->sessionId = $sessionId; $this->isVodSession = $isVodSession; @@ -130,7 +130,7 @@ public function getAdBreaks() * @param \Google\AdsApi\AdManager\v202502\AdBreak[]|null $adBreaks * @return \Google\AdsApi\AdManager\v202502\SamSession */ - public function setAdBreaks(array $adBreaks = null) + public function setAdBreaks(?array $adBreaks = null) { $this->adBreaks = $adBreaks; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/SamSessionError.php b/src/Google/AdsApi/AdManager/v202502/SamSessionError.php index 934c8cd49..03231355f 100644 --- a/src/Google/AdsApi/AdManager/v202502/SamSessionError.php +++ b/src/Google/AdsApi/AdManager/v202502/SamSessionError.php @@ -21,7 +21,7 @@ class SamSessionError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/SavedQueryPage.php b/src/Google/AdsApi/AdManager/v202502/SavedQueryPage.php index 2c333b15c..cfdf6bdfd 100644 --- a/src/Google/AdsApi/AdManager/v202502/SavedQueryPage.php +++ b/src/Google/AdsApi/AdManager/v202502/SavedQueryPage.php @@ -29,7 +29,7 @@ class SavedQueryPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\SavedQuery[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\SavedQuery[]|null $results * @return \Google\AdsApi\AdManager\v202502\SavedQueryPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/SdkMediationSettings.php b/src/Google/AdsApi/AdManager/v202502/SdkMediationSettings.php index c2f86c951..bb8b51a02 100644 --- a/src/Google/AdsApi/AdManager/v202502/SdkMediationSettings.php +++ b/src/Google/AdsApi/AdManager/v202502/SdkMediationSettings.php @@ -29,7 +29,7 @@ class SdkMediationSettings extends \Google\AdsApi\AdManager\v202502\AbstractDisp * @param string $yieldIntegrationType * @param string $platform */ - public function __construct(array $parameters = null, $yieldIntegrationType = null, $platform = null) + public function __construct(?array $parameters = null, $yieldIntegrationType = null, $platform = null) { $this->parameters = $parameters; $this->yieldIntegrationType = $yieldIntegrationType; @@ -48,7 +48,7 @@ public function getParameters() * @param \Google\AdsApi\AdManager\v202502\YieldParameter_StringMapEntry[]|null $parameters * @return \Google\AdsApi\AdManager\v202502\SdkMediationSettings */ - public function setParameters(array $parameters = null) + public function setParameters(?array $parameters = null) { $this->parameters = $parameters; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/SegmentPopulationError.php b/src/Google/AdsApi/AdManager/v202502/SegmentPopulationError.php index ebad0f5aa..33bf66d45 100644 --- a/src/Google/AdsApi/AdManager/v202502/SegmentPopulationError.php +++ b/src/Google/AdsApi/AdManager/v202502/SegmentPopulationError.php @@ -21,7 +21,7 @@ class SegmentPopulationError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/SegmentPopulationRequest.php b/src/Google/AdsApi/AdManager/v202502/SegmentPopulationRequest.php index 864ce8269..70cf6c4d8 100644 --- a/src/Google/AdsApi/AdManager/v202502/SegmentPopulationRequest.php +++ b/src/Google/AdsApi/AdManager/v202502/SegmentPopulationRequest.php @@ -47,7 +47,7 @@ class SegmentPopulationRequest * @param string[] $ids * @param string $consentType */ - public function __construct($batchUploadId = null, $segmentId = null, $isDeletion = null, $identifierType = null, array $ids = null, $consentType = null) + public function __construct($batchUploadId = null, $segmentId = null, $isDeletion = null, $identifierType = null, ?array $ids = null, $consentType = null) { $this->batchUploadId = $batchUploadId; $this->segmentId = $segmentId; @@ -143,7 +143,7 @@ public function getIds() * @param string[]|null $ids * @return \Google\AdsApi\AdManager\v202502\SegmentPopulationRequest */ - public function setIds(array $ids = null) + public function setIds(?array $ids = null) { $this->ids = $ids; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/SegmentPopulationResponse.php b/src/Google/AdsApi/AdManager/v202502/SegmentPopulationResponse.php index 7260b56ee..600207721 100644 --- a/src/Google/AdsApi/AdManager/v202502/SegmentPopulationResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/SegmentPopulationResponse.php @@ -23,7 +23,7 @@ class SegmentPopulationResponse * @param int $batchUploadId * @param \Google\AdsApi\AdManager\v202502\IdError[] $idErrors */ - public function __construct($batchUploadId = null, array $idErrors = null) + public function __construct($batchUploadId = null, ?array $idErrors = null) { $this->batchUploadId = $batchUploadId; $this->idErrors = $idErrors; @@ -60,7 +60,7 @@ public function getIdErrors() * @param \Google\AdsApi\AdManager\v202502\IdError[]|null $idErrors * @return \Google\AdsApi\AdManager\v202502\SegmentPopulationResponse */ - public function setIdErrors(array $idErrors = null) + public function setIdErrors(?array $idErrors = null) { $this->idErrors = $idErrors; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/SegmentPopulationResults.php b/src/Google/AdsApi/AdManager/v202502/SegmentPopulationResults.php index 82e75c644..3df677c66 100644 --- a/src/Google/AdsApi/AdManager/v202502/SegmentPopulationResults.php +++ b/src/Google/AdsApi/AdManager/v202502/SegmentPopulationResults.php @@ -41,7 +41,7 @@ class SegmentPopulationResults * @param int $numSuccessfulIdsProcessed * @param \Google\AdsApi\AdManager\v202502\IdError[] $errors */ - public function __construct($batchUploadId = null, $segmentId = null, $status = null, $numSuccessfulIdsProcessed = null, array $errors = null) + public function __construct($batchUploadId = null, $segmentId = null, $status = null, $numSuccessfulIdsProcessed = null, ?array $errors = null) { $this->batchUploadId = $batchUploadId; $this->segmentId = $segmentId; @@ -137,7 +137,7 @@ public function getErrors() * @param \Google\AdsApi\AdManager\v202502\IdError[]|null $errors * @return \Google\AdsApi\AdManager\v202502\SegmentPopulationResults */ - public function setErrors(array $errors = null) + public function setErrors(?array $errors = null) { $this->errors = $errors; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/ServerError.php b/src/Google/AdsApi/AdManager/v202502/ServerError.php index 890a122c8..7bc6155a5 100644 --- a/src/Google/AdsApi/AdManager/v202502/ServerError.php +++ b/src/Google/AdsApi/AdManager/v202502/ServerError.php @@ -21,7 +21,7 @@ class ServerError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/ServiceFactory.php b/src/Google/AdsApi/AdManager/v202502/ServiceFactory.php index 3d7e16230..1e0229f72 100644 --- a/src/Google/AdsApi/AdManager/v202502/ServiceFactory.php +++ b/src/Google/AdsApi/AdManager/v202502/ServiceFactory.php @@ -16,7 +16,7 @@ final class ServiceFactory { private $services; - public function __construct(AdManagerServices $services = null) + public function __construct(?AdManagerServices $services = null) { $this->services = is_null($services) ? new AdManagerServices() : $services; } diff --git a/src/Google/AdsApi/AdManager/v202502/SetTopBoxCreative.php b/src/Google/AdsApi/AdManager/v202502/SetTopBoxCreative.php index 860a83c92..7386a624d 100644 --- a/src/Google/AdsApi/AdManager/v202502/SetTopBoxCreative.php +++ b/src/Google/AdsApi/AdManager/v202502/SetTopBoxCreative.php @@ -65,7 +65,7 @@ class SetTopBoxCreative extends \Google\AdsApi\AdManager\v202502\BaseVideoCreati * @param \Google\AdsApi\AdManager\v202502\DateTime $licenseWindowStartDateTime * @param \Google\AdsApi\AdManager\v202502\DateTime $licenseWindowEndDateTime */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, array $trackingUrls = null, array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $externalAssetId = null, $providerId = null, array $availabilityRegionIds = null, $licenseWindowStartDateTime = null, $licenseWindowEndDateTime = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, ?array $trackingUrls = null, ?array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $externalAssetId = null, $providerId = null, ?array $availabilityRegionIds = null, $licenseWindowStartDateTime = null, $licenseWindowEndDateTime = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $destinationUrl, $destinationUrlType, $duration, $allowDurationOverride, $trackingUrls, $companionCreativeIds, $customParameters, $adId, $adIdType, $skippableAdType, $vastPreviewUrl, $sslScanResult, $sslManualOverride); $this->externalAssetId = $externalAssetId; @@ -123,7 +123,7 @@ public function getAvailabilityRegionIds() * @param string[]|null $availabilityRegionIds * @return \Google\AdsApi\AdManager\v202502\SetTopBoxCreative */ - public function setAvailabilityRegionIds(array $availabilityRegionIds = null) + public function setAvailabilityRegionIds(?array $availabilityRegionIds = null) { $this->availabilityRegionIds = $availabilityRegionIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/SetTopBoxCreativeError.php b/src/Google/AdsApi/AdManager/v202502/SetTopBoxCreativeError.php index fc09db818..661851034 100644 --- a/src/Google/AdsApi/AdManager/v202502/SetTopBoxCreativeError.php +++ b/src/Google/AdsApi/AdManager/v202502/SetTopBoxCreativeError.php @@ -21,7 +21,7 @@ class SetTopBoxCreativeError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/SetTopBoxLineItemError.php b/src/Google/AdsApi/AdManager/v202502/SetTopBoxLineItemError.php index cc1a9c197..d5a3126dc 100644 --- a/src/Google/AdsApi/AdManager/v202502/SetTopBoxLineItemError.php +++ b/src/Google/AdsApi/AdManager/v202502/SetTopBoxLineItemError.php @@ -21,7 +21,7 @@ class SetTopBoxLineItemError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/SetValue.php b/src/Google/AdsApi/AdManager/v202502/SetValue.php index 320b9da52..a7b3e6b9b 100644 --- a/src/Google/AdsApi/AdManager/v202502/SetValue.php +++ b/src/Google/AdsApi/AdManager/v202502/SetValue.php @@ -17,7 +17,7 @@ class SetValue extends \Google\AdsApi\AdManager\v202502\Value /** * @param \Google\AdsApi\AdManager\v202502\Value[] $values */ - public function __construct(array $values = null) + public function __construct(?array $values = null) { $this->values = $values; } @@ -34,7 +34,7 @@ public function getValues() * @param \Google\AdsApi\AdManager\v202502\Value[]|null $values * @return \Google\AdsApi\AdManager\v202502\SetValue */ - public function setValues(array $values = null) + public function setValues(?array $values = null) { $this->values = $values; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/SharedAudienceSegment.php b/src/Google/AdsApi/AdManager/v202502/SharedAudienceSegment.php index 8a0bf5672..d504478c3 100644 --- a/src/Google/AdsApi/AdManager/v202502/SharedAudienceSegment.php +++ b/src/Google/AdsApi/AdManager/v202502/SharedAudienceSegment.php @@ -23,7 +23,7 @@ class SharedAudienceSegment extends \Google\AdsApi\AdManager\v202502\AudienceSeg * @param \Google\AdsApi\AdManager\v202502\AudienceSegmentDataProvider $dataProvider * @param string $type */ - public function __construct($id = null, $name = null, array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null) + public function __construct($id = null, $name = null, ?array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null) { parent::__construct($id, $name, $categoryIds, $description, $status, $size, $mobileWebSize, $idfaSize, $adIdSize, $ppidSize, $dataProvider, $type); } diff --git a/src/Google/AdsApi/AdManager/v202502/Site.php b/src/Google/AdsApi/AdManager/v202502/Site.php index f5686b2a7..59a31ce29 100644 --- a/src/Google/AdsApi/AdManager/v202502/Site.php +++ b/src/Google/AdsApi/AdManager/v202502/Site.php @@ -47,7 +47,7 @@ class Site * @param \Google\AdsApi\AdManager\v202502\DateTime $approvalStatusUpdateTime * @param \Google\AdsApi\AdManager\v202502\DisapprovalReason[] $disapprovalReasons */ - public function __construct($id = null, $url = null, $childNetworkCode = null, $approvalStatus = null, $approvalStatusUpdateTime = null, array $disapprovalReasons = null) + public function __construct($id = null, $url = null, $childNetworkCode = null, $approvalStatus = null, $approvalStatusUpdateTime = null, ?array $disapprovalReasons = null) { $this->id = $id; $this->url = $url; @@ -160,7 +160,7 @@ public function getDisapprovalReasons() * @param \Google\AdsApi\AdManager\v202502\DisapprovalReason[]|null $disapprovalReasons * @return \Google\AdsApi\AdManager\v202502\Site */ - public function setDisapprovalReasons(array $disapprovalReasons = null) + public function setDisapprovalReasons(?array $disapprovalReasons = null) { $this->disapprovalReasons = $disapprovalReasons; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/SiteError.php b/src/Google/AdsApi/AdManager/v202502/SiteError.php index 3a03cc0c5..7efd34188 100644 --- a/src/Google/AdsApi/AdManager/v202502/SiteError.php +++ b/src/Google/AdsApi/AdManager/v202502/SiteError.php @@ -21,7 +21,7 @@ class SiteError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/SitePage.php b/src/Google/AdsApi/AdManager/v202502/SitePage.php index 762302488..e4f95546c 100644 --- a/src/Google/AdsApi/AdManager/v202502/SitePage.php +++ b/src/Google/AdsApi/AdManager/v202502/SitePage.php @@ -29,7 +29,7 @@ class SitePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\Site[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\Site[]|null $results * @return \Google\AdsApi\AdManager\v202502\SitePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/SlatePage.php b/src/Google/AdsApi/AdManager/v202502/SlatePage.php index 36a2f4077..93e312b5b 100644 --- a/src/Google/AdsApi/AdManager/v202502/SlatePage.php +++ b/src/Google/AdsApi/AdManager/v202502/SlatePage.php @@ -29,7 +29,7 @@ class SlatePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\Slate[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\Slate[]|null $results * @return \Google\AdsApi\AdManager\v202502\SlatePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/Statement.php b/src/Google/AdsApi/AdManager/v202502/Statement.php index 11d7b77bb..f1d377833 100644 --- a/src/Google/AdsApi/AdManager/v202502/Statement.php +++ b/src/Google/AdsApi/AdManager/v202502/Statement.php @@ -23,7 +23,7 @@ class Statement * @param string $query * @param \Google\AdsApi\AdManager\v202502\String_ValueMapEntry[] $values */ - public function __construct($query = null, array $values = null) + public function __construct($query = null, ?array $values = null) { $this->query = $query; $this->values = $values; @@ -59,7 +59,7 @@ public function getValues() * @param \Google\AdsApi\AdManager\v202502\String_ValueMapEntry[]|null $values * @return \Google\AdsApi\AdManager\v202502\Statement */ - public function setValues(array $values = null) + public function setValues(?array $values = null) { $this->values = $values; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/StatementError.php b/src/Google/AdsApi/AdManager/v202502/StatementError.php index ff8bb7d11..b1354329e 100644 --- a/src/Google/AdsApi/AdManager/v202502/StatementError.php +++ b/src/Google/AdsApi/AdManager/v202502/StatementError.php @@ -21,7 +21,7 @@ class StatementError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/StringFormatError.php b/src/Google/AdsApi/AdManager/v202502/StringFormatError.php index 7f5b04082..7f47fa39b 100644 --- a/src/Google/AdsApi/AdManager/v202502/StringFormatError.php +++ b/src/Google/AdsApi/AdManager/v202502/StringFormatError.php @@ -21,7 +21,7 @@ class StringFormatError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/StringLengthError.php b/src/Google/AdsApi/AdManager/v202502/StringLengthError.php index 0c43c179c..941cd030d 100644 --- a/src/Google/AdsApi/AdManager/v202502/StringLengthError.php +++ b/src/Google/AdsApi/AdManager/v202502/StringLengthError.php @@ -21,7 +21,7 @@ class StringLengthError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/SuggestedAdUnit.php b/src/Google/AdsApi/AdManager/v202502/SuggestedAdUnit.php index 335fdcaf6..4266d9de6 100644 --- a/src/Google/AdsApi/AdManager/v202502/SuggestedAdUnit.php +++ b/src/Google/AdsApi/AdManager/v202502/SuggestedAdUnit.php @@ -53,7 +53,7 @@ class SuggestedAdUnit * @param string $targetPlatform * @param \Google\AdsApi\AdManager\v202502\AdUnitSize[] $suggestedAdUnitSizes */ - public function __construct($id = null, $numRequests = null, array $path = null, array $parentPath = null, $targetWindow = null, $targetPlatform = null, array $suggestedAdUnitSizes = null) + public function __construct($id = null, $numRequests = null, ?array $path = null, ?array $parentPath = null, $targetWindow = null, $targetPlatform = null, ?array $suggestedAdUnitSizes = null) { $this->id = $id; $this->numRequests = $numRequests; @@ -113,7 +113,7 @@ public function getPath() * @param string[]|null $path * @return \Google\AdsApi\AdManager\v202502\SuggestedAdUnit */ - public function setPath(array $path = null) + public function setPath(?array $path = null) { $this->path = $path; return $this; @@ -131,7 +131,7 @@ public function getParentPath() * @param \Google\AdsApi\AdManager\v202502\AdUnitParent[]|null $parentPath * @return \Google\AdsApi\AdManager\v202502\SuggestedAdUnit */ - public function setParentPath(array $parentPath = null) + public function setParentPath(?array $parentPath = null) { $this->parentPath = $parentPath; return $this; @@ -185,7 +185,7 @@ public function getSuggestedAdUnitSizes() * @param \Google\AdsApi\AdManager\v202502\AdUnitSize[]|null $suggestedAdUnitSizes * @return \Google\AdsApi\AdManager\v202502\SuggestedAdUnit */ - public function setSuggestedAdUnitSizes(array $suggestedAdUnitSizes = null) + public function setSuggestedAdUnitSizes(?array $suggestedAdUnitSizes = null) { $this->suggestedAdUnitSizes = $suggestedAdUnitSizes; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/SuggestedAdUnitPage.php b/src/Google/AdsApi/AdManager/v202502/SuggestedAdUnitPage.php index 0e1f0ec30..26c4cbc0b 100644 --- a/src/Google/AdsApi/AdManager/v202502/SuggestedAdUnitPage.php +++ b/src/Google/AdsApi/AdManager/v202502/SuggestedAdUnitPage.php @@ -29,7 +29,7 @@ class SuggestedAdUnitPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\SuggestedAdUnit[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\SuggestedAdUnit[]|null $results * @return \Google\AdsApi\AdManager\v202502\SuggestedAdUnitPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/SuggestedAdUnitUpdateResult.php b/src/Google/AdsApi/AdManager/v202502/SuggestedAdUnitUpdateResult.php index ac5db8226..84e533d0b 100644 --- a/src/Google/AdsApi/AdManager/v202502/SuggestedAdUnitUpdateResult.php +++ b/src/Google/AdsApi/AdManager/v202502/SuggestedAdUnitUpdateResult.php @@ -23,7 +23,7 @@ class SuggestedAdUnitUpdateResult * @param string[] $newAdUnitIds * @param int $numChanges */ - public function __construct(array $newAdUnitIds = null, $numChanges = null) + public function __construct(?array $newAdUnitIds = null, $numChanges = null) { $this->newAdUnitIds = $newAdUnitIds; $this->numChanges = $numChanges; @@ -41,7 +41,7 @@ public function getNewAdUnitIds() * @param string[]|null $newAdUnitIds * @return \Google\AdsApi\AdManager\v202502\SuggestedAdUnitUpdateResult */ - public function setNewAdUnitIds(array $newAdUnitIds = null) + public function setNewAdUnitIds(?array $newAdUnitIds = null) { $this->newAdUnitIds = $newAdUnitIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/SwiffyConversionError.php b/src/Google/AdsApi/AdManager/v202502/SwiffyConversionError.php index 366c23bd8..44b58e52f 100644 --- a/src/Google/AdsApi/AdManager/v202502/SwiffyConversionError.php +++ b/src/Google/AdsApi/AdManager/v202502/SwiffyConversionError.php @@ -21,7 +21,7 @@ class SwiffyConversionError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/TargetingPresetPage.php b/src/Google/AdsApi/AdManager/v202502/TargetingPresetPage.php index 375b83b22..50f7dcc90 100644 --- a/src/Google/AdsApi/AdManager/v202502/TargetingPresetPage.php +++ b/src/Google/AdsApi/AdManager/v202502/TargetingPresetPage.php @@ -29,7 +29,7 @@ class TargetingPresetPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\TargetingPreset[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\TargetingPreset[]|null $results * @return \Google\AdsApi\AdManager\v202502\TargetingPresetPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/TeamError.php b/src/Google/AdsApi/AdManager/v202502/TeamError.php index f8da35efa..840d357a5 100644 --- a/src/Google/AdsApi/AdManager/v202502/TeamError.php +++ b/src/Google/AdsApi/AdManager/v202502/TeamError.php @@ -21,7 +21,7 @@ class TeamError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/TeamPage.php b/src/Google/AdsApi/AdManager/v202502/TeamPage.php index 01b6fd1da..acde2f40d 100644 --- a/src/Google/AdsApi/AdManager/v202502/TeamPage.php +++ b/src/Google/AdsApi/AdManager/v202502/TeamPage.php @@ -29,7 +29,7 @@ class TeamPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\Team[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\Team[]|null $results * @return \Google\AdsApi\AdManager\v202502\TeamPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/TechnologyTargetingError.php b/src/Google/AdsApi/AdManager/v202502/TechnologyTargetingError.php index 2d9eba0e4..32f8be612 100644 --- a/src/Google/AdsApi/AdManager/v202502/TechnologyTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202502/TechnologyTargetingError.php @@ -21,7 +21,7 @@ class TechnologyTargetingError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/TemplateCreative.php b/src/Google/AdsApi/AdManager/v202502/TemplateCreative.php index 0235a16e4..759992ea0 100644 --- a/src/Google/AdsApi/AdManager/v202502/TemplateCreative.php +++ b/src/Google/AdsApi/AdManager/v202502/TemplateCreative.php @@ -76,7 +76,7 @@ class TemplateCreative extends \Google\AdsApi\AdManager\v202502\Creative * @param string $sslManualOverride * @param string $lockedOrientation */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $creativeTemplateId = null, $isInterstitial = null, $isNativeEligible = null, $isSafeFrameCompatible = null, $destinationUrl = null, array $creativeTemplateVariableValues = null, $sslScanResult = null, $sslManualOverride = null, $lockedOrientation = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $creativeTemplateId = null, $isInterstitial = null, $isNativeEligible = null, $isSafeFrameCompatible = null, $destinationUrl = null, ?array $creativeTemplateVariableValues = null, $sslScanResult = null, $sslManualOverride = null, $lockedOrientation = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled); $this->creativeTemplateId = $creativeTemplateId; @@ -193,7 +193,7 @@ public function getCreativeTemplateVariableValues() * @param \Google\AdsApi\AdManager\v202502\BaseCreativeTemplateVariableValue[]|null $creativeTemplateVariableValues * @return \Google\AdsApi\AdManager\v202502\TemplateCreative */ - public function setCreativeTemplateVariableValues(array $creativeTemplateVariableValues = null) + public function setCreativeTemplateVariableValues(?array $creativeTemplateVariableValues = null) { $this->creativeTemplateVariableValues = $creativeTemplateVariableValues; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/TemplateInstantiatedCreativeError.php b/src/Google/AdsApi/AdManager/v202502/TemplateInstantiatedCreativeError.php index 9d4cd72fc..82f8dcbae 100644 --- a/src/Google/AdsApi/AdManager/v202502/TemplateInstantiatedCreativeError.php +++ b/src/Google/AdsApi/AdManager/v202502/TemplateInstantiatedCreativeError.php @@ -21,7 +21,7 @@ class TemplateInstantiatedCreativeError extends \Google\AdsApi\AdManager\v202502 * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/ThirdPartyAudienceSegment.php b/src/Google/AdsApi/AdManager/v202502/ThirdPartyAudienceSegment.php index 80553fb38..d9c470486 100644 --- a/src/Google/AdsApi/AdManager/v202502/ThirdPartyAudienceSegment.php +++ b/src/Google/AdsApi/AdManager/v202502/ThirdPartyAudienceSegment.php @@ -53,7 +53,7 @@ class ThirdPartyAudienceSegment extends \Google\AdsApi\AdManager\v202502\Audienc * @param \Google\AdsApi\AdManager\v202502\DateTime $startDateTime * @param \Google\AdsApi\AdManager\v202502\DateTime $endDateTime */ - public function __construct($id = null, $name = null, array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null, $approvalStatus = null, $cost = null, $licenseType = null, $startDateTime = null, $endDateTime = null) + public function __construct($id = null, $name = null, ?array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null, $approvalStatus = null, $cost = null, $licenseType = null, $startDateTime = null, $endDateTime = null) { parent::__construct($id, $name, $categoryIds, $description, $status, $size, $mobileWebSize, $idfaSize, $adIdSize, $ppidSize, $dataProvider, $type); $this->approvalStatus = $approvalStatus; diff --git a/src/Google/AdsApi/AdManager/v202502/ThirdPartyCreative.php b/src/Google/AdsApi/AdManager/v202502/ThirdPartyCreative.php index 69a3415a9..d3a832fea 100644 --- a/src/Google/AdsApi/AdManager/v202502/ThirdPartyCreative.php +++ b/src/Google/AdsApi/AdManager/v202502/ThirdPartyCreative.php @@ -70,7 +70,7 @@ class ThirdPartyCreative extends \Google\AdsApi\AdManager\v202502\Creative * @param string[] $thirdPartyImpressionTrackingUrls * @param string $ampRedirectUrl */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $snippet = null, $expandedSnippet = null, $sslScanResult = null, $sslManualOverride = null, $lockedOrientation = null, $isSafeFrameCompatible = null, array $thirdPartyImpressionTrackingUrls = null, $ampRedirectUrl = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $snippet = null, $expandedSnippet = null, $sslScanResult = null, $sslManualOverride = null, $lockedOrientation = null, $isSafeFrameCompatible = null, ?array $thirdPartyImpressionTrackingUrls = null, $ampRedirectUrl = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled); $this->snippet = $snippet; @@ -203,7 +203,7 @@ public function getThirdPartyImpressionTrackingUrls() * @param string[]|null $thirdPartyImpressionTrackingUrls * @return \Google\AdsApi\AdManager\v202502\ThirdPartyCreative */ - public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) + public function setThirdPartyImpressionTrackingUrls(?array $thirdPartyImpressionTrackingUrls = null) { $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/ThirdPartyDataDeclaration.php b/src/Google/AdsApi/AdManager/v202502/ThirdPartyDataDeclaration.php index 60fcc8d2f..ef21a3cfb 100644 --- a/src/Google/AdsApi/AdManager/v202502/ThirdPartyDataDeclaration.php +++ b/src/Google/AdsApi/AdManager/v202502/ThirdPartyDataDeclaration.php @@ -23,7 +23,7 @@ class ThirdPartyDataDeclaration * @param string $declarationType * @param int[] $thirdPartyCompanyIds */ - public function __construct($declarationType = null, array $thirdPartyCompanyIds = null) + public function __construct($declarationType = null, ?array $thirdPartyCompanyIds = null) { $this->declarationType = $declarationType; $this->thirdPartyCompanyIds = $thirdPartyCompanyIds; @@ -59,7 +59,7 @@ public function getThirdPartyCompanyIds() * @param int[]|null $thirdPartyCompanyIds * @return \Google\AdsApi\AdManager\v202502\ThirdPartyDataDeclaration */ - public function setThirdPartyCompanyIds(array $thirdPartyCompanyIds = null) + public function setThirdPartyCompanyIds(?array $thirdPartyCompanyIds = null) { $this->thirdPartyCompanyIds = $thirdPartyCompanyIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/TimeSeries.php b/src/Google/AdsApi/AdManager/v202502/TimeSeries.php index c3c63f8f5..ea5ea8e76 100644 --- a/src/Google/AdsApi/AdManager/v202502/TimeSeries.php +++ b/src/Google/AdsApi/AdManager/v202502/TimeSeries.php @@ -23,7 +23,7 @@ class TimeSeries * @param \Google\AdsApi\AdManager\v202502\DateRange $timeSeriesDateRange * @param int[] $values */ - public function __construct($timeSeriesDateRange = null, array $values = null) + public function __construct($timeSeriesDateRange = null, ?array $values = null) { $this->timeSeriesDateRange = $timeSeriesDateRange; $this->values = $values; @@ -59,7 +59,7 @@ public function getValues() * @param int[]|null $values * @return \Google\AdsApi\AdManager\v202502\TimeSeries */ - public function setValues(array $values = null) + public function setValues(?array $values = null) { $this->values = $values; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/TimeZoneError.php b/src/Google/AdsApi/AdManager/v202502/TimeZoneError.php index d596cd343..36c96bb15 100644 --- a/src/Google/AdsApi/AdManager/v202502/TimeZoneError.php +++ b/src/Google/AdsApi/AdManager/v202502/TimeZoneError.php @@ -21,7 +21,7 @@ class TimeZoneError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/TokenError.php b/src/Google/AdsApi/AdManager/v202502/TokenError.php index 4768efbcb..562094b61 100644 --- a/src/Google/AdsApi/AdManager/v202502/TokenError.php +++ b/src/Google/AdsApi/AdManager/v202502/TokenError.php @@ -21,7 +21,7 @@ class TokenError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/TrackingEvent.php b/src/Google/AdsApi/AdManager/v202502/TrackingEvent.php index 9be489f69..def702623 100644 --- a/src/Google/AdsApi/AdManager/v202502/TrackingEvent.php +++ b/src/Google/AdsApi/AdManager/v202502/TrackingEvent.php @@ -17,7 +17,7 @@ class TrackingEvent /** * @param \Google\AdsApi\AdManager\v202502\TrackingEventPing[] $pings */ - public function __construct(array $pings = null) + public function __construct(?array $pings = null) { $this->pings = $pings; } @@ -34,7 +34,7 @@ public function getPings() * @param \Google\AdsApi\AdManager\v202502\TrackingEventPing[]|null $pings * @return \Google\AdsApi\AdManager\v202502\TrackingEvent */ - public function setPings(array $pings = null) + public function setPings(?array $pings = null) { $this->pings = $pings; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/TrackingUrls.php b/src/Google/AdsApi/AdManager/v202502/TrackingUrls.php index d28db690e..7f3591b43 100644 --- a/src/Google/AdsApi/AdManager/v202502/TrackingUrls.php +++ b/src/Google/AdsApi/AdManager/v202502/TrackingUrls.php @@ -17,7 +17,7 @@ class TrackingUrls /** * @param string[] $urls */ - public function __construct(array $urls = null) + public function __construct(?array $urls = null) { $this->urls = $urls; } @@ -34,7 +34,7 @@ public function getUrls() * @param string[]|null $urls * @return \Google\AdsApi\AdManager\v202502\TrackingUrls */ - public function setUrls(array $urls = null) + public function setUrls(?array $urls = null) { $this->urls = $urls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/TrafficForecastSegmentError.php b/src/Google/AdsApi/AdManager/v202502/TrafficForecastSegmentError.php index 308e6d039..2794df02f 100644 --- a/src/Google/AdsApi/AdManager/v202502/TrafficForecastSegmentError.php +++ b/src/Google/AdsApi/AdManager/v202502/TrafficForecastSegmentError.php @@ -21,7 +21,7 @@ class TrafficForecastSegmentError extends \Google\AdsApi\AdManager\v202502\ApiEr * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/TrafficForecastSegmentPage.php b/src/Google/AdsApi/AdManager/v202502/TrafficForecastSegmentPage.php index e1f042811..79cded210 100644 --- a/src/Google/AdsApi/AdManager/v202502/TrafficForecastSegmentPage.php +++ b/src/Google/AdsApi/AdManager/v202502/TrafficForecastSegmentPage.php @@ -29,7 +29,7 @@ class TrafficForecastSegmentPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\TrafficForecastSegment[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\TrafficForecastSegment[]|null $results * @return \Google\AdsApi\AdManager\v202502\TrafficForecastSegmentPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/TranscodingError.php b/src/Google/AdsApi/AdManager/v202502/TranscodingError.php index 9cf2e7178..1d6c65876 100644 --- a/src/Google/AdsApi/AdManager/v202502/TranscodingError.php +++ b/src/Google/AdsApi/AdManager/v202502/TranscodingError.php @@ -21,7 +21,7 @@ class TranscodingError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/TypeError.php b/src/Google/AdsApi/AdManager/v202502/TypeError.php index 1582830fd..3badd838d 100644 --- a/src/Google/AdsApi/AdManager/v202502/TypeError.php +++ b/src/Google/AdsApi/AdManager/v202502/TypeError.php @@ -15,7 +15,7 @@ class TypeError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $trigger * @param string $errorString */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); } diff --git a/src/Google/AdsApi/AdManager/v202502/UniqueError.php b/src/Google/AdsApi/AdManager/v202502/UniqueError.php index aede15806..118df0808 100644 --- a/src/Google/AdsApi/AdManager/v202502/UniqueError.php +++ b/src/Google/AdsApi/AdManager/v202502/UniqueError.php @@ -15,7 +15,7 @@ class UniqueError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $trigger * @param string $errorString */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); } diff --git a/src/Google/AdsApi/AdManager/v202502/UnsupportedCreative.php b/src/Google/AdsApi/AdManager/v202502/UnsupportedCreative.php index 5a9dc48db..5bc519c35 100644 --- a/src/Google/AdsApi/AdManager/v202502/UnsupportedCreative.php +++ b/src/Google/AdsApi/AdManager/v202502/UnsupportedCreative.php @@ -28,7 +28,7 @@ class UnsupportedCreative extends \Google\AdsApi\AdManager\v202502\Creative * @param boolean $adBadgingEnabled * @param string $unsupportedCreativeType */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $unsupportedCreativeType = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $unsupportedCreativeType = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled); $this->unsupportedCreativeType = $unsupportedCreativeType; diff --git a/src/Google/AdsApi/AdManager/v202502/UrlError.php b/src/Google/AdsApi/AdManager/v202502/UrlError.php index 047296eb9..a6a0ae880 100644 --- a/src/Google/AdsApi/AdManager/v202502/UrlError.php +++ b/src/Google/AdsApi/AdManager/v202502/UrlError.php @@ -21,7 +21,7 @@ class UrlError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/UserDomainTargeting.php b/src/Google/AdsApi/AdManager/v202502/UserDomainTargeting.php index 3c22fc898..e8a316907 100644 --- a/src/Google/AdsApi/AdManager/v202502/UserDomainTargeting.php +++ b/src/Google/AdsApi/AdManager/v202502/UserDomainTargeting.php @@ -23,7 +23,7 @@ class UserDomainTargeting * @param string[] $domains * @param boolean $targeted */ - public function __construct(array $domains = null, $targeted = null) + public function __construct(?array $domains = null, $targeted = null) { $this->domains = $domains; $this->targeted = $targeted; @@ -41,7 +41,7 @@ public function getDomains() * @param string[]|null $domains * @return \Google\AdsApi\AdManager\v202502\UserDomainTargeting */ - public function setDomains(array $domains = null) + public function setDomains(?array $domains = null) { $this->domains = $domains; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/UserDomainTargetingError.php b/src/Google/AdsApi/AdManager/v202502/UserDomainTargetingError.php index 9630ca041..cdc86b919 100644 --- a/src/Google/AdsApi/AdManager/v202502/UserDomainTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202502/UserDomainTargetingError.php @@ -21,7 +21,7 @@ class UserDomainTargetingError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/UserPage.php b/src/Google/AdsApi/AdManager/v202502/UserPage.php index 70612e928..aa746b0e8 100644 --- a/src/Google/AdsApi/AdManager/v202502/UserPage.php +++ b/src/Google/AdsApi/AdManager/v202502/UserPage.php @@ -29,7 +29,7 @@ class UserPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\User[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\User[]|null $results * @return \Google\AdsApi\AdManager\v202502\UserPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/UserTeamAssociationPage.php b/src/Google/AdsApi/AdManager/v202502/UserTeamAssociationPage.php index 0e00461a3..4df35882e 100644 --- a/src/Google/AdsApi/AdManager/v202502/UserTeamAssociationPage.php +++ b/src/Google/AdsApi/AdManager/v202502/UserTeamAssociationPage.php @@ -29,7 +29,7 @@ class UserTeamAssociationPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\UserTeamAssociation[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\UserTeamAssociation[]|null $results * @return \Google\AdsApi\AdManager\v202502\UserTeamAssociationPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/VastRedirectCreative.php b/src/Google/AdsApi/AdManager/v202502/VastRedirectCreative.php index c4ecccbf4..21dee6cb4 100644 --- a/src/Google/AdsApi/AdManager/v202502/VastRedirectCreative.php +++ b/src/Google/AdsApi/AdManager/v202502/VastRedirectCreative.php @@ -76,7 +76,7 @@ class VastRedirectCreative extends \Google\AdsApi\AdManager\v202502\Creative * @param string $sslManualOverride * @param boolean $isAudio */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $vastXmlUrl = null, $vastRedirectType = null, $duration = null, array $companionCreativeIds = null, array $trackingUrls = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $isAudio = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $vastXmlUrl = null, $vastRedirectType = null, $duration = null, ?array $companionCreativeIds = null, ?array $trackingUrls = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $isAudio = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled); $this->vastXmlUrl = $vastXmlUrl; @@ -156,7 +156,7 @@ public function getCompanionCreativeIds() * @param int[]|null $companionCreativeIds * @return \Google\AdsApi\AdManager\v202502\VastRedirectCreative */ - public function setCompanionCreativeIds(array $companionCreativeIds = null) + public function setCompanionCreativeIds(?array $companionCreativeIds = null) { $this->companionCreativeIds = $companionCreativeIds; return $this; @@ -174,7 +174,7 @@ public function getTrackingUrls() * @param \Google\AdsApi\AdManager\v202502\ConversionEvent_TrackingUrlsMapEntry[]|null $trackingUrls * @return \Google\AdsApi\AdManager\v202502\VastRedirectCreative */ - public function setTrackingUrls(array $trackingUrls = null) + public function setTrackingUrls(?array $trackingUrls = null) { $this->trackingUrls = $trackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/VerticalTargeting.php b/src/Google/AdsApi/AdManager/v202502/VerticalTargeting.php index e9517ef1b..39c208346 100644 --- a/src/Google/AdsApi/AdManager/v202502/VerticalTargeting.php +++ b/src/Google/AdsApi/AdManager/v202502/VerticalTargeting.php @@ -23,7 +23,7 @@ class VerticalTargeting * @param int[] $targetedVerticalIds * @param int[] $excludedVerticalIds */ - public function __construct(array $targetedVerticalIds = null, array $excludedVerticalIds = null) + public function __construct(?array $targetedVerticalIds = null, ?array $excludedVerticalIds = null) { $this->targetedVerticalIds = $targetedVerticalIds; $this->excludedVerticalIds = $excludedVerticalIds; @@ -41,7 +41,7 @@ public function getTargetedVerticalIds() * @param int[]|null $targetedVerticalIds * @return \Google\AdsApi\AdManager\v202502\VerticalTargeting */ - public function setTargetedVerticalIds(array $targetedVerticalIds = null) + public function setTargetedVerticalIds(?array $targetedVerticalIds = null) { $this->targetedVerticalIds = $targetedVerticalIds; return $this; @@ -59,7 +59,7 @@ public function getExcludedVerticalIds() * @param int[]|null $excludedVerticalIds * @return \Google\AdsApi\AdManager\v202502\VerticalTargeting */ - public function setExcludedVerticalIds(array $excludedVerticalIds = null) + public function setExcludedVerticalIds(?array $excludedVerticalIds = null) { $this->excludedVerticalIds = $excludedVerticalIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/VideoAdTagError.php b/src/Google/AdsApi/AdManager/v202502/VideoAdTagError.php index ba84d2e24..d6f243552 100644 --- a/src/Google/AdsApi/AdManager/v202502/VideoAdTagError.php +++ b/src/Google/AdsApi/AdManager/v202502/VideoAdTagError.php @@ -21,7 +21,7 @@ class VideoAdTagError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/VideoCreative.php b/src/Google/AdsApi/AdManager/v202502/VideoCreative.php index 46d8924e5..d7cd6e969 100644 --- a/src/Google/AdsApi/AdManager/v202502/VideoCreative.php +++ b/src/Google/AdsApi/AdManager/v202502/VideoCreative.php @@ -41,7 +41,7 @@ class VideoCreative extends \Google\AdsApi\AdManager\v202502\BaseVideoCreative * @param string $sslManualOverride * @param string $videoSourceUrl */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, array $trackingUrls = null, array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $videoSourceUrl = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, ?array $trackingUrls = null, ?array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $videoSourceUrl = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $destinationUrl, $destinationUrlType, $duration, $allowDurationOverride, $trackingUrls, $companionCreativeIds, $customParameters, $adId, $adIdType, $skippableAdType, $vastPreviewUrl, $sslScanResult, $sslManualOverride); $this->videoSourceUrl = $videoSourceUrl; diff --git a/src/Google/AdsApi/AdManager/v202502/VideoMetadata.php b/src/Google/AdsApi/AdManager/v202502/VideoMetadata.php index 24e276da7..c9d3311bb 100644 --- a/src/Google/AdsApi/AdManager/v202502/VideoMetadata.php +++ b/src/Google/AdsApi/AdManager/v202502/VideoMetadata.php @@ -65,7 +65,7 @@ class VideoMetadata * @param string $deliveryType * @param string[] $codecs */ - public function __construct($scalableType = null, $duration = null, $bitRate = null, $minimumBitRate = null, $maximumBitRate = null, $size = null, $mimeType = null, $deliveryType = null, array $codecs = null) + public function __construct($scalableType = null, $duration = null, $bitRate = null, $minimumBitRate = null, $maximumBitRate = null, $size = null, $mimeType = null, $deliveryType = null, ?array $codecs = null) { $this->scalableType = $scalableType; $this->duration = $duration; @@ -234,7 +234,7 @@ public function getCodecs() * @param string[]|null $codecs * @return \Google\AdsApi\AdManager\v202502\VideoMetadata */ - public function setCodecs(array $codecs = null) + public function setCodecs(?array $codecs = null) { $this->codecs = $codecs; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/VideoPositionTargeting.php b/src/Google/AdsApi/AdManager/v202502/VideoPositionTargeting.php index 642fb2571..f09b857b3 100644 --- a/src/Google/AdsApi/AdManager/v202502/VideoPositionTargeting.php +++ b/src/Google/AdsApi/AdManager/v202502/VideoPositionTargeting.php @@ -17,7 +17,7 @@ class VideoPositionTargeting /** * @param \Google\AdsApi\AdManager\v202502\VideoPositionTarget[] $targetedPositions */ - public function __construct(array $targetedPositions = null) + public function __construct(?array $targetedPositions = null) { $this->targetedPositions = $targetedPositions; } @@ -34,7 +34,7 @@ public function getTargetedPositions() * @param \Google\AdsApi\AdManager\v202502\VideoPositionTarget[]|null $targetedPositions * @return \Google\AdsApi\AdManager\v202502\VideoPositionTargeting */ - public function setTargetedPositions(array $targetedPositions = null) + public function setTargetedPositions(?array $targetedPositions = null) { $this->targetedPositions = $targetedPositions; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/VideoPositionTargetingError.php b/src/Google/AdsApi/AdManager/v202502/VideoPositionTargetingError.php index c3702dce8..2e714e2cc 100644 --- a/src/Google/AdsApi/AdManager/v202502/VideoPositionTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202502/VideoPositionTargetingError.php @@ -21,7 +21,7 @@ class VideoPositionTargetingError extends \Google\AdsApi\AdManager\v202502\ApiEr * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/VideoRedirectCreative.php b/src/Google/AdsApi/AdManager/v202502/VideoRedirectCreative.php index 7eff2f909..9042635ef 100644 --- a/src/Google/AdsApi/AdManager/v202502/VideoRedirectCreative.php +++ b/src/Google/AdsApi/AdManager/v202502/VideoRedirectCreative.php @@ -47,7 +47,7 @@ class VideoRedirectCreative extends \Google\AdsApi\AdManager\v202502\BaseVideoCr * @param \Google\AdsApi\AdManager\v202502\VideoRedirectAsset[] $videoAssets * @param \Google\AdsApi\AdManager\v202502\VideoRedirectAsset $mezzanineFile */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, array $trackingUrls = null, array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, array $videoAssets = null, $mezzanineFile = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, ?array $trackingUrls = null, ?array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, ?array $videoAssets = null, $mezzanineFile = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $destinationUrl, $destinationUrlType, $duration, $allowDurationOverride, $trackingUrls, $companionCreativeIds, $customParameters, $adId, $adIdType, $skippableAdType, $vastPreviewUrl, $sslScanResult, $sslManualOverride); $this->videoAssets = $videoAssets; @@ -66,7 +66,7 @@ public function getVideoAssets() * @param \Google\AdsApi\AdManager\v202502\VideoRedirectAsset[]|null $videoAssets * @return \Google\AdsApi\AdManager\v202502\VideoRedirectCreative */ - public function setVideoAssets(array $videoAssets = null) + public function setVideoAssets(?array $videoAssets = null) { $this->videoAssets = $videoAssets; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/VodStreamCreateRequest.php b/src/Google/AdsApi/AdManager/v202502/VodStreamCreateRequest.php index 9b053943f..cc681f722 100644 --- a/src/Google/AdsApi/AdManager/v202502/VodStreamCreateRequest.php +++ b/src/Google/AdsApi/AdManager/v202502/VodStreamCreateRequest.php @@ -44,7 +44,7 @@ class VodStreamCreateRequest extends \Google\AdsApi\AdManager\v202502\StreamCrea * @param string $contentName * @param int[] $cuePoints */ - public function __construct($url = null, $userAgent = null, $reportingType = null, $contentSourceId = null, $videoId = null, $contentId = null, $contentName = null, array $cuePoints = null) + public function __construct($url = null, $userAgent = null, $reportingType = null, $contentSourceId = null, $videoId = null, $contentId = null, $contentName = null, ?array $cuePoints = null) { parent::__construct($url, $userAgent, $reportingType); $this->contentSourceId = $contentSourceId; @@ -140,7 +140,7 @@ public function getCuePoints() * @param int[]|null $cuePoints * @return \Google\AdsApi\AdManager\v202502\VodStreamCreateRequest */ - public function setCuePoints(array $cuePoints = null) + public function setCuePoints(?array $cuePoints = null) { $this->cuePoints = $cuePoints; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/YieldError.php b/src/Google/AdsApi/AdManager/v202502/YieldError.php index 460d01498..9a35c4fd3 100644 --- a/src/Google/AdsApi/AdManager/v202502/YieldError.php +++ b/src/Google/AdsApi/AdManager/v202502/YieldError.php @@ -21,7 +21,7 @@ class YieldError extends \Google\AdsApi\AdManager\v202502\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202502/YieldGroup.php b/src/Google/AdsApi/AdManager/v202502/YieldGroup.php index 27d32fff4..369ad2a59 100644 --- a/src/Google/AdsApi/AdManager/v202502/YieldGroup.php +++ b/src/Google/AdsApi/AdManager/v202502/YieldGroup.php @@ -53,7 +53,7 @@ class YieldGroup * @param \Google\AdsApi\AdManager\v202502\Targeting $targeting * @param \Google\AdsApi\AdManager\v202502\YieldAdSource[] $adSources */ - public function __construct($yieldGroupId = null, $yieldGroupName = null, $exchangeStatus = null, $format = null, $environmentType = null, $targeting = null, array $adSources = null) + public function __construct($yieldGroupId = null, $yieldGroupName = null, $exchangeStatus = null, $format = null, $environmentType = null, $targeting = null, ?array $adSources = null) { $this->yieldGroupId = $yieldGroupId; $this->yieldGroupName = $yieldGroupName; @@ -185,7 +185,7 @@ public function getAdSources() * @param \Google\AdsApi\AdManager\v202502\YieldAdSource[]|null $adSources * @return \Google\AdsApi\AdManager\v202502\YieldGroup */ - public function setAdSources(array $adSources = null) + public function setAdSources(?array $adSources = null) { $this->adSources = $adSources; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/YieldGroupPage.php b/src/Google/AdsApi/AdManager/v202502/YieldGroupPage.php index b529671e3..33ff4c078 100644 --- a/src/Google/AdsApi/AdManager/v202502/YieldGroupPage.php +++ b/src/Google/AdsApi/AdManager/v202502/YieldGroupPage.php @@ -29,7 +29,7 @@ class YieldGroupPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202502\YieldGroup[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202502\YieldGroup[]|null $results * @return \Google\AdsApi\AdManager\v202502\YieldGroupPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/YieldPartner.php b/src/Google/AdsApi/AdManager/v202502/YieldPartner.php index ee2e558ed..14c2823bd 100644 --- a/src/Google/AdsApi/AdManager/v202502/YieldPartner.php +++ b/src/Google/AdsApi/AdManager/v202502/YieldPartner.php @@ -23,7 +23,7 @@ class YieldPartner * @param int $companyId * @param \Google\AdsApi\AdManager\v202502\YieldPartnerSettings[] $settings */ - public function __construct($companyId = null, array $settings = null) + public function __construct($companyId = null, ?array $settings = null) { $this->companyId = $companyId; $this->settings = $settings; @@ -60,7 +60,7 @@ public function getSettings() * @param \Google\AdsApi\AdManager\v202502\YieldPartnerSettings[]|null $settings * @return \Google\AdsApi\AdManager\v202502\YieldPartner */ - public function setSettings(array $settings = null) + public function setSettings(?array $settings = null) { $this->settings = $settings; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/YieldPartnerSettings.php b/src/Google/AdsApi/AdManager/v202502/YieldPartnerSettings.php index f8bbf6060..e92a13c49 100644 --- a/src/Google/AdsApi/AdManager/v202502/YieldPartnerSettings.php +++ b/src/Google/AdsApi/AdManager/v202502/YieldPartnerSettings.php @@ -47,7 +47,7 @@ class YieldPartnerSettings * @param string $platform * @param \Google\AdsApi\AdManager\v202502\YieldParameter[] $parameters */ - public function __construct($status = null, $environment = null, $format = null, $integrationType = null, $platform = null, array $parameters = null) + public function __construct($status = null, $environment = null, $format = null, $integrationType = null, $platform = null, ?array $parameters = null) { $this->status = $status; $this->environment = $environment; @@ -159,7 +159,7 @@ public function getParameters() * @param \Google\AdsApi\AdManager\v202502\YieldParameter[]|null $parameters * @return \Google\AdsApi\AdManager\v202502\YieldPartnerSettings */ - public function setParameters(array $parameters = null) + public function setParameters(?array $parameters = null) { $this->parameters = $parameters; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createAdRulesResponse.php b/src/Google/AdsApi/AdManager/v202502/createAdRulesResponse.php index 55276de0d..6bca715d4 100644 --- a/src/Google/AdsApi/AdManager/v202502/createAdRulesResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createAdRulesResponse.php @@ -17,7 +17,7 @@ class createAdRulesResponse /** * @param \Google\AdsApi\AdManager\v202502\AdRule[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\AdRule[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createAdRulesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createAdSpotsResponse.php b/src/Google/AdsApi/AdManager/v202502/createAdSpotsResponse.php index 9415e7d05..28f969396 100644 --- a/src/Google/AdsApi/AdManager/v202502/createAdSpotsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createAdSpotsResponse.php @@ -17,7 +17,7 @@ class createAdSpotsResponse /** * @param \Google\AdsApi\AdManager\v202502\AdSpot[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\AdSpot[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createAdSpotsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createAdUnitsResponse.php b/src/Google/AdsApi/AdManager/v202502/createAdUnitsResponse.php index 3d43a0e93..33159d199 100644 --- a/src/Google/AdsApi/AdManager/v202502/createAdUnitsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createAdUnitsResponse.php @@ -17,7 +17,7 @@ class createAdUnitsResponse /** * @param \Google\AdsApi\AdManager\v202502\AdUnit[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\AdUnit[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createAdUnitsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createAudienceSegmentsResponse.php b/src/Google/AdsApi/AdManager/v202502/createAudienceSegmentsResponse.php index 2a1dc448a..ca4c07cc7 100644 --- a/src/Google/AdsApi/AdManager/v202502/createAudienceSegmentsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createAudienceSegmentsResponse.php @@ -17,7 +17,7 @@ class createAudienceSegmentsResponse /** * @param \Google\AdsApi\AdManager\v202502\FirstPartyAudienceSegment[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\FirstPartyAudienceSegment[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createAudienceSegmentsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createBreakTemplatesResponse.php b/src/Google/AdsApi/AdManager/v202502/createBreakTemplatesResponse.php index a16a25e9f..156b30bbe 100644 --- a/src/Google/AdsApi/AdManager/v202502/createBreakTemplatesResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createBreakTemplatesResponse.php @@ -17,7 +17,7 @@ class createBreakTemplatesResponse /** * @param \Google\AdsApi\AdManager\v202502\BreakTemplate[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\BreakTemplate[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createBreakTemplatesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createCdnConfigurationsResponse.php b/src/Google/AdsApi/AdManager/v202502/createCdnConfigurationsResponse.php index 94f373d5b..7044e7737 100644 --- a/src/Google/AdsApi/AdManager/v202502/createCdnConfigurationsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createCdnConfigurationsResponse.php @@ -17,7 +17,7 @@ class createCdnConfigurationsResponse /** * @param \Google\AdsApi\AdManager\v202502\CdnConfiguration[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\CdnConfiguration[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createCdnConfigurationsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createCompaniesResponse.php b/src/Google/AdsApi/AdManager/v202502/createCompaniesResponse.php index ab9f2b270..ad9efc83f 100644 --- a/src/Google/AdsApi/AdManager/v202502/createCompaniesResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createCompaniesResponse.php @@ -17,7 +17,7 @@ class createCompaniesResponse /** * @param \Google\AdsApi\AdManager\v202502\Company[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\Company[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createCompaniesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createContactsResponse.php b/src/Google/AdsApi/AdManager/v202502/createContactsResponse.php index 4bb40859a..91bb02573 100644 --- a/src/Google/AdsApi/AdManager/v202502/createContactsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createContactsResponse.php @@ -17,7 +17,7 @@ class createContactsResponse /** * @param \Google\AdsApi\AdManager\v202502\Contact[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\Contact[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createContactsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createContentBundlesResponse.php b/src/Google/AdsApi/AdManager/v202502/createContentBundlesResponse.php index 3a950501f..1ad8a9e3f 100644 --- a/src/Google/AdsApi/AdManager/v202502/createContentBundlesResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createContentBundlesResponse.php @@ -17,7 +17,7 @@ class createContentBundlesResponse /** * @param \Google\AdsApi\AdManager\v202502\ContentBundle[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\ContentBundle[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createContentBundlesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createCreativeWrappersResponse.php b/src/Google/AdsApi/AdManager/v202502/createCreativeWrappersResponse.php index b6cd2928e..8b333f650 100644 --- a/src/Google/AdsApi/AdManager/v202502/createCreativeWrappersResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createCreativeWrappersResponse.php @@ -17,7 +17,7 @@ class createCreativeWrappersResponse /** * @param \Google\AdsApi\AdManager\v202502\CreativeWrapper[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\CreativeWrapper[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createCreativeWrappersResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createCreativesResponse.php b/src/Google/AdsApi/AdManager/v202502/createCreativesResponse.php index 68ec24ce2..6b4f57776 100644 --- a/src/Google/AdsApi/AdManager/v202502/createCreativesResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createCreativesResponse.php @@ -17,7 +17,7 @@ class createCreativesResponse /** * @param \Google\AdsApi\AdManager\v202502\Creative[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\Creative[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createCreativesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createCustomFieldOptionsResponse.php b/src/Google/AdsApi/AdManager/v202502/createCustomFieldOptionsResponse.php index d4670ae4b..0a2c24785 100644 --- a/src/Google/AdsApi/AdManager/v202502/createCustomFieldOptionsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createCustomFieldOptionsResponse.php @@ -17,7 +17,7 @@ class createCustomFieldOptionsResponse /** * @param \Google\AdsApi\AdManager\v202502\CustomFieldOption[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\CustomFieldOption[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createCustomFieldOptionsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createCustomFieldsResponse.php b/src/Google/AdsApi/AdManager/v202502/createCustomFieldsResponse.php index c76aeb954..7b03b2953 100644 --- a/src/Google/AdsApi/AdManager/v202502/createCustomFieldsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createCustomFieldsResponse.php @@ -17,7 +17,7 @@ class createCustomFieldsResponse /** * @param \Google\AdsApi\AdManager\v202502\CustomField[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\CustomField[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createCustomFieldsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createCustomTargetingKeysResponse.php b/src/Google/AdsApi/AdManager/v202502/createCustomTargetingKeysResponse.php index ee7968f75..4944eaebd 100644 --- a/src/Google/AdsApi/AdManager/v202502/createCustomTargetingKeysResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createCustomTargetingKeysResponse.php @@ -17,7 +17,7 @@ class createCustomTargetingKeysResponse /** * @param \Google\AdsApi\AdManager\v202502\CustomTargetingKey[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\CustomTargetingKey[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createCustomTargetingKeysResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createCustomTargetingValuesResponse.php b/src/Google/AdsApi/AdManager/v202502/createCustomTargetingValuesResponse.php index a05c4b679..398af5308 100644 --- a/src/Google/AdsApi/AdManager/v202502/createCustomTargetingValuesResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createCustomTargetingValuesResponse.php @@ -17,7 +17,7 @@ class createCustomTargetingValuesResponse /** * @param \Google\AdsApi\AdManager\v202502\CustomTargetingValue[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\CustomTargetingValue[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createCustomTargetingValuesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createDaiAuthenticationKeysResponse.php b/src/Google/AdsApi/AdManager/v202502/createDaiAuthenticationKeysResponse.php index 8008e131c..03839212d 100644 --- a/src/Google/AdsApi/AdManager/v202502/createDaiAuthenticationKeysResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createDaiAuthenticationKeysResponse.php @@ -17,7 +17,7 @@ class createDaiAuthenticationKeysResponse /** * @param \Google\AdsApi\AdManager\v202502\DaiAuthenticationKey[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\DaiAuthenticationKey[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createDaiAuthenticationKeysResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createDaiEncodingProfilesResponse.php b/src/Google/AdsApi/AdManager/v202502/createDaiEncodingProfilesResponse.php index 2e7d79e31..3a57dda31 100644 --- a/src/Google/AdsApi/AdManager/v202502/createDaiEncodingProfilesResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createDaiEncodingProfilesResponse.php @@ -17,7 +17,7 @@ class createDaiEncodingProfilesResponse /** * @param \Google\AdsApi\AdManager\v202502\DaiEncodingProfile[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\DaiEncodingProfile[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createDaiEncodingProfilesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createForecastAdjustmentsResponse.php b/src/Google/AdsApi/AdManager/v202502/createForecastAdjustmentsResponse.php index bc356b998..4e27e60a9 100644 --- a/src/Google/AdsApi/AdManager/v202502/createForecastAdjustmentsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createForecastAdjustmentsResponse.php @@ -17,7 +17,7 @@ class createForecastAdjustmentsResponse /** * @param \Google\AdsApi\AdManager\v202502\ForecastAdjustment[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\ForecastAdjustment[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createForecastAdjustmentsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createLabelsResponse.php b/src/Google/AdsApi/AdManager/v202502/createLabelsResponse.php index 36c76884d..ab121d3b3 100644 --- a/src/Google/AdsApi/AdManager/v202502/createLabelsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createLabelsResponse.php @@ -17,7 +17,7 @@ class createLabelsResponse /** * @param \Google\AdsApi\AdManager\v202502\Label[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\Label[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createLabelsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createLineItemCreativeAssociationsResponse.php b/src/Google/AdsApi/AdManager/v202502/createLineItemCreativeAssociationsResponse.php index dc4a08edb..7941b7943 100644 --- a/src/Google/AdsApi/AdManager/v202502/createLineItemCreativeAssociationsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createLineItemCreativeAssociationsResponse.php @@ -17,7 +17,7 @@ class createLineItemCreativeAssociationsResponse /** * @param \Google\AdsApi\AdManager\v202502\LineItemCreativeAssociation[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\LineItemCreativeAssociation[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createLineItemCreativeAssociationsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createLineItemsResponse.php b/src/Google/AdsApi/AdManager/v202502/createLineItemsResponse.php index ed8fe3863..4fd490fcf 100644 --- a/src/Google/AdsApi/AdManager/v202502/createLineItemsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createLineItemsResponse.php @@ -17,7 +17,7 @@ class createLineItemsResponse /** * @param \Google\AdsApi\AdManager\v202502\LineItem[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\LineItem[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createLineItemsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createLiveStreamEventsResponse.php b/src/Google/AdsApi/AdManager/v202502/createLiveStreamEventsResponse.php index 6889e98a4..b5f63064b 100644 --- a/src/Google/AdsApi/AdManager/v202502/createLiveStreamEventsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createLiveStreamEventsResponse.php @@ -17,7 +17,7 @@ class createLiveStreamEventsResponse /** * @param \Google\AdsApi\AdManager\v202502\LiveStreamEvent[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\LiveStreamEvent[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createLiveStreamEventsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createMakegoodsResponse.php b/src/Google/AdsApi/AdManager/v202502/createMakegoodsResponse.php index 22bdc7c71..19c05bdba 100644 --- a/src/Google/AdsApi/AdManager/v202502/createMakegoodsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createMakegoodsResponse.php @@ -17,7 +17,7 @@ class createMakegoodsResponse /** * @param \Google\AdsApi\AdManager\v202502\ProposalLineItem[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\ProposalLineItem[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createMakegoodsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createMobileApplicationsResponse.php b/src/Google/AdsApi/AdManager/v202502/createMobileApplicationsResponse.php index 5d49fabd9..b76127673 100644 --- a/src/Google/AdsApi/AdManager/v202502/createMobileApplicationsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createMobileApplicationsResponse.php @@ -17,7 +17,7 @@ class createMobileApplicationsResponse /** * @param \Google\AdsApi\AdManager\v202502\MobileApplication[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\MobileApplication[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createMobileApplicationsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createNativeStylesResponse.php b/src/Google/AdsApi/AdManager/v202502/createNativeStylesResponse.php index e7dc3f34e..d88b2b46d 100644 --- a/src/Google/AdsApi/AdManager/v202502/createNativeStylesResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createNativeStylesResponse.php @@ -17,7 +17,7 @@ class createNativeStylesResponse /** * @param \Google\AdsApi\AdManager\v202502\NativeStyle[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\NativeStyle[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createNativeStylesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createOrdersResponse.php b/src/Google/AdsApi/AdManager/v202502/createOrdersResponse.php index 1c962ddca..2c050cccf 100644 --- a/src/Google/AdsApi/AdManager/v202502/createOrdersResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createOrdersResponse.php @@ -17,7 +17,7 @@ class createOrdersResponse /** * @param \Google\AdsApi\AdManager\v202502\Order[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\Order[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createOrdersResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createPlacementsResponse.php b/src/Google/AdsApi/AdManager/v202502/createPlacementsResponse.php index 3b0d7460c..c24107053 100644 --- a/src/Google/AdsApi/AdManager/v202502/createPlacementsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createPlacementsResponse.php @@ -17,7 +17,7 @@ class createPlacementsResponse /** * @param \Google\AdsApi\AdManager\v202502\Placement[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\Placement[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createPlacementsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createProposalLineItemsResponse.php b/src/Google/AdsApi/AdManager/v202502/createProposalLineItemsResponse.php index 69a67f303..bb29daaa5 100644 --- a/src/Google/AdsApi/AdManager/v202502/createProposalLineItemsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createProposalLineItemsResponse.php @@ -17,7 +17,7 @@ class createProposalLineItemsResponse /** * @param \Google\AdsApi\AdManager\v202502\ProposalLineItem[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\ProposalLineItem[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createProposalLineItemsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createProposalsResponse.php b/src/Google/AdsApi/AdManager/v202502/createProposalsResponse.php index 6c9bd3460..e6600caf0 100644 --- a/src/Google/AdsApi/AdManager/v202502/createProposalsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createProposalsResponse.php @@ -17,7 +17,7 @@ class createProposalsResponse /** * @param \Google\AdsApi\AdManager\v202502\Proposal[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\Proposal[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createProposalsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createSitesResponse.php b/src/Google/AdsApi/AdManager/v202502/createSitesResponse.php index 64218414c..a968e3c8c 100644 --- a/src/Google/AdsApi/AdManager/v202502/createSitesResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createSitesResponse.php @@ -17,7 +17,7 @@ class createSitesResponse /** * @param \Google\AdsApi\AdManager\v202502\Site[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\Site[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createSitesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createSlatesResponse.php b/src/Google/AdsApi/AdManager/v202502/createSlatesResponse.php index 6fe837feb..8a48d3de9 100644 --- a/src/Google/AdsApi/AdManager/v202502/createSlatesResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createSlatesResponse.php @@ -17,7 +17,7 @@ class createSlatesResponse /** * @param \Google\AdsApi\AdManager\v202502\Slate[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\Slate[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createSlatesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createTargetingPresetsResponse.php b/src/Google/AdsApi/AdManager/v202502/createTargetingPresetsResponse.php index 45962305f..1e20c4448 100644 --- a/src/Google/AdsApi/AdManager/v202502/createTargetingPresetsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createTargetingPresetsResponse.php @@ -17,7 +17,7 @@ class createTargetingPresetsResponse /** * @param \Google\AdsApi\AdManager\v202502\TargetingPreset[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\TargetingPreset[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createTargetingPresetsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createTeamsResponse.php b/src/Google/AdsApi/AdManager/v202502/createTeamsResponse.php index 6a1b5c478..0e2a2b9f9 100644 --- a/src/Google/AdsApi/AdManager/v202502/createTeamsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createTeamsResponse.php @@ -17,7 +17,7 @@ class createTeamsResponse /** * @param \Google\AdsApi\AdManager\v202502\Team[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\Team[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createTeamsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createTrafficForecastSegmentsResponse.php b/src/Google/AdsApi/AdManager/v202502/createTrafficForecastSegmentsResponse.php index c490b8b8b..9248fb69a 100644 --- a/src/Google/AdsApi/AdManager/v202502/createTrafficForecastSegmentsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createTrafficForecastSegmentsResponse.php @@ -17,7 +17,7 @@ class createTrafficForecastSegmentsResponse /** * @param \Google\AdsApi\AdManager\v202502\TrafficForecastSegment[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\TrafficForecastSegment[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createTrafficForecastSegmentsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createUserTeamAssociationsResponse.php b/src/Google/AdsApi/AdManager/v202502/createUserTeamAssociationsResponse.php index 1645c5191..f8350fe53 100644 --- a/src/Google/AdsApi/AdManager/v202502/createUserTeamAssociationsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createUserTeamAssociationsResponse.php @@ -17,7 +17,7 @@ class createUserTeamAssociationsResponse /** * @param \Google\AdsApi\AdManager\v202502\UserTeamAssociation[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\UserTeamAssociation[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createUserTeamAssociationsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createUsersResponse.php b/src/Google/AdsApi/AdManager/v202502/createUsersResponse.php index 74e69b96a..3fd757623 100644 --- a/src/Google/AdsApi/AdManager/v202502/createUsersResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createUsersResponse.php @@ -17,7 +17,7 @@ class createUsersResponse /** * @param \Google\AdsApi\AdManager\v202502\User[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\User[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createUsersResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/createYieldGroupsResponse.php b/src/Google/AdsApi/AdManager/v202502/createYieldGroupsResponse.php index c278398a3..d3ff94a57 100644 --- a/src/Google/AdsApi/AdManager/v202502/createYieldGroupsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/createYieldGroupsResponse.php @@ -17,7 +17,7 @@ class createYieldGroupsResponse /** * @param \Google\AdsApi\AdManager\v202502\YieldGroup[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\YieldGroup[]|null $rval * @return \Google\AdsApi\AdManager\v202502\createYieldGroupsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/getAdUnitSizesByStatementResponse.php b/src/Google/AdsApi/AdManager/v202502/getAdUnitSizesByStatementResponse.php index f316222a4..c4b362533 100644 --- a/src/Google/AdsApi/AdManager/v202502/getAdUnitSizesByStatementResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/getAdUnitSizesByStatementResponse.php @@ -17,7 +17,7 @@ class getAdUnitSizesByStatementResponse /** * @param \Google\AdsApi\AdManager\v202502\AdUnitSize[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\AdUnitSize[]|null $rval * @return \Google\AdsApi\AdManager\v202502\getAdUnitSizesByStatementResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/getAllNetworksResponse.php b/src/Google/AdsApi/AdManager/v202502/getAllNetworksResponse.php index 5914ffb9b..d41d91d8e 100644 --- a/src/Google/AdsApi/AdManager/v202502/getAllNetworksResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/getAllNetworksResponse.php @@ -17,7 +17,7 @@ class getAllNetworksResponse /** * @param \Google\AdsApi\AdManager\v202502\Network[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\Network[]|null $rval * @return \Google\AdsApi\AdManager\v202502\getAllNetworksResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/getAllRolesResponse.php b/src/Google/AdsApi/AdManager/v202502/getAllRolesResponse.php index 0f4e711a4..6d6226488 100644 --- a/src/Google/AdsApi/AdManager/v202502/getAllRolesResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/getAllRolesResponse.php @@ -17,7 +17,7 @@ class getAllRolesResponse /** * @param \Google\AdsApi\AdManager\v202502\Role[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\Role[]|null $rval * @return \Google\AdsApi\AdManager\v202502\getAllRolesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/getPreviewUrlsForNativeStylesResponse.php b/src/Google/AdsApi/AdManager/v202502/getPreviewUrlsForNativeStylesResponse.php index d2618f963..8d7c3dfd7 100644 --- a/src/Google/AdsApi/AdManager/v202502/getPreviewUrlsForNativeStylesResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/getPreviewUrlsForNativeStylesResponse.php @@ -17,7 +17,7 @@ class getPreviewUrlsForNativeStylesResponse /** * @param \Google\AdsApi\AdManager\v202502\CreativeNativeStylePreview[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\CreativeNativeStylePreview[]|null $rval * @return \Google\AdsApi\AdManager\v202502\getPreviewUrlsForNativeStylesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/getSamSessionsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202502/getSamSessionsByStatementResponse.php index b311b9015..39c2ff18b 100644 --- a/src/Google/AdsApi/AdManager/v202502/getSamSessionsByStatementResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/getSamSessionsByStatementResponse.php @@ -17,7 +17,7 @@ class getSamSessionsByStatementResponse /** * @param \Google\AdsApi\AdManager\v202502\SamSession[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\SamSession[]|null $rval * @return \Google\AdsApi\AdManager\v202502\getSamSessionsByStatementResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/getSegmentPopulationResultsByIdsResponse.php b/src/Google/AdsApi/AdManager/v202502/getSegmentPopulationResultsByIdsResponse.php index ba016dccb..b7bfef965 100644 --- a/src/Google/AdsApi/AdManager/v202502/getSegmentPopulationResultsByIdsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/getSegmentPopulationResultsByIdsResponse.php @@ -17,7 +17,7 @@ class getSegmentPopulationResultsByIdsResponse /** * @param \Google\AdsApi\AdManager\v202502\SegmentPopulationResults[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\SegmentPopulationResults[]|null $rval * @return \Google\AdsApi\AdManager\v202502\getSegmentPopulationResultsByIdsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/getYieldPartnersResponse.php b/src/Google/AdsApi/AdManager/v202502/getYieldPartnersResponse.php index 2b729f0a3..4adb1d05e 100644 --- a/src/Google/AdsApi/AdManager/v202502/getYieldPartnersResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/getYieldPartnersResponse.php @@ -17,7 +17,7 @@ class getYieldPartnersResponse /** * @param \Google\AdsApi\AdManager\v202502\YieldPartner[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\YieldPartner[]|null $rval * @return \Google\AdsApi\AdManager\v202502\getYieldPartnersResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/registerSessionsForMonitoringResponse.php b/src/Google/AdsApi/AdManager/v202502/registerSessionsForMonitoringResponse.php index 8973ec5d5..cfc02fd9a 100644 --- a/src/Google/AdsApi/AdManager/v202502/registerSessionsForMonitoringResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/registerSessionsForMonitoringResponse.php @@ -17,7 +17,7 @@ class registerSessionsForMonitoringResponse /** * @param string[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param string[]|null $rval * @return \Google\AdsApi\AdManager\v202502\registerSessionsForMonitoringResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/updateAdRulesResponse.php b/src/Google/AdsApi/AdManager/v202502/updateAdRulesResponse.php index 2f3350cdb..95a7e1b77 100644 --- a/src/Google/AdsApi/AdManager/v202502/updateAdRulesResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/updateAdRulesResponse.php @@ -17,7 +17,7 @@ class updateAdRulesResponse /** * @param \Google\AdsApi\AdManager\v202502\AdRule[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\AdRule[]|null $rval * @return \Google\AdsApi\AdManager\v202502\updateAdRulesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/updateAdSpotsResponse.php b/src/Google/AdsApi/AdManager/v202502/updateAdSpotsResponse.php index cea7119cb..94213216b 100644 --- a/src/Google/AdsApi/AdManager/v202502/updateAdSpotsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/updateAdSpotsResponse.php @@ -17,7 +17,7 @@ class updateAdSpotsResponse /** * @param \Google\AdsApi\AdManager\v202502\AdSpot[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\AdSpot[]|null $rval * @return \Google\AdsApi\AdManager\v202502\updateAdSpotsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/updateAdUnitsResponse.php b/src/Google/AdsApi/AdManager/v202502/updateAdUnitsResponse.php index 7dcd67e5b..538cd6cb6 100644 --- a/src/Google/AdsApi/AdManager/v202502/updateAdUnitsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/updateAdUnitsResponse.php @@ -17,7 +17,7 @@ class updateAdUnitsResponse /** * @param \Google\AdsApi\AdManager\v202502\AdUnit[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\AdUnit[]|null $rval * @return \Google\AdsApi\AdManager\v202502\updateAdUnitsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/updateAudienceSegmentsResponse.php b/src/Google/AdsApi/AdManager/v202502/updateAudienceSegmentsResponse.php index 1cda033b6..5c1bf0099 100644 --- a/src/Google/AdsApi/AdManager/v202502/updateAudienceSegmentsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/updateAudienceSegmentsResponse.php @@ -17,7 +17,7 @@ class updateAudienceSegmentsResponse /** * @param \Google\AdsApi\AdManager\v202502\FirstPartyAudienceSegment[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\FirstPartyAudienceSegment[]|null $rval * @return \Google\AdsApi\AdManager\v202502\updateAudienceSegmentsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/updateBreakTemplatesResponse.php b/src/Google/AdsApi/AdManager/v202502/updateBreakTemplatesResponse.php index 1e9527f48..d2ba4768a 100644 --- a/src/Google/AdsApi/AdManager/v202502/updateBreakTemplatesResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/updateBreakTemplatesResponse.php @@ -17,7 +17,7 @@ class updateBreakTemplatesResponse /** * @param \Google\AdsApi\AdManager\v202502\BreakTemplate[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\BreakTemplate[]|null $rval * @return \Google\AdsApi\AdManager\v202502\updateBreakTemplatesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/updateCdnConfigurationsResponse.php b/src/Google/AdsApi/AdManager/v202502/updateCdnConfigurationsResponse.php index e2b0b7eb9..4a93b9039 100644 --- a/src/Google/AdsApi/AdManager/v202502/updateCdnConfigurationsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/updateCdnConfigurationsResponse.php @@ -17,7 +17,7 @@ class updateCdnConfigurationsResponse /** * @param \Google\AdsApi\AdManager\v202502\CdnConfiguration[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\CdnConfiguration[]|null $rval * @return \Google\AdsApi\AdManager\v202502\updateCdnConfigurationsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/updateCompaniesResponse.php b/src/Google/AdsApi/AdManager/v202502/updateCompaniesResponse.php index b2ad4c15d..5d325eadc 100644 --- a/src/Google/AdsApi/AdManager/v202502/updateCompaniesResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/updateCompaniesResponse.php @@ -17,7 +17,7 @@ class updateCompaniesResponse /** * @param \Google\AdsApi\AdManager\v202502\Company[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\Company[]|null $rval * @return \Google\AdsApi\AdManager\v202502\updateCompaniesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/updateContactsResponse.php b/src/Google/AdsApi/AdManager/v202502/updateContactsResponse.php index 65ef8a301..6543903ab 100644 --- a/src/Google/AdsApi/AdManager/v202502/updateContactsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/updateContactsResponse.php @@ -17,7 +17,7 @@ class updateContactsResponse /** * @param \Google\AdsApi\AdManager\v202502\Contact[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\Contact[]|null $rval * @return \Google\AdsApi\AdManager\v202502\updateContactsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/updateContentBundlesResponse.php b/src/Google/AdsApi/AdManager/v202502/updateContentBundlesResponse.php index 309e7a910..a6694ab8d 100644 --- a/src/Google/AdsApi/AdManager/v202502/updateContentBundlesResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/updateContentBundlesResponse.php @@ -17,7 +17,7 @@ class updateContentBundlesResponse /** * @param \Google\AdsApi\AdManager\v202502\ContentBundle[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\ContentBundle[]|null $rval * @return \Google\AdsApi\AdManager\v202502\updateContentBundlesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/updateCreativeWrappersResponse.php b/src/Google/AdsApi/AdManager/v202502/updateCreativeWrappersResponse.php index 7be46f8be..e92f73ffe 100644 --- a/src/Google/AdsApi/AdManager/v202502/updateCreativeWrappersResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/updateCreativeWrappersResponse.php @@ -17,7 +17,7 @@ class updateCreativeWrappersResponse /** * @param \Google\AdsApi\AdManager\v202502\CreativeWrapper[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\CreativeWrapper[]|null $rval * @return \Google\AdsApi\AdManager\v202502\updateCreativeWrappersResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/updateCreativesResponse.php b/src/Google/AdsApi/AdManager/v202502/updateCreativesResponse.php index ab8f80883..e9074efbc 100644 --- a/src/Google/AdsApi/AdManager/v202502/updateCreativesResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/updateCreativesResponse.php @@ -17,7 +17,7 @@ class updateCreativesResponse /** * @param \Google\AdsApi\AdManager\v202502\Creative[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\Creative[]|null $rval * @return \Google\AdsApi\AdManager\v202502\updateCreativesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/updateCustomFieldOptionsResponse.php b/src/Google/AdsApi/AdManager/v202502/updateCustomFieldOptionsResponse.php index 872f4ce33..cf003d61f 100644 --- a/src/Google/AdsApi/AdManager/v202502/updateCustomFieldOptionsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/updateCustomFieldOptionsResponse.php @@ -17,7 +17,7 @@ class updateCustomFieldOptionsResponse /** * @param \Google\AdsApi\AdManager\v202502\CustomFieldOption[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\CustomFieldOption[]|null $rval * @return \Google\AdsApi\AdManager\v202502\updateCustomFieldOptionsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/updateCustomFieldsResponse.php b/src/Google/AdsApi/AdManager/v202502/updateCustomFieldsResponse.php index cabc8fa1c..f58c8508f 100644 --- a/src/Google/AdsApi/AdManager/v202502/updateCustomFieldsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/updateCustomFieldsResponse.php @@ -17,7 +17,7 @@ class updateCustomFieldsResponse /** * @param \Google\AdsApi\AdManager\v202502\CustomField[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\CustomField[]|null $rval * @return \Google\AdsApi\AdManager\v202502\updateCustomFieldsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/updateCustomTargetingKeysResponse.php b/src/Google/AdsApi/AdManager/v202502/updateCustomTargetingKeysResponse.php index 900f834af..facf45ca0 100644 --- a/src/Google/AdsApi/AdManager/v202502/updateCustomTargetingKeysResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/updateCustomTargetingKeysResponse.php @@ -17,7 +17,7 @@ class updateCustomTargetingKeysResponse /** * @param \Google\AdsApi\AdManager\v202502\CustomTargetingKey[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\CustomTargetingKey[]|null $rval * @return \Google\AdsApi\AdManager\v202502\updateCustomTargetingKeysResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/updateCustomTargetingValuesResponse.php b/src/Google/AdsApi/AdManager/v202502/updateCustomTargetingValuesResponse.php index 10cd775f6..c5e5a7ab6 100644 --- a/src/Google/AdsApi/AdManager/v202502/updateCustomTargetingValuesResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/updateCustomTargetingValuesResponse.php @@ -17,7 +17,7 @@ class updateCustomTargetingValuesResponse /** * @param \Google\AdsApi\AdManager\v202502\CustomTargetingValue[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\CustomTargetingValue[]|null $rval * @return \Google\AdsApi\AdManager\v202502\updateCustomTargetingValuesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/updateDaiAuthenticationKeysResponse.php b/src/Google/AdsApi/AdManager/v202502/updateDaiAuthenticationKeysResponse.php index fdfc278c9..4de31f3a3 100644 --- a/src/Google/AdsApi/AdManager/v202502/updateDaiAuthenticationKeysResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/updateDaiAuthenticationKeysResponse.php @@ -17,7 +17,7 @@ class updateDaiAuthenticationKeysResponse /** * @param \Google\AdsApi\AdManager\v202502\DaiAuthenticationKey[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\DaiAuthenticationKey[]|null $rval * @return \Google\AdsApi\AdManager\v202502\updateDaiAuthenticationKeysResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/updateDaiEncodingProfilesResponse.php b/src/Google/AdsApi/AdManager/v202502/updateDaiEncodingProfilesResponse.php index 121c271a4..6561737d5 100644 --- a/src/Google/AdsApi/AdManager/v202502/updateDaiEncodingProfilesResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/updateDaiEncodingProfilesResponse.php @@ -17,7 +17,7 @@ class updateDaiEncodingProfilesResponse /** * @param \Google\AdsApi\AdManager\v202502\DaiEncodingProfile[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\DaiEncodingProfile[]|null $rval * @return \Google\AdsApi\AdManager\v202502\updateDaiEncodingProfilesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/updateForecastAdjustmentsResponse.php b/src/Google/AdsApi/AdManager/v202502/updateForecastAdjustmentsResponse.php index 4bb9bdc80..88c09ef5c 100644 --- a/src/Google/AdsApi/AdManager/v202502/updateForecastAdjustmentsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/updateForecastAdjustmentsResponse.php @@ -17,7 +17,7 @@ class updateForecastAdjustmentsResponse /** * @param \Google\AdsApi\AdManager\v202502\ForecastAdjustment[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\ForecastAdjustment[]|null $rval * @return \Google\AdsApi\AdManager\v202502\updateForecastAdjustmentsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/updateLabelsResponse.php b/src/Google/AdsApi/AdManager/v202502/updateLabelsResponse.php index a2fec0f73..8b2b98aca 100644 --- a/src/Google/AdsApi/AdManager/v202502/updateLabelsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/updateLabelsResponse.php @@ -17,7 +17,7 @@ class updateLabelsResponse /** * @param \Google\AdsApi\AdManager\v202502\Label[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\Label[]|null $rval * @return \Google\AdsApi\AdManager\v202502\updateLabelsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/updateLineItemCreativeAssociationsResponse.php b/src/Google/AdsApi/AdManager/v202502/updateLineItemCreativeAssociationsResponse.php index bd1515b6d..ef89630fe 100644 --- a/src/Google/AdsApi/AdManager/v202502/updateLineItemCreativeAssociationsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/updateLineItemCreativeAssociationsResponse.php @@ -17,7 +17,7 @@ class updateLineItemCreativeAssociationsResponse /** * @param \Google\AdsApi\AdManager\v202502\LineItemCreativeAssociation[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\LineItemCreativeAssociation[]|null $rval * @return \Google\AdsApi\AdManager\v202502\updateLineItemCreativeAssociationsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/updateLineItemsResponse.php b/src/Google/AdsApi/AdManager/v202502/updateLineItemsResponse.php index 89c94c270..b0e1cdb69 100644 --- a/src/Google/AdsApi/AdManager/v202502/updateLineItemsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/updateLineItemsResponse.php @@ -17,7 +17,7 @@ class updateLineItemsResponse /** * @param \Google\AdsApi\AdManager\v202502\LineItem[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\LineItem[]|null $rval * @return \Google\AdsApi\AdManager\v202502\updateLineItemsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/updateLiveStreamEventsResponse.php b/src/Google/AdsApi/AdManager/v202502/updateLiveStreamEventsResponse.php index e437b595f..77d1f3fdf 100644 --- a/src/Google/AdsApi/AdManager/v202502/updateLiveStreamEventsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/updateLiveStreamEventsResponse.php @@ -17,7 +17,7 @@ class updateLiveStreamEventsResponse /** * @param \Google\AdsApi\AdManager\v202502\LiveStreamEvent[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\LiveStreamEvent[]|null $rval * @return \Google\AdsApi\AdManager\v202502\updateLiveStreamEventsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/updateMobileApplicationsResponse.php b/src/Google/AdsApi/AdManager/v202502/updateMobileApplicationsResponse.php index 5769cce51..ea0ed4624 100644 --- a/src/Google/AdsApi/AdManager/v202502/updateMobileApplicationsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/updateMobileApplicationsResponse.php @@ -17,7 +17,7 @@ class updateMobileApplicationsResponse /** * @param \Google\AdsApi\AdManager\v202502\MobileApplication[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\MobileApplication[]|null $rval * @return \Google\AdsApi\AdManager\v202502\updateMobileApplicationsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/updateNativeStylesResponse.php b/src/Google/AdsApi/AdManager/v202502/updateNativeStylesResponse.php index 569de911c..69f5c0477 100644 --- a/src/Google/AdsApi/AdManager/v202502/updateNativeStylesResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/updateNativeStylesResponse.php @@ -17,7 +17,7 @@ class updateNativeStylesResponse /** * @param \Google\AdsApi\AdManager\v202502\NativeStyle[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\NativeStyle[]|null $rval * @return \Google\AdsApi\AdManager\v202502\updateNativeStylesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/updateOrdersResponse.php b/src/Google/AdsApi/AdManager/v202502/updateOrdersResponse.php index aa95936d2..0308491c6 100644 --- a/src/Google/AdsApi/AdManager/v202502/updateOrdersResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/updateOrdersResponse.php @@ -17,7 +17,7 @@ class updateOrdersResponse /** * @param \Google\AdsApi\AdManager\v202502\Order[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\Order[]|null $rval * @return \Google\AdsApi\AdManager\v202502\updateOrdersResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/updatePlacementsResponse.php b/src/Google/AdsApi/AdManager/v202502/updatePlacementsResponse.php index b697e9538..583809851 100644 --- a/src/Google/AdsApi/AdManager/v202502/updatePlacementsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/updatePlacementsResponse.php @@ -17,7 +17,7 @@ class updatePlacementsResponse /** * @param \Google\AdsApi\AdManager\v202502\Placement[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\Placement[]|null $rval * @return \Google\AdsApi\AdManager\v202502\updatePlacementsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/updateProposalLineItemsResponse.php b/src/Google/AdsApi/AdManager/v202502/updateProposalLineItemsResponse.php index c828bf6a5..07d6531c6 100644 --- a/src/Google/AdsApi/AdManager/v202502/updateProposalLineItemsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/updateProposalLineItemsResponse.php @@ -17,7 +17,7 @@ class updateProposalLineItemsResponse /** * @param \Google\AdsApi\AdManager\v202502\ProposalLineItem[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\ProposalLineItem[]|null $rval * @return \Google\AdsApi\AdManager\v202502\updateProposalLineItemsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/updateProposalsResponse.php b/src/Google/AdsApi/AdManager/v202502/updateProposalsResponse.php index a07f903d4..95091dfcf 100644 --- a/src/Google/AdsApi/AdManager/v202502/updateProposalsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/updateProposalsResponse.php @@ -17,7 +17,7 @@ class updateProposalsResponse /** * @param \Google\AdsApi\AdManager\v202502\Proposal[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\Proposal[]|null $rval * @return \Google\AdsApi\AdManager\v202502\updateProposalsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/updateSitesResponse.php b/src/Google/AdsApi/AdManager/v202502/updateSitesResponse.php index 46c8f2df2..18a7c6998 100644 --- a/src/Google/AdsApi/AdManager/v202502/updateSitesResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/updateSitesResponse.php @@ -17,7 +17,7 @@ class updateSitesResponse /** * @param \Google\AdsApi\AdManager\v202502\Site[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\Site[]|null $rval * @return \Google\AdsApi\AdManager\v202502\updateSitesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/updateSlatesResponse.php b/src/Google/AdsApi/AdManager/v202502/updateSlatesResponse.php index 06c47d5a1..1931f7bf6 100644 --- a/src/Google/AdsApi/AdManager/v202502/updateSlatesResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/updateSlatesResponse.php @@ -17,7 +17,7 @@ class updateSlatesResponse /** * @param \Google\AdsApi\AdManager\v202502\Slate[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\Slate[]|null $rval * @return \Google\AdsApi\AdManager\v202502\updateSlatesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/updateTargetingPresetsResponse.php b/src/Google/AdsApi/AdManager/v202502/updateTargetingPresetsResponse.php index 1aa1ad5d6..d64d60200 100644 --- a/src/Google/AdsApi/AdManager/v202502/updateTargetingPresetsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/updateTargetingPresetsResponse.php @@ -17,7 +17,7 @@ class updateTargetingPresetsResponse /** * @param \Google\AdsApi\AdManager\v202502\TargetingPreset[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\TargetingPreset[]|null $rval * @return \Google\AdsApi\AdManager\v202502\updateTargetingPresetsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/updateTeamsResponse.php b/src/Google/AdsApi/AdManager/v202502/updateTeamsResponse.php index 163aaf89c..87c560b22 100644 --- a/src/Google/AdsApi/AdManager/v202502/updateTeamsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/updateTeamsResponse.php @@ -17,7 +17,7 @@ class updateTeamsResponse /** * @param \Google\AdsApi\AdManager\v202502\Team[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\Team[]|null $rval * @return \Google\AdsApi\AdManager\v202502\updateTeamsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/updateTrafficForecastSegmentsResponse.php b/src/Google/AdsApi/AdManager/v202502/updateTrafficForecastSegmentsResponse.php index 2983d77f1..e787880da 100644 --- a/src/Google/AdsApi/AdManager/v202502/updateTrafficForecastSegmentsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/updateTrafficForecastSegmentsResponse.php @@ -17,7 +17,7 @@ class updateTrafficForecastSegmentsResponse /** * @param \Google\AdsApi\AdManager\v202502\TrafficForecastSegment[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\TrafficForecastSegment[]|null $rval * @return \Google\AdsApi\AdManager\v202502\updateTrafficForecastSegmentsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/updateUserTeamAssociationsResponse.php b/src/Google/AdsApi/AdManager/v202502/updateUserTeamAssociationsResponse.php index 3d188720c..702b14895 100644 --- a/src/Google/AdsApi/AdManager/v202502/updateUserTeamAssociationsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/updateUserTeamAssociationsResponse.php @@ -17,7 +17,7 @@ class updateUserTeamAssociationsResponse /** * @param \Google\AdsApi\AdManager\v202502\UserTeamAssociation[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\UserTeamAssociation[]|null $rval * @return \Google\AdsApi\AdManager\v202502\updateUserTeamAssociationsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/updateUsersResponse.php b/src/Google/AdsApi/AdManager/v202502/updateUsersResponse.php index 2dfad488b..3c48b6844 100644 --- a/src/Google/AdsApi/AdManager/v202502/updateUsersResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/updateUsersResponse.php @@ -17,7 +17,7 @@ class updateUsersResponse /** * @param \Google\AdsApi\AdManager\v202502\User[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\User[]|null $rval * @return \Google\AdsApi\AdManager\v202502\updateUsersResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202502/updateYieldGroupsResponse.php b/src/Google/AdsApi/AdManager/v202502/updateYieldGroupsResponse.php index 0cfc725f2..ac9d5185c 100644 --- a/src/Google/AdsApi/AdManager/v202502/updateYieldGroupsResponse.php +++ b/src/Google/AdsApi/AdManager/v202502/updateYieldGroupsResponse.php @@ -17,7 +17,7 @@ class updateYieldGroupsResponse /** * @param \Google\AdsApi\AdManager\v202502\YieldGroup[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202502\YieldGroup[]|null $rval * @return \Google\AdsApi\AdManager\v202502\updateYieldGroupsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/AdBreak.php b/src/Google/AdsApi/AdManager/v202505/AdBreak.php index d401ca600..01ef82269 100644 --- a/src/Google/AdsApi/AdManager/v202505/AdBreak.php +++ b/src/Google/AdsApi/AdManager/v202505/AdBreak.php @@ -89,7 +89,7 @@ class AdBreak * @param boolean $decisionedAds * @param \Google\AdsApi\AdManager\v202505\TrackingEvent[] $trackingEvents */ - public function __construct(array $rootAdResponses = null, array $adDecisionCreatives = null, $podNum = null, $linearAbsolutePodNum = null, $adBreakDurationMillis = null, $filledDurationMillis = null, $servedDurationMillis = null, $startDateTime = null, $startTimeOffsetMillis = null, $samError = null, $midrollIndex = null, $decisionedAds = null, array $trackingEvents = null) + public function __construct(?array $rootAdResponses = null, ?array $adDecisionCreatives = null, $podNum = null, $linearAbsolutePodNum = null, $adBreakDurationMillis = null, $filledDurationMillis = null, $servedDurationMillis = null, $startDateTime = null, $startTimeOffsetMillis = null, $samError = null, $midrollIndex = null, $decisionedAds = null, ?array $trackingEvents = null) { $this->rootAdResponses = $rootAdResponses; $this->adDecisionCreatives = $adDecisionCreatives; @@ -118,7 +118,7 @@ public function getRootAdResponses() * @param \Google\AdsApi\AdManager\v202505\AdResponse[]|null $rootAdResponses * @return \Google\AdsApi\AdManager\v202505\AdBreak */ - public function setRootAdResponses(array $rootAdResponses = null) + public function setRootAdResponses(?array $rootAdResponses = null) { $this->rootAdResponses = $rootAdResponses; return $this; @@ -136,7 +136,7 @@ public function getAdDecisionCreatives() * @param \Google\AdsApi\AdManager\v202505\AdDecisionCreative[]|null $adDecisionCreatives * @return \Google\AdsApi\AdManager\v202505\AdBreak */ - public function setAdDecisionCreatives(array $adDecisionCreatives = null) + public function setAdDecisionCreatives(?array $adDecisionCreatives = null) { $this->adDecisionCreatives = $adDecisionCreatives; return $this; @@ -338,7 +338,7 @@ public function getTrackingEvents() * @param \Google\AdsApi\AdManager\v202505\TrackingEvent[]|null $trackingEvents * @return \Google\AdsApi\AdManager\v202505\AdBreak */ - public function setTrackingEvents(array $trackingEvents = null) + public function setTrackingEvents(?array $trackingEvents = null) { $this->trackingEvents = $trackingEvents; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/AdBreakMarkupError.php b/src/Google/AdsApi/AdManager/v202505/AdBreakMarkupError.php index b2b39094d..d490195d9 100644 --- a/src/Google/AdsApi/AdManager/v202505/AdBreakMarkupError.php +++ b/src/Google/AdsApi/AdManager/v202505/AdBreakMarkupError.php @@ -21,7 +21,7 @@ class AdBreakMarkupError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/AdExchangeCreative.php b/src/Google/AdsApi/AdManager/v202505/AdExchangeCreative.php index 86bf5c62d..05de8e13b 100644 --- a/src/Google/AdsApi/AdManager/v202505/AdExchangeCreative.php +++ b/src/Google/AdsApi/AdManager/v202505/AdExchangeCreative.php @@ -41,7 +41,7 @@ class AdExchangeCreative extends \Google\AdsApi\AdManager\v202505\HasHtmlSnippet * @param boolean $isInterstitial * @param boolean $isAllowsAllRequestedSizes */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $codeSnippet = null, $isNativeEligible = null, $isInterstitial = null, $isAllowsAllRequestedSizes = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $codeSnippet = null, $isNativeEligible = null, $isInterstitial = null, $isAllowsAllRequestedSizes = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $codeSnippet); $this->isNativeEligible = $isNativeEligible; diff --git a/src/Google/AdsApi/AdManager/v202505/AdResponse.php b/src/Google/AdsApi/AdManager/v202505/AdResponse.php index 5a606c4a6..07a6466ee 100644 --- a/src/Google/AdsApi/AdManager/v202505/AdResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/AdResponse.php @@ -47,7 +47,7 @@ class AdResponse * @param \Google\AdsApi\AdManager\v202505\SamError $samError * @param \Google\AdsApi\AdManager\v202505\SamError[] $adErrors */ - public function __construct($requestUrl = null, $isVmapRequest = null, $responseBody = null, array $redirectResponses = null, $samError = null, array $adErrors = null) + public function __construct($requestUrl = null, $isVmapRequest = null, $responseBody = null, ?array $redirectResponses = null, $samError = null, ?array $adErrors = null) { $this->requestUrl = $requestUrl; $this->isVmapRequest = $isVmapRequest; @@ -123,7 +123,7 @@ public function getRedirectResponses() * @param \Google\AdsApi\AdManager\v202505\AdResponse[]|null $redirectResponses * @return \Google\AdsApi\AdManager\v202505\AdResponse */ - public function setRedirectResponses(array $redirectResponses = null) + public function setRedirectResponses(?array $redirectResponses = null) { $this->redirectResponses = $redirectResponses; return $this; @@ -159,7 +159,7 @@ public function getAdErrors() * @param \Google\AdsApi\AdManager\v202505\SamError[]|null $adErrors * @return \Google\AdsApi\AdManager\v202505\AdResponse */ - public function setAdErrors(array $adErrors = null) + public function setAdErrors(?array $adErrors = null) { $this->adErrors = $adErrors; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/AdRuleDateError.php b/src/Google/AdsApi/AdManager/v202505/AdRuleDateError.php index 0f5d4daf9..1d72c043c 100644 --- a/src/Google/AdsApi/AdManager/v202505/AdRuleDateError.php +++ b/src/Google/AdsApi/AdManager/v202505/AdRuleDateError.php @@ -21,7 +21,7 @@ class AdRuleDateError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/AdRuleError.php b/src/Google/AdsApi/AdManager/v202505/AdRuleError.php index a2642b9e7..f1b3d9fc9 100644 --- a/src/Google/AdsApi/AdManager/v202505/AdRuleError.php +++ b/src/Google/AdsApi/AdManager/v202505/AdRuleError.php @@ -21,7 +21,7 @@ class AdRuleError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/AdRuleFrequencyCapError.php b/src/Google/AdsApi/AdManager/v202505/AdRuleFrequencyCapError.php index 372f496ae..c8a36857c 100644 --- a/src/Google/AdsApi/AdManager/v202505/AdRuleFrequencyCapError.php +++ b/src/Google/AdsApi/AdManager/v202505/AdRuleFrequencyCapError.php @@ -21,7 +21,7 @@ class AdRuleFrequencyCapError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/AdRulePage.php b/src/Google/AdsApi/AdManager/v202505/AdRulePage.php index 327ed1cca..46ab8204e 100644 --- a/src/Google/AdsApi/AdManager/v202505/AdRulePage.php +++ b/src/Google/AdsApi/AdManager/v202505/AdRulePage.php @@ -29,7 +29,7 @@ class AdRulePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\AdRule[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\AdRule[]|null $results * @return \Google\AdsApi\AdManager\v202505\AdRulePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/AdRulePriorityError.php b/src/Google/AdsApi/AdManager/v202505/AdRulePriorityError.php index fe5ae356f..4319774f2 100644 --- a/src/Google/AdsApi/AdManager/v202505/AdRulePriorityError.php +++ b/src/Google/AdsApi/AdManager/v202505/AdRulePriorityError.php @@ -21,7 +21,7 @@ class AdRulePriorityError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/AdRuleSlotError.php b/src/Google/AdsApi/AdManager/v202505/AdRuleSlotError.php index 646998cd9..a4468fdf5 100644 --- a/src/Google/AdsApi/AdManager/v202505/AdRuleSlotError.php +++ b/src/Google/AdsApi/AdManager/v202505/AdRuleSlotError.php @@ -21,7 +21,7 @@ class AdRuleSlotError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/AdRuleTargetingError.php b/src/Google/AdsApi/AdManager/v202505/AdRuleTargetingError.php index ea9e8c579..6c6ec2ffa 100644 --- a/src/Google/AdsApi/AdManager/v202505/AdRuleTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202505/AdRuleTargetingError.php @@ -21,7 +21,7 @@ class AdRuleTargetingError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/AdSenseAccountError.php b/src/Google/AdsApi/AdManager/v202505/AdSenseAccountError.php index 8b5aebb62..c73f891bc 100644 --- a/src/Google/AdsApi/AdManager/v202505/AdSenseAccountError.php +++ b/src/Google/AdsApi/AdManager/v202505/AdSenseAccountError.php @@ -21,7 +21,7 @@ class AdSenseAccountError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/AdSenseCreative.php b/src/Google/AdsApi/AdManager/v202505/AdSenseCreative.php index bcc4e2881..a6c39170c 100644 --- a/src/Google/AdsApi/AdManager/v202505/AdSenseCreative.php +++ b/src/Google/AdsApi/AdManager/v202505/AdSenseCreative.php @@ -23,7 +23,7 @@ class AdSenseCreative extends \Google\AdsApi\AdManager\v202505\HasHtmlSnippetDyn * @param boolean $adBadgingEnabled * @param string $codeSnippet */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $codeSnippet = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $codeSnippet = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $codeSnippet); } diff --git a/src/Google/AdsApi/AdManager/v202505/AdSpot.php b/src/Google/AdsApi/AdManager/v202505/AdSpot.php index e74b0d0c9..af2bbfd7b 100644 --- a/src/Google/AdsApi/AdManager/v202505/AdSpot.php +++ b/src/Google/AdsApi/AdManager/v202505/AdSpot.php @@ -77,7 +77,7 @@ class AdSpot * @param string[] $allowedLineItemTypes * @param boolean $inventorySharingBlocked */ - public function __construct($id = null, $name = null, $displayName = null, $customSpot = null, $flexible = null, $maxDurationMillis = null, $maxNumberOfAds = null, $targetingType = null, $backfillBlocked = null, array $allowedLineItemTypes = null, $inventorySharingBlocked = null) + public function __construct($id = null, $name = null, $displayName = null, $customSpot = null, $flexible = null, $maxDurationMillis = null, $maxNumberOfAds = null, $targetingType = null, $backfillBlocked = null, ?array $allowedLineItemTypes = null, $inventorySharingBlocked = null) { $this->id = $id; $this->name = $name; @@ -268,7 +268,7 @@ public function getAllowedLineItemTypes() * @param string[]|null $allowedLineItemTypes * @return \Google\AdsApi\AdManager\v202505\AdSpot */ - public function setAllowedLineItemTypes(array $allowedLineItemTypes = null) + public function setAllowedLineItemTypes(?array $allowedLineItemTypes = null) { $this->allowedLineItemTypes = $allowedLineItemTypes; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/AdSpotPage.php b/src/Google/AdsApi/AdManager/v202505/AdSpotPage.php index 9fa11211e..7f2c6db50 100644 --- a/src/Google/AdsApi/AdManager/v202505/AdSpotPage.php +++ b/src/Google/AdsApi/AdManager/v202505/AdSpotPage.php @@ -29,7 +29,7 @@ class AdSpotPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\AdSpot[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\AdSpot[]|null $results * @return \Google\AdsApi\AdManager\v202505\AdSpotPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/AdUnit.php b/src/Google/AdsApi/AdManager/v202505/AdUnit.php index bb01ad7a5..57f4aafbf 100644 --- a/src/Google/AdsApi/AdManager/v202505/AdUnit.php +++ b/src/Google/AdsApi/AdManager/v202505/AdUnit.php @@ -179,7 +179,7 @@ class AdUnit * @param boolean $isSetTopBoxEnabled * @param int $applicationId */ - public function __construct($id = null, $parentId = null, $hasChildren = null, array $parentPath = null, $name = null, $description = null, $targetWindow = null, $status = null, $adUnitCode = null, array $adUnitSizes = null, $isInterstitial = null, $isNative = null, $isFluid = null, $explicitlyTargeted = null, $adSenseSettings = null, $adSenseSettingsSource = null, array $appliedLabelFrequencyCaps = null, array $effectiveLabelFrequencyCaps = null, array $appliedLabels = null, array $effectiveAppliedLabels = null, array $effectiveTeamIds = null, array $appliedTeamIds = null, $lastModifiedDateTime = null, $smartSizeMode = null, $refreshRate = null, $externalSetTopBoxChannelId = null, $isSetTopBoxEnabled = null, $applicationId = null) + public function __construct($id = null, $parentId = null, $hasChildren = null, ?array $parentPath = null, $name = null, $description = null, $targetWindow = null, $status = null, $adUnitCode = null, ?array $adUnitSizes = null, $isInterstitial = null, $isNative = null, $isFluid = null, $explicitlyTargeted = null, $adSenseSettings = null, $adSenseSettingsSource = null, ?array $appliedLabelFrequencyCaps = null, ?array $effectiveLabelFrequencyCaps = null, ?array $appliedLabels = null, ?array $effectiveAppliedLabels = null, ?array $effectiveTeamIds = null, ?array $appliedTeamIds = null, $lastModifiedDateTime = null, $smartSizeMode = null, $refreshRate = null, $externalSetTopBoxChannelId = null, $isSetTopBoxEnabled = null, $applicationId = null) { $this->id = $id; $this->parentId = $parentId; @@ -277,7 +277,7 @@ public function getParentPath() * @param \Google\AdsApi\AdManager\v202505\AdUnitParent[]|null $parentPath * @return \Google\AdsApi\AdManager\v202505\AdUnit */ - public function setParentPath(array $parentPath = null) + public function setParentPath(?array $parentPath = null) { $this->parentPath = $parentPath; return $this; @@ -385,7 +385,7 @@ public function getAdUnitSizes() * @param \Google\AdsApi\AdManager\v202505\AdUnitSize[]|null $adUnitSizes * @return \Google\AdsApi\AdManager\v202505\AdUnit */ - public function setAdUnitSizes(array $adUnitSizes = null) + public function setAdUnitSizes(?array $adUnitSizes = null) { $this->adUnitSizes = $adUnitSizes; return $this; @@ -511,7 +511,7 @@ public function getAppliedLabelFrequencyCaps() * @param \Google\AdsApi\AdManager\v202505\LabelFrequencyCap[]|null $appliedLabelFrequencyCaps * @return \Google\AdsApi\AdManager\v202505\AdUnit */ - public function setAppliedLabelFrequencyCaps(array $appliedLabelFrequencyCaps = null) + public function setAppliedLabelFrequencyCaps(?array $appliedLabelFrequencyCaps = null) { $this->appliedLabelFrequencyCaps = $appliedLabelFrequencyCaps; return $this; @@ -529,7 +529,7 @@ public function getEffectiveLabelFrequencyCaps() * @param \Google\AdsApi\AdManager\v202505\LabelFrequencyCap[]|null $effectiveLabelFrequencyCaps * @return \Google\AdsApi\AdManager\v202505\AdUnit */ - public function setEffectiveLabelFrequencyCaps(array $effectiveLabelFrequencyCaps = null) + public function setEffectiveLabelFrequencyCaps(?array $effectiveLabelFrequencyCaps = null) { $this->effectiveLabelFrequencyCaps = $effectiveLabelFrequencyCaps; return $this; @@ -547,7 +547,7 @@ public function getAppliedLabels() * @param \Google\AdsApi\AdManager\v202505\AppliedLabel[]|null $appliedLabels * @return \Google\AdsApi\AdManager\v202505\AdUnit */ - public function setAppliedLabels(array $appliedLabels = null) + public function setAppliedLabels(?array $appliedLabels = null) { $this->appliedLabels = $appliedLabels; return $this; @@ -565,7 +565,7 @@ public function getEffectiveAppliedLabels() * @param \Google\AdsApi\AdManager\v202505\AppliedLabel[]|null $effectiveAppliedLabels * @return \Google\AdsApi\AdManager\v202505\AdUnit */ - public function setEffectiveAppliedLabels(array $effectiveAppliedLabels = null) + public function setEffectiveAppliedLabels(?array $effectiveAppliedLabels = null) { $this->effectiveAppliedLabels = $effectiveAppliedLabels; return $this; @@ -583,7 +583,7 @@ public function getEffectiveTeamIds() * @param int[]|null $effectiveTeamIds * @return \Google\AdsApi\AdManager\v202505\AdUnit */ - public function setEffectiveTeamIds(array $effectiveTeamIds = null) + public function setEffectiveTeamIds(?array $effectiveTeamIds = null) { $this->effectiveTeamIds = $effectiveTeamIds; return $this; @@ -601,7 +601,7 @@ public function getAppliedTeamIds() * @param int[]|null $appliedTeamIds * @return \Google\AdsApi\AdManager\v202505\AdUnit */ - public function setAppliedTeamIds(array $appliedTeamIds = null) + public function setAppliedTeamIds(?array $appliedTeamIds = null) { $this->appliedTeamIds = $appliedTeamIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/AdUnitCodeError.php b/src/Google/AdsApi/AdManager/v202505/AdUnitCodeError.php index 0c9c3f529..a9df06647 100644 --- a/src/Google/AdsApi/AdManager/v202505/AdUnitCodeError.php +++ b/src/Google/AdsApi/AdManager/v202505/AdUnitCodeError.php @@ -21,7 +21,7 @@ class AdUnitCodeError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/AdUnitHierarchyError.php b/src/Google/AdsApi/AdManager/v202505/AdUnitHierarchyError.php index 4b39027a0..ef56b2289 100644 --- a/src/Google/AdsApi/AdManager/v202505/AdUnitHierarchyError.php +++ b/src/Google/AdsApi/AdManager/v202505/AdUnitHierarchyError.php @@ -21,7 +21,7 @@ class AdUnitHierarchyError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/AdUnitPage.php b/src/Google/AdsApi/AdManager/v202505/AdUnitPage.php index e657769a4..a171b59b9 100644 --- a/src/Google/AdsApi/AdManager/v202505/AdUnitPage.php +++ b/src/Google/AdsApi/AdManager/v202505/AdUnitPage.php @@ -29,7 +29,7 @@ class AdUnitPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\AdUnit[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\AdUnit[]|null $results * @return \Google\AdsApi\AdManager\v202505\AdUnitPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/AdUnitSize.php b/src/Google/AdsApi/AdManager/v202505/AdUnitSize.php index 9c216e860..46b1c26d6 100644 --- a/src/Google/AdsApi/AdManager/v202505/AdUnitSize.php +++ b/src/Google/AdsApi/AdManager/v202505/AdUnitSize.php @@ -41,7 +41,7 @@ class AdUnitSize * @param string $fullDisplayString * @param boolean $isAudio */ - public function __construct($size = null, $environmentType = null, array $companions = null, $fullDisplayString = null, $isAudio = null) + public function __construct($size = null, $environmentType = null, ?array $companions = null, $fullDisplayString = null, $isAudio = null) { $this->size = $size; $this->environmentType = $environmentType; @@ -98,7 +98,7 @@ public function getCompanions() * @param \Google\AdsApi\AdManager\v202505\AdUnitSize[]|null $companions * @return \Google\AdsApi\AdManager\v202505\AdUnitSize */ - public function setCompanions(array $companions = null) + public function setCompanions(?array $companions = null) { $this->companions = $companions; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/ApiError.php b/src/Google/AdsApi/AdManager/v202505/ApiError.php index 1f868aa7a..091849a56 100644 --- a/src/Google/AdsApi/AdManager/v202505/ApiError.php +++ b/src/Google/AdsApi/AdManager/v202505/ApiError.php @@ -35,7 +35,7 @@ abstract class ApiError * @param string $trigger * @param string $errorString */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null) { $this->fieldPath = $fieldPath; $this->fieldPathElements = $fieldPathElements; @@ -73,7 +73,7 @@ public function getFieldPathElements() * @param \Google\AdsApi\AdManager\v202505\FieldPathElement[]|null $fieldPathElements * @return \Google\AdsApi\AdManager\v202505\ApiError */ - public function setFieldPathElements(array $fieldPathElements = null) + public function setFieldPathElements(?array $fieldPathElements = null) { $this->fieldPathElements = $fieldPathElements; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/ApiException.php b/src/Google/AdsApi/AdManager/v202505/ApiException.php index 6ee88cd8f..42be53299 100644 --- a/src/Google/AdsApi/AdManager/v202505/ApiException.php +++ b/src/Google/AdsApi/AdManager/v202505/ApiException.php @@ -19,7 +19,7 @@ class ApiException extends \Google\AdsApi\AdManager\v202505\ApplicationException * @param string $message1 * @param \Google\AdsApi\AdManager\v202505\ApiError[] $errors */ - public function __construct($message = null, $message1 = null, array $errors = null) + public function __construct($message = null, $message1 = null, ?array $errors = null) { parent::__construct($message, $message1); $this->errors = $errors; @@ -37,7 +37,7 @@ public function getErrors() * @param \Google\AdsApi\AdManager\v202505\ApiError[]|null $errors * @return \Google\AdsApi\AdManager\v202505\ApiException */ - public function setErrors(array $errors = null) + public function setErrors(?array $errors = null) { $this->errors = $errors; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/ApiVersionError.php b/src/Google/AdsApi/AdManager/v202505/ApiVersionError.php index 4bb537db7..84e43a489 100644 --- a/src/Google/AdsApi/AdManager/v202505/ApiVersionError.php +++ b/src/Google/AdsApi/AdManager/v202505/ApiVersionError.php @@ -21,7 +21,7 @@ class ApiVersionError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/AspectRatioImageCreative.php b/src/Google/AdsApi/AdManager/v202505/AspectRatioImageCreative.php index 05cecdb45..56a55a567 100644 --- a/src/Google/AdsApi/AdManager/v202505/AspectRatioImageCreative.php +++ b/src/Google/AdsApi/AdManager/v202505/AspectRatioImageCreative.php @@ -48,7 +48,7 @@ class AspectRatioImageCreative extends \Google\AdsApi\AdManager\v202505\HasDesti * @param string[] $thirdPartyImpressionTrackingUrls * @param boolean $overrideSize */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, array $imageAssets = null, $altText = null, array $thirdPartyImpressionTrackingUrls = null, $overrideSize = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, ?array $imageAssets = null, $altText = null, ?array $thirdPartyImpressionTrackingUrls = null, $overrideSize = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $destinationUrl, $destinationUrlType); $this->imageAssets = $imageAssets; @@ -69,7 +69,7 @@ public function getImageAssets() * @param \Google\AdsApi\AdManager\v202505\CreativeAsset[]|null $imageAssets * @return \Google\AdsApi\AdManager\v202505\AspectRatioImageCreative */ - public function setImageAssets(array $imageAssets = null) + public function setImageAssets(?array $imageAssets = null) { $this->imageAssets = $imageAssets; return $this; @@ -105,7 +105,7 @@ public function getThirdPartyImpressionTrackingUrls() * @param string[]|null $thirdPartyImpressionTrackingUrls * @return \Google\AdsApi\AdManager\v202505\AspectRatioImageCreative */ - public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) + public function setThirdPartyImpressionTrackingUrls(?array $thirdPartyImpressionTrackingUrls = null) { $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/AssetCreativeTemplateVariable.php b/src/Google/AdsApi/AdManager/v202505/AssetCreativeTemplateVariable.php index 5838e6f42..c0ccec643 100644 --- a/src/Google/AdsApi/AdManager/v202505/AssetCreativeTemplateVariable.php +++ b/src/Google/AdsApi/AdManager/v202505/AssetCreativeTemplateVariable.php @@ -21,7 +21,7 @@ class AssetCreativeTemplateVariable extends \Google\AdsApi\AdManager\v202505\Cre * @param boolean $isRequired * @param string[] $mimeTypes */ - public function __construct($label = null, $uniqueName = null, $description = null, $isRequired = null, array $mimeTypes = null) + public function __construct($label = null, $uniqueName = null, $description = null, $isRequired = null, ?array $mimeTypes = null) { parent::__construct($label, $uniqueName, $description, $isRequired); $this->mimeTypes = $mimeTypes; @@ -39,7 +39,7 @@ public function getMimeTypes() * @param string[]|null $mimeTypes * @return \Google\AdsApi\AdManager\v202505\AssetCreativeTemplateVariable */ - public function setMimeTypes(array $mimeTypes = null) + public function setMimeTypes(?array $mimeTypes = null) { $this->mimeTypes = $mimeTypes; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/AssetError.php b/src/Google/AdsApi/AdManager/v202505/AssetError.php index 0b1ec9f94..243ffb1d7 100644 --- a/src/Google/AdsApi/AdManager/v202505/AssetError.php +++ b/src/Google/AdsApi/AdManager/v202505/AssetError.php @@ -21,7 +21,7 @@ class AssetError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/AudienceExtensionError.php b/src/Google/AdsApi/AdManager/v202505/AudienceExtensionError.php index bf81da1ee..cc7dbd3c6 100644 --- a/src/Google/AdsApi/AdManager/v202505/AudienceExtensionError.php +++ b/src/Google/AdsApi/AdManager/v202505/AudienceExtensionError.php @@ -21,7 +21,7 @@ class AudienceExtensionError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/AudienceSegment.php b/src/Google/AdsApi/AdManager/v202505/AudienceSegment.php index 0c04cdd2f..fbd98840b 100644 --- a/src/Google/AdsApi/AdManager/v202505/AudienceSegment.php +++ b/src/Google/AdsApi/AdManager/v202505/AudienceSegment.php @@ -83,7 +83,7 @@ class AudienceSegment * @param \Google\AdsApi\AdManager\v202505\AudienceSegmentDataProvider $dataProvider * @param string $type */ - public function __construct($id = null, $name = null, array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null) + public function __construct($id = null, $name = null, ?array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null) { $this->id = $id; $this->name = $name; @@ -148,7 +148,7 @@ public function getCategoryIds() * @param int[]|null $categoryIds * @return \Google\AdsApi\AdManager\v202505\AudienceSegment */ - public function setCategoryIds(array $categoryIds = null) + public function setCategoryIds(?array $categoryIds = null) { $this->categoryIds = $categoryIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/AudienceSegmentCriteria.php b/src/Google/AdsApi/AdManager/v202505/AudienceSegmentCriteria.php index a6d09886c..46699acc8 100644 --- a/src/Google/AdsApi/AdManager/v202505/AudienceSegmentCriteria.php +++ b/src/Google/AdsApi/AdManager/v202505/AudienceSegmentCriteria.php @@ -23,7 +23,7 @@ class AudienceSegmentCriteria extends \Google\AdsApi\AdManager\v202505\CustomCri * @param string $operator * @param int[] $audienceSegmentIds */ - public function __construct($operator = null, array $audienceSegmentIds = null) + public function __construct($operator = null, ?array $audienceSegmentIds = null) { $this->operator = $operator; $this->audienceSegmentIds = $audienceSegmentIds; @@ -59,7 +59,7 @@ public function getAudienceSegmentIds() * @param int[]|null $audienceSegmentIds * @return \Google\AdsApi\AdManager\v202505\AudienceSegmentCriteria */ - public function setAudienceSegmentIds(array $audienceSegmentIds = null) + public function setAudienceSegmentIds(?array $audienceSegmentIds = null) { $this->audienceSegmentIds = $audienceSegmentIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/AudienceSegmentError.php b/src/Google/AdsApi/AdManager/v202505/AudienceSegmentError.php index 82f622ff9..fb30da643 100644 --- a/src/Google/AdsApi/AdManager/v202505/AudienceSegmentError.php +++ b/src/Google/AdsApi/AdManager/v202505/AudienceSegmentError.php @@ -21,7 +21,7 @@ class AudienceSegmentError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/AudienceSegmentPage.php b/src/Google/AdsApi/AdManager/v202505/AudienceSegmentPage.php index be31c5c20..585e7a075 100644 --- a/src/Google/AdsApi/AdManager/v202505/AudienceSegmentPage.php +++ b/src/Google/AdsApi/AdManager/v202505/AudienceSegmentPage.php @@ -29,7 +29,7 @@ class AudienceSegmentPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\AudienceSegment[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\AudienceSegment[]|null $results * @return \Google\AdsApi\AdManager\v202505\AudienceSegmentPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/AudioCreative.php b/src/Google/AdsApi/AdManager/v202505/AudioCreative.php index 8c5ed86a3..4859d1cf5 100644 --- a/src/Google/AdsApi/AdManager/v202505/AudioCreative.php +++ b/src/Google/AdsApi/AdManager/v202505/AudioCreative.php @@ -41,7 +41,7 @@ class AudioCreative extends \Google\AdsApi\AdManager\v202505\BaseAudioCreative * @param string $sslManualOverride * @param string $audioSourceUrl */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, array $trackingUrls = null, array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $audioSourceUrl = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, ?array $trackingUrls = null, ?array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $audioSourceUrl = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $destinationUrl, $destinationUrlType, $duration, $allowDurationOverride, $trackingUrls, $companionCreativeIds, $customParameters, $adId, $adIdType, $skippableAdType, $vastPreviewUrl, $sslScanResult, $sslManualOverride); $this->audioSourceUrl = $audioSourceUrl; diff --git a/src/Google/AdsApi/AdManager/v202505/AudioRedirectCreative.php b/src/Google/AdsApi/AdManager/v202505/AudioRedirectCreative.php index ecae3ea0b..928ae4282 100644 --- a/src/Google/AdsApi/AdManager/v202505/AudioRedirectCreative.php +++ b/src/Google/AdsApi/AdManager/v202505/AudioRedirectCreative.php @@ -47,7 +47,7 @@ class AudioRedirectCreative extends \Google\AdsApi\AdManager\v202505\BaseAudioCr * @param \Google\AdsApi\AdManager\v202505\VideoRedirectAsset[] $audioAssets * @param \Google\AdsApi\AdManager\v202505\VideoRedirectAsset $mezzanineFile */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, array $trackingUrls = null, array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, array $audioAssets = null, $mezzanineFile = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, ?array $trackingUrls = null, ?array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, ?array $audioAssets = null, $mezzanineFile = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $destinationUrl, $destinationUrlType, $duration, $allowDurationOverride, $trackingUrls, $companionCreativeIds, $customParameters, $adId, $adIdType, $skippableAdType, $vastPreviewUrl, $sslScanResult, $sslManualOverride); $this->audioAssets = $audioAssets; @@ -66,7 +66,7 @@ public function getAudioAssets() * @param \Google\AdsApi\AdManager\v202505\VideoRedirectAsset[]|null $audioAssets * @return \Google\AdsApi\AdManager\v202505\AudioRedirectCreative */ - public function setAudioAssets(array $audioAssets = null) + public function setAudioAssets(?array $audioAssets = null) { $this->audioAssets = $audioAssets; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/AuthenticationError.php b/src/Google/AdsApi/AdManager/v202505/AuthenticationError.php index 9b44fe346..52abe5aba 100644 --- a/src/Google/AdsApi/AdManager/v202505/AuthenticationError.php +++ b/src/Google/AdsApi/AdManager/v202505/AuthenticationError.php @@ -21,7 +21,7 @@ class AuthenticationError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/AvailabilityForecast.php b/src/Google/AdsApi/AdManager/v202505/AvailabilityForecast.php index d9dc4efab..b8a943370 100644 --- a/src/Google/AdsApi/AdManager/v202505/AvailabilityForecast.php +++ b/src/Google/AdsApi/AdManager/v202505/AvailabilityForecast.php @@ -83,7 +83,7 @@ class AvailabilityForecast * @param \Google\AdsApi\AdManager\v202505\ContendingLineItem[] $contendingLineItems * @param \Google\AdsApi\AdManager\v202505\AlternativeUnitTypeForecast[] $alternativeUnitTypeForecasts */ - public function __construct($lineItemId = null, $orderId = null, $unitType = null, $availableUnits = null, $deliveredUnits = null, $matchedUnits = null, $possibleUnits = null, $reservedUnits = null, array $breakdowns = null, array $targetingCriteriaBreakdowns = null, array $contendingLineItems = null, array $alternativeUnitTypeForecasts = null) + public function __construct($lineItemId = null, $orderId = null, $unitType = null, $availableUnits = null, $deliveredUnits = null, $matchedUnits = null, $possibleUnits = null, $reservedUnits = null, ?array $breakdowns = null, ?array $targetingCriteriaBreakdowns = null, ?array $contendingLineItems = null, ?array $alternativeUnitTypeForecasts = null) { $this->lineItemId = $lineItemId; $this->orderId = $orderId; @@ -262,7 +262,7 @@ public function getBreakdowns() * @param \Google\AdsApi\AdManager\v202505\ForecastBreakdown[]|null $breakdowns * @return \Google\AdsApi\AdManager\v202505\AvailabilityForecast */ - public function setBreakdowns(array $breakdowns = null) + public function setBreakdowns(?array $breakdowns = null) { $this->breakdowns = $breakdowns; return $this; @@ -280,7 +280,7 @@ public function getTargetingCriteriaBreakdowns() * @param \Google\AdsApi\AdManager\v202505\TargetingCriteriaBreakdown[]|null $targetingCriteriaBreakdowns * @return \Google\AdsApi\AdManager\v202505\AvailabilityForecast */ - public function setTargetingCriteriaBreakdowns(array $targetingCriteriaBreakdowns = null) + public function setTargetingCriteriaBreakdowns(?array $targetingCriteriaBreakdowns = null) { $this->targetingCriteriaBreakdowns = $targetingCriteriaBreakdowns; return $this; @@ -298,7 +298,7 @@ public function getContendingLineItems() * @param \Google\AdsApi\AdManager\v202505\ContendingLineItem[]|null $contendingLineItems * @return \Google\AdsApi\AdManager\v202505\AvailabilityForecast */ - public function setContendingLineItems(array $contendingLineItems = null) + public function setContendingLineItems(?array $contendingLineItems = null) { $this->contendingLineItems = $contendingLineItems; return $this; @@ -316,7 +316,7 @@ public function getAlternativeUnitTypeForecasts() * @param \Google\AdsApi\AdManager\v202505\AlternativeUnitTypeForecast[]|null $alternativeUnitTypeForecasts * @return \Google\AdsApi\AdManager\v202505\AvailabilityForecast */ - public function setAlternativeUnitTypeForecasts(array $alternativeUnitTypeForecasts = null) + public function setAlternativeUnitTypeForecasts(?array $alternativeUnitTypeForecasts = null) { $this->alternativeUnitTypeForecasts = $alternativeUnitTypeForecasts; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/BandwidthGroupTargeting.php b/src/Google/AdsApi/AdManager/v202505/BandwidthGroupTargeting.php index 69990ba8b..909dcf51a 100644 --- a/src/Google/AdsApi/AdManager/v202505/BandwidthGroupTargeting.php +++ b/src/Google/AdsApi/AdManager/v202505/BandwidthGroupTargeting.php @@ -23,7 +23,7 @@ class BandwidthGroupTargeting * @param boolean $isTargeted * @param \Google\AdsApi\AdManager\v202505\Technology[] $bandwidthGroups */ - public function __construct($isTargeted = null, array $bandwidthGroups = null) + public function __construct($isTargeted = null, ?array $bandwidthGroups = null) { $this->isTargeted = $isTargeted; $this->bandwidthGroups = $bandwidthGroups; @@ -59,7 +59,7 @@ public function getBandwidthGroups() * @param \Google\AdsApi\AdManager\v202505\Technology[]|null $bandwidthGroups * @return \Google\AdsApi\AdManager\v202505\BandwidthGroupTargeting */ - public function setBandwidthGroups(array $bandwidthGroups = null) + public function setBandwidthGroups(?array $bandwidthGroups = null) { $this->bandwidthGroups = $bandwidthGroups; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/BaseAudioCreative.php b/src/Google/AdsApi/AdManager/v202505/BaseAudioCreative.php index 8506d4eca..dd6216c56 100644 --- a/src/Google/AdsApi/AdManager/v202505/BaseAudioCreative.php +++ b/src/Google/AdsApi/AdManager/v202505/BaseAudioCreative.php @@ -90,7 +90,7 @@ abstract class BaseAudioCreative extends \Google\AdsApi\AdManager\v202505\HasDes * @param string $sslScanResult * @param string $sslManualOverride */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, array $trackingUrls = null, array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, ?array $trackingUrls = null, ?array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $destinationUrl, $destinationUrlType); $this->duration = $duration; @@ -154,7 +154,7 @@ public function getTrackingUrls() * @param \Google\AdsApi\AdManager\v202505\ConversionEvent_TrackingUrlsMapEntry[]|null $trackingUrls * @return \Google\AdsApi\AdManager\v202505\BaseAudioCreative */ - public function setTrackingUrls(array $trackingUrls = null) + public function setTrackingUrls(?array $trackingUrls = null) { $this->trackingUrls = $trackingUrls; return $this; @@ -172,7 +172,7 @@ public function getCompanionCreativeIds() * @param int[]|null $companionCreativeIds * @return \Google\AdsApi\AdManager\v202505\BaseAudioCreative */ - public function setCompanionCreativeIds(array $companionCreativeIds = null) + public function setCompanionCreativeIds(?array $companionCreativeIds = null) { $this->companionCreativeIds = $companionCreativeIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/BaseDynamicAllocationCreative.php b/src/Google/AdsApi/AdManager/v202505/BaseDynamicAllocationCreative.php index 36e6dd8b0..99c3ffd70 100644 --- a/src/Google/AdsApi/AdManager/v202505/BaseDynamicAllocationCreative.php +++ b/src/Google/AdsApi/AdManager/v202505/BaseDynamicAllocationCreative.php @@ -22,7 +22,7 @@ abstract class BaseDynamicAllocationCreative extends \Google\AdsApi\AdManager\v2 * @param \Google\AdsApi\AdManager\v202505\ThirdPartyDataDeclaration $thirdPartyDataDeclaration * @param boolean $adBadgingEnabled */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled); } diff --git a/src/Google/AdsApi/AdManager/v202505/BaseImageCreative.php b/src/Google/AdsApi/AdManager/v202505/BaseImageCreative.php index 9d59e4924..7eecbc2ba 100644 --- a/src/Google/AdsApi/AdManager/v202505/BaseImageCreative.php +++ b/src/Google/AdsApi/AdManager/v202505/BaseImageCreative.php @@ -36,7 +36,7 @@ abstract class BaseImageCreative extends \Google\AdsApi\AdManager\v202505\HasDes * @param boolean $overrideSize * @param \Google\AdsApi\AdManager\v202505\CreativeAsset $primaryImageAsset */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $overrideSize = null, $primaryImageAsset = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $overrideSize = null, $primaryImageAsset = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $destinationUrl, $destinationUrlType); $this->overrideSize = $overrideSize; diff --git a/src/Google/AdsApi/AdManager/v202505/BaseImageRedirectCreative.php b/src/Google/AdsApi/AdManager/v202505/BaseImageRedirectCreative.php index 82d4eb669..c4d439b86 100644 --- a/src/Google/AdsApi/AdManager/v202505/BaseImageRedirectCreative.php +++ b/src/Google/AdsApi/AdManager/v202505/BaseImageRedirectCreative.php @@ -30,7 +30,7 @@ abstract class BaseImageRedirectCreative extends \Google\AdsApi\AdManager\v20250 * @param string $destinationUrlType * @param string $imageUrl */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $imageUrl = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $imageUrl = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $destinationUrl, $destinationUrlType); $this->imageUrl = $imageUrl; diff --git a/src/Google/AdsApi/AdManager/v202505/BaseRichMediaStudioCreative.php b/src/Google/AdsApi/AdManager/v202505/BaseRichMediaStudioCreative.php index 1dab46750..865bc548c 100644 --- a/src/Google/AdsApi/AdManager/v202505/BaseRichMediaStudioCreative.php +++ b/src/Google/AdsApi/AdManager/v202505/BaseRichMediaStudioCreative.php @@ -124,7 +124,7 @@ abstract class BaseRichMediaStudioCreative extends \Google\AdsApi\AdManager\v202 * @param string $sslScanResult * @param string $sslManualOverride */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $studioCreativeId = null, $creativeFormat = null, $artworkType = null, $totalFileSize = null, array $adTagKeys = null, array $customKeyValues = null, $surveyUrl = null, $allImpressionsUrl = null, $richMediaImpressionsUrl = null, $backupImageImpressionsUrl = null, $overrideCss = null, $requiredFlashPluginVersion = null, $duration = null, $billingAttribute = null, array $richMediaStudioChildAssetProperties = null, $sslScanResult = null, $sslManualOverride = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $studioCreativeId = null, $creativeFormat = null, $artworkType = null, $totalFileSize = null, ?array $adTagKeys = null, ?array $customKeyValues = null, $surveyUrl = null, $allImpressionsUrl = null, $richMediaImpressionsUrl = null, $backupImageImpressionsUrl = null, $overrideCss = null, $requiredFlashPluginVersion = null, $duration = null, $billingAttribute = null, ?array $richMediaStudioChildAssetProperties = null, $sslScanResult = null, $sslManualOverride = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled); $this->studioCreativeId = $studioCreativeId; @@ -232,7 +232,7 @@ public function getAdTagKeys() * @param string[]|null $adTagKeys * @return \Google\AdsApi\AdManager\v202505\BaseRichMediaStudioCreative */ - public function setAdTagKeys(array $adTagKeys = null) + public function setAdTagKeys(?array $adTagKeys = null) { $this->adTagKeys = $adTagKeys; return $this; @@ -250,7 +250,7 @@ public function getCustomKeyValues() * @param string[]|null $customKeyValues * @return \Google\AdsApi\AdManager\v202505\BaseRichMediaStudioCreative */ - public function setCustomKeyValues(array $customKeyValues = null) + public function setCustomKeyValues(?array $customKeyValues = null) { $this->customKeyValues = $customKeyValues; return $this; @@ -412,7 +412,7 @@ public function getRichMediaStudioChildAssetProperties() * @param \Google\AdsApi\AdManager\v202505\RichMediaStudioChildAssetProperty[]|null $richMediaStudioChildAssetProperties * @return \Google\AdsApi\AdManager\v202505\BaseRichMediaStudioCreative */ - public function setRichMediaStudioChildAssetProperties(array $richMediaStudioChildAssetProperties = null) + public function setRichMediaStudioChildAssetProperties(?array $richMediaStudioChildAssetProperties = null) { $this->richMediaStudioChildAssetProperties = $richMediaStudioChildAssetProperties; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/BaseVideoCreative.php b/src/Google/AdsApi/AdManager/v202505/BaseVideoCreative.php index cd0f383ad..660ad4a24 100644 --- a/src/Google/AdsApi/AdManager/v202505/BaseVideoCreative.php +++ b/src/Google/AdsApi/AdManager/v202505/BaseVideoCreative.php @@ -90,7 +90,7 @@ abstract class BaseVideoCreative extends \Google\AdsApi\AdManager\v202505\HasDes * @param string $sslScanResult * @param string $sslManualOverride */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, array $trackingUrls = null, array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, ?array $trackingUrls = null, ?array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $destinationUrl, $destinationUrlType); $this->duration = $duration; @@ -154,7 +154,7 @@ public function getTrackingUrls() * @param \Google\AdsApi\AdManager\v202505\ConversionEvent_TrackingUrlsMapEntry[]|null $trackingUrls * @return \Google\AdsApi\AdManager\v202505\BaseVideoCreative */ - public function setTrackingUrls(array $trackingUrls = null) + public function setTrackingUrls(?array $trackingUrls = null) { $this->trackingUrls = $trackingUrls; return $this; @@ -172,7 +172,7 @@ public function getCompanionCreativeIds() * @param int[]|null $companionCreativeIds * @return \Google\AdsApi\AdManager\v202505\BaseVideoCreative */ - public function setCompanionCreativeIds(array $companionCreativeIds = null) + public function setCompanionCreativeIds(?array $companionCreativeIds = null) { $this->companionCreativeIds = $companionCreativeIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/BillingError.php b/src/Google/AdsApi/AdManager/v202505/BillingError.php index 5bf99e169..583aee988 100644 --- a/src/Google/AdsApi/AdManager/v202505/BillingError.php +++ b/src/Google/AdsApi/AdManager/v202505/BillingError.php @@ -21,7 +21,7 @@ class BillingError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/BreakTemplate.php b/src/Google/AdsApi/AdManager/v202505/BreakTemplate.php index ff1f081b7..baa83fe69 100644 --- a/src/Google/AdsApi/AdManager/v202505/BreakTemplate.php +++ b/src/Google/AdsApi/AdManager/v202505/BreakTemplate.php @@ -41,7 +41,7 @@ class BreakTemplate * @param string $displayName * @param \Google\AdsApi\AdManager\v202505\BreakTemplateBreakTemplateMember[] $breakTemplateMembers */ - public function __construct($id = null, $customTemplate = null, $name = null, $displayName = null, array $breakTemplateMembers = null) + public function __construct($id = null, $customTemplate = null, $name = null, $displayName = null, ?array $breakTemplateMembers = null) { $this->id = $id; $this->customTemplate = $customTemplate; @@ -135,7 +135,7 @@ public function getBreakTemplateMembers() * @param \Google\AdsApi\AdManager\v202505\BreakTemplateBreakTemplateMember[]|null $breakTemplateMembers * @return \Google\AdsApi\AdManager\v202505\BreakTemplate */ - public function setBreakTemplateMembers(array $breakTemplateMembers = null) + public function setBreakTemplateMembers(?array $breakTemplateMembers = null) { $this->breakTemplateMembers = $breakTemplateMembers; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/BreakTemplatePage.php b/src/Google/AdsApi/AdManager/v202505/BreakTemplatePage.php index ceaa04ea1..af3b9a7b2 100644 --- a/src/Google/AdsApi/AdManager/v202505/BreakTemplatePage.php +++ b/src/Google/AdsApi/AdManager/v202505/BreakTemplatePage.php @@ -29,7 +29,7 @@ class BreakTemplatePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\BreakTemplate[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\BreakTemplate[]|null $results * @return \Google\AdsApi\AdManager\v202505\BreakTemplatePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/BrowserLanguageTargeting.php b/src/Google/AdsApi/AdManager/v202505/BrowserLanguageTargeting.php index db36e9fa1..ab21d4ec7 100644 --- a/src/Google/AdsApi/AdManager/v202505/BrowserLanguageTargeting.php +++ b/src/Google/AdsApi/AdManager/v202505/BrowserLanguageTargeting.php @@ -23,7 +23,7 @@ class BrowserLanguageTargeting * @param boolean $isTargeted * @param \Google\AdsApi\AdManager\v202505\Technology[] $browserLanguages */ - public function __construct($isTargeted = null, array $browserLanguages = null) + public function __construct($isTargeted = null, ?array $browserLanguages = null) { $this->isTargeted = $isTargeted; $this->browserLanguages = $browserLanguages; @@ -59,7 +59,7 @@ public function getBrowserLanguages() * @param \Google\AdsApi\AdManager\v202505\Technology[]|null $browserLanguages * @return \Google\AdsApi\AdManager\v202505\BrowserLanguageTargeting */ - public function setBrowserLanguages(array $browserLanguages = null) + public function setBrowserLanguages(?array $browserLanguages = null) { $this->browserLanguages = $browserLanguages; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/BrowserTargeting.php b/src/Google/AdsApi/AdManager/v202505/BrowserTargeting.php index 5e1a75699..464c4cb1b 100644 --- a/src/Google/AdsApi/AdManager/v202505/BrowserTargeting.php +++ b/src/Google/AdsApi/AdManager/v202505/BrowserTargeting.php @@ -23,7 +23,7 @@ class BrowserTargeting * @param boolean $isTargeted * @param \Google\AdsApi\AdManager\v202505\Technology[] $browsers */ - public function __construct($isTargeted = null, array $browsers = null) + public function __construct($isTargeted = null, ?array $browsers = null) { $this->isTargeted = $isTargeted; $this->browsers = $browsers; @@ -59,7 +59,7 @@ public function getBrowsers() * @param \Google\AdsApi\AdManager\v202505\Technology[]|null $browsers * @return \Google\AdsApi\AdManager\v202505\BrowserTargeting */ - public function setBrowsers(array $browsers = null) + public function setBrowsers(?array $browsers = null) { $this->browsers = $browsers; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/BuyerRfp.php b/src/Google/AdsApi/AdManager/v202505/BuyerRfp.php index cc4769488..758efb6f2 100644 --- a/src/Google/AdsApi/AdManager/v202505/BuyerRfp.php +++ b/src/Google/AdsApi/AdManager/v202505/BuyerRfp.php @@ -83,7 +83,7 @@ class BuyerRfp * @param string $adExchangeEnvironment * @param string $rfpType */ - public function __construct($costPerUnit = null, $units = null, $budget = null, $currencyCode = null, $startDateTime = null, $endDateTime = null, $description = null, array $creativePlaceholders = null, $targeting = null, $additionalTerms = null, $adExchangeEnvironment = null, $rfpType = null) + public function __construct($costPerUnit = null, $units = null, $budget = null, $currencyCode = null, $startDateTime = null, $endDateTime = null, $description = null, ?array $creativePlaceholders = null, $targeting = null, $additionalTerms = null, $adExchangeEnvironment = null, $rfpType = null) { $this->costPerUnit = $costPerUnit; $this->units = $units; @@ -238,7 +238,7 @@ public function getCreativePlaceholders() * @param \Google\AdsApi\AdManager\v202505\CreativePlaceholder[]|null $creativePlaceholders * @return \Google\AdsApi\AdManager\v202505\BuyerRfp */ - public function setCreativePlaceholders(array $creativePlaceholders = null) + public function setCreativePlaceholders(?array $creativePlaceholders = null) { $this->creativePlaceholders = $creativePlaceholders; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/CdnConfigurationError.php b/src/Google/AdsApi/AdManager/v202505/CdnConfigurationError.php index 977713b41..d374a3086 100644 --- a/src/Google/AdsApi/AdManager/v202505/CdnConfigurationError.php +++ b/src/Google/AdsApi/AdManager/v202505/CdnConfigurationError.php @@ -21,7 +21,7 @@ class CdnConfigurationError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/CdnConfigurationPage.php b/src/Google/AdsApi/AdManager/v202505/CdnConfigurationPage.php index e716e83fb..3fb44d450 100644 --- a/src/Google/AdsApi/AdManager/v202505/CdnConfigurationPage.php +++ b/src/Google/AdsApi/AdManager/v202505/CdnConfigurationPage.php @@ -29,7 +29,7 @@ class CdnConfigurationPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\CdnConfiguration[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\CdnConfiguration[]|null $results * @return \Google\AdsApi\AdManager\v202505\CdnConfigurationPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/ChildPublisher.php b/src/Google/AdsApi/AdManager/v202505/ChildPublisher.php index 2fa93a255..838c4c970 100644 --- a/src/Google/AdsApi/AdManager/v202505/ChildPublisher.php +++ b/src/Google/AdsApi/AdManager/v202505/ChildPublisher.php @@ -59,7 +59,7 @@ class ChildPublisher * @param int $proposedRevenueShareMillipercent * @param string[] $onboardingTasks */ - public function __construct($approvedDelegationType = null, $proposedDelegationType = null, $invitationStatus = null, $accountStatus = null, $childNetworkCode = null, $sellerId = null, $proposedRevenueShareMillipercent = null, array $onboardingTasks = null) + public function __construct($approvedDelegationType = null, $proposedDelegationType = null, $invitationStatus = null, $accountStatus = null, $childNetworkCode = null, $sellerId = null, $proposedRevenueShareMillipercent = null, ?array $onboardingTasks = null) { $this->approvedDelegationType = $approvedDelegationType; $this->proposedDelegationType = $proposedDelegationType; @@ -210,7 +210,7 @@ public function getOnboardingTasks() * @param string[]|null $onboardingTasks * @return \Google\AdsApi\AdManager\v202505\ChildPublisher */ - public function setOnboardingTasks(array $onboardingTasks = null) + public function setOnboardingTasks(?array $onboardingTasks = null) { $this->onboardingTasks = $onboardingTasks; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/ClickTrackingCreative.php b/src/Google/AdsApi/AdManager/v202505/ClickTrackingCreative.php index 381f54f8d..7abc8961f 100644 --- a/src/Google/AdsApi/AdManager/v202505/ClickTrackingCreative.php +++ b/src/Google/AdsApi/AdManager/v202505/ClickTrackingCreative.php @@ -28,7 +28,7 @@ class ClickTrackingCreative extends \Google\AdsApi\AdManager\v202505\Creative * @param boolean $adBadgingEnabled * @param string $clickTrackingUrl */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $clickTrackingUrl = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $clickTrackingUrl = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled); $this->clickTrackingUrl = $clickTrackingUrl; diff --git a/src/Google/AdsApi/AdManager/v202505/ClickTrackingLineItemError.php b/src/Google/AdsApi/AdManager/v202505/ClickTrackingLineItemError.php index 0322cabd6..ef9c617b4 100644 --- a/src/Google/AdsApi/AdManager/v202505/ClickTrackingLineItemError.php +++ b/src/Google/AdsApi/AdManager/v202505/ClickTrackingLineItemError.php @@ -21,7 +21,7 @@ class ClickTrackingLineItemError extends \Google\AdsApi\AdManager\v202505\ApiErr * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/CmsMetadataCriteria.php b/src/Google/AdsApi/AdManager/v202505/CmsMetadataCriteria.php index a5d1d25db..28f0f7dea 100644 --- a/src/Google/AdsApi/AdManager/v202505/CmsMetadataCriteria.php +++ b/src/Google/AdsApi/AdManager/v202505/CmsMetadataCriteria.php @@ -23,7 +23,7 @@ class CmsMetadataCriteria extends \Google\AdsApi\AdManager\v202505\CustomCriteri * @param string $operator * @param int[] $cmsMetadataValueIds */ - public function __construct($operator = null, array $cmsMetadataValueIds = null) + public function __construct($operator = null, ?array $cmsMetadataValueIds = null) { $this->operator = $operator; $this->cmsMetadataValueIds = $cmsMetadataValueIds; @@ -59,7 +59,7 @@ public function getCmsMetadataValueIds() * @param int[]|null $cmsMetadataValueIds * @return \Google\AdsApi\AdManager\v202505\CmsMetadataCriteria */ - public function setCmsMetadataValueIds(array $cmsMetadataValueIds = null) + public function setCmsMetadataValueIds(?array $cmsMetadataValueIds = null) { $this->cmsMetadataValueIds = $cmsMetadataValueIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/CmsMetadataKeyPage.php b/src/Google/AdsApi/AdManager/v202505/CmsMetadataKeyPage.php index 0cadd872e..f33a0ac04 100644 --- a/src/Google/AdsApi/AdManager/v202505/CmsMetadataKeyPage.php +++ b/src/Google/AdsApi/AdManager/v202505/CmsMetadataKeyPage.php @@ -29,7 +29,7 @@ class CmsMetadataKeyPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\CmsMetadataKey[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\CmsMetadataKey[]|null $results * @return \Google\AdsApi\AdManager\v202505\CmsMetadataKeyPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/CmsMetadataValuePage.php b/src/Google/AdsApi/AdManager/v202505/CmsMetadataValuePage.php index ad9d2325c..d7b37109b 100644 --- a/src/Google/AdsApi/AdManager/v202505/CmsMetadataValuePage.php +++ b/src/Google/AdsApi/AdManager/v202505/CmsMetadataValuePage.php @@ -29,7 +29,7 @@ class CmsMetadataValuePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\CmsMetadataValue[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\CmsMetadataValue[]|null $results * @return \Google\AdsApi\AdManager\v202505\CmsMetadataValuePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/CollectionSizeError.php b/src/Google/AdsApi/AdManager/v202505/CollectionSizeError.php index 55ee7de2f..4d4ab18c8 100644 --- a/src/Google/AdsApi/AdManager/v202505/CollectionSizeError.php +++ b/src/Google/AdsApi/AdManager/v202505/CollectionSizeError.php @@ -21,7 +21,7 @@ class CollectionSizeError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/CommonError.php b/src/Google/AdsApi/AdManager/v202505/CommonError.php index 4d82bba65..2137a8ce9 100644 --- a/src/Google/AdsApi/AdManager/v202505/CommonError.php +++ b/src/Google/AdsApi/AdManager/v202505/CommonError.php @@ -21,7 +21,7 @@ class CommonError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/Company.php b/src/Google/AdsApi/AdManager/v202505/Company.php index 5b4d77c0f..a48bc03d8 100644 --- a/src/Google/AdsApi/AdManager/v202505/Company.php +++ b/src/Google/AdsApi/AdManager/v202505/Company.php @@ -113,7 +113,7 @@ class Company * @param \Google\AdsApi\AdManager\v202505\ChildPublisher $childPublisher * @param \Google\AdsApi\AdManager\v202505\ViewabilityProvider $viewabilityProvider */ - public function __construct($id = null, $name = null, $type = null, $address = null, $email = null, $faxPhone = null, $primaryPhone = null, $externalId = null, $comment = null, $creditStatus = null, array $appliedLabels = null, $primaryContactId = null, array $appliedTeamIds = null, $thirdPartyCompanyId = null, $lastModifiedDateTime = null, $childPublisher = null, $viewabilityProvider = null) + public function __construct($id = null, $name = null, $type = null, $address = null, $email = null, $faxPhone = null, $primaryPhone = null, $externalId = null, $comment = null, $creditStatus = null, ?array $appliedLabels = null, $primaryContactId = null, ?array $appliedTeamIds = null, $thirdPartyCompanyId = null, $lastModifiedDateTime = null, $childPublisher = null, $viewabilityProvider = null) { $this->id = $id; $this->name = $name; @@ -327,7 +327,7 @@ public function getAppliedLabels() * @param \Google\AdsApi\AdManager\v202505\AppliedLabel[]|null $appliedLabels * @return \Google\AdsApi\AdManager\v202505\Company */ - public function setAppliedLabels(array $appliedLabels = null) + public function setAppliedLabels(?array $appliedLabels = null) { $this->appliedLabels = $appliedLabels; return $this; @@ -364,7 +364,7 @@ public function getAppliedTeamIds() * @param int[]|null $appliedTeamIds * @return \Google\AdsApi\AdManager\v202505\Company */ - public function setAppliedTeamIds(array $appliedTeamIds = null) + public function setAppliedTeamIds(?array $appliedTeamIds = null) { $this->appliedTeamIds = $appliedTeamIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/CompanyCreditStatusError.php b/src/Google/AdsApi/AdManager/v202505/CompanyCreditStatusError.php index 000dc5574..184584b5a 100644 --- a/src/Google/AdsApi/AdManager/v202505/CompanyCreditStatusError.php +++ b/src/Google/AdsApi/AdManager/v202505/CompanyCreditStatusError.php @@ -21,7 +21,7 @@ class CompanyCreditStatusError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/CompanyError.php b/src/Google/AdsApi/AdManager/v202505/CompanyError.php index 98995836e..701052f56 100644 --- a/src/Google/AdsApi/AdManager/v202505/CompanyError.php +++ b/src/Google/AdsApi/AdManager/v202505/CompanyError.php @@ -21,7 +21,7 @@ class CompanyError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/CompanyPage.php b/src/Google/AdsApi/AdManager/v202505/CompanyPage.php index d5f8fdbc4..420578d73 100644 --- a/src/Google/AdsApi/AdManager/v202505/CompanyPage.php +++ b/src/Google/AdsApi/AdManager/v202505/CompanyPage.php @@ -29,7 +29,7 @@ class CompanyPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\Company[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\Company[]|null $results * @return \Google\AdsApi\AdManager\v202505\CompanyPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/ContactError.php b/src/Google/AdsApi/AdManager/v202505/ContactError.php index c6c562fca..837e5a4a2 100644 --- a/src/Google/AdsApi/AdManager/v202505/ContactError.php +++ b/src/Google/AdsApi/AdManager/v202505/ContactError.php @@ -21,7 +21,7 @@ class ContactError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/ContactPage.php b/src/Google/AdsApi/AdManager/v202505/ContactPage.php index f8a8f3a4a..c3f45a6cb 100644 --- a/src/Google/AdsApi/AdManager/v202505/ContactPage.php +++ b/src/Google/AdsApi/AdManager/v202505/ContactPage.php @@ -29,7 +29,7 @@ class ContactPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\Contact[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\Contact[]|null $results * @return \Google\AdsApi\AdManager\v202505\ContactPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/Content.php b/src/Google/AdsApi/AdManager/v202505/Content.php index 0999febbb..84d771bd0 100644 --- a/src/Google/AdsApi/AdManager/v202505/Content.php +++ b/src/Google/AdsApi/AdManager/v202505/Content.php @@ -107,7 +107,7 @@ class Content * @param int[] $cmsMetadataValueIds * @param int $duration */ - public function __construct($id = null, $name = null, $status = null, $statusDefinedBy = null, $hlsIngestStatus = null, array $hlsIngestErrors = null, $lastHlsIngestDateTime = null, $dashIngestStatus = null, array $dashIngestErrors = null, $lastDashIngestDateTime = null, $importDateTime = null, $lastModifiedDateTime = null, array $cmsSources = null, array $contentBundleIds = null, array $cmsMetadataValueIds = null, $duration = null) + public function __construct($id = null, $name = null, $status = null, $statusDefinedBy = null, $hlsIngestStatus = null, ?array $hlsIngestErrors = null, $lastHlsIngestDateTime = null, $dashIngestStatus = null, ?array $dashIngestErrors = null, $lastDashIngestDateTime = null, $importDateTime = null, $lastModifiedDateTime = null, ?array $cmsSources = null, ?array $contentBundleIds = null, ?array $cmsMetadataValueIds = null, $duration = null) { $this->id = $id; $this->name = $name; @@ -230,7 +230,7 @@ public function getHlsIngestErrors() * @param \Google\AdsApi\AdManager\v202505\DaiIngestError[]|null $hlsIngestErrors * @return \Google\AdsApi\AdManager\v202505\Content */ - public function setHlsIngestErrors(array $hlsIngestErrors = null) + public function setHlsIngestErrors(?array $hlsIngestErrors = null) { $this->hlsIngestErrors = $hlsIngestErrors; return $this; @@ -284,7 +284,7 @@ public function getDashIngestErrors() * @param \Google\AdsApi\AdManager\v202505\DaiIngestError[]|null $dashIngestErrors * @return \Google\AdsApi\AdManager\v202505\Content */ - public function setDashIngestErrors(array $dashIngestErrors = null) + public function setDashIngestErrors(?array $dashIngestErrors = null) { $this->dashIngestErrors = $dashIngestErrors; return $this; @@ -356,7 +356,7 @@ public function getCmsSources() * @param \Google\AdsApi\AdManager\v202505\CmsContent[]|null $cmsSources * @return \Google\AdsApi\AdManager\v202505\Content */ - public function setCmsSources(array $cmsSources = null) + public function setCmsSources(?array $cmsSources = null) { $this->cmsSources = $cmsSources; return $this; @@ -374,7 +374,7 @@ public function getContentBundleIds() * @param int[]|null $contentBundleIds * @return \Google\AdsApi\AdManager\v202505\Content */ - public function setContentBundleIds(array $contentBundleIds = null) + public function setContentBundleIds(?array $contentBundleIds = null) { $this->contentBundleIds = $contentBundleIds; return $this; @@ -392,7 +392,7 @@ public function getCmsMetadataValueIds() * @param int[]|null $cmsMetadataValueIds * @return \Google\AdsApi\AdManager\v202505\Content */ - public function setCmsMetadataValueIds(array $cmsMetadataValueIds = null) + public function setCmsMetadataValueIds(?array $cmsMetadataValueIds = null) { $this->cmsMetadataValueIds = $cmsMetadataValueIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/ContentBundlePage.php b/src/Google/AdsApi/AdManager/v202505/ContentBundlePage.php index 5a05d7c15..8a6ba7a08 100644 --- a/src/Google/AdsApi/AdManager/v202505/ContentBundlePage.php +++ b/src/Google/AdsApi/AdManager/v202505/ContentBundlePage.php @@ -29,7 +29,7 @@ class ContentBundlePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\ContentBundle[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\ContentBundle[]|null $results * @return \Google\AdsApi\AdManager\v202505\ContentBundlePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/ContentFilterError.php b/src/Google/AdsApi/AdManager/v202505/ContentFilterError.php index 2e5c80627..e34b92d67 100644 --- a/src/Google/AdsApi/AdManager/v202505/ContentFilterError.php +++ b/src/Google/AdsApi/AdManager/v202505/ContentFilterError.php @@ -21,7 +21,7 @@ class ContentFilterError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/ContentLabelTargeting.php b/src/Google/AdsApi/AdManager/v202505/ContentLabelTargeting.php index dcc00e2b4..42b807283 100644 --- a/src/Google/AdsApi/AdManager/v202505/ContentLabelTargeting.php +++ b/src/Google/AdsApi/AdManager/v202505/ContentLabelTargeting.php @@ -17,7 +17,7 @@ class ContentLabelTargeting /** * @param int[] $excludedContentLabelIds */ - public function __construct(array $excludedContentLabelIds = null) + public function __construct(?array $excludedContentLabelIds = null) { $this->excludedContentLabelIds = $excludedContentLabelIds; } @@ -34,7 +34,7 @@ public function getExcludedContentLabelIds() * @param int[]|null $excludedContentLabelIds * @return \Google\AdsApi\AdManager\v202505\ContentLabelTargeting */ - public function setExcludedContentLabelIds(array $excludedContentLabelIds = null) + public function setExcludedContentLabelIds(?array $excludedContentLabelIds = null) { $this->excludedContentLabelIds = $excludedContentLabelIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/ContentPage.php b/src/Google/AdsApi/AdManager/v202505/ContentPage.php index 3d33988dc..a044bc151 100644 --- a/src/Google/AdsApi/AdManager/v202505/ContentPage.php +++ b/src/Google/AdsApi/AdManager/v202505/ContentPage.php @@ -29,7 +29,7 @@ class ContentPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\Content[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\Content[]|null $results * @return \Google\AdsApi\AdManager\v202505\ContentPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/ContentTargeting.php b/src/Google/AdsApi/AdManager/v202505/ContentTargeting.php index 4d6471506..83d9dc554 100644 --- a/src/Google/AdsApi/AdManager/v202505/ContentTargeting.php +++ b/src/Google/AdsApi/AdManager/v202505/ContentTargeting.php @@ -35,7 +35,7 @@ class ContentTargeting * @param int[] $targetedVideoContentBundleIds * @param int[] $excludedVideoContentBundleIds */ - public function __construct(array $targetedContentIds = null, array $excludedContentIds = null, array $targetedVideoContentBundleIds = null, array $excludedVideoContentBundleIds = null) + public function __construct(?array $targetedContentIds = null, ?array $excludedContentIds = null, ?array $targetedVideoContentBundleIds = null, ?array $excludedVideoContentBundleIds = null) { $this->targetedContentIds = $targetedContentIds; $this->excludedContentIds = $excludedContentIds; @@ -55,7 +55,7 @@ public function getTargetedContentIds() * @param int[]|null $targetedContentIds * @return \Google\AdsApi\AdManager\v202505\ContentTargeting */ - public function setTargetedContentIds(array $targetedContentIds = null) + public function setTargetedContentIds(?array $targetedContentIds = null) { $this->targetedContentIds = $targetedContentIds; return $this; @@ -73,7 +73,7 @@ public function getExcludedContentIds() * @param int[]|null $excludedContentIds * @return \Google\AdsApi\AdManager\v202505\ContentTargeting */ - public function setExcludedContentIds(array $excludedContentIds = null) + public function setExcludedContentIds(?array $excludedContentIds = null) { $this->excludedContentIds = $excludedContentIds; return $this; @@ -91,7 +91,7 @@ public function getTargetedVideoContentBundleIds() * @param int[]|null $targetedVideoContentBundleIds * @return \Google\AdsApi\AdManager\v202505\ContentTargeting */ - public function setTargetedVideoContentBundleIds(array $targetedVideoContentBundleIds = null) + public function setTargetedVideoContentBundleIds(?array $targetedVideoContentBundleIds = null) { $this->targetedVideoContentBundleIds = $targetedVideoContentBundleIds; return $this; @@ -109,7 +109,7 @@ public function getExcludedVideoContentBundleIds() * @param int[]|null $excludedVideoContentBundleIds * @return \Google\AdsApi\AdManager\v202505\ContentTargeting */ - public function setExcludedVideoContentBundleIds(array $excludedVideoContentBundleIds = null) + public function setExcludedVideoContentBundleIds(?array $excludedVideoContentBundleIds = null) { $this->excludedVideoContentBundleIds = $excludedVideoContentBundleIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/Creative.php b/src/Google/AdsApi/AdManager/v202505/Creative.php index 6866a159f..d9fdfe7a8 100644 --- a/src/Google/AdsApi/AdManager/v202505/Creative.php +++ b/src/Google/AdsApi/AdManager/v202505/Creative.php @@ -77,7 +77,7 @@ abstract class Creative * @param \Google\AdsApi\AdManager\v202505\ThirdPartyDataDeclaration $thirdPartyDataDeclaration * @param boolean $adBadgingEnabled */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null) { $this->advertiserId = $advertiserId; $this->id = $id; @@ -196,7 +196,7 @@ public function getPolicyLabels() * @param string[]|null $policyLabels * @return \Google\AdsApi\AdManager\v202505\Creative */ - public function setPolicyLabels(array $policyLabels = null) + public function setPolicyLabels(?array $policyLabels = null) { $this->policyLabels = $policyLabels; return $this; @@ -214,7 +214,7 @@ public function getAppliedLabels() * @param \Google\AdsApi\AdManager\v202505\AppliedLabel[]|null $appliedLabels * @return \Google\AdsApi\AdManager\v202505\Creative */ - public function setAppliedLabels(array $appliedLabels = null) + public function setAppliedLabels(?array $appliedLabels = null) { $this->appliedLabels = $appliedLabels; return $this; @@ -250,7 +250,7 @@ public function getCustomFieldValues() * @param \Google\AdsApi\AdManager\v202505\BaseCustomFieldValue[]|null $customFieldValues * @return \Google\AdsApi\AdManager\v202505\Creative */ - public function setCustomFieldValues(array $customFieldValues = null) + public function setCustomFieldValues(?array $customFieldValues = null) { $this->customFieldValues = $customFieldValues; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/CreativeAsset.php b/src/Google/AdsApi/AdManager/v202505/CreativeAsset.php index d5e452467..57a33572c 100644 --- a/src/Google/AdsApi/AdManager/v202505/CreativeAsset.php +++ b/src/Google/AdsApi/AdManager/v202505/CreativeAsset.php @@ -59,7 +59,7 @@ class CreativeAsset * @param \Google\AdsApi\AdManager\v202505\ClickTag[] $clickTags * @param string $imageDensity */ - public function __construct($assetId = null, $assetByteArray = null, $fileName = null, $fileSize = null, $assetUrl = null, $size = null, array $clickTags = null, $imageDensity = null) + public function __construct($assetId = null, $assetByteArray = null, $fileName = null, $fileSize = null, $assetUrl = null, $size = null, ?array $clickTags = null, $imageDensity = null) { $this->assetId = $assetId; $this->assetByteArray = $assetByteArray; @@ -193,7 +193,7 @@ public function getClickTags() * @param \Google\AdsApi\AdManager\v202505\ClickTag[]|null $clickTags * @return \Google\AdsApi\AdManager\v202505\CreativeAsset */ - public function setClickTags(array $clickTags = null) + public function setClickTags(?array $clickTags = null) { $this->clickTags = $clickTags; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/CreativeAssetMacroError.php b/src/Google/AdsApi/AdManager/v202505/CreativeAssetMacroError.php index 9b4013364..85c37be33 100644 --- a/src/Google/AdsApi/AdManager/v202505/CreativeAssetMacroError.php +++ b/src/Google/AdsApi/AdManager/v202505/CreativeAssetMacroError.php @@ -21,7 +21,7 @@ class CreativeAssetMacroError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/CreativeError.php b/src/Google/AdsApi/AdManager/v202505/CreativeError.php index f8a34e34c..10be57f78 100644 --- a/src/Google/AdsApi/AdManager/v202505/CreativeError.php +++ b/src/Google/AdsApi/AdManager/v202505/CreativeError.php @@ -21,7 +21,7 @@ class CreativeError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/CreativePage.php b/src/Google/AdsApi/AdManager/v202505/CreativePage.php index 72ecf4a9b..16fb4a42d 100644 --- a/src/Google/AdsApi/AdManager/v202505/CreativePage.php +++ b/src/Google/AdsApi/AdManager/v202505/CreativePage.php @@ -29,7 +29,7 @@ class CreativePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\Creative[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\Creative[]|null $results * @return \Google\AdsApi\AdManager\v202505\CreativePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/CreativePlaceholder.php b/src/Google/AdsApi/AdManager/v202505/CreativePlaceholder.php index 087552e0b..a702395b4 100644 --- a/src/Google/AdsApi/AdManager/v202505/CreativePlaceholder.php +++ b/src/Google/AdsApi/AdManager/v202505/CreativePlaceholder.php @@ -65,7 +65,7 @@ class CreativePlaceholder * @param string $targetingName * @param boolean $isAmpOnly */ - public function __construct($size = null, $creativeTemplateId = null, array $companions = null, array $appliedLabels = null, array $effectiveAppliedLabels = null, $expectedCreativeCount = null, $creativeSizeType = null, $targetingName = null, $isAmpOnly = null) + public function __construct($size = null, $creativeTemplateId = null, ?array $companions = null, ?array $appliedLabels = null, ?array $effectiveAppliedLabels = null, $expectedCreativeCount = null, $creativeSizeType = null, $targetingName = null, $isAmpOnly = null) { $this->size = $size; $this->creativeTemplateId = $creativeTemplateId; @@ -127,7 +127,7 @@ public function getCompanions() * @param \Google\AdsApi\AdManager\v202505\CreativePlaceholder[]|null $companions * @return \Google\AdsApi\AdManager\v202505\CreativePlaceholder */ - public function setCompanions(array $companions = null) + public function setCompanions(?array $companions = null) { $this->companions = $companions; return $this; @@ -145,7 +145,7 @@ public function getAppliedLabels() * @param \Google\AdsApi\AdManager\v202505\AppliedLabel[]|null $appliedLabels * @return \Google\AdsApi\AdManager\v202505\CreativePlaceholder */ - public function setAppliedLabels(array $appliedLabels = null) + public function setAppliedLabels(?array $appliedLabels = null) { $this->appliedLabels = $appliedLabels; return $this; @@ -163,7 +163,7 @@ public function getEffectiveAppliedLabels() * @param \Google\AdsApi\AdManager\v202505\AppliedLabel[]|null $effectiveAppliedLabels * @return \Google\AdsApi\AdManager\v202505\CreativePlaceholder */ - public function setEffectiveAppliedLabels(array $effectiveAppliedLabels = null) + public function setEffectiveAppliedLabels(?array $effectiveAppliedLabels = null) { $this->effectiveAppliedLabels = $effectiveAppliedLabels; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/CreativePreviewError.php b/src/Google/AdsApi/AdManager/v202505/CreativePreviewError.php index b94e9c85c..45b1c7c8f 100644 --- a/src/Google/AdsApi/AdManager/v202505/CreativePreviewError.php +++ b/src/Google/AdsApi/AdManager/v202505/CreativePreviewError.php @@ -21,7 +21,7 @@ class CreativePreviewError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/CreativeSet.php b/src/Google/AdsApi/AdManager/v202505/CreativeSet.php index c3ad241e9..36a050d93 100644 --- a/src/Google/AdsApi/AdManager/v202505/CreativeSet.php +++ b/src/Google/AdsApi/AdManager/v202505/CreativeSet.php @@ -41,7 +41,7 @@ class CreativeSet * @param int[] $companionCreativeIds * @param \Google\AdsApi\AdManager\v202505\DateTime $lastModifiedDateTime */ - public function __construct($id = null, $name = null, $masterCreativeId = null, array $companionCreativeIds = null, $lastModifiedDateTime = null) + public function __construct($id = null, $name = null, $masterCreativeId = null, ?array $companionCreativeIds = null, $lastModifiedDateTime = null) { $this->id = $id; $this->name = $name; @@ -118,7 +118,7 @@ public function getCompanionCreativeIds() * @param int[]|null $companionCreativeIds * @return \Google\AdsApi\AdManager\v202505\CreativeSet */ - public function setCompanionCreativeIds(array $companionCreativeIds = null) + public function setCompanionCreativeIds(?array $companionCreativeIds = null) { $this->companionCreativeIds = $companionCreativeIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/CreativeSetError.php b/src/Google/AdsApi/AdManager/v202505/CreativeSetError.php index 076201dbf..be3e123e6 100644 --- a/src/Google/AdsApi/AdManager/v202505/CreativeSetError.php +++ b/src/Google/AdsApi/AdManager/v202505/CreativeSetError.php @@ -21,7 +21,7 @@ class CreativeSetError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/CreativeSetPage.php b/src/Google/AdsApi/AdManager/v202505/CreativeSetPage.php index 182bb046f..45b137ac1 100644 --- a/src/Google/AdsApi/AdManager/v202505/CreativeSetPage.php +++ b/src/Google/AdsApi/AdManager/v202505/CreativeSetPage.php @@ -29,7 +29,7 @@ class CreativeSetPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\CreativeSet[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\CreativeSet[]|null $results * @return \Google\AdsApi\AdManager\v202505\CreativeSetPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/CreativeTemplate.php b/src/Google/AdsApi/AdManager/v202505/CreativeTemplate.php index eca9f2ee1..c019d013c 100644 --- a/src/Google/AdsApi/AdManager/v202505/CreativeTemplate.php +++ b/src/Google/AdsApi/AdManager/v202505/CreativeTemplate.php @@ -71,7 +71,7 @@ class CreativeTemplate * @param boolean $isNativeEligible * @param boolean $isSafeFrameCompatible */ - public function __construct($id = null, $name = null, $description = null, array $variables = null, $snippet = null, $status = null, $type = null, $isInterstitial = null, $isNativeEligible = null, $isSafeFrameCompatible = null) + public function __construct($id = null, $name = null, $description = null, ?array $variables = null, $snippet = null, $status = null, $type = null, $isInterstitial = null, $isNativeEligible = null, $isSafeFrameCompatible = null) { $this->id = $id; $this->name = $name; @@ -152,7 +152,7 @@ public function getVariables() * @param \Google\AdsApi\AdManager\v202505\CreativeTemplateVariable[]|null $variables * @return \Google\AdsApi\AdManager\v202505\CreativeTemplate */ - public function setVariables(array $variables = null) + public function setVariables(?array $variables = null) { $this->variables = $variables; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/CreativeTemplateError.php b/src/Google/AdsApi/AdManager/v202505/CreativeTemplateError.php index 701087127..a6d870e58 100644 --- a/src/Google/AdsApi/AdManager/v202505/CreativeTemplateError.php +++ b/src/Google/AdsApi/AdManager/v202505/CreativeTemplateError.php @@ -21,7 +21,7 @@ class CreativeTemplateError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/CreativeTemplateOperationError.php b/src/Google/AdsApi/AdManager/v202505/CreativeTemplateOperationError.php index 2e0c00e28..6106e2447 100644 --- a/src/Google/AdsApi/AdManager/v202505/CreativeTemplateOperationError.php +++ b/src/Google/AdsApi/AdManager/v202505/CreativeTemplateOperationError.php @@ -21,7 +21,7 @@ class CreativeTemplateOperationError extends \Google\AdsApi\AdManager\v202505\Ap * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/CreativeTemplatePage.php b/src/Google/AdsApi/AdManager/v202505/CreativeTemplatePage.php index 663ee3165..d96e7f2aa 100644 --- a/src/Google/AdsApi/AdManager/v202505/CreativeTemplatePage.php +++ b/src/Google/AdsApi/AdManager/v202505/CreativeTemplatePage.php @@ -29,7 +29,7 @@ class CreativeTemplatePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\CreativeTemplate[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\CreativeTemplate[]|null $results * @return \Google\AdsApi\AdManager\v202505\CreativeTemplatePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/CreativeWrapper.php b/src/Google/AdsApi/AdManager/v202505/CreativeWrapper.php index a97d4ccdc..266d5b695 100644 --- a/src/Google/AdsApi/AdManager/v202505/CreativeWrapper.php +++ b/src/Google/AdsApi/AdManager/v202505/CreativeWrapper.php @@ -77,7 +77,7 @@ class CreativeWrapper * @param string $ordering * @param string $status */ - public function __construct($id = null, $labelId = null, $creativeWrapperType = null, $htmlHeader = null, $htmlFooter = null, $ampHead = null, $ampBody = null, array $videoTrackingUrls = null, $thirdPartyDataDeclaration = null, $ordering = null, $status = null) + public function __construct($id = null, $labelId = null, $creativeWrapperType = null, $htmlHeader = null, $htmlFooter = null, $ampHead = null, $ampBody = null, ?array $videoTrackingUrls = null, $thirdPartyDataDeclaration = null, $ordering = null, $status = null) { $this->id = $id; $this->labelId = $labelId; @@ -232,7 +232,7 @@ public function getVideoTrackingUrls() * @param \Google\AdsApi\AdManager\v202505\ConversionEvent_TrackingUrlsMapEntry[]|null $videoTrackingUrls * @return \Google\AdsApi\AdManager\v202505\CreativeWrapper */ - public function setVideoTrackingUrls(array $videoTrackingUrls = null) + public function setVideoTrackingUrls(?array $videoTrackingUrls = null) { $this->videoTrackingUrls = $videoTrackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/CreativeWrapperError.php b/src/Google/AdsApi/AdManager/v202505/CreativeWrapperError.php index 6ea4cca0b..32e000ea1 100644 --- a/src/Google/AdsApi/AdManager/v202505/CreativeWrapperError.php +++ b/src/Google/AdsApi/AdManager/v202505/CreativeWrapperError.php @@ -21,7 +21,7 @@ class CreativeWrapperError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/CreativeWrapperPage.php b/src/Google/AdsApi/AdManager/v202505/CreativeWrapperPage.php index 652113d9d..e6b9c15e4 100644 --- a/src/Google/AdsApi/AdManager/v202505/CreativeWrapperPage.php +++ b/src/Google/AdsApi/AdManager/v202505/CreativeWrapperPage.php @@ -29,7 +29,7 @@ class CreativeWrapperPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\CreativeWrapper[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\CreativeWrapper[]|null $results * @return \Google\AdsApi\AdManager\v202505\CreativeWrapperPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/CrossSellError.php b/src/Google/AdsApi/AdManager/v202505/CrossSellError.php index e4b896fbf..cbc5e3678 100644 --- a/src/Google/AdsApi/AdManager/v202505/CrossSellError.php +++ b/src/Google/AdsApi/AdManager/v202505/CrossSellError.php @@ -21,7 +21,7 @@ class CrossSellError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/CurrencyCodeError.php b/src/Google/AdsApi/AdManager/v202505/CurrencyCodeError.php index 97383de97..30a29b53c 100644 --- a/src/Google/AdsApi/AdManager/v202505/CurrencyCodeError.php +++ b/src/Google/AdsApi/AdManager/v202505/CurrencyCodeError.php @@ -21,7 +21,7 @@ class CurrencyCodeError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/CustomCreative.php b/src/Google/AdsApi/AdManager/v202505/CustomCreative.php index cec092d87..9102a3328 100644 --- a/src/Google/AdsApi/AdManager/v202505/CustomCreative.php +++ b/src/Google/AdsApi/AdManager/v202505/CustomCreative.php @@ -72,7 +72,7 @@ class CustomCreative extends \Google\AdsApi\AdManager\v202505\HasDestinationUrlC * @param boolean $isSafeFrameCompatible * @param string[] $thirdPartyImpressionTrackingUrls */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $htmlSnippet = null, array $customCreativeAssets = null, $isInterstitial = null, $lockedOrientation = null, $sslScanResult = null, $sslManualOverride = null, $isSafeFrameCompatible = null, array $thirdPartyImpressionTrackingUrls = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $htmlSnippet = null, ?array $customCreativeAssets = null, $isInterstitial = null, $lockedOrientation = null, $sslScanResult = null, $sslManualOverride = null, $isSafeFrameCompatible = null, ?array $thirdPartyImpressionTrackingUrls = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $destinationUrl, $destinationUrlType); $this->htmlSnippet = $htmlSnippet; @@ -115,7 +115,7 @@ public function getCustomCreativeAssets() * @param \Google\AdsApi\AdManager\v202505\CustomCreativeAsset[]|null $customCreativeAssets * @return \Google\AdsApi\AdManager\v202505\CustomCreative */ - public function setCustomCreativeAssets(array $customCreativeAssets = null) + public function setCustomCreativeAssets(?array $customCreativeAssets = null) { $this->customCreativeAssets = $customCreativeAssets; return $this; @@ -223,7 +223,7 @@ public function getThirdPartyImpressionTrackingUrls() * @param string[]|null $thirdPartyImpressionTrackingUrls * @return \Google\AdsApi\AdManager\v202505\CustomCreative */ - public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) + public function setThirdPartyImpressionTrackingUrls(?array $thirdPartyImpressionTrackingUrls = null) { $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/CustomCreativeError.php b/src/Google/AdsApi/AdManager/v202505/CustomCreativeError.php index fe6a39027..198b420d2 100644 --- a/src/Google/AdsApi/AdManager/v202505/CustomCreativeError.php +++ b/src/Google/AdsApi/AdManager/v202505/CustomCreativeError.php @@ -21,7 +21,7 @@ class CustomCreativeError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/CustomCriteria.php b/src/Google/AdsApi/AdManager/v202505/CustomCriteria.php index e67333897..c4afa93a1 100644 --- a/src/Google/AdsApi/AdManager/v202505/CustomCriteria.php +++ b/src/Google/AdsApi/AdManager/v202505/CustomCriteria.php @@ -29,7 +29,7 @@ class CustomCriteria extends \Google\AdsApi\AdManager\v202505\CustomCriteriaLeaf * @param int[] $valueIds * @param string $operator */ - public function __construct($keyId = null, array $valueIds = null, $operator = null) + public function __construct($keyId = null, ?array $valueIds = null, $operator = null) { $this->keyId = $keyId; $this->valueIds = $valueIds; @@ -67,7 +67,7 @@ public function getValueIds() * @param int[]|null $valueIds * @return \Google\AdsApi\AdManager\v202505\CustomCriteria */ - public function setValueIds(array $valueIds = null) + public function setValueIds(?array $valueIds = null) { $this->valueIds = $valueIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/CustomCriteriaSet.php b/src/Google/AdsApi/AdManager/v202505/CustomCriteriaSet.php index a06ae5b1e..039baf934 100644 --- a/src/Google/AdsApi/AdManager/v202505/CustomCriteriaSet.php +++ b/src/Google/AdsApi/AdManager/v202505/CustomCriteriaSet.php @@ -23,7 +23,7 @@ class CustomCriteriaSet extends \Google\AdsApi\AdManager\v202505\CustomCriteriaN * @param string $logicalOperator * @param \Google\AdsApi\AdManager\v202505\CustomCriteriaNode[] $children */ - public function __construct($logicalOperator = null, array $children = null) + public function __construct($logicalOperator = null, ?array $children = null) { $this->logicalOperator = $logicalOperator; $this->children = $children; @@ -59,7 +59,7 @@ public function getChildren() * @param \Google\AdsApi\AdManager\v202505\CustomCriteriaNode[]|null $children * @return \Google\AdsApi\AdManager\v202505\CustomCriteriaSet */ - public function setChildren(array $children = null) + public function setChildren(?array $children = null) { $this->children = $children; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/CustomFieldError.php b/src/Google/AdsApi/AdManager/v202505/CustomFieldError.php index 192b19cf3..be7ca0171 100644 --- a/src/Google/AdsApi/AdManager/v202505/CustomFieldError.php +++ b/src/Google/AdsApi/AdManager/v202505/CustomFieldError.php @@ -21,7 +21,7 @@ class CustomFieldError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/CustomFieldPage.php b/src/Google/AdsApi/AdManager/v202505/CustomFieldPage.php index 01c61c111..f2b126a81 100644 --- a/src/Google/AdsApi/AdManager/v202505/CustomFieldPage.php +++ b/src/Google/AdsApi/AdManager/v202505/CustomFieldPage.php @@ -29,7 +29,7 @@ class CustomFieldPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\CustomField[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\CustomField[]|null $results * @return \Google\AdsApi\AdManager\v202505\CustomFieldPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/CustomFieldValueError.php b/src/Google/AdsApi/AdManager/v202505/CustomFieldValueError.php index 634c09738..2d36942c0 100644 --- a/src/Google/AdsApi/AdManager/v202505/CustomFieldValueError.php +++ b/src/Google/AdsApi/AdManager/v202505/CustomFieldValueError.php @@ -21,7 +21,7 @@ class CustomFieldValueError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/CustomPacingCurve.php b/src/Google/AdsApi/AdManager/v202505/CustomPacingCurve.php index a5b6f06f0..515266807 100644 --- a/src/Google/AdsApi/AdManager/v202505/CustomPacingCurve.php +++ b/src/Google/AdsApi/AdManager/v202505/CustomPacingCurve.php @@ -23,7 +23,7 @@ class CustomPacingCurve * @param string $customPacingGoalUnit * @param \Google\AdsApi\AdManager\v202505\CustomPacingGoal[] $customPacingGoals */ - public function __construct($customPacingGoalUnit = null, array $customPacingGoals = null) + public function __construct($customPacingGoalUnit = null, ?array $customPacingGoals = null) { $this->customPacingGoalUnit = $customPacingGoalUnit; $this->customPacingGoals = $customPacingGoals; @@ -59,7 +59,7 @@ public function getCustomPacingGoals() * @param \Google\AdsApi\AdManager\v202505\CustomPacingGoal[]|null $customPacingGoals * @return \Google\AdsApi\AdManager\v202505\CustomPacingCurve */ - public function setCustomPacingGoals(array $customPacingGoals = null) + public function setCustomPacingGoals(?array $customPacingGoals = null) { $this->customPacingGoals = $customPacingGoals; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/CustomTargetingError.php b/src/Google/AdsApi/AdManager/v202505/CustomTargetingError.php index 2baa53d97..11c8c4ca4 100644 --- a/src/Google/AdsApi/AdManager/v202505/CustomTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202505/CustomTargetingError.php @@ -21,7 +21,7 @@ class CustomTargetingError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/CustomTargetingKeyPage.php b/src/Google/AdsApi/AdManager/v202505/CustomTargetingKeyPage.php index b76e8383b..c5ffbf431 100644 --- a/src/Google/AdsApi/AdManager/v202505/CustomTargetingKeyPage.php +++ b/src/Google/AdsApi/AdManager/v202505/CustomTargetingKeyPage.php @@ -29,7 +29,7 @@ class CustomTargetingKeyPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\CustomTargetingKey[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\CustomTargetingKey[]|null $results * @return \Google\AdsApi\AdManager\v202505\CustomTargetingKeyPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/CustomTargetingValuePage.php b/src/Google/AdsApi/AdManager/v202505/CustomTargetingValuePage.php index 4179142ef..eb2df3026 100644 --- a/src/Google/AdsApi/AdManager/v202505/CustomTargetingValuePage.php +++ b/src/Google/AdsApi/AdManager/v202505/CustomTargetingValuePage.php @@ -29,7 +29,7 @@ class CustomTargetingValuePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\CustomTargetingValue[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\CustomTargetingValue[]|null $results * @return \Google\AdsApi\AdManager\v202505\CustomTargetingValuePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/DaiAuthenticationKeyActionError.php b/src/Google/AdsApi/AdManager/v202505/DaiAuthenticationKeyActionError.php index 51bf45983..889994712 100644 --- a/src/Google/AdsApi/AdManager/v202505/DaiAuthenticationKeyActionError.php +++ b/src/Google/AdsApi/AdManager/v202505/DaiAuthenticationKeyActionError.php @@ -21,7 +21,7 @@ class DaiAuthenticationKeyActionError extends \Google\AdsApi\AdManager\v202505\A * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/DaiAuthenticationKeyPage.php b/src/Google/AdsApi/AdManager/v202505/DaiAuthenticationKeyPage.php index 8d140f03b..adbe67f04 100644 --- a/src/Google/AdsApi/AdManager/v202505/DaiAuthenticationKeyPage.php +++ b/src/Google/AdsApi/AdManager/v202505/DaiAuthenticationKeyPage.php @@ -29,7 +29,7 @@ class DaiAuthenticationKeyPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\DaiAuthenticationKey[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\DaiAuthenticationKey[]|null $results * @return \Google\AdsApi\AdManager\v202505\DaiAuthenticationKeyPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/DaiEncodingProfileAdMatchingError.php b/src/Google/AdsApi/AdManager/v202505/DaiEncodingProfileAdMatchingError.php index a6282b9cd..eb21d4784 100644 --- a/src/Google/AdsApi/AdManager/v202505/DaiEncodingProfileAdMatchingError.php +++ b/src/Google/AdsApi/AdManager/v202505/DaiEncodingProfileAdMatchingError.php @@ -21,7 +21,7 @@ class DaiEncodingProfileAdMatchingError extends \Google\AdsApi\AdManager\v202505 * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/DaiEncodingProfileContainerSettingsError.php b/src/Google/AdsApi/AdManager/v202505/DaiEncodingProfileContainerSettingsError.php index 3463c475f..d07d2420f 100644 --- a/src/Google/AdsApi/AdManager/v202505/DaiEncodingProfileContainerSettingsError.php +++ b/src/Google/AdsApi/AdManager/v202505/DaiEncodingProfileContainerSettingsError.php @@ -21,7 +21,7 @@ class DaiEncodingProfileContainerSettingsError extends \Google\AdsApi\AdManager\ * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/DaiEncodingProfileNameError.php b/src/Google/AdsApi/AdManager/v202505/DaiEncodingProfileNameError.php index 61711fe67..c556b6bc2 100644 --- a/src/Google/AdsApi/AdManager/v202505/DaiEncodingProfileNameError.php +++ b/src/Google/AdsApi/AdManager/v202505/DaiEncodingProfileNameError.php @@ -21,7 +21,7 @@ class DaiEncodingProfileNameError extends \Google\AdsApi\AdManager\v202505\ApiEr * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/DaiEncodingProfilePage.php b/src/Google/AdsApi/AdManager/v202505/DaiEncodingProfilePage.php index 0c64ae954..080543355 100644 --- a/src/Google/AdsApi/AdManager/v202505/DaiEncodingProfilePage.php +++ b/src/Google/AdsApi/AdManager/v202505/DaiEncodingProfilePage.php @@ -29,7 +29,7 @@ class DaiEncodingProfilePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\DaiEncodingProfile[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\DaiEncodingProfile[]|null $results * @return \Google\AdsApi\AdManager\v202505\DaiEncodingProfilePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/DaiEncodingProfileUpdateError.php b/src/Google/AdsApi/AdManager/v202505/DaiEncodingProfileUpdateError.php index 2d91d1f53..15165201e 100644 --- a/src/Google/AdsApi/AdManager/v202505/DaiEncodingProfileUpdateError.php +++ b/src/Google/AdsApi/AdManager/v202505/DaiEncodingProfileUpdateError.php @@ -21,7 +21,7 @@ class DaiEncodingProfileUpdateError extends \Google\AdsApi\AdManager\v202505\Api * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/DaiEncodingProfileVariantSettingsError.php b/src/Google/AdsApi/AdManager/v202505/DaiEncodingProfileVariantSettingsError.php index da703a51d..d34f87c60 100644 --- a/src/Google/AdsApi/AdManager/v202505/DaiEncodingProfileVariantSettingsError.php +++ b/src/Google/AdsApi/AdManager/v202505/DaiEncodingProfileVariantSettingsError.php @@ -21,7 +21,7 @@ class DaiEncodingProfileVariantSettingsError extends \Google\AdsApi\AdManager\v2 * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/DailyVolumeSettings.php b/src/Google/AdsApi/AdManager/v202505/DailyVolumeSettings.php index 5b9f87211..bc6c099b2 100644 --- a/src/Google/AdsApi/AdManager/v202505/DailyVolumeSettings.php +++ b/src/Google/AdsApi/AdManager/v202505/DailyVolumeSettings.php @@ -17,7 +17,7 @@ class DailyVolumeSettings /** * @param int[] $adOpportunityCounts */ - public function __construct(array $adOpportunityCounts = null) + public function __construct(?array $adOpportunityCounts = null) { $this->adOpportunityCounts = $adOpportunityCounts; } @@ -34,7 +34,7 @@ public function getAdOpportunityCounts() * @param int[]|null $adOpportunityCounts * @return \Google\AdsApi\AdManager\v202505\DailyVolumeSettings */ - public function setAdOpportunityCounts(array $adOpportunityCounts = null) + public function setAdOpportunityCounts(?array $adOpportunityCounts = null) { $this->adOpportunityCounts = $adOpportunityCounts; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/DateError.php b/src/Google/AdsApi/AdManager/v202505/DateError.php index c477d7677..9751a31a4 100644 --- a/src/Google/AdsApi/AdManager/v202505/DateError.php +++ b/src/Google/AdsApi/AdManager/v202505/DateError.php @@ -21,7 +21,7 @@ class DateError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/DateTimeRangeTargeting.php b/src/Google/AdsApi/AdManager/v202505/DateTimeRangeTargeting.php index c9f0fb233..c938caab7 100644 --- a/src/Google/AdsApi/AdManager/v202505/DateTimeRangeTargeting.php +++ b/src/Google/AdsApi/AdManager/v202505/DateTimeRangeTargeting.php @@ -17,7 +17,7 @@ class DateTimeRangeTargeting /** * @param \Google\AdsApi\AdManager\v202505\DateTimeRange[] $targetedDateTimeRanges */ - public function __construct(array $targetedDateTimeRanges = null) + public function __construct(?array $targetedDateTimeRanges = null) { $this->targetedDateTimeRanges = $targetedDateTimeRanges; } @@ -34,7 +34,7 @@ public function getTargetedDateTimeRanges() * @param \Google\AdsApi\AdManager\v202505\DateTimeRange[]|null $targetedDateTimeRanges * @return \Google\AdsApi\AdManager\v202505\DateTimeRangeTargeting */ - public function setTargetedDateTimeRanges(array $targetedDateTimeRanges = null) + public function setTargetedDateTimeRanges(?array $targetedDateTimeRanges = null) { $this->targetedDateTimeRanges = $targetedDateTimeRanges; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/DateTimeRangeTargetingError.php b/src/Google/AdsApi/AdManager/v202505/DateTimeRangeTargetingError.php index 7a9c1c0c8..f57016f72 100644 --- a/src/Google/AdsApi/AdManager/v202505/DateTimeRangeTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202505/DateTimeRangeTargetingError.php @@ -21,7 +21,7 @@ class DateTimeRangeTargetingError extends \Google\AdsApi\AdManager\v202505\ApiEr * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/DayPartTargeting.php b/src/Google/AdsApi/AdManager/v202505/DayPartTargeting.php index 92d8f8727..1f6e76f3c 100644 --- a/src/Google/AdsApi/AdManager/v202505/DayPartTargeting.php +++ b/src/Google/AdsApi/AdManager/v202505/DayPartTargeting.php @@ -23,7 +23,7 @@ class DayPartTargeting * @param \Google\AdsApi\AdManager\v202505\DayPart[] $dayParts * @param string $timeZone */ - public function __construct(array $dayParts = null, $timeZone = null) + public function __construct(?array $dayParts = null, $timeZone = null) { $this->dayParts = $dayParts; $this->timeZone = $timeZone; @@ -41,7 +41,7 @@ public function getDayParts() * @param \Google\AdsApi\AdManager\v202505\DayPart[]|null $dayParts * @return \Google\AdsApi\AdManager\v202505\DayPartTargeting */ - public function setDayParts(array $dayParts = null) + public function setDayParts(?array $dayParts = null) { $this->dayParts = $dayParts; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/DayPartTargetingError.php b/src/Google/AdsApi/AdManager/v202505/DayPartTargetingError.php index 33d711eab..60518ffad 100644 --- a/src/Google/AdsApi/AdManager/v202505/DayPartTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202505/DayPartTargetingError.php @@ -21,7 +21,7 @@ class DayPartTargetingError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/DealError.php b/src/Google/AdsApi/AdManager/v202505/DealError.php index 8f3260450..641f99b24 100644 --- a/src/Google/AdsApi/AdManager/v202505/DealError.php +++ b/src/Google/AdsApi/AdManager/v202505/DealError.php @@ -21,7 +21,7 @@ class DealError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/DeliveryData.php b/src/Google/AdsApi/AdManager/v202505/DeliveryData.php index ad7c215e3..85960844c 100644 --- a/src/Google/AdsApi/AdManager/v202505/DeliveryData.php +++ b/src/Google/AdsApi/AdManager/v202505/DeliveryData.php @@ -17,7 +17,7 @@ class DeliveryData /** * @param int[] $units */ - public function __construct(array $units = null) + public function __construct(?array $units = null) { $this->units = $units; } @@ -34,7 +34,7 @@ public function getUnits() * @param int[]|null $units * @return \Google\AdsApi\AdManager\v202505\DeliveryData */ - public function setUnits(array $units = null) + public function setUnits(?array $units = null) { $this->units = $units; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/DeliveryForecast.php b/src/Google/AdsApi/AdManager/v202505/DeliveryForecast.php index 5abc6a19e..0081a9ccd 100644 --- a/src/Google/AdsApi/AdManager/v202505/DeliveryForecast.php +++ b/src/Google/AdsApi/AdManager/v202505/DeliveryForecast.php @@ -17,7 +17,7 @@ class DeliveryForecast /** * @param \Google\AdsApi\AdManager\v202505\LineItemDeliveryForecast[] $lineItemDeliveryForecasts */ - public function __construct(array $lineItemDeliveryForecasts = null) + public function __construct(?array $lineItemDeliveryForecasts = null) { $this->lineItemDeliveryForecasts = $lineItemDeliveryForecasts; } @@ -34,7 +34,7 @@ public function getLineItemDeliveryForecasts() * @param \Google\AdsApi\AdManager\v202505\LineItemDeliveryForecast[]|null $lineItemDeliveryForecasts * @return \Google\AdsApi\AdManager\v202505\DeliveryForecast */ - public function setLineItemDeliveryForecasts(array $lineItemDeliveryForecasts = null) + public function setLineItemDeliveryForecasts(?array $lineItemDeliveryForecasts = null) { $this->lineItemDeliveryForecasts = $lineItemDeliveryForecasts; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/DeliveryForecastOptions.php b/src/Google/AdsApi/AdManager/v202505/DeliveryForecastOptions.php index 03a21ff24..c1985da82 100644 --- a/src/Google/AdsApi/AdManager/v202505/DeliveryForecastOptions.php +++ b/src/Google/AdsApi/AdManager/v202505/DeliveryForecastOptions.php @@ -17,7 +17,7 @@ class DeliveryForecastOptions /** * @param int[] $ignoredLineItemIds */ - public function __construct(array $ignoredLineItemIds = null) + public function __construct(?array $ignoredLineItemIds = null) { $this->ignoredLineItemIds = $ignoredLineItemIds; } @@ -34,7 +34,7 @@ public function getIgnoredLineItemIds() * @param int[]|null $ignoredLineItemIds * @return \Google\AdsApi\AdManager\v202505\DeliveryForecastOptions */ - public function setIgnoredLineItemIds(array $ignoredLineItemIds = null) + public function setIgnoredLineItemIds(?array $ignoredLineItemIds = null) { $this->ignoredLineItemIds = $ignoredLineItemIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/DeviceCapabilityTargeting.php b/src/Google/AdsApi/AdManager/v202505/DeviceCapabilityTargeting.php index 61180c604..f65c11616 100644 --- a/src/Google/AdsApi/AdManager/v202505/DeviceCapabilityTargeting.php +++ b/src/Google/AdsApi/AdManager/v202505/DeviceCapabilityTargeting.php @@ -23,7 +23,7 @@ class DeviceCapabilityTargeting * @param \Google\AdsApi\AdManager\v202505\Technology[] $targetedDeviceCapabilities * @param \Google\AdsApi\AdManager\v202505\Technology[] $excludedDeviceCapabilities */ - public function __construct(array $targetedDeviceCapabilities = null, array $excludedDeviceCapabilities = null) + public function __construct(?array $targetedDeviceCapabilities = null, ?array $excludedDeviceCapabilities = null) { $this->targetedDeviceCapabilities = $targetedDeviceCapabilities; $this->excludedDeviceCapabilities = $excludedDeviceCapabilities; @@ -41,7 +41,7 @@ public function getTargetedDeviceCapabilities() * @param \Google\AdsApi\AdManager\v202505\Technology[]|null $targetedDeviceCapabilities * @return \Google\AdsApi\AdManager\v202505\DeviceCapabilityTargeting */ - public function setTargetedDeviceCapabilities(array $targetedDeviceCapabilities = null) + public function setTargetedDeviceCapabilities(?array $targetedDeviceCapabilities = null) { $this->targetedDeviceCapabilities = $targetedDeviceCapabilities; return $this; @@ -59,7 +59,7 @@ public function getExcludedDeviceCapabilities() * @param \Google\AdsApi\AdManager\v202505\Technology[]|null $excludedDeviceCapabilities * @return \Google\AdsApi\AdManager\v202505\DeviceCapabilityTargeting */ - public function setExcludedDeviceCapabilities(array $excludedDeviceCapabilities = null) + public function setExcludedDeviceCapabilities(?array $excludedDeviceCapabilities = null) { $this->excludedDeviceCapabilities = $excludedDeviceCapabilities; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/DeviceCategoryTargeting.php b/src/Google/AdsApi/AdManager/v202505/DeviceCategoryTargeting.php index 7e3c34bcf..0cfc9d86e 100644 --- a/src/Google/AdsApi/AdManager/v202505/DeviceCategoryTargeting.php +++ b/src/Google/AdsApi/AdManager/v202505/DeviceCategoryTargeting.php @@ -23,7 +23,7 @@ class DeviceCategoryTargeting * @param \Google\AdsApi\AdManager\v202505\Technology[] $targetedDeviceCategories * @param \Google\AdsApi\AdManager\v202505\Technology[] $excludedDeviceCategories */ - public function __construct(array $targetedDeviceCategories = null, array $excludedDeviceCategories = null) + public function __construct(?array $targetedDeviceCategories = null, ?array $excludedDeviceCategories = null) { $this->targetedDeviceCategories = $targetedDeviceCategories; $this->excludedDeviceCategories = $excludedDeviceCategories; @@ -41,7 +41,7 @@ public function getTargetedDeviceCategories() * @param \Google\AdsApi\AdManager\v202505\Technology[]|null $targetedDeviceCategories * @return \Google\AdsApi\AdManager\v202505\DeviceCategoryTargeting */ - public function setTargetedDeviceCategories(array $targetedDeviceCategories = null) + public function setTargetedDeviceCategories(?array $targetedDeviceCategories = null) { $this->targetedDeviceCategories = $targetedDeviceCategories; return $this; @@ -59,7 +59,7 @@ public function getExcludedDeviceCategories() * @param \Google\AdsApi\AdManager\v202505\Technology[]|null $excludedDeviceCategories * @return \Google\AdsApi\AdManager\v202505\DeviceCategoryTargeting */ - public function setExcludedDeviceCategories(array $excludedDeviceCategories = null) + public function setExcludedDeviceCategories(?array $excludedDeviceCategories = null) { $this->excludedDeviceCategories = $excludedDeviceCategories; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/DeviceManufacturerTargeting.php b/src/Google/AdsApi/AdManager/v202505/DeviceManufacturerTargeting.php index e160103f0..214ba3abd 100644 --- a/src/Google/AdsApi/AdManager/v202505/DeviceManufacturerTargeting.php +++ b/src/Google/AdsApi/AdManager/v202505/DeviceManufacturerTargeting.php @@ -23,7 +23,7 @@ class DeviceManufacturerTargeting * @param boolean $isTargeted * @param \Google\AdsApi\AdManager\v202505\Technology[] $deviceManufacturers */ - public function __construct($isTargeted = null, array $deviceManufacturers = null) + public function __construct($isTargeted = null, ?array $deviceManufacturers = null) { $this->isTargeted = $isTargeted; $this->deviceManufacturers = $deviceManufacturers; @@ -59,7 +59,7 @@ public function getDeviceManufacturers() * @param \Google\AdsApi\AdManager\v202505\Technology[]|null $deviceManufacturers * @return \Google\AdsApi\AdManager\v202505\DeviceManufacturerTargeting */ - public function setDeviceManufacturers(array $deviceManufacturers = null) + public function setDeviceManufacturers(?array $deviceManufacturers = null) { $this->deviceManufacturers = $deviceManufacturers; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/DistinctError.php b/src/Google/AdsApi/AdManager/v202505/DistinctError.php index e8d15f36d..be5f3dfa4 100644 --- a/src/Google/AdsApi/AdManager/v202505/DistinctError.php +++ b/src/Google/AdsApi/AdManager/v202505/DistinctError.php @@ -21,7 +21,7 @@ class DistinctError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/DropDownCustomField.php b/src/Google/AdsApi/AdManager/v202505/DropDownCustomField.php index 5a749ee7b..89e10a68a 100644 --- a/src/Google/AdsApi/AdManager/v202505/DropDownCustomField.php +++ b/src/Google/AdsApi/AdManager/v202505/DropDownCustomField.php @@ -24,7 +24,7 @@ class DropDownCustomField extends \Google\AdsApi\AdManager\v202505\CustomField * @param string $visibility * @param \Google\AdsApi\AdManager\v202505\CustomFieldOption[] $options */ - public function __construct($id = null, $name = null, $description = null, $isActive = null, $entityType = null, $dataType = null, $visibility = null, array $options = null) + public function __construct($id = null, $name = null, $description = null, $isActive = null, $entityType = null, $dataType = null, $visibility = null, ?array $options = null) { parent::__construct($id, $name, $description, $isActive, $entityType, $dataType, $visibility); $this->options = $options; @@ -42,7 +42,7 @@ public function getOptions() * @param \Google\AdsApi\AdManager\v202505\CustomFieldOption[]|null $options * @return \Google\AdsApi\AdManager\v202505\DropDownCustomField */ - public function setOptions(array $options = null) + public function setOptions(?array $options = null) { $this->options = $options; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/EntityChildrenLimitReachedError.php b/src/Google/AdsApi/AdManager/v202505/EntityChildrenLimitReachedError.php index 37b580710..c7c9b0424 100644 --- a/src/Google/AdsApi/AdManager/v202505/EntityChildrenLimitReachedError.php +++ b/src/Google/AdsApi/AdManager/v202505/EntityChildrenLimitReachedError.php @@ -21,7 +21,7 @@ class EntityChildrenLimitReachedError extends \Google\AdsApi\AdManager\v202505\A * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/EntityLimitReachedError.php b/src/Google/AdsApi/AdManager/v202505/EntityLimitReachedError.php index bf8871fea..1eb3769de 100644 --- a/src/Google/AdsApi/AdManager/v202505/EntityLimitReachedError.php +++ b/src/Google/AdsApi/AdManager/v202505/EntityLimitReachedError.php @@ -21,7 +21,7 @@ class EntityLimitReachedError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/ExchangeRateError.php b/src/Google/AdsApi/AdManager/v202505/ExchangeRateError.php index 9a742c6e2..f40cf3333 100644 --- a/src/Google/AdsApi/AdManager/v202505/ExchangeRateError.php +++ b/src/Google/AdsApi/AdManager/v202505/ExchangeRateError.php @@ -21,7 +21,7 @@ class ExchangeRateError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/ExchangeSignupApiError.php b/src/Google/AdsApi/AdManager/v202505/ExchangeSignupApiError.php index c83341c1a..f5b8eb673 100644 --- a/src/Google/AdsApi/AdManager/v202505/ExchangeSignupApiError.php +++ b/src/Google/AdsApi/AdManager/v202505/ExchangeSignupApiError.php @@ -21,7 +21,7 @@ class ExchangeSignupApiError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/FeatureError.php b/src/Google/AdsApi/AdManager/v202505/FeatureError.php index 6d8f780bc..2a5a80d5d 100644 --- a/src/Google/AdsApi/AdManager/v202505/FeatureError.php +++ b/src/Google/AdsApi/AdManager/v202505/FeatureError.php @@ -21,7 +21,7 @@ class FeatureError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/FileError.php b/src/Google/AdsApi/AdManager/v202505/FileError.php index 6d387df38..8025938a3 100644 --- a/src/Google/AdsApi/AdManager/v202505/FileError.php +++ b/src/Google/AdsApi/AdManager/v202505/FileError.php @@ -21,7 +21,7 @@ class FileError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/FirstPartyAudienceSegment.php b/src/Google/AdsApi/AdManager/v202505/FirstPartyAudienceSegment.php index f2441ad47..c9f9fb177 100644 --- a/src/Google/AdsApi/AdManager/v202505/FirstPartyAudienceSegment.php +++ b/src/Google/AdsApi/AdManager/v202505/FirstPartyAudienceSegment.php @@ -23,7 +23,7 @@ abstract class FirstPartyAudienceSegment extends \Google\AdsApi\AdManager\v20250 * @param \Google\AdsApi\AdManager\v202505\AudienceSegmentDataProvider $dataProvider * @param string $type */ - public function __construct($id = null, $name = null, array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null) + public function __construct($id = null, $name = null, ?array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null) { parent::__construct($id, $name, $categoryIds, $description, $status, $size, $mobileWebSize, $idfaSize, $adIdSize, $ppidSize, $dataProvider, $type); } diff --git a/src/Google/AdsApi/AdManager/v202505/ForecastAdjustment.php b/src/Google/AdsApi/AdManager/v202505/ForecastAdjustment.php index 965c3660a..255d6f951 100644 --- a/src/Google/AdsApi/AdManager/v202505/ForecastAdjustment.php +++ b/src/Google/AdsApi/AdManager/v202505/ForecastAdjustment.php @@ -77,7 +77,7 @@ class ForecastAdjustment * @param \Google\AdsApi\AdManager\v202505\HistoricalBasisVolumeSettings $historicalBasisVolumeSettings * @param int[] $calculatedDailyAdOpportunityCounts */ - public function __construct($id = null, $trafficForecastSegmentId = null, $name = null, $dateRange = null, $status = null, $volumeType = null, $allowAdjustingForecastAboveRecommendedLimit = null, $dailyVolumeSettings = null, $totalVolumeSettings = null, $historicalBasisVolumeSettings = null, array $calculatedDailyAdOpportunityCounts = null) + public function __construct($id = null, $trafficForecastSegmentId = null, $name = null, $dateRange = null, $status = null, $volumeType = null, $allowAdjustingForecastAboveRecommendedLimit = null, $dailyVolumeSettings = null, $totalVolumeSettings = null, $historicalBasisVolumeSettings = null, ?array $calculatedDailyAdOpportunityCounts = null) { $this->id = $id; $this->trafficForecastSegmentId = $trafficForecastSegmentId; @@ -286,7 +286,7 @@ public function getCalculatedDailyAdOpportunityCounts() * @param int[]|null $calculatedDailyAdOpportunityCounts * @return \Google\AdsApi\AdManager\v202505\ForecastAdjustment */ - public function setCalculatedDailyAdOpportunityCounts(array $calculatedDailyAdOpportunityCounts = null) + public function setCalculatedDailyAdOpportunityCounts(?array $calculatedDailyAdOpportunityCounts = null) { $this->calculatedDailyAdOpportunityCounts = $calculatedDailyAdOpportunityCounts; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/ForecastAdjustmentError.php b/src/Google/AdsApi/AdManager/v202505/ForecastAdjustmentError.php index 725b2eac5..2e29220ae 100644 --- a/src/Google/AdsApi/AdManager/v202505/ForecastAdjustmentError.php +++ b/src/Google/AdsApi/AdManager/v202505/ForecastAdjustmentError.php @@ -21,7 +21,7 @@ class ForecastAdjustmentError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/ForecastAdjustmentPage.php b/src/Google/AdsApi/AdManager/v202505/ForecastAdjustmentPage.php index ca4d5a122..fdcdf3d20 100644 --- a/src/Google/AdsApi/AdManager/v202505/ForecastAdjustmentPage.php +++ b/src/Google/AdsApi/AdManager/v202505/ForecastAdjustmentPage.php @@ -29,7 +29,7 @@ class ForecastAdjustmentPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\ForecastAdjustment[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\ForecastAdjustment[]|null $results * @return \Google\AdsApi\AdManager\v202505\ForecastAdjustmentPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/ForecastBreakdown.php b/src/Google/AdsApi/AdManager/v202505/ForecastBreakdown.php index e8cc7285c..c5c58877a 100644 --- a/src/Google/AdsApi/AdManager/v202505/ForecastBreakdown.php +++ b/src/Google/AdsApi/AdManager/v202505/ForecastBreakdown.php @@ -29,7 +29,7 @@ class ForecastBreakdown * @param \Google\AdsApi\AdManager\v202505\DateTime $endTime * @param \Google\AdsApi\AdManager\v202505\ForecastBreakdownEntry[] $breakdownEntries */ - public function __construct($startTime = null, $endTime = null, array $breakdownEntries = null) + public function __construct($startTime = null, $endTime = null, ?array $breakdownEntries = null) { $this->startTime = $startTime; $this->endTime = $endTime; @@ -84,7 +84,7 @@ public function getBreakdownEntries() * @param \Google\AdsApi\AdManager\v202505\ForecastBreakdownEntry[]|null $breakdownEntries * @return \Google\AdsApi\AdManager\v202505\ForecastBreakdown */ - public function setBreakdownEntries(array $breakdownEntries = null) + public function setBreakdownEntries(?array $breakdownEntries = null) { $this->breakdownEntries = $breakdownEntries; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/ForecastBreakdownOptions.php b/src/Google/AdsApi/AdManager/v202505/ForecastBreakdownOptions.php index 31d6dc389..b30e6f265 100644 --- a/src/Google/AdsApi/AdManager/v202505/ForecastBreakdownOptions.php +++ b/src/Google/AdsApi/AdManager/v202505/ForecastBreakdownOptions.php @@ -23,7 +23,7 @@ class ForecastBreakdownOptions * @param \Google\AdsApi\AdManager\v202505\DateTime[] $timeWindows * @param \Google\AdsApi\AdManager\v202505\ForecastBreakdownTarget[] $targets */ - public function __construct(array $timeWindows = null, array $targets = null) + public function __construct(?array $timeWindows = null, ?array $targets = null) { $this->timeWindows = $timeWindows; $this->targets = $targets; @@ -41,7 +41,7 @@ public function getTimeWindows() * @param \Google\AdsApi\AdManager\v202505\DateTime[]|null $timeWindows * @return \Google\AdsApi\AdManager\v202505\ForecastBreakdownOptions */ - public function setTimeWindows(array $timeWindows = null) + public function setTimeWindows(?array $timeWindows = null) { $this->timeWindows = $timeWindows; return $this; @@ -59,7 +59,7 @@ public function getTargets() * @param \Google\AdsApi\AdManager\v202505\ForecastBreakdownTarget[]|null $targets * @return \Google\AdsApi\AdManager\v202505\ForecastBreakdownOptions */ - public function setTargets(array $targets = null) + public function setTargets(?array $targets = null) { $this->targets = $targets; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/ForecastError.php b/src/Google/AdsApi/AdManager/v202505/ForecastError.php index 38a06d995..7366a18f5 100644 --- a/src/Google/AdsApi/AdManager/v202505/ForecastError.php +++ b/src/Google/AdsApi/AdManager/v202505/ForecastError.php @@ -21,7 +21,7 @@ class ForecastError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/FrequencyCapError.php b/src/Google/AdsApi/AdManager/v202505/FrequencyCapError.php index d09566fcf..a487bed65 100644 --- a/src/Google/AdsApi/AdManager/v202505/FrequencyCapError.php +++ b/src/Google/AdsApi/AdManager/v202505/FrequencyCapError.php @@ -21,7 +21,7 @@ class FrequencyCapError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/GenericTargetingError.php b/src/Google/AdsApi/AdManager/v202505/GenericTargetingError.php index 3671d83dd..1c12a2c9e 100644 --- a/src/Google/AdsApi/AdManager/v202505/GenericTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202505/GenericTargetingError.php @@ -21,7 +21,7 @@ class GenericTargetingError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/GeoTargeting.php b/src/Google/AdsApi/AdManager/v202505/GeoTargeting.php index 19bef36d7..be91af6d0 100644 --- a/src/Google/AdsApi/AdManager/v202505/GeoTargeting.php +++ b/src/Google/AdsApi/AdManager/v202505/GeoTargeting.php @@ -23,7 +23,7 @@ class GeoTargeting * @param \Google\AdsApi\AdManager\v202505\Location[] $targetedLocations * @param \Google\AdsApi\AdManager\v202505\Location[] $excludedLocations */ - public function __construct(array $targetedLocations = null, array $excludedLocations = null) + public function __construct(?array $targetedLocations = null, ?array $excludedLocations = null) { $this->targetedLocations = $targetedLocations; $this->excludedLocations = $excludedLocations; @@ -41,7 +41,7 @@ public function getTargetedLocations() * @param \Google\AdsApi\AdManager\v202505\Location[]|null $targetedLocations * @return \Google\AdsApi\AdManager\v202505\GeoTargeting */ - public function setTargetedLocations(array $targetedLocations = null) + public function setTargetedLocations(?array $targetedLocations = null) { $this->targetedLocations = $targetedLocations; return $this; @@ -59,7 +59,7 @@ public function getExcludedLocations() * @param \Google\AdsApi\AdManager\v202505\Location[]|null $excludedLocations * @return \Google\AdsApi\AdManager\v202505\GeoTargeting */ - public function setExcludedLocations(array $excludedLocations = null) + public function setExcludedLocations(?array $excludedLocations = null) { $this->excludedLocations = $excludedLocations; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/GeoTargetingError.php b/src/Google/AdsApi/AdManager/v202505/GeoTargetingError.php index fff7a18f3..2c6849be8 100644 --- a/src/Google/AdsApi/AdManager/v202505/GeoTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202505/GeoTargetingError.php @@ -21,7 +21,7 @@ class GeoTargetingError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/GrpSettingsError.php b/src/Google/AdsApi/AdManager/v202505/GrpSettingsError.php index a997144e5..bf91b78e2 100644 --- a/src/Google/AdsApi/AdManager/v202505/GrpSettingsError.php +++ b/src/Google/AdsApi/AdManager/v202505/GrpSettingsError.php @@ -21,7 +21,7 @@ class GrpSettingsError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/HasDestinationUrlCreative.php b/src/Google/AdsApi/AdManager/v202505/HasDestinationUrlCreative.php index d9d113cf7..3ae6e7991 100644 --- a/src/Google/AdsApi/AdManager/v202505/HasDestinationUrlCreative.php +++ b/src/Google/AdsApi/AdManager/v202505/HasDestinationUrlCreative.php @@ -34,7 +34,7 @@ abstract class HasDestinationUrlCreative extends \Google\AdsApi\AdManager\v20250 * @param string $destinationUrl * @param string $destinationUrlType */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled); $this->destinationUrl = $destinationUrl; diff --git a/src/Google/AdsApi/AdManager/v202505/HasHtmlSnippetDynamicAllocationCreative.php b/src/Google/AdsApi/AdManager/v202505/HasHtmlSnippetDynamicAllocationCreative.php index b5d3e9290..6e3776766 100644 --- a/src/Google/AdsApi/AdManager/v202505/HasHtmlSnippetDynamicAllocationCreative.php +++ b/src/Google/AdsApi/AdManager/v202505/HasHtmlSnippetDynamicAllocationCreative.php @@ -28,7 +28,7 @@ abstract class HasHtmlSnippetDynamicAllocationCreative extends \Google\AdsApi\Ad * @param boolean $adBadgingEnabled * @param string $codeSnippet */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $codeSnippet = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $codeSnippet = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled); $this->codeSnippet = $codeSnippet; diff --git a/src/Google/AdsApi/AdManager/v202505/Html5Creative.php b/src/Google/AdsApi/AdManager/v202505/Html5Creative.php index c2b6fa300..0c848c105 100644 --- a/src/Google/AdsApi/AdManager/v202505/Html5Creative.php +++ b/src/Google/AdsApi/AdManager/v202505/Html5Creative.php @@ -70,7 +70,7 @@ class Html5Creative extends \Google\AdsApi\AdManager\v202505\Creative * @param boolean $isSafeFrameCompatible * @param \Google\AdsApi\AdManager\v202505\CreativeAsset $html5Asset */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $overrideSize = null, array $thirdPartyImpressionTrackingUrls = null, $thirdPartyClickTrackingUrl = null, $lockedOrientation = null, $sslScanResult = null, $sslManualOverride = null, $isSafeFrameCompatible = null, $html5Asset = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $overrideSize = null, ?array $thirdPartyImpressionTrackingUrls = null, $thirdPartyClickTrackingUrl = null, $lockedOrientation = null, $sslScanResult = null, $sslManualOverride = null, $isSafeFrameCompatible = null, $html5Asset = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled); $this->overrideSize = $overrideSize; @@ -113,7 +113,7 @@ public function getThirdPartyImpressionTrackingUrls() * @param string[]|null $thirdPartyImpressionTrackingUrls * @return \Google\AdsApi\AdManager\v202505\Html5Creative */ - public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) + public function setThirdPartyImpressionTrackingUrls(?array $thirdPartyImpressionTrackingUrls = null) { $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/HtmlBundleProcessorError.php b/src/Google/AdsApi/AdManager/v202505/HtmlBundleProcessorError.php index b5bbd2658..a9e0d79ca 100644 --- a/src/Google/AdsApi/AdManager/v202505/HtmlBundleProcessorError.php +++ b/src/Google/AdsApi/AdManager/v202505/HtmlBundleProcessorError.php @@ -21,7 +21,7 @@ class HtmlBundleProcessorError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/IdError.php b/src/Google/AdsApi/AdManager/v202505/IdError.php index 2acfcf396..4e9e9e23b 100644 --- a/src/Google/AdsApi/AdManager/v202505/IdError.php +++ b/src/Google/AdsApi/AdManager/v202505/IdError.php @@ -21,7 +21,7 @@ class IdError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/ImageCreative.php b/src/Google/AdsApi/AdManager/v202505/ImageCreative.php index 1091197f6..edbd7a444 100644 --- a/src/Google/AdsApi/AdManager/v202505/ImageCreative.php +++ b/src/Google/AdsApi/AdManager/v202505/ImageCreative.php @@ -44,7 +44,7 @@ class ImageCreative extends \Google\AdsApi\AdManager\v202505\BaseImageCreative * @param string[] $thirdPartyImpressionTrackingUrls * @param \Google\AdsApi\AdManager\v202505\CreativeAsset[] $secondaryImageAssets */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $overrideSize = null, $primaryImageAsset = null, $altText = null, array $thirdPartyImpressionTrackingUrls = null, array $secondaryImageAssets = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $overrideSize = null, $primaryImageAsset = null, $altText = null, ?array $thirdPartyImpressionTrackingUrls = null, ?array $secondaryImageAssets = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $destinationUrl, $destinationUrlType, $overrideSize, $primaryImageAsset); $this->altText = $altText; @@ -82,7 +82,7 @@ public function getThirdPartyImpressionTrackingUrls() * @param string[]|null $thirdPartyImpressionTrackingUrls * @return \Google\AdsApi\AdManager\v202505\ImageCreative */ - public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) + public function setThirdPartyImpressionTrackingUrls(?array $thirdPartyImpressionTrackingUrls = null) { $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; return $this; @@ -100,7 +100,7 @@ public function getSecondaryImageAssets() * @param \Google\AdsApi\AdManager\v202505\CreativeAsset[]|null $secondaryImageAssets * @return \Google\AdsApi\AdManager\v202505\ImageCreative */ - public function setSecondaryImageAssets(array $secondaryImageAssets = null) + public function setSecondaryImageAssets(?array $secondaryImageAssets = null) { $this->secondaryImageAssets = $secondaryImageAssets; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/ImageError.php b/src/Google/AdsApi/AdManager/v202505/ImageError.php index ce2a5dffa..3dfef0cbc 100644 --- a/src/Google/AdsApi/AdManager/v202505/ImageError.php +++ b/src/Google/AdsApi/AdManager/v202505/ImageError.php @@ -21,7 +21,7 @@ class ImageError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/ImageOverlayCreative.php b/src/Google/AdsApi/AdManager/v202505/ImageOverlayCreative.php index 7bd2eece8..fc4055fa8 100644 --- a/src/Google/AdsApi/AdManager/v202505/ImageOverlayCreative.php +++ b/src/Google/AdsApi/AdManager/v202505/ImageOverlayCreative.php @@ -62,7 +62,7 @@ class ImageOverlayCreative extends \Google\AdsApi\AdManager\v202505\BaseImageCre * @param int $duration * @param string $vastPreviewUrl */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $overrideSize = null, $primaryImageAsset = null, array $companionCreativeIds = null, array $trackingUrls = null, $lockedOrientation = null, $customParameters = null, $duration = null, $vastPreviewUrl = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $overrideSize = null, $primaryImageAsset = null, ?array $companionCreativeIds = null, ?array $trackingUrls = null, $lockedOrientation = null, $customParameters = null, $duration = null, $vastPreviewUrl = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $destinationUrl, $destinationUrlType, $overrideSize, $primaryImageAsset); $this->companionCreativeIds = $companionCreativeIds; @@ -85,7 +85,7 @@ public function getCompanionCreativeIds() * @param int[]|null $companionCreativeIds * @return \Google\AdsApi\AdManager\v202505\ImageOverlayCreative */ - public function setCompanionCreativeIds(array $companionCreativeIds = null) + public function setCompanionCreativeIds(?array $companionCreativeIds = null) { $this->companionCreativeIds = $companionCreativeIds; return $this; @@ -103,7 +103,7 @@ public function getTrackingUrls() * @param \Google\AdsApi\AdManager\v202505\ConversionEvent_TrackingUrlsMapEntry[]|null $trackingUrls * @return \Google\AdsApi\AdManager\v202505\ImageOverlayCreative */ - public function setTrackingUrls(array $trackingUrls = null) + public function setTrackingUrls(?array $trackingUrls = null) { $this->trackingUrls = $trackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/ImageRedirectCreative.php b/src/Google/AdsApi/AdManager/v202505/ImageRedirectCreative.php index bda982294..f12acce83 100644 --- a/src/Google/AdsApi/AdManager/v202505/ImageRedirectCreative.php +++ b/src/Google/AdsApi/AdManager/v202505/ImageRedirectCreative.php @@ -37,7 +37,7 @@ class ImageRedirectCreative extends \Google\AdsApi\AdManager\v202505\BaseImageRe * @param string $altText * @param string[] $thirdPartyImpressionTrackingUrls */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $imageUrl = null, $altText = null, array $thirdPartyImpressionTrackingUrls = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $imageUrl = null, $altText = null, ?array $thirdPartyImpressionTrackingUrls = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $destinationUrl, $destinationUrlType, $imageUrl); $this->altText = $altText; @@ -74,7 +74,7 @@ public function getThirdPartyImpressionTrackingUrls() * @param string[]|null $thirdPartyImpressionTrackingUrls * @return \Google\AdsApi\AdManager\v202505\ImageRedirectCreative */ - public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) + public function setThirdPartyImpressionTrackingUrls(?array $thirdPartyImpressionTrackingUrls = null) { $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/ImageRedirectOverlayCreative.php b/src/Google/AdsApi/AdManager/v202505/ImageRedirectOverlayCreative.php index a6e828f88..8f4cc3a72 100644 --- a/src/Google/AdsApi/AdManager/v202505/ImageRedirectOverlayCreative.php +++ b/src/Google/AdsApi/AdManager/v202505/ImageRedirectOverlayCreative.php @@ -61,7 +61,7 @@ class ImageRedirectOverlayCreative extends \Google\AdsApi\AdManager\v202505\Base * @param string $customParameters * @param string $vastPreviewUrl */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $imageUrl = null, $assetSize = null, $duration = null, array $companionCreativeIds = null, array $trackingUrls = null, $customParameters = null, $vastPreviewUrl = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $imageUrl = null, $assetSize = null, $duration = null, ?array $companionCreativeIds = null, ?array $trackingUrls = null, $customParameters = null, $vastPreviewUrl = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $destinationUrl, $destinationUrlType, $imageUrl); $this->assetSize = $assetSize; @@ -120,7 +120,7 @@ public function getCompanionCreativeIds() * @param int[]|null $companionCreativeIds * @return \Google\AdsApi\AdManager\v202505\ImageRedirectOverlayCreative */ - public function setCompanionCreativeIds(array $companionCreativeIds = null) + public function setCompanionCreativeIds(?array $companionCreativeIds = null) { $this->companionCreativeIds = $companionCreativeIds; return $this; @@ -138,7 +138,7 @@ public function getTrackingUrls() * @param \Google\AdsApi\AdManager\v202505\ConversionEvent_TrackingUrlsMapEntry[]|null $trackingUrls * @return \Google\AdsApi\AdManager\v202505\ImageRedirectOverlayCreative */ - public function setTrackingUrls(array $trackingUrls = null) + public function setTrackingUrls(?array $trackingUrls = null) { $this->trackingUrls = $trackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/InternalApiError.php b/src/Google/AdsApi/AdManager/v202505/InternalApiError.php index df45d2134..78617451f 100644 --- a/src/Google/AdsApi/AdManager/v202505/InternalApiError.php +++ b/src/Google/AdsApi/AdManager/v202505/InternalApiError.php @@ -21,7 +21,7 @@ class InternalApiError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/InternalRedirectCreative.php b/src/Google/AdsApi/AdManager/v202505/InternalRedirectCreative.php index 01374257d..d5c14d3d9 100644 --- a/src/Google/AdsApi/AdManager/v202505/InternalRedirectCreative.php +++ b/src/Google/AdsApi/AdManager/v202505/InternalRedirectCreative.php @@ -70,7 +70,7 @@ class InternalRedirectCreative extends \Google\AdsApi\AdManager\v202505\Creative * @param string $sslManualOverride * @param string[] $thirdPartyImpressionTrackingUrls */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $lockedOrientation = null, $assetSize = null, $internalRedirectUrl = null, $overrideSize = null, $isInterstitial = null, $sslScanResult = null, $sslManualOverride = null, array $thirdPartyImpressionTrackingUrls = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $lockedOrientation = null, $assetSize = null, $internalRedirectUrl = null, $overrideSize = null, $isInterstitial = null, $sslScanResult = null, $sslManualOverride = null, ?array $thirdPartyImpressionTrackingUrls = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled); $this->lockedOrientation = $lockedOrientation; @@ -221,7 +221,7 @@ public function getThirdPartyImpressionTrackingUrls() * @param string[]|null $thirdPartyImpressionTrackingUrls * @return \Google\AdsApi\AdManager\v202505\InternalRedirectCreative */ - public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) + public function setThirdPartyImpressionTrackingUrls(?array $thirdPartyImpressionTrackingUrls = null) { $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/InvalidColorError.php b/src/Google/AdsApi/AdManager/v202505/InvalidColorError.php index 8c4836755..f790cc2f0 100644 --- a/src/Google/AdsApi/AdManager/v202505/InvalidColorError.php +++ b/src/Google/AdsApi/AdManager/v202505/InvalidColorError.php @@ -21,7 +21,7 @@ class InvalidColorError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/InvalidEmailError.php b/src/Google/AdsApi/AdManager/v202505/InvalidEmailError.php index 9cd74a471..57fd4a0f0 100644 --- a/src/Google/AdsApi/AdManager/v202505/InvalidEmailError.php +++ b/src/Google/AdsApi/AdManager/v202505/InvalidEmailError.php @@ -21,7 +21,7 @@ class InvalidEmailError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/InvalidPhoneNumberError.php b/src/Google/AdsApi/AdManager/v202505/InvalidPhoneNumberError.php index fc51a9152..530da163b 100644 --- a/src/Google/AdsApi/AdManager/v202505/InvalidPhoneNumberError.php +++ b/src/Google/AdsApi/AdManager/v202505/InvalidPhoneNumberError.php @@ -21,7 +21,7 @@ class InvalidPhoneNumberError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/InvalidUrlError.php b/src/Google/AdsApi/AdManager/v202505/InvalidUrlError.php index 1605207e3..107b5fb33 100644 --- a/src/Google/AdsApi/AdManager/v202505/InvalidUrlError.php +++ b/src/Google/AdsApi/AdManager/v202505/InvalidUrlError.php @@ -21,7 +21,7 @@ class InvalidUrlError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/InventoryClientApiError.php b/src/Google/AdsApi/AdManager/v202505/InventoryClientApiError.php index 69df69230..edef29872 100644 --- a/src/Google/AdsApi/AdManager/v202505/InventoryClientApiError.php +++ b/src/Google/AdsApi/AdManager/v202505/InventoryClientApiError.php @@ -21,7 +21,7 @@ class InventoryClientApiError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/InventorySizeTargeting.php b/src/Google/AdsApi/AdManager/v202505/InventorySizeTargeting.php index db0ab5d06..d04241a3b 100644 --- a/src/Google/AdsApi/AdManager/v202505/InventorySizeTargeting.php +++ b/src/Google/AdsApi/AdManager/v202505/InventorySizeTargeting.php @@ -23,7 +23,7 @@ class InventorySizeTargeting * @param boolean $isTargeted * @param \Google\AdsApi\AdManager\v202505\TargetedSize[] $targetedSizes */ - public function __construct($isTargeted = null, array $targetedSizes = null) + public function __construct($isTargeted = null, ?array $targetedSizes = null) { $this->isTargeted = $isTargeted; $this->targetedSizes = $targetedSizes; @@ -59,7 +59,7 @@ public function getTargetedSizes() * @param \Google\AdsApi\AdManager\v202505\TargetedSize[]|null $targetedSizes * @return \Google\AdsApi\AdManager\v202505\InventorySizeTargeting */ - public function setTargetedSizes(array $targetedSizes = null) + public function setTargetedSizes(?array $targetedSizes = null) { $this->targetedSizes = $targetedSizes; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/InventoryTargeting.php b/src/Google/AdsApi/AdManager/v202505/InventoryTargeting.php index d19805719..ce4d5c403 100644 --- a/src/Google/AdsApi/AdManager/v202505/InventoryTargeting.php +++ b/src/Google/AdsApi/AdManager/v202505/InventoryTargeting.php @@ -29,7 +29,7 @@ class InventoryTargeting * @param \Google\AdsApi\AdManager\v202505\AdUnitTargeting[] $excludedAdUnits * @param int[] $targetedPlacementIds */ - public function __construct(array $targetedAdUnits = null, array $excludedAdUnits = null, array $targetedPlacementIds = null) + public function __construct(?array $targetedAdUnits = null, ?array $excludedAdUnits = null, ?array $targetedPlacementIds = null) { $this->targetedAdUnits = $targetedAdUnits; $this->excludedAdUnits = $excludedAdUnits; @@ -48,7 +48,7 @@ public function getTargetedAdUnits() * @param \Google\AdsApi\AdManager\v202505\AdUnitTargeting[]|null $targetedAdUnits * @return \Google\AdsApi\AdManager\v202505\InventoryTargeting */ - public function setTargetedAdUnits(array $targetedAdUnits = null) + public function setTargetedAdUnits(?array $targetedAdUnits = null) { $this->targetedAdUnits = $targetedAdUnits; return $this; @@ -66,7 +66,7 @@ public function getExcludedAdUnits() * @param \Google\AdsApi\AdManager\v202505\AdUnitTargeting[]|null $excludedAdUnits * @return \Google\AdsApi\AdManager\v202505\InventoryTargeting */ - public function setExcludedAdUnits(array $excludedAdUnits = null) + public function setExcludedAdUnits(?array $excludedAdUnits = null) { $this->excludedAdUnits = $excludedAdUnits; return $this; @@ -84,7 +84,7 @@ public function getTargetedPlacementIds() * @param int[]|null $targetedPlacementIds * @return \Google\AdsApi\AdManager\v202505\InventoryTargeting */ - public function setTargetedPlacementIds(array $targetedPlacementIds = null) + public function setTargetedPlacementIds(?array $targetedPlacementIds = null) { $this->targetedPlacementIds = $targetedPlacementIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/InventoryTargetingError.php b/src/Google/AdsApi/AdManager/v202505/InventoryTargetingError.php index 128890693..b4eacb158 100644 --- a/src/Google/AdsApi/AdManager/v202505/InventoryTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202505/InventoryTargetingError.php @@ -21,7 +21,7 @@ class InventoryTargetingError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/InventoryUnitError.php b/src/Google/AdsApi/AdManager/v202505/InventoryUnitError.php index 85a24594e..e678dcea6 100644 --- a/src/Google/AdsApi/AdManager/v202505/InventoryUnitError.php +++ b/src/Google/AdsApi/AdManager/v202505/InventoryUnitError.php @@ -21,7 +21,7 @@ class InventoryUnitError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/InventoryUnitRefreshRateError.php b/src/Google/AdsApi/AdManager/v202505/InventoryUnitRefreshRateError.php index 547246772..7e6f74de3 100644 --- a/src/Google/AdsApi/AdManager/v202505/InventoryUnitRefreshRateError.php +++ b/src/Google/AdsApi/AdManager/v202505/InventoryUnitRefreshRateError.php @@ -21,7 +21,7 @@ class InventoryUnitRefreshRateError extends \Google\AdsApi\AdManager\v202505\Api * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/InventoryUnitSizesError.php b/src/Google/AdsApi/AdManager/v202505/InventoryUnitSizesError.php index 196ae2f5d..09e9191eb 100644 --- a/src/Google/AdsApi/AdManager/v202505/InventoryUnitSizesError.php +++ b/src/Google/AdsApi/AdManager/v202505/InventoryUnitSizesError.php @@ -21,7 +21,7 @@ class InventoryUnitSizesError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/InventoryUrlTargeting.php b/src/Google/AdsApi/AdManager/v202505/InventoryUrlTargeting.php index 733e66c3c..6aaae92e1 100644 --- a/src/Google/AdsApi/AdManager/v202505/InventoryUrlTargeting.php +++ b/src/Google/AdsApi/AdManager/v202505/InventoryUrlTargeting.php @@ -23,7 +23,7 @@ class InventoryUrlTargeting * @param \Google\AdsApi\AdManager\v202505\InventoryUrl[] $targetedUrls * @param \Google\AdsApi\AdManager\v202505\InventoryUrl[] $excludedUrls */ - public function __construct(array $targetedUrls = null, array $excludedUrls = null) + public function __construct(?array $targetedUrls = null, ?array $excludedUrls = null) { $this->targetedUrls = $targetedUrls; $this->excludedUrls = $excludedUrls; @@ -41,7 +41,7 @@ public function getTargetedUrls() * @param \Google\AdsApi\AdManager\v202505\InventoryUrl[]|null $targetedUrls * @return \Google\AdsApi\AdManager\v202505\InventoryUrlTargeting */ - public function setTargetedUrls(array $targetedUrls = null) + public function setTargetedUrls(?array $targetedUrls = null) { $this->targetedUrls = $targetedUrls; return $this; @@ -59,7 +59,7 @@ public function getExcludedUrls() * @param \Google\AdsApi\AdManager\v202505\InventoryUrl[]|null $excludedUrls * @return \Google\AdsApi\AdManager\v202505\InventoryUrlTargeting */ - public function setExcludedUrls(array $excludedUrls = null) + public function setExcludedUrls(?array $excludedUrls = null) { $this->excludedUrls = $excludedUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/Label.php b/src/Google/AdsApi/AdManager/v202505/Label.php index d1f6ff073..a0d143d51 100644 --- a/src/Google/AdsApi/AdManager/v202505/Label.php +++ b/src/Google/AdsApi/AdManager/v202505/Label.php @@ -47,7 +47,7 @@ class Label * @param \Google\AdsApi\AdManager\v202505\AdCategoryDto $adCategory * @param string[] $types */ - public function __construct($id = null, $name = null, $description = null, $isActive = null, $adCategory = null, array $types = null) + public function __construct($id = null, $name = null, $description = null, $isActive = null, $adCategory = null, ?array $types = null) { $this->id = $id; $this->name = $name; @@ -160,7 +160,7 @@ public function getTypes() * @param string[]|null $types * @return \Google\AdsApi\AdManager\v202505\Label */ - public function setTypes(array $types = null) + public function setTypes(?array $types = null) { $this->types = $types; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/LabelEntityAssociationError.php b/src/Google/AdsApi/AdManager/v202505/LabelEntityAssociationError.php index a6a867741..fb707d80f 100644 --- a/src/Google/AdsApi/AdManager/v202505/LabelEntityAssociationError.php +++ b/src/Google/AdsApi/AdManager/v202505/LabelEntityAssociationError.php @@ -21,7 +21,7 @@ class LabelEntityAssociationError extends \Google\AdsApi\AdManager\v202505\ApiEr * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/LabelError.php b/src/Google/AdsApi/AdManager/v202505/LabelError.php index 6f44fd881..6ad0431b8 100644 --- a/src/Google/AdsApi/AdManager/v202505/LabelError.php +++ b/src/Google/AdsApi/AdManager/v202505/LabelError.php @@ -21,7 +21,7 @@ class LabelError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/LabelPage.php b/src/Google/AdsApi/AdManager/v202505/LabelPage.php index c9a16da9c..1c1feae9f 100644 --- a/src/Google/AdsApi/AdManager/v202505/LabelPage.php +++ b/src/Google/AdsApi/AdManager/v202505/LabelPage.php @@ -29,7 +29,7 @@ class LabelPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\Label[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\Label[]|null $results * @return \Google\AdsApi\AdManager\v202505\LabelPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/LegacyDfpCreative.php b/src/Google/AdsApi/AdManager/v202505/LegacyDfpCreative.php index d68cadff3..fa57f835f 100644 --- a/src/Google/AdsApi/AdManager/v202505/LegacyDfpCreative.php +++ b/src/Google/AdsApi/AdManager/v202505/LegacyDfpCreative.php @@ -22,7 +22,7 @@ class LegacyDfpCreative extends \Google\AdsApi\AdManager\v202505\Creative * @param \Google\AdsApi\AdManager\v202505\ThirdPartyDataDeclaration $thirdPartyDataDeclaration * @param boolean $adBadgingEnabled */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled); } diff --git a/src/Google/AdsApi/AdManager/v202505/LineItem.php b/src/Google/AdsApi/AdManager/v202505/LineItem.php index 6ad73906b..72d7d3895 100644 --- a/src/Google/AdsApi/AdManager/v202505/LineItem.php +++ b/src/Google/AdsApi/AdManager/v202505/LineItem.php @@ -87,7 +87,7 @@ class LineItem extends \Google\AdsApi\AdManager\v202505\LineItemSummary * @param \Google\AdsApi\AdManager\v202505\Targeting $targeting * @param \Google\AdsApi\AdManager\v202505\CreativeTargeting[] $creativeTargetings */ - public function __construct($orderId = null, $id = null, $name = null, $externalId = null, $orderName = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $autoExtensionDays = null, $unlimitedEndDateTime = null, $creativeRotationType = null, $deliveryRateType = null, $deliveryForecastSource = null, $customPacingCurve = null, $roadblockingType = null, $skippableAdType = null, array $frequencyCaps = null, $lineItemType = null, $priority = null, $costPerUnit = null, $valueCostPerUnit = null, $costType = null, $discountType = null, $discount = null, $contractedUnitsBought = null, array $creativePlaceholders = null, array $activityAssociations = null, $environmentType = null, array $allowedFormats = null, $companionDeliveryOption = null, $allowOverbook = null, $skipInventoryCheck = null, $skipCrossSellingRuleWarningChecks = null, $reserveAtCreation = null, $stats = null, $deliveryIndicator = null, $deliveryData = null, $budget = null, $status = null, $reservationStatus = null, $isArchived = null, $webPropertyCode = null, array $appliedLabels = null, array $effectiveAppliedLabels = null, $disableSameAdvertiserCompetitiveExclusion = null, $lastModifiedByApp = null, $notes = null, $competitiveConstraintScope = null, $lastModifiedDateTime = null, $creationDateTime = null, array $customFieldValues = null, $isMissingCreatives = null, $programmaticCreativeSource = null, $thirdPartyMeasurementSettings = null, $youtubeKidsRestricted = null, $videoMaxDuration = null, $primaryGoal = null, array $secondaryGoals = null, $grpSettings = null, $dealInfo = null, array $viewabilityProviderCompanyIds = null, $childContentEligibility = null, $customVastExtension = null, $repeatedCreativeServingEnabled = null, $targeting = null, array $creativeTargetings = null) + public function __construct($orderId = null, $id = null, $name = null, $externalId = null, $orderName = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $autoExtensionDays = null, $unlimitedEndDateTime = null, $creativeRotationType = null, $deliveryRateType = null, $deliveryForecastSource = null, $customPacingCurve = null, $roadblockingType = null, $skippableAdType = null, ?array $frequencyCaps = null, $lineItemType = null, $priority = null, $costPerUnit = null, $valueCostPerUnit = null, $costType = null, $discountType = null, $discount = null, $contractedUnitsBought = null, ?array $creativePlaceholders = null, ?array $activityAssociations = null, $environmentType = null, ?array $allowedFormats = null, $companionDeliveryOption = null, $allowOverbook = null, $skipInventoryCheck = null, $skipCrossSellingRuleWarningChecks = null, $reserveAtCreation = null, $stats = null, $deliveryIndicator = null, $deliveryData = null, $budget = null, $status = null, $reservationStatus = null, $isArchived = null, $webPropertyCode = null, ?array $appliedLabels = null, ?array $effectiveAppliedLabels = null, $disableSameAdvertiserCompetitiveExclusion = null, $lastModifiedByApp = null, $notes = null, $competitiveConstraintScope = null, $lastModifiedDateTime = null, $creationDateTime = null, ?array $customFieldValues = null, $isMissingCreatives = null, $programmaticCreativeSource = null, $thirdPartyMeasurementSettings = null, $youtubeKidsRestricted = null, $videoMaxDuration = null, $primaryGoal = null, ?array $secondaryGoals = null, $grpSettings = null, $dealInfo = null, ?array $viewabilityProviderCompanyIds = null, $childContentEligibility = null, $customVastExtension = null, $repeatedCreativeServingEnabled = null, $targeting = null, ?array $creativeTargetings = null) { parent::__construct($orderId, $id, $name, $externalId, $orderName, $startDateTime, $startDateTimeType, $endDateTime, $autoExtensionDays, $unlimitedEndDateTime, $creativeRotationType, $deliveryRateType, $deliveryForecastSource, $customPacingCurve, $roadblockingType, $skippableAdType, $frequencyCaps, $lineItemType, $priority, $costPerUnit, $valueCostPerUnit, $costType, $discountType, $discount, $contractedUnitsBought, $creativePlaceholders, $activityAssociations, $environmentType, $allowedFormats, $companionDeliveryOption, $allowOverbook, $skipInventoryCheck, $skipCrossSellingRuleWarningChecks, $reserveAtCreation, $stats, $deliveryIndicator, $deliveryData, $budget, $status, $reservationStatus, $isArchived, $webPropertyCode, $appliedLabels, $effectiveAppliedLabels, $disableSameAdvertiserCompetitiveExclusion, $lastModifiedByApp, $notes, $competitiveConstraintScope, $lastModifiedDateTime, $creationDateTime, $customFieldValues, $isMissingCreatives, $programmaticCreativeSource, $thirdPartyMeasurementSettings, $youtubeKidsRestricted, $videoMaxDuration, $primaryGoal, $secondaryGoals, $grpSettings, $dealInfo, $viewabilityProviderCompanyIds, $childContentEligibility, $customVastExtension, $repeatedCreativeServingEnabled); $this->targeting = $targeting; @@ -124,7 +124,7 @@ public function getCreativeTargetings() * @param \Google\AdsApi\AdManager\v202505\CreativeTargeting[]|null $creativeTargetings * @return \Google\AdsApi\AdManager\v202505\LineItem */ - public function setCreativeTargetings(array $creativeTargetings = null) + public function setCreativeTargetings(?array $creativeTargetings = null) { $this->creativeTargetings = $creativeTargetings; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/LineItemActivityAssociationError.php b/src/Google/AdsApi/AdManager/v202505/LineItemActivityAssociationError.php index d0af4cd54..3fc3dbf76 100644 --- a/src/Google/AdsApi/AdManager/v202505/LineItemActivityAssociationError.php +++ b/src/Google/AdsApi/AdManager/v202505/LineItemActivityAssociationError.php @@ -21,7 +21,7 @@ class LineItemActivityAssociationError extends \Google\AdsApi\AdManager\v202505\ * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/LineItemCreativeAssociation.php b/src/Google/AdsApi/AdManager/v202505/LineItemCreativeAssociation.php index f1a5afe31..3e9f00115 100644 --- a/src/Google/AdsApi/AdManager/v202505/LineItemCreativeAssociation.php +++ b/src/Google/AdsApi/AdManager/v202505/LineItemCreativeAssociation.php @@ -95,7 +95,7 @@ class LineItemCreativeAssociation * @param \Google\AdsApi\AdManager\v202505\DateTime $lastModifiedDateTime * @param string $targetingName */ - public function __construct($lineItemId = null, $creativeId = null, $creativeSetId = null, $manualCreativeRotationWeight = null, $sequentialCreativeRotationIndex = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $destinationUrl = null, array $sizes = null, $status = null, $stats = null, $lastModifiedDateTime = null, $targetingName = null) + public function __construct($lineItemId = null, $creativeId = null, $creativeSetId = null, $manualCreativeRotationWeight = null, $sequentialCreativeRotationIndex = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $destinationUrl = null, ?array $sizes = null, $status = null, $stats = null, $lastModifiedDateTime = null, $targetingName = null) { $this->lineItemId = $lineItemId; $this->creativeId = $creativeId; @@ -290,7 +290,7 @@ public function getSizes() * @param \Google\AdsApi\AdManager\v202505\Size[]|null $sizes * @return \Google\AdsApi\AdManager\v202505\LineItemCreativeAssociation */ - public function setSizes(array $sizes = null) + public function setSizes(?array $sizes = null) { $this->sizes = $sizes; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/LineItemCreativeAssociationError.php b/src/Google/AdsApi/AdManager/v202505/LineItemCreativeAssociationError.php index 1dc1ca432..fe11a0850 100644 --- a/src/Google/AdsApi/AdManager/v202505/LineItemCreativeAssociationError.php +++ b/src/Google/AdsApi/AdManager/v202505/LineItemCreativeAssociationError.php @@ -21,7 +21,7 @@ class LineItemCreativeAssociationError extends \Google\AdsApi\AdManager\v202505\ * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/LineItemCreativeAssociationOperationError.php b/src/Google/AdsApi/AdManager/v202505/LineItemCreativeAssociationOperationError.php index a9a32cf18..31b87a6bb 100644 --- a/src/Google/AdsApi/AdManager/v202505/LineItemCreativeAssociationOperationError.php +++ b/src/Google/AdsApi/AdManager/v202505/LineItemCreativeAssociationOperationError.php @@ -21,7 +21,7 @@ class LineItemCreativeAssociationOperationError extends \Google\AdsApi\AdManager * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/LineItemCreativeAssociationPage.php b/src/Google/AdsApi/AdManager/v202505/LineItemCreativeAssociationPage.php index d8a6178be..1a5edf247 100644 --- a/src/Google/AdsApi/AdManager/v202505/LineItemCreativeAssociationPage.php +++ b/src/Google/AdsApi/AdManager/v202505/LineItemCreativeAssociationPage.php @@ -29,7 +29,7 @@ class LineItemCreativeAssociationPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\LineItemCreativeAssociation[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\LineItemCreativeAssociation[]|null $results * @return \Google\AdsApi\AdManager\v202505\LineItemCreativeAssociationPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/LineItemCreativeAssociationStats.php b/src/Google/AdsApi/AdManager/v202505/LineItemCreativeAssociationStats.php index 6325e3f1c..0a088c365 100644 --- a/src/Google/AdsApi/AdManager/v202505/LineItemCreativeAssociationStats.php +++ b/src/Google/AdsApi/AdManager/v202505/LineItemCreativeAssociationStats.php @@ -23,7 +23,7 @@ class LineItemCreativeAssociationStats * @param \Google\AdsApi\AdManager\v202505\Stats $stats * @param \Google\AdsApi\AdManager\v202505\Long_StatsMapEntry[] $creativeSetStats */ - public function __construct($stats = null, array $creativeSetStats = null) + public function __construct($stats = null, ?array $creativeSetStats = null) { $this->stats = $stats; $this->creativeSetStats = $creativeSetStats; @@ -59,7 +59,7 @@ public function getCreativeSetStats() * @param \Google\AdsApi\AdManager\v202505\Long_StatsMapEntry[]|null $creativeSetStats * @return \Google\AdsApi\AdManager\v202505\LineItemCreativeAssociationStats */ - public function setCreativeSetStats(array $creativeSetStats = null) + public function setCreativeSetStats(?array $creativeSetStats = null) { $this->creativeSetStats = $creativeSetStats; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/LineItemError.php b/src/Google/AdsApi/AdManager/v202505/LineItemError.php index c78fc7144..5d05122dd 100644 --- a/src/Google/AdsApi/AdManager/v202505/LineItemError.php +++ b/src/Google/AdsApi/AdManager/v202505/LineItemError.php @@ -21,7 +21,7 @@ class LineItemError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/LineItemFlightDateError.php b/src/Google/AdsApi/AdManager/v202505/LineItemFlightDateError.php index 1010ab93a..50bf01473 100644 --- a/src/Google/AdsApi/AdManager/v202505/LineItemFlightDateError.php +++ b/src/Google/AdsApi/AdManager/v202505/LineItemFlightDateError.php @@ -21,7 +21,7 @@ class LineItemFlightDateError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/LineItemOperationError.php b/src/Google/AdsApi/AdManager/v202505/LineItemOperationError.php index e848ebbb7..86958c196 100644 --- a/src/Google/AdsApi/AdManager/v202505/LineItemOperationError.php +++ b/src/Google/AdsApi/AdManager/v202505/LineItemOperationError.php @@ -21,7 +21,7 @@ class LineItemOperationError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/LineItemPage.php b/src/Google/AdsApi/AdManager/v202505/LineItemPage.php index 73f1a043a..135468509 100644 --- a/src/Google/AdsApi/AdManager/v202505/LineItemPage.php +++ b/src/Google/AdsApi/AdManager/v202505/LineItemPage.php @@ -29,7 +29,7 @@ class LineItemPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\LineItem[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\LineItem[]|null $results * @return \Google\AdsApi\AdManager\v202505\LineItemPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/LineItemSummary.php b/src/Google/AdsApi/AdManager/v202505/LineItemSummary.php index a03bea420..a36fb12a8 100644 --- a/src/Google/AdsApi/AdManager/v202505/LineItemSummary.php +++ b/src/Google/AdsApi/AdManager/v202505/LineItemSummary.php @@ -395,7 +395,7 @@ class LineItemSummary * @param string $customVastExtension * @param boolean $repeatedCreativeServingEnabled */ - public function __construct($orderId = null, $id = null, $name = null, $externalId = null, $orderName = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $autoExtensionDays = null, $unlimitedEndDateTime = null, $creativeRotationType = null, $deliveryRateType = null, $deliveryForecastSource = null, $customPacingCurve = null, $roadblockingType = null, $skippableAdType = null, array $frequencyCaps = null, $lineItemType = null, $priority = null, $costPerUnit = null, $valueCostPerUnit = null, $costType = null, $discountType = null, $discount = null, $contractedUnitsBought = null, array $creativePlaceholders = null, array $activityAssociations = null, $environmentType = null, array $allowedFormats = null, $companionDeliveryOption = null, $allowOverbook = null, $skipInventoryCheck = null, $skipCrossSellingRuleWarningChecks = null, $reserveAtCreation = null, $stats = null, $deliveryIndicator = null, $deliveryData = null, $budget = null, $status = null, $reservationStatus = null, $isArchived = null, $webPropertyCode = null, array $appliedLabels = null, array $effectiveAppliedLabels = null, $disableSameAdvertiserCompetitiveExclusion = null, $lastModifiedByApp = null, $notes = null, $competitiveConstraintScope = null, $lastModifiedDateTime = null, $creationDateTime = null, array $customFieldValues = null, $isMissingCreatives = null, $programmaticCreativeSource = null, $thirdPartyMeasurementSettings = null, $youtubeKidsRestricted = null, $videoMaxDuration = null, $primaryGoal = null, array $secondaryGoals = null, $grpSettings = null, $dealInfo = null, array $viewabilityProviderCompanyIds = null, $childContentEligibility = null, $customVastExtension = null, $repeatedCreativeServingEnabled = null) + public function __construct($orderId = null, $id = null, $name = null, $externalId = null, $orderName = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $autoExtensionDays = null, $unlimitedEndDateTime = null, $creativeRotationType = null, $deliveryRateType = null, $deliveryForecastSource = null, $customPacingCurve = null, $roadblockingType = null, $skippableAdType = null, ?array $frequencyCaps = null, $lineItemType = null, $priority = null, $costPerUnit = null, $valueCostPerUnit = null, $costType = null, $discountType = null, $discount = null, $contractedUnitsBought = null, ?array $creativePlaceholders = null, ?array $activityAssociations = null, $environmentType = null, ?array $allowedFormats = null, $companionDeliveryOption = null, $allowOverbook = null, $skipInventoryCheck = null, $skipCrossSellingRuleWarningChecks = null, $reserveAtCreation = null, $stats = null, $deliveryIndicator = null, $deliveryData = null, $budget = null, $status = null, $reservationStatus = null, $isArchived = null, $webPropertyCode = null, ?array $appliedLabels = null, ?array $effectiveAppliedLabels = null, $disableSameAdvertiserCompetitiveExclusion = null, $lastModifiedByApp = null, $notes = null, $competitiveConstraintScope = null, $lastModifiedDateTime = null, $creationDateTime = null, ?array $customFieldValues = null, $isMissingCreatives = null, $programmaticCreativeSource = null, $thirdPartyMeasurementSettings = null, $youtubeKidsRestricted = null, $videoMaxDuration = null, $primaryGoal = null, ?array $secondaryGoals = null, $grpSettings = null, $dealInfo = null, ?array $viewabilityProviderCompanyIds = null, $childContentEligibility = null, $customVastExtension = null, $repeatedCreativeServingEnabled = null) { $this->orderId = $orderId; $this->id = $id; @@ -765,7 +765,7 @@ public function getFrequencyCaps() * @param \Google\AdsApi\AdManager\v202505\FrequencyCap[]|null $frequencyCaps * @return \Google\AdsApi\AdManager\v202505\LineItemSummary */ - public function setFrequencyCaps(array $frequencyCaps = null) + public function setFrequencyCaps(?array $frequencyCaps = null) { $this->frequencyCaps = $frequencyCaps; return $this; @@ -928,7 +928,7 @@ public function getCreativePlaceholders() * @param \Google\AdsApi\AdManager\v202505\CreativePlaceholder[]|null $creativePlaceholders * @return \Google\AdsApi\AdManager\v202505\LineItemSummary */ - public function setCreativePlaceholders(array $creativePlaceholders = null) + public function setCreativePlaceholders(?array $creativePlaceholders = null) { $this->creativePlaceholders = $creativePlaceholders; return $this; @@ -946,7 +946,7 @@ public function getActivityAssociations() * @param \Google\AdsApi\AdManager\v202505\LineItemActivityAssociation[]|null $activityAssociations * @return \Google\AdsApi\AdManager\v202505\LineItemSummary */ - public function setActivityAssociations(array $activityAssociations = null) + public function setActivityAssociations(?array $activityAssociations = null) { $this->activityAssociations = $activityAssociations; return $this; @@ -982,7 +982,7 @@ public function getAllowedFormats() * @param string[]|null $allowedFormats * @return \Google\AdsApi\AdManager\v202505\LineItemSummary */ - public function setAllowedFormats(array $allowedFormats = null) + public function setAllowedFormats(?array $allowedFormats = null) { $this->allowedFormats = $allowedFormats; return $this; @@ -1234,7 +1234,7 @@ public function getAppliedLabels() * @param \Google\AdsApi\AdManager\v202505\AppliedLabel[]|null $appliedLabels * @return \Google\AdsApi\AdManager\v202505\LineItemSummary */ - public function setAppliedLabels(array $appliedLabels = null) + public function setAppliedLabels(?array $appliedLabels = null) { $this->appliedLabels = $appliedLabels; return $this; @@ -1252,7 +1252,7 @@ public function getEffectiveAppliedLabels() * @param \Google\AdsApi\AdManager\v202505\AppliedLabel[]|null $effectiveAppliedLabels * @return \Google\AdsApi\AdManager\v202505\LineItemSummary */ - public function setEffectiveAppliedLabels(array $effectiveAppliedLabels = null) + public function setEffectiveAppliedLabels(?array $effectiveAppliedLabels = null) { $this->effectiveAppliedLabels = $effectiveAppliedLabels; return $this; @@ -1378,7 +1378,7 @@ public function getCustomFieldValues() * @param \Google\AdsApi\AdManager\v202505\BaseCustomFieldValue[]|null $customFieldValues * @return \Google\AdsApi\AdManager\v202505\LineItemSummary */ - public function setCustomFieldValues(array $customFieldValues = null) + public function setCustomFieldValues(?array $customFieldValues = null) { $this->customFieldValues = $customFieldValues; return $this; @@ -1505,7 +1505,7 @@ public function getSecondaryGoals() * @param \Google\AdsApi\AdManager\v202505\Goal[]|null $secondaryGoals * @return \Google\AdsApi\AdManager\v202505\LineItemSummary */ - public function setSecondaryGoals(array $secondaryGoals = null) + public function setSecondaryGoals(?array $secondaryGoals = null) { $this->secondaryGoals = $secondaryGoals; return $this; @@ -1559,7 +1559,7 @@ public function getViewabilityProviderCompanyIds() * @param int[]|null $viewabilityProviderCompanyIds * @return \Google\AdsApi\AdManager\v202505\LineItemSummary */ - public function setViewabilityProviderCompanyIds(array $viewabilityProviderCompanyIds = null) + public function setViewabilityProviderCompanyIds(?array $viewabilityProviderCompanyIds = null) { $this->viewabilityProviderCompanyIds = $viewabilityProviderCompanyIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/LineItemTemplatePage.php b/src/Google/AdsApi/AdManager/v202505/LineItemTemplatePage.php index b392ae348..200c012c8 100644 --- a/src/Google/AdsApi/AdManager/v202505/LineItemTemplatePage.php +++ b/src/Google/AdsApi/AdManager/v202505/LineItemTemplatePage.php @@ -29,7 +29,7 @@ class LineItemTemplatePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\LineItemTemplate[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\LineItemTemplate[]|null $results * @return \Google\AdsApi\AdManager\v202505\LineItemTemplatePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/ListStringCreativeTemplateVariable.php b/src/Google/AdsApi/AdManager/v202505/ListStringCreativeTemplateVariable.php index 113b1874a..d9da9d637 100644 --- a/src/Google/AdsApi/AdManager/v202505/ListStringCreativeTemplateVariable.php +++ b/src/Google/AdsApi/AdManager/v202505/ListStringCreativeTemplateVariable.php @@ -28,7 +28,7 @@ class ListStringCreativeTemplateVariable extends \Google\AdsApi\AdManager\v20250 * @param \Google\AdsApi\AdManager\v202505\ListStringCreativeTemplateVariableVariableChoice[] $choices * @param boolean $allowOtherChoice */ - public function __construct($label = null, $uniqueName = null, $description = null, $isRequired = null, $defaultValue = null, array $choices = null, $allowOtherChoice = null) + public function __construct($label = null, $uniqueName = null, $description = null, $isRequired = null, $defaultValue = null, ?array $choices = null, $allowOtherChoice = null) { parent::__construct($label, $uniqueName, $description, $isRequired, $defaultValue); $this->choices = $choices; @@ -47,7 +47,7 @@ public function getChoices() * @param \Google\AdsApi\AdManager\v202505\ListStringCreativeTemplateVariableVariableChoice[]|null $choices * @return \Google\AdsApi\AdManager\v202505\ListStringCreativeTemplateVariable */ - public function setChoices(array $choices = null) + public function setChoices(?array $choices = null) { $this->choices = $choices; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/LiveStreamEvent.php b/src/Google/AdsApi/AdManager/v202505/LiveStreamEvent.php index 4e28988b6..20fa42c87 100644 --- a/src/Google/AdsApi/AdManager/v202505/LiveStreamEvent.php +++ b/src/Google/AdsApi/AdManager/v202505/LiveStreamEvent.php @@ -269,7 +269,7 @@ class LiveStreamEvent * @param string $adServingFormat * @param \Google\AdsApi\AdManager\v202505\LiveStreamConditioning $liveStreamConditioning */ - public function __construct($id = null, $name = null, $status = null, $creationDateTime = null, $lastModifiedDateTime = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $unlimitedEndDateTime = null, $totalEstimatedConcurrentUsers = null, array $contentUrls = null, array $adTags = null, $assetKey = null, $slateCreativeId = null, $dvrWindowSeconds = null, $enableDaiAuthenticationKeys = null, $adBreakFillType = null, $underfillAdBreakFillType = null, $adHolidayDuration = null, $enableMaxFillerDuration = null, $maxFillerDuration = null, $podServingSegmentDuration = null, $enableDurationlessAdBreaks = null, $defaultAdBreakDuration = null, array $streamCreateDaiAuthenticationKeyIds = null, array $sourceContentConfigurationIds = null, $prerollSettings = null, $hlsSettings = null, $enableAllowlistedIps = null, $dynamicAdInsertionType = null, $enableRelativePlaylistDelivery = null, $streamingFormat = null, $prefetchEnabled = null, $prefetchSettings = null, $enableForceCloseAdBreaks = null, $enableShortSegmentDropping = null, $customAssetKey = null, array $daiEncodingProfileIds = null, array $segmentUrlAuthenticationKeyIds = null, array $adBreakMarkups = null, $adBreakMarkupTypesEnabled = null, $adServingFormat = null, $liveStreamConditioning = null) + public function __construct($id = null, $name = null, $status = null, $creationDateTime = null, $lastModifiedDateTime = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $unlimitedEndDateTime = null, $totalEstimatedConcurrentUsers = null, ?array $contentUrls = null, ?array $adTags = null, $assetKey = null, $slateCreativeId = null, $dvrWindowSeconds = null, $enableDaiAuthenticationKeys = null, $adBreakFillType = null, $underfillAdBreakFillType = null, $adHolidayDuration = null, $enableMaxFillerDuration = null, $maxFillerDuration = null, $podServingSegmentDuration = null, $enableDurationlessAdBreaks = null, $defaultAdBreakDuration = null, ?array $streamCreateDaiAuthenticationKeyIds = null, ?array $sourceContentConfigurationIds = null, $prerollSettings = null, $hlsSettings = null, $enableAllowlistedIps = null, $dynamicAdInsertionType = null, $enableRelativePlaylistDelivery = null, $streamingFormat = null, $prefetchEnabled = null, $prefetchSettings = null, $enableForceCloseAdBreaks = null, $enableShortSegmentDropping = null, $customAssetKey = null, ?array $daiEncodingProfileIds = null, ?array $segmentUrlAuthenticationKeyIds = null, ?array $adBreakMarkups = null, $adBreakMarkupTypesEnabled = null, $adServingFormat = null, $liveStreamConditioning = null) { $this->id = $id; $this->name = $name; @@ -510,7 +510,7 @@ public function getContentUrls() * @param string[]|null $contentUrls * @return \Google\AdsApi\AdManager\v202505\LiveStreamEvent */ - public function setContentUrls(array $contentUrls = null) + public function setContentUrls(?array $contentUrls = null) { $this->contentUrls = $contentUrls; return $this; @@ -528,7 +528,7 @@ public function getAdTags() * @param string[]|null $adTags * @return \Google\AdsApi\AdManager\v202505\LiveStreamEvent */ - public function setAdTags(array $adTags = null) + public function setAdTags(?array $adTags = null) { $this->adTags = $adTags; return $this; @@ -767,7 +767,7 @@ public function getStreamCreateDaiAuthenticationKeyIds() * @param int[]|null $streamCreateDaiAuthenticationKeyIds * @return \Google\AdsApi\AdManager\v202505\LiveStreamEvent */ - public function setStreamCreateDaiAuthenticationKeyIds(array $streamCreateDaiAuthenticationKeyIds = null) + public function setStreamCreateDaiAuthenticationKeyIds(?array $streamCreateDaiAuthenticationKeyIds = null) { $this->streamCreateDaiAuthenticationKeyIds = $streamCreateDaiAuthenticationKeyIds; return $this; @@ -785,7 +785,7 @@ public function getSourceContentConfigurationIds() * @param int[]|null $sourceContentConfigurationIds * @return \Google\AdsApi\AdManager\v202505\LiveStreamEvent */ - public function setSourceContentConfigurationIds(array $sourceContentConfigurationIds = null) + public function setSourceContentConfigurationIds(?array $sourceContentConfigurationIds = null) { $this->sourceContentConfigurationIds = $sourceContentConfigurationIds; return $this; @@ -1001,7 +1001,7 @@ public function getDaiEncodingProfileIds() * @param int[]|null $daiEncodingProfileIds * @return \Google\AdsApi\AdManager\v202505\LiveStreamEvent */ - public function setDaiEncodingProfileIds(array $daiEncodingProfileIds = null) + public function setDaiEncodingProfileIds(?array $daiEncodingProfileIds = null) { $this->daiEncodingProfileIds = $daiEncodingProfileIds; return $this; @@ -1019,7 +1019,7 @@ public function getSegmentUrlAuthenticationKeyIds() * @param int[]|null $segmentUrlAuthenticationKeyIds * @return \Google\AdsApi\AdManager\v202505\LiveStreamEvent */ - public function setSegmentUrlAuthenticationKeyIds(array $segmentUrlAuthenticationKeyIds = null) + public function setSegmentUrlAuthenticationKeyIds(?array $segmentUrlAuthenticationKeyIds = null) { $this->segmentUrlAuthenticationKeyIds = $segmentUrlAuthenticationKeyIds; return $this; @@ -1037,7 +1037,7 @@ public function getAdBreakMarkups() * @param string[]|null $adBreakMarkups * @return \Google\AdsApi\AdManager\v202505\LiveStreamEvent */ - public function setAdBreakMarkups(array $adBreakMarkups = null) + public function setAdBreakMarkups(?array $adBreakMarkups = null) { $this->adBreakMarkups = $adBreakMarkups; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/LiveStreamEventActionError.php b/src/Google/AdsApi/AdManager/v202505/LiveStreamEventActionError.php index 7678e3040..f116a78ad 100644 --- a/src/Google/AdsApi/AdManager/v202505/LiveStreamEventActionError.php +++ b/src/Google/AdsApi/AdManager/v202505/LiveStreamEventActionError.php @@ -21,7 +21,7 @@ class LiveStreamEventActionError extends \Google\AdsApi\AdManager\v202505\ApiErr * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/LiveStreamEventCdnSettingsError.php b/src/Google/AdsApi/AdManager/v202505/LiveStreamEventCdnSettingsError.php index 24fe6f07f..906eefbc3 100644 --- a/src/Google/AdsApi/AdManager/v202505/LiveStreamEventCdnSettingsError.php +++ b/src/Google/AdsApi/AdManager/v202505/LiveStreamEventCdnSettingsError.php @@ -21,7 +21,7 @@ class LiveStreamEventCdnSettingsError extends \Google\AdsApi\AdManager\v202505\A * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/LiveStreamEventConditioningError.php b/src/Google/AdsApi/AdManager/v202505/LiveStreamEventConditioningError.php index 7343d750b..1652adeab 100644 --- a/src/Google/AdsApi/AdManager/v202505/LiveStreamEventConditioningError.php +++ b/src/Google/AdsApi/AdManager/v202505/LiveStreamEventConditioningError.php @@ -21,7 +21,7 @@ class LiveStreamEventConditioningError extends \Google\AdsApi\AdManager\v202505\ * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/LiveStreamEventCustomAssetKeyError.php b/src/Google/AdsApi/AdManager/v202505/LiveStreamEventCustomAssetKeyError.php index e5ed0407c..d44057854 100644 --- a/src/Google/AdsApi/AdManager/v202505/LiveStreamEventCustomAssetKeyError.php +++ b/src/Google/AdsApi/AdManager/v202505/LiveStreamEventCustomAssetKeyError.php @@ -21,7 +21,7 @@ class LiveStreamEventCustomAssetKeyError extends \Google\AdsApi\AdManager\v20250 * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/LiveStreamEventDateTimeError.php b/src/Google/AdsApi/AdManager/v202505/LiveStreamEventDateTimeError.php index 5f060b626..87b218342 100644 --- a/src/Google/AdsApi/AdManager/v202505/LiveStreamEventDateTimeError.php +++ b/src/Google/AdsApi/AdManager/v202505/LiveStreamEventDateTimeError.php @@ -21,7 +21,7 @@ class LiveStreamEventDateTimeError extends \Google\AdsApi\AdManager\v202505\ApiE * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/LiveStreamEventDvrWindowError.php b/src/Google/AdsApi/AdManager/v202505/LiveStreamEventDvrWindowError.php index 4fb791265..df38b5f4a 100644 --- a/src/Google/AdsApi/AdManager/v202505/LiveStreamEventDvrWindowError.php +++ b/src/Google/AdsApi/AdManager/v202505/LiveStreamEventDvrWindowError.php @@ -21,7 +21,7 @@ class LiveStreamEventDvrWindowError extends \Google\AdsApi\AdManager\v202505\Api * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/LiveStreamEventPage.php b/src/Google/AdsApi/AdManager/v202505/LiveStreamEventPage.php index 887d4fe17..a487eba7a 100644 --- a/src/Google/AdsApi/AdManager/v202505/LiveStreamEventPage.php +++ b/src/Google/AdsApi/AdManager/v202505/LiveStreamEventPage.php @@ -29,7 +29,7 @@ class LiveStreamEventPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\LiveStreamEvent[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\LiveStreamEvent[]|null $results * @return \Google\AdsApi\AdManager\v202505\LiveStreamEventPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/LiveStreamEventPrerollSettingsError.php b/src/Google/AdsApi/AdManager/v202505/LiveStreamEventPrerollSettingsError.php index d6308aed0..22f1718a8 100644 --- a/src/Google/AdsApi/AdManager/v202505/LiveStreamEventPrerollSettingsError.php +++ b/src/Google/AdsApi/AdManager/v202505/LiveStreamEventPrerollSettingsError.php @@ -21,7 +21,7 @@ class LiveStreamEventPrerollSettingsError extends \Google\AdsApi\AdManager\v2025 * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/LiveStreamEventSlateError.php b/src/Google/AdsApi/AdManager/v202505/LiveStreamEventSlateError.php index bd520e8c3..48a54b8aa 100644 --- a/src/Google/AdsApi/AdManager/v202505/LiveStreamEventSlateError.php +++ b/src/Google/AdsApi/AdManager/v202505/LiveStreamEventSlateError.php @@ -21,7 +21,7 @@ class LiveStreamEventSlateError extends \Google\AdsApi\AdManager\v202505\ApiErro * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/MarketplaceCommentPage.php b/src/Google/AdsApi/AdManager/v202505/MarketplaceCommentPage.php index d0bed217c..508db0e3d 100644 --- a/src/Google/AdsApi/AdManager/v202505/MarketplaceCommentPage.php +++ b/src/Google/AdsApi/AdManager/v202505/MarketplaceCommentPage.php @@ -23,7 +23,7 @@ class MarketplaceCommentPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\MarketplaceComment[] $results */ - public function __construct($startIndex = null, array $results = null) + public function __construct($startIndex = null, ?array $results = null) { $this->startIndex = $startIndex; $this->results = $results; @@ -59,7 +59,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\MarketplaceComment[]|null $results * @return \Google\AdsApi\AdManager\v202505\MarketplaceCommentPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/McmError.php b/src/Google/AdsApi/AdManager/v202505/McmError.php index ea242cd8a..73e1a1cb5 100644 --- a/src/Google/AdsApi/AdManager/v202505/McmError.php +++ b/src/Google/AdsApi/AdManager/v202505/McmError.php @@ -21,7 +21,7 @@ class McmError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/MetadataMergeSpecError.php b/src/Google/AdsApi/AdManager/v202505/MetadataMergeSpecError.php index 952e68da9..80e83748d 100644 --- a/src/Google/AdsApi/AdManager/v202505/MetadataMergeSpecError.php +++ b/src/Google/AdsApi/AdManager/v202505/MetadataMergeSpecError.php @@ -21,7 +21,7 @@ class MetadataMergeSpecError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/MobileApplication.php b/src/Google/AdsApi/AdManager/v202505/MobileApplication.php index 3f1671f61..f57bff9f5 100644 --- a/src/Google/AdsApi/AdManager/v202505/MobileApplication.php +++ b/src/Google/AdsApi/AdManager/v202505/MobileApplication.php @@ -89,7 +89,7 @@ class MobileApplication * @param string $downloadUrl * @param string $approvalStatus */ - public function __construct($id = null, $applicationId = null, $displayName = null, $appStoreId = null, array $appStores = null, $isArchived = null, $appStoreName = null, $applicationCode = null, $developerName = null, $platform = null, $isFree = null, $downloadUrl = null, $approvalStatus = null) + public function __construct($id = null, $applicationId = null, $displayName = null, $appStoreId = null, ?array $appStores = null, $isArchived = null, $appStoreName = null, $applicationCode = null, $developerName = null, $platform = null, $isFree = null, $downloadUrl = null, $approvalStatus = null) { $this->id = $id; $this->applicationId = $applicationId; @@ -192,7 +192,7 @@ public function getAppStores() * @param string[]|null $appStores * @return \Google\AdsApi\AdManager\v202505\MobileApplication */ - public function setAppStores(array $appStores = null) + public function setAppStores(?array $appStores = null) { $this->appStores = $appStores; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/MobileApplicationActionError.php b/src/Google/AdsApi/AdManager/v202505/MobileApplicationActionError.php index 2d530c1b4..15619cb8a 100644 --- a/src/Google/AdsApi/AdManager/v202505/MobileApplicationActionError.php +++ b/src/Google/AdsApi/AdManager/v202505/MobileApplicationActionError.php @@ -21,7 +21,7 @@ class MobileApplicationActionError extends \Google\AdsApi\AdManager\v202505\ApiE * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/MobileApplicationError.php b/src/Google/AdsApi/AdManager/v202505/MobileApplicationError.php index 182489721..2423f95c3 100644 --- a/src/Google/AdsApi/AdManager/v202505/MobileApplicationError.php +++ b/src/Google/AdsApi/AdManager/v202505/MobileApplicationError.php @@ -21,7 +21,7 @@ class MobileApplicationError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/MobileApplicationPage.php b/src/Google/AdsApi/AdManager/v202505/MobileApplicationPage.php index 24464a235..6d741700e 100644 --- a/src/Google/AdsApi/AdManager/v202505/MobileApplicationPage.php +++ b/src/Google/AdsApi/AdManager/v202505/MobileApplicationPage.php @@ -29,7 +29,7 @@ class MobileApplicationPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\MobileApplication[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\MobileApplication[]|null $results * @return \Google\AdsApi\AdManager\v202505\MobileApplicationPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/MobileApplicationTargeting.php b/src/Google/AdsApi/AdManager/v202505/MobileApplicationTargeting.php index 98d11499d..0746d42e8 100644 --- a/src/Google/AdsApi/AdManager/v202505/MobileApplicationTargeting.php +++ b/src/Google/AdsApi/AdManager/v202505/MobileApplicationTargeting.php @@ -23,7 +23,7 @@ class MobileApplicationTargeting * @param int[] $mobileApplicationIds * @param boolean $isTargeted */ - public function __construct(array $mobileApplicationIds = null, $isTargeted = null) + public function __construct(?array $mobileApplicationIds = null, $isTargeted = null) { $this->mobileApplicationIds = $mobileApplicationIds; $this->isTargeted = $isTargeted; @@ -41,7 +41,7 @@ public function getMobileApplicationIds() * @param int[]|null $mobileApplicationIds * @return \Google\AdsApi\AdManager\v202505\MobileApplicationTargeting */ - public function setMobileApplicationIds(array $mobileApplicationIds = null) + public function setMobileApplicationIds(?array $mobileApplicationIds = null) { $this->mobileApplicationIds = $mobileApplicationIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/MobileApplicationTargetingError.php b/src/Google/AdsApi/AdManager/v202505/MobileApplicationTargetingError.php index c20d70f8b..386b3fb6d 100644 --- a/src/Google/AdsApi/AdManager/v202505/MobileApplicationTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202505/MobileApplicationTargetingError.php @@ -21,7 +21,7 @@ class MobileApplicationTargetingError extends \Google\AdsApi\AdManager\v202505\A * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/MobileCarrierTargeting.php b/src/Google/AdsApi/AdManager/v202505/MobileCarrierTargeting.php index f8c518d9c..a8b1dc54f 100644 --- a/src/Google/AdsApi/AdManager/v202505/MobileCarrierTargeting.php +++ b/src/Google/AdsApi/AdManager/v202505/MobileCarrierTargeting.php @@ -23,7 +23,7 @@ class MobileCarrierTargeting * @param boolean $isTargeted * @param \Google\AdsApi\AdManager\v202505\Technology[] $mobileCarriers */ - public function __construct($isTargeted = null, array $mobileCarriers = null) + public function __construct($isTargeted = null, ?array $mobileCarriers = null) { $this->isTargeted = $isTargeted; $this->mobileCarriers = $mobileCarriers; @@ -59,7 +59,7 @@ public function getMobileCarriers() * @param \Google\AdsApi\AdManager\v202505\Technology[]|null $mobileCarriers * @return \Google\AdsApi\AdManager\v202505\MobileCarrierTargeting */ - public function setMobileCarriers(array $mobileCarriers = null) + public function setMobileCarriers(?array $mobileCarriers = null) { $this->mobileCarriers = $mobileCarriers; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/MobileDeviceSubmodelTargeting.php b/src/Google/AdsApi/AdManager/v202505/MobileDeviceSubmodelTargeting.php index ca63821e3..60cdcda87 100644 --- a/src/Google/AdsApi/AdManager/v202505/MobileDeviceSubmodelTargeting.php +++ b/src/Google/AdsApi/AdManager/v202505/MobileDeviceSubmodelTargeting.php @@ -23,7 +23,7 @@ class MobileDeviceSubmodelTargeting * @param \Google\AdsApi\AdManager\v202505\Technology[] $targetedMobileDeviceSubmodels * @param \Google\AdsApi\AdManager\v202505\Technology[] $excludedMobileDeviceSubmodels */ - public function __construct(array $targetedMobileDeviceSubmodels = null, array $excludedMobileDeviceSubmodels = null) + public function __construct(?array $targetedMobileDeviceSubmodels = null, ?array $excludedMobileDeviceSubmodels = null) { $this->targetedMobileDeviceSubmodels = $targetedMobileDeviceSubmodels; $this->excludedMobileDeviceSubmodels = $excludedMobileDeviceSubmodels; @@ -41,7 +41,7 @@ public function getTargetedMobileDeviceSubmodels() * @param \Google\AdsApi\AdManager\v202505\Technology[]|null $targetedMobileDeviceSubmodels * @return \Google\AdsApi\AdManager\v202505\MobileDeviceSubmodelTargeting */ - public function setTargetedMobileDeviceSubmodels(array $targetedMobileDeviceSubmodels = null) + public function setTargetedMobileDeviceSubmodels(?array $targetedMobileDeviceSubmodels = null) { $this->targetedMobileDeviceSubmodels = $targetedMobileDeviceSubmodels; return $this; @@ -59,7 +59,7 @@ public function getExcludedMobileDeviceSubmodels() * @param \Google\AdsApi\AdManager\v202505\Technology[]|null $excludedMobileDeviceSubmodels * @return \Google\AdsApi\AdManager\v202505\MobileDeviceSubmodelTargeting */ - public function setExcludedMobileDeviceSubmodels(array $excludedMobileDeviceSubmodels = null) + public function setExcludedMobileDeviceSubmodels(?array $excludedMobileDeviceSubmodels = null) { $this->excludedMobileDeviceSubmodels = $excludedMobileDeviceSubmodels; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/MobileDeviceTargeting.php b/src/Google/AdsApi/AdManager/v202505/MobileDeviceTargeting.php index a190719a7..ba5244294 100644 --- a/src/Google/AdsApi/AdManager/v202505/MobileDeviceTargeting.php +++ b/src/Google/AdsApi/AdManager/v202505/MobileDeviceTargeting.php @@ -23,7 +23,7 @@ class MobileDeviceTargeting * @param \Google\AdsApi\AdManager\v202505\Technology[] $targetedMobileDevices * @param \Google\AdsApi\AdManager\v202505\Technology[] $excludedMobileDevices */ - public function __construct(array $targetedMobileDevices = null, array $excludedMobileDevices = null) + public function __construct(?array $targetedMobileDevices = null, ?array $excludedMobileDevices = null) { $this->targetedMobileDevices = $targetedMobileDevices; $this->excludedMobileDevices = $excludedMobileDevices; @@ -41,7 +41,7 @@ public function getTargetedMobileDevices() * @param \Google\AdsApi\AdManager\v202505\Technology[]|null $targetedMobileDevices * @return \Google\AdsApi\AdManager\v202505\MobileDeviceTargeting */ - public function setTargetedMobileDevices(array $targetedMobileDevices = null) + public function setTargetedMobileDevices(?array $targetedMobileDevices = null) { $this->targetedMobileDevices = $targetedMobileDevices; return $this; @@ -59,7 +59,7 @@ public function getExcludedMobileDevices() * @param \Google\AdsApi\AdManager\v202505\Technology[]|null $excludedMobileDevices * @return \Google\AdsApi\AdManager\v202505\MobileDeviceTargeting */ - public function setExcludedMobileDevices(array $excludedMobileDevices = null) + public function setExcludedMobileDevices(?array $excludedMobileDevices = null) { $this->excludedMobileDevices = $excludedMobileDevices; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/NativeStyleError.php b/src/Google/AdsApi/AdManager/v202505/NativeStyleError.php index f98c440af..01b8681a0 100644 --- a/src/Google/AdsApi/AdManager/v202505/NativeStyleError.php +++ b/src/Google/AdsApi/AdManager/v202505/NativeStyleError.php @@ -21,7 +21,7 @@ class NativeStyleError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/NativeStylePage.php b/src/Google/AdsApi/AdManager/v202505/NativeStylePage.php index 2f2fbe592..e3637372b 100644 --- a/src/Google/AdsApi/AdManager/v202505/NativeStylePage.php +++ b/src/Google/AdsApi/AdManager/v202505/NativeStylePage.php @@ -29,7 +29,7 @@ class NativeStylePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\NativeStyle[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\NativeStyle[]|null $results * @return \Google\AdsApi\AdManager\v202505\NativeStylePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/Network.php b/src/Google/AdsApi/AdManager/v202505/Network.php index 980ca605a..c9c3957f2 100644 --- a/src/Google/AdsApi/AdManager/v202505/Network.php +++ b/src/Google/AdsApi/AdManager/v202505/Network.php @@ -65,7 +65,7 @@ class Network * @param string $effectiveRootAdUnitId * @param boolean $isTest */ - public function __construct($id = null, $displayName = null, $networkCode = null, $propertyCode = null, $timeZone = null, $currencyCode = null, array $secondaryCurrencyCodes = null, $effectiveRootAdUnitId = null, $isTest = null) + public function __construct($id = null, $displayName = null, $networkCode = null, $propertyCode = null, $timeZone = null, $currencyCode = null, ?array $secondaryCurrencyCodes = null, $effectiveRootAdUnitId = null, $isTest = null) { $this->id = $id; $this->displayName = $displayName; @@ -199,7 +199,7 @@ public function getSecondaryCurrencyCodes() * @param string[]|null $secondaryCurrencyCodes * @return \Google\AdsApi\AdManager\v202505\Network */ - public function setSecondaryCurrencyCodes(array $secondaryCurrencyCodes = null) + public function setSecondaryCurrencyCodes(?array $secondaryCurrencyCodes = null) { $this->secondaryCurrencyCodes = $secondaryCurrencyCodes; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/NetworkError.php b/src/Google/AdsApi/AdManager/v202505/NetworkError.php index 743b878ae..3fea85f71 100644 --- a/src/Google/AdsApi/AdManager/v202505/NetworkError.php +++ b/src/Google/AdsApi/AdManager/v202505/NetworkError.php @@ -21,7 +21,7 @@ class NetworkError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/NonRuleBasedFirstPartyAudienceSegment.php b/src/Google/AdsApi/AdManager/v202505/NonRuleBasedFirstPartyAudienceSegment.php index 71fc0f061..d033befaa 100644 --- a/src/Google/AdsApi/AdManager/v202505/NonRuleBasedFirstPartyAudienceSegment.php +++ b/src/Google/AdsApi/AdManager/v202505/NonRuleBasedFirstPartyAudienceSegment.php @@ -29,7 +29,7 @@ class NonRuleBasedFirstPartyAudienceSegment extends \Google\AdsApi\AdManager\v20 * @param string $type * @param int $membershipExpirationDays */ - public function __construct($id = null, $name = null, array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null, $membershipExpirationDays = null) + public function __construct($id = null, $name = null, ?array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null, $membershipExpirationDays = null) { parent::__construct($id, $name, $categoryIds, $description, $status, $size, $mobileWebSize, $idfaSize, $adIdSize, $ppidSize, $dataProvider, $type); $this->membershipExpirationDays = $membershipExpirationDays; diff --git a/src/Google/AdsApi/AdManager/v202505/NotNullError.php b/src/Google/AdsApi/AdManager/v202505/NotNullError.php index 586d67674..f9df78123 100644 --- a/src/Google/AdsApi/AdManager/v202505/NotNullError.php +++ b/src/Google/AdsApi/AdManager/v202505/NotNullError.php @@ -21,7 +21,7 @@ class NotNullError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/NullError.php b/src/Google/AdsApi/AdManager/v202505/NullError.php index 05e1c8ba9..f926ddee1 100644 --- a/src/Google/AdsApi/AdManager/v202505/NullError.php +++ b/src/Google/AdsApi/AdManager/v202505/NullError.php @@ -21,7 +21,7 @@ class NullError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/OperatingSystemTargeting.php b/src/Google/AdsApi/AdManager/v202505/OperatingSystemTargeting.php index dd51c6e5e..82afd3b97 100644 --- a/src/Google/AdsApi/AdManager/v202505/OperatingSystemTargeting.php +++ b/src/Google/AdsApi/AdManager/v202505/OperatingSystemTargeting.php @@ -23,7 +23,7 @@ class OperatingSystemTargeting * @param boolean $isTargeted * @param \Google\AdsApi\AdManager\v202505\Technology[] $operatingSystems */ - public function __construct($isTargeted = null, array $operatingSystems = null) + public function __construct($isTargeted = null, ?array $operatingSystems = null) { $this->isTargeted = $isTargeted; $this->operatingSystems = $operatingSystems; @@ -59,7 +59,7 @@ public function getOperatingSystems() * @param \Google\AdsApi\AdManager\v202505\Technology[]|null $operatingSystems * @return \Google\AdsApi\AdManager\v202505\OperatingSystemTargeting */ - public function setOperatingSystems(array $operatingSystems = null) + public function setOperatingSystems(?array $operatingSystems = null) { $this->operatingSystems = $operatingSystems; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/OperatingSystemVersionTargeting.php b/src/Google/AdsApi/AdManager/v202505/OperatingSystemVersionTargeting.php index b0290a6f8..5f4d8fe9b 100644 --- a/src/Google/AdsApi/AdManager/v202505/OperatingSystemVersionTargeting.php +++ b/src/Google/AdsApi/AdManager/v202505/OperatingSystemVersionTargeting.php @@ -23,7 +23,7 @@ class OperatingSystemVersionTargeting * @param \Google\AdsApi\AdManager\v202505\Technology[] $targetedOperatingSystemVersions * @param \Google\AdsApi\AdManager\v202505\Technology[] $excludedOperatingSystemVersions */ - public function __construct(array $targetedOperatingSystemVersions = null, array $excludedOperatingSystemVersions = null) + public function __construct(?array $targetedOperatingSystemVersions = null, ?array $excludedOperatingSystemVersions = null) { $this->targetedOperatingSystemVersions = $targetedOperatingSystemVersions; $this->excludedOperatingSystemVersions = $excludedOperatingSystemVersions; @@ -41,7 +41,7 @@ public function getTargetedOperatingSystemVersions() * @param \Google\AdsApi\AdManager\v202505\Technology[]|null $targetedOperatingSystemVersions * @return \Google\AdsApi\AdManager\v202505\OperatingSystemVersionTargeting */ - public function setTargetedOperatingSystemVersions(array $targetedOperatingSystemVersions = null) + public function setTargetedOperatingSystemVersions(?array $targetedOperatingSystemVersions = null) { $this->targetedOperatingSystemVersions = $targetedOperatingSystemVersions; return $this; @@ -59,7 +59,7 @@ public function getExcludedOperatingSystemVersions() * @param \Google\AdsApi\AdManager\v202505\Technology[]|null $excludedOperatingSystemVersions * @return \Google\AdsApi\AdManager\v202505\OperatingSystemVersionTargeting */ - public function setExcludedOperatingSystemVersions(array $excludedOperatingSystemVersions = null) + public function setExcludedOperatingSystemVersions(?array $excludedOperatingSystemVersions = null) { $this->excludedOperatingSystemVersions = $excludedOperatingSystemVersions; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/Order.php b/src/Google/AdsApi/AdManager/v202505/Order.php index 25ace49f0..75d7ddd5e 100644 --- a/src/Google/AdsApi/AdManager/v202505/Order.php +++ b/src/Google/AdsApi/AdManager/v202505/Order.php @@ -197,7 +197,7 @@ class Order * @param \Google\AdsApi\AdManager\v202505\DateTime $lastModifiedDateTime * @param \Google\AdsApi\AdManager\v202505\BaseCustomFieldValue[] $customFieldValues */ - public function __construct($id = null, $name = null, $startDateTime = null, $endDateTime = null, $unlimitedEndDateTime = null, $status = null, $isArchived = null, $notes = null, $externalOrderId = null, $poNumber = null, $currencyCode = null, $advertiserId = null, array $advertiserContactIds = null, $agencyId = null, array $agencyContactIds = null, $creatorId = null, $traffickerId = null, array $secondaryTraffickerIds = null, $salespersonId = null, array $secondarySalespersonIds = null, $totalImpressionsDelivered = null, $totalClicksDelivered = null, $totalViewableImpressionsDelivered = null, $totalBudget = null, array $appliedLabels = null, array $effectiveAppliedLabels = null, $lastModifiedByApp = null, $isProgrammatic = null, array $appliedTeamIds = null, $lastModifiedDateTime = null, array $customFieldValues = null) + public function __construct($id = null, $name = null, $startDateTime = null, $endDateTime = null, $unlimitedEndDateTime = null, $status = null, $isArchived = null, $notes = null, $externalOrderId = null, $poNumber = null, $currencyCode = null, $advertiserId = null, ?array $advertiserContactIds = null, $agencyId = null, ?array $agencyContactIds = null, $creatorId = null, $traffickerId = null, ?array $secondaryTraffickerIds = null, $salespersonId = null, ?array $secondarySalespersonIds = null, $totalImpressionsDelivered = null, $totalClicksDelivered = null, $totalViewableImpressionsDelivered = null, $totalBudget = null, ?array $appliedLabels = null, ?array $effectiveAppliedLabels = null, $lastModifiedByApp = null, $isProgrammatic = null, ?array $appliedTeamIds = null, $lastModifiedDateTime = null, ?array $customFieldValues = null) { $this->id = $id; $this->name = $name; @@ -462,7 +462,7 @@ public function getAdvertiserContactIds() * @param int[]|null $advertiserContactIds * @return \Google\AdsApi\AdManager\v202505\Order */ - public function setAdvertiserContactIds(array $advertiserContactIds = null) + public function setAdvertiserContactIds(?array $advertiserContactIds = null) { $this->advertiserContactIds = $advertiserContactIds; return $this; @@ -499,7 +499,7 @@ public function getAgencyContactIds() * @param int[]|null $agencyContactIds * @return \Google\AdsApi\AdManager\v202505\Order */ - public function setAgencyContactIds(array $agencyContactIds = null) + public function setAgencyContactIds(?array $agencyContactIds = null) { $this->agencyContactIds = $agencyContactIds; return $this; @@ -555,7 +555,7 @@ public function getSecondaryTraffickerIds() * @param int[]|null $secondaryTraffickerIds * @return \Google\AdsApi\AdManager\v202505\Order */ - public function setSecondaryTraffickerIds(array $secondaryTraffickerIds = null) + public function setSecondaryTraffickerIds(?array $secondaryTraffickerIds = null) { $this->secondaryTraffickerIds = $secondaryTraffickerIds; return $this; @@ -592,7 +592,7 @@ public function getSecondarySalespersonIds() * @param int[]|null $secondarySalespersonIds * @return \Google\AdsApi\AdManager\v202505\Order */ - public function setSecondarySalespersonIds(array $secondarySalespersonIds = null) + public function setSecondarySalespersonIds(?array $secondarySalespersonIds = null) { $this->secondarySalespersonIds = $secondarySalespersonIds; return $this; @@ -685,7 +685,7 @@ public function getAppliedLabels() * @param \Google\AdsApi\AdManager\v202505\AppliedLabel[]|null $appliedLabels * @return \Google\AdsApi\AdManager\v202505\Order */ - public function setAppliedLabels(array $appliedLabels = null) + public function setAppliedLabels(?array $appliedLabels = null) { $this->appliedLabels = $appliedLabels; return $this; @@ -703,7 +703,7 @@ public function getEffectiveAppliedLabels() * @param \Google\AdsApi\AdManager\v202505\AppliedLabel[]|null $effectiveAppliedLabels * @return \Google\AdsApi\AdManager\v202505\Order */ - public function setEffectiveAppliedLabels(array $effectiveAppliedLabels = null) + public function setEffectiveAppliedLabels(?array $effectiveAppliedLabels = null) { $this->effectiveAppliedLabels = $effectiveAppliedLabels; return $this; @@ -757,7 +757,7 @@ public function getAppliedTeamIds() * @param int[]|null $appliedTeamIds * @return \Google\AdsApi\AdManager\v202505\Order */ - public function setAppliedTeamIds(array $appliedTeamIds = null) + public function setAppliedTeamIds(?array $appliedTeamIds = null) { $this->appliedTeamIds = $appliedTeamIds; return $this; @@ -793,7 +793,7 @@ public function getCustomFieldValues() * @param \Google\AdsApi\AdManager\v202505\BaseCustomFieldValue[]|null $customFieldValues * @return \Google\AdsApi\AdManager\v202505\Order */ - public function setCustomFieldValues(array $customFieldValues = null) + public function setCustomFieldValues(?array $customFieldValues = null) { $this->customFieldValues = $customFieldValues; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/OrderActionError.php b/src/Google/AdsApi/AdManager/v202505/OrderActionError.php index 3c97f12d1..8a407e0a2 100644 --- a/src/Google/AdsApi/AdManager/v202505/OrderActionError.php +++ b/src/Google/AdsApi/AdManager/v202505/OrderActionError.php @@ -21,7 +21,7 @@ class OrderActionError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/OrderError.php b/src/Google/AdsApi/AdManager/v202505/OrderError.php index a7fc8e404..02b21b927 100644 --- a/src/Google/AdsApi/AdManager/v202505/OrderError.php +++ b/src/Google/AdsApi/AdManager/v202505/OrderError.php @@ -21,7 +21,7 @@ class OrderError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/OrderPage.php b/src/Google/AdsApi/AdManager/v202505/OrderPage.php index 2af0a8013..cafd1db41 100644 --- a/src/Google/AdsApi/AdManager/v202505/OrderPage.php +++ b/src/Google/AdsApi/AdManager/v202505/OrderPage.php @@ -29,7 +29,7 @@ class OrderPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\Order[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\Order[]|null $results * @return \Google\AdsApi\AdManager\v202505\OrderPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/ParseError.php b/src/Google/AdsApi/AdManager/v202505/ParseError.php index ed8b214b5..4b5b29642 100644 --- a/src/Google/AdsApi/AdManager/v202505/ParseError.php +++ b/src/Google/AdsApi/AdManager/v202505/ParseError.php @@ -21,7 +21,7 @@ class ParseError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/PermissionError.php b/src/Google/AdsApi/AdManager/v202505/PermissionError.php index a2fa68e84..488272c1a 100644 --- a/src/Google/AdsApi/AdManager/v202505/PermissionError.php +++ b/src/Google/AdsApi/AdManager/v202505/PermissionError.php @@ -21,7 +21,7 @@ class PermissionError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/Placement.php b/src/Google/AdsApi/AdManager/v202505/Placement.php index 5ec04e798..74e179681 100644 --- a/src/Google/AdsApi/AdManager/v202505/Placement.php +++ b/src/Google/AdsApi/AdManager/v202505/Placement.php @@ -53,7 +53,7 @@ class Placement extends \Google\AdsApi\AdManager\v202505\SiteTargetingInfo * @param string[] $targetedAdUnitIds * @param \Google\AdsApi\AdManager\v202505\DateTime $lastModifiedDateTime */ - public function __construct($id = null, $name = null, $description = null, $placementCode = null, $status = null, array $targetedAdUnitIds = null, $lastModifiedDateTime = null) + public function __construct($id = null, $name = null, $description = null, $placementCode = null, $status = null, ?array $targetedAdUnitIds = null, $lastModifiedDateTime = null) { $this->id = $id; $this->name = $name; @@ -167,7 +167,7 @@ public function getTargetedAdUnitIds() * @param string[]|null $targetedAdUnitIds * @return \Google\AdsApi\AdManager\v202505\Placement */ - public function setTargetedAdUnitIds(array $targetedAdUnitIds = null) + public function setTargetedAdUnitIds(?array $targetedAdUnitIds = null) { $this->targetedAdUnitIds = $targetedAdUnitIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/PlacementError.php b/src/Google/AdsApi/AdManager/v202505/PlacementError.php index ea8fb704b..c7b48fd3d 100644 --- a/src/Google/AdsApi/AdManager/v202505/PlacementError.php +++ b/src/Google/AdsApi/AdManager/v202505/PlacementError.php @@ -21,7 +21,7 @@ class PlacementError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/PlacementPage.php b/src/Google/AdsApi/AdManager/v202505/PlacementPage.php index 6bcab297c..d49ddb314 100644 --- a/src/Google/AdsApi/AdManager/v202505/PlacementPage.php +++ b/src/Google/AdsApi/AdManager/v202505/PlacementPage.php @@ -29,7 +29,7 @@ class PlacementPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\Placement[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\Placement[]|null $results * @return \Google\AdsApi\AdManager\v202505\PlacementPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/PoddingError.php b/src/Google/AdsApi/AdManager/v202505/PoddingError.php index 8c72c53fb..47bc2fb99 100644 --- a/src/Google/AdsApi/AdManager/v202505/PoddingError.php +++ b/src/Google/AdsApi/AdManager/v202505/PoddingError.php @@ -21,7 +21,7 @@ class PoddingError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/PrecisionError.php b/src/Google/AdsApi/AdManager/v202505/PrecisionError.php index cca5370b5..bc4a015cc 100644 --- a/src/Google/AdsApi/AdManager/v202505/PrecisionError.php +++ b/src/Google/AdsApi/AdManager/v202505/PrecisionError.php @@ -21,7 +21,7 @@ class PrecisionError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/PreferredDealError.php b/src/Google/AdsApi/AdManager/v202505/PreferredDealError.php index a782edee1..c21fa1b5f 100644 --- a/src/Google/AdsApi/AdManager/v202505/PreferredDealError.php +++ b/src/Google/AdsApi/AdManager/v202505/PreferredDealError.php @@ -21,7 +21,7 @@ class PreferredDealError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/ProgrammaticCreative.php b/src/Google/AdsApi/AdManager/v202505/ProgrammaticCreative.php index 4a9e1035e..39b0e980c 100644 --- a/src/Google/AdsApi/AdManager/v202505/ProgrammaticCreative.php +++ b/src/Google/AdsApi/AdManager/v202505/ProgrammaticCreative.php @@ -22,7 +22,7 @@ class ProgrammaticCreative extends \Google\AdsApi\AdManager\v202505\Creative * @param \Google\AdsApi\AdManager\v202505\ThirdPartyDataDeclaration $thirdPartyDataDeclaration * @param boolean $adBadgingEnabled */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled); } diff --git a/src/Google/AdsApi/AdManager/v202505/ProgrammaticError.php b/src/Google/AdsApi/AdManager/v202505/ProgrammaticError.php index b73999fcd..02e7f1f4d 100644 --- a/src/Google/AdsApi/AdManager/v202505/ProgrammaticError.php +++ b/src/Google/AdsApi/AdManager/v202505/ProgrammaticError.php @@ -21,7 +21,7 @@ class ProgrammaticError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/Proposal.php b/src/Google/AdsApi/AdManager/v202505/Proposal.php index 340bfbd51..e96aa96c4 100644 --- a/src/Google/AdsApi/AdManager/v202505/Proposal.php +++ b/src/Google/AdsApi/AdManager/v202505/Proposal.php @@ -167,7 +167,7 @@ class Proposal * @param boolean $hasBuyerRfp * @param boolean $deliveryPausingEnabled */ - public function __construct($id = null, $isProgrammatic = null, $dfpOrderId = null, $name = null, $startDateTime = null, $endDateTime = null, $status = null, $isArchived = null, $advertiser = null, array $agencies = null, $internalNotes = null, $primarySalesperson = null, array $salesPlannerIds = null, $primaryTraffickerId = null, array $sellerContactIds = null, array $appliedTeamIds = null, array $customFieldValues = null, array $appliedLabels = null, array $effectiveAppliedLabels = null, $currencyCode = null, $isSold = null, $lastModifiedDateTime = null, $marketplaceInfo = null, $buyerRfp = null, $hasBuyerRfp = null, $deliveryPausingEnabled = null) + public function __construct($id = null, $isProgrammatic = null, $dfpOrderId = null, $name = null, $startDateTime = null, $endDateTime = null, $status = null, $isArchived = null, $advertiser = null, ?array $agencies = null, $internalNotes = null, $primarySalesperson = null, ?array $salesPlannerIds = null, $primaryTraffickerId = null, ?array $sellerContactIds = null, ?array $appliedTeamIds = null, ?array $customFieldValues = null, ?array $appliedLabels = null, ?array $effectiveAppliedLabels = null, $currencyCode = null, $isSold = null, $lastModifiedDateTime = null, $marketplaceInfo = null, $buyerRfp = null, $hasBuyerRfp = null, $deliveryPausingEnabled = null) { $this->id = $id; $this->isProgrammatic = $isProgrammatic; @@ -373,7 +373,7 @@ public function getAgencies() * @param \Google\AdsApi\AdManager\v202505\ProposalCompanyAssociation[]|null $agencies * @return \Google\AdsApi\AdManager\v202505\Proposal */ - public function setAgencies(array $agencies = null) + public function setAgencies(?array $agencies = null) { $this->agencies = $agencies; return $this; @@ -427,7 +427,7 @@ public function getSalesPlannerIds() * @param int[]|null $salesPlannerIds * @return \Google\AdsApi\AdManager\v202505\Proposal */ - public function setSalesPlannerIds(array $salesPlannerIds = null) + public function setSalesPlannerIds(?array $salesPlannerIds = null) { $this->salesPlannerIds = $salesPlannerIds; return $this; @@ -464,7 +464,7 @@ public function getSellerContactIds() * @param int[]|null $sellerContactIds * @return \Google\AdsApi\AdManager\v202505\Proposal */ - public function setSellerContactIds(array $sellerContactIds = null) + public function setSellerContactIds(?array $sellerContactIds = null) { $this->sellerContactIds = $sellerContactIds; return $this; @@ -482,7 +482,7 @@ public function getAppliedTeamIds() * @param int[]|null $appliedTeamIds * @return \Google\AdsApi\AdManager\v202505\Proposal */ - public function setAppliedTeamIds(array $appliedTeamIds = null) + public function setAppliedTeamIds(?array $appliedTeamIds = null) { $this->appliedTeamIds = $appliedTeamIds; return $this; @@ -500,7 +500,7 @@ public function getCustomFieldValues() * @param \Google\AdsApi\AdManager\v202505\BaseCustomFieldValue[]|null $customFieldValues * @return \Google\AdsApi\AdManager\v202505\Proposal */ - public function setCustomFieldValues(array $customFieldValues = null) + public function setCustomFieldValues(?array $customFieldValues = null) { $this->customFieldValues = $customFieldValues; return $this; @@ -518,7 +518,7 @@ public function getAppliedLabels() * @param \Google\AdsApi\AdManager\v202505\AppliedLabel[]|null $appliedLabels * @return \Google\AdsApi\AdManager\v202505\Proposal */ - public function setAppliedLabels(array $appliedLabels = null) + public function setAppliedLabels(?array $appliedLabels = null) { $this->appliedLabels = $appliedLabels; return $this; @@ -536,7 +536,7 @@ public function getEffectiveAppliedLabels() * @param \Google\AdsApi\AdManager\v202505\AppliedLabel[]|null $effectiveAppliedLabels * @return \Google\AdsApi\AdManager\v202505\Proposal */ - public function setEffectiveAppliedLabels(array $effectiveAppliedLabels = null) + public function setEffectiveAppliedLabels(?array $effectiveAppliedLabels = null) { $this->effectiveAppliedLabels = $effectiveAppliedLabels; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/ProposalActionError.php b/src/Google/AdsApi/AdManager/v202505/ProposalActionError.php index 322468630..65021d53d 100644 --- a/src/Google/AdsApi/AdManager/v202505/ProposalActionError.php +++ b/src/Google/AdsApi/AdManager/v202505/ProposalActionError.php @@ -21,7 +21,7 @@ class ProposalActionError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/ProposalCompanyAssociation.php b/src/Google/AdsApi/AdManager/v202505/ProposalCompanyAssociation.php index 16d467826..07f29c92c 100644 --- a/src/Google/AdsApi/AdManager/v202505/ProposalCompanyAssociation.php +++ b/src/Google/AdsApi/AdManager/v202505/ProposalCompanyAssociation.php @@ -29,7 +29,7 @@ class ProposalCompanyAssociation * @param string $type * @param int[] $contactIds */ - public function __construct($companyId = null, $type = null, array $contactIds = null) + public function __construct($companyId = null, $type = null, ?array $contactIds = null) { $this->companyId = $companyId; $this->type = $type; @@ -85,7 +85,7 @@ public function getContactIds() * @param int[]|null $contactIds * @return \Google\AdsApi\AdManager\v202505\ProposalCompanyAssociation */ - public function setContactIds(array $contactIds = null) + public function setContactIds(?array $contactIds = null) { $this->contactIds = $contactIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/ProposalError.php b/src/Google/AdsApi/AdManager/v202505/ProposalError.php index 431077694..ca6535726 100644 --- a/src/Google/AdsApi/AdManager/v202505/ProposalError.php +++ b/src/Google/AdsApi/AdManager/v202505/ProposalError.php @@ -21,7 +21,7 @@ class ProposalError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/ProposalLineItem.php b/src/Google/AdsApi/AdManager/v202505/ProposalLineItem.php index 77bbd59b8..e3f8d55a7 100644 --- a/src/Google/AdsApi/AdManager/v202505/ProposalLineItem.php +++ b/src/Google/AdsApi/AdManager/v202505/ProposalLineItem.php @@ -299,7 +299,7 @@ class ProposalLineItem * @param string $pauseRole * @param string $pauseReason */ - public function __construct($id = null, $proposalId = null, $name = null, $startDateTime = null, $endDateTime = null, $internalNotes = null, $isArchived = null, $goal = null, array $secondaryGoals = null, $contractedUnitsBought = null, $deliveryRateType = null, $roadblockingType = null, $buyerPermissionType = null, $companionDeliveryOption = null, $videoMaxDuration = null, $videoCreativeSkippableAdType = null, array $frequencyCaps = null, $dfpLineItemId = null, $lineItemType = null, $lineItemPriority = null, $rateType = null, array $creativePlaceholders = null, $targeting = null, array $customFieldValues = null, array $appliedLabels = null, array $effectiveAppliedLabels = null, $disableSameAdvertiserCompetitiveExclusion = null, $isSold = null, $netRate = null, $netCost = null, $deliveryIndicator = null, $deliveryData = null, $computedStatus = null, $lastModifiedDateTime = null, $reservationStatus = null, $lastReservationDateTime = null, $environmentType = null, array $allowedFormats = null, $additionalTerms = null, $programmaticCreativeSource = null, $grpSettings = null, $estimatedMinimumImpressions = null, $thirdPartyMeasurementSettings = null, $makegoodInfo = null, $hasMakegood = null, $canCreateMakegood = null, $pauseRole = null, $pauseReason = null) + public function __construct($id = null, $proposalId = null, $name = null, $startDateTime = null, $endDateTime = null, $internalNotes = null, $isArchived = null, $goal = null, ?array $secondaryGoals = null, $contractedUnitsBought = null, $deliveryRateType = null, $roadblockingType = null, $buyerPermissionType = null, $companionDeliveryOption = null, $videoMaxDuration = null, $videoCreativeSkippableAdType = null, ?array $frequencyCaps = null, $dfpLineItemId = null, $lineItemType = null, $lineItemPriority = null, $rateType = null, ?array $creativePlaceholders = null, $targeting = null, ?array $customFieldValues = null, ?array $appliedLabels = null, ?array $effectiveAppliedLabels = null, $disableSameAdvertiserCompetitiveExclusion = null, $isSold = null, $netRate = null, $netCost = null, $deliveryIndicator = null, $deliveryData = null, $computedStatus = null, $lastModifiedDateTime = null, $reservationStatus = null, $lastReservationDateTime = null, $environmentType = null, ?array $allowedFormats = null, $additionalTerms = null, $programmaticCreativeSource = null, $grpSettings = null, $estimatedMinimumImpressions = null, $thirdPartyMeasurementSettings = null, $makegoodInfo = null, $hasMakegood = null, $canCreateMakegood = null, $pauseRole = null, $pauseReason = null) { $this->id = $id; $this->proposalId = $proposalId; @@ -509,7 +509,7 @@ public function getSecondaryGoals() * @param \Google\AdsApi\AdManager\v202505\Goal[]|null $secondaryGoals * @return \Google\AdsApi\AdManager\v202505\ProposalLineItem */ - public function setSecondaryGoals(array $secondaryGoals = null) + public function setSecondaryGoals(?array $secondaryGoals = null) { $this->secondaryGoals = $secondaryGoals; return $this; @@ -655,7 +655,7 @@ public function getFrequencyCaps() * @param \Google\AdsApi\AdManager\v202505\FrequencyCap[]|null $frequencyCaps * @return \Google\AdsApi\AdManager\v202505\ProposalLineItem */ - public function setFrequencyCaps(array $frequencyCaps = null) + public function setFrequencyCaps(?array $frequencyCaps = null) { $this->frequencyCaps = $frequencyCaps; return $this; @@ -746,7 +746,7 @@ public function getCreativePlaceholders() * @param \Google\AdsApi\AdManager\v202505\CreativePlaceholder[]|null $creativePlaceholders * @return \Google\AdsApi\AdManager\v202505\ProposalLineItem */ - public function setCreativePlaceholders(array $creativePlaceholders = null) + public function setCreativePlaceholders(?array $creativePlaceholders = null) { $this->creativePlaceholders = $creativePlaceholders; return $this; @@ -782,7 +782,7 @@ public function getCustomFieldValues() * @param \Google\AdsApi\AdManager\v202505\BaseCustomFieldValue[]|null $customFieldValues * @return \Google\AdsApi\AdManager\v202505\ProposalLineItem */ - public function setCustomFieldValues(array $customFieldValues = null) + public function setCustomFieldValues(?array $customFieldValues = null) { $this->customFieldValues = $customFieldValues; return $this; @@ -800,7 +800,7 @@ public function getAppliedLabels() * @param \Google\AdsApi\AdManager\v202505\AppliedLabel[]|null $appliedLabels * @return \Google\AdsApi\AdManager\v202505\ProposalLineItem */ - public function setAppliedLabels(array $appliedLabels = null) + public function setAppliedLabels(?array $appliedLabels = null) { $this->appliedLabels = $appliedLabels; return $this; @@ -818,7 +818,7 @@ public function getEffectiveAppliedLabels() * @param \Google\AdsApi\AdManager\v202505\AppliedLabel[]|null $effectiveAppliedLabels * @return \Google\AdsApi\AdManager\v202505\ProposalLineItem */ - public function setEffectiveAppliedLabels(array $effectiveAppliedLabels = null) + public function setEffectiveAppliedLabels(?array $effectiveAppliedLabels = null) { $this->effectiveAppliedLabels = $effectiveAppliedLabels; return $this; @@ -1034,7 +1034,7 @@ public function getAllowedFormats() * @param string[]|null $allowedFormats * @return \Google\AdsApi\AdManager\v202505\ProposalLineItem */ - public function setAllowedFormats(array $allowedFormats = null) + public function setAllowedFormats(?array $allowedFormats = null) { $this->allowedFormats = $allowedFormats; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/ProposalLineItemActionError.php b/src/Google/AdsApi/AdManager/v202505/ProposalLineItemActionError.php index 716303e19..5dd5e9a30 100644 --- a/src/Google/AdsApi/AdManager/v202505/ProposalLineItemActionError.php +++ b/src/Google/AdsApi/AdManager/v202505/ProposalLineItemActionError.php @@ -21,7 +21,7 @@ class ProposalLineItemActionError extends \Google\AdsApi\AdManager\v202505\ApiEr * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/ProposalLineItemError.php b/src/Google/AdsApi/AdManager/v202505/ProposalLineItemError.php index 1f5f745ad..23527768a 100644 --- a/src/Google/AdsApi/AdManager/v202505/ProposalLineItemError.php +++ b/src/Google/AdsApi/AdManager/v202505/ProposalLineItemError.php @@ -21,7 +21,7 @@ class ProposalLineItemError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/ProposalLineItemMakegoodError.php b/src/Google/AdsApi/AdManager/v202505/ProposalLineItemMakegoodError.php index 45c2a6ec0..a39020837 100644 --- a/src/Google/AdsApi/AdManager/v202505/ProposalLineItemMakegoodError.php +++ b/src/Google/AdsApi/AdManager/v202505/ProposalLineItemMakegoodError.php @@ -21,7 +21,7 @@ class ProposalLineItemMakegoodError extends \Google\AdsApi\AdManager\v202505\Api * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/ProposalLineItemPage.php b/src/Google/AdsApi/AdManager/v202505/ProposalLineItemPage.php index 02b69966c..aab357e6d 100644 --- a/src/Google/AdsApi/AdManager/v202505/ProposalLineItemPage.php +++ b/src/Google/AdsApi/AdManager/v202505/ProposalLineItemPage.php @@ -29,7 +29,7 @@ class ProposalLineItemPage * @param int $startIndex * @param int $totalResultSetSize */ - public function __construct(array $results = null, $startIndex = null, $totalResultSetSize = null) + public function __construct(?array $results = null, $startIndex = null, $totalResultSetSize = null) { $this->results = $results; $this->startIndex = $startIndex; @@ -48,7 +48,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\ProposalLineItem[]|null $results * @return \Google\AdsApi\AdManager\v202505\ProposalLineItemPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/ProposalLineItemProgrammaticError.php b/src/Google/AdsApi/AdManager/v202505/ProposalLineItemProgrammaticError.php index c036040e9..4ddb3da48 100644 --- a/src/Google/AdsApi/AdManager/v202505/ProposalLineItemProgrammaticError.php +++ b/src/Google/AdsApi/AdManager/v202505/ProposalLineItemProgrammaticError.php @@ -21,7 +21,7 @@ class ProposalLineItemProgrammaticError extends \Google\AdsApi\AdManager\v202505 * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/ProposalPage.php b/src/Google/AdsApi/AdManager/v202505/ProposalPage.php index 248d2e966..23e12b11d 100644 --- a/src/Google/AdsApi/AdManager/v202505/ProposalPage.php +++ b/src/Google/AdsApi/AdManager/v202505/ProposalPage.php @@ -29,7 +29,7 @@ class ProposalPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\Proposal[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\Proposal[]|null $results * @return \Google\AdsApi\AdManager\v202505\ProposalPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/PublisherQueryLanguageContextError.php b/src/Google/AdsApi/AdManager/v202505/PublisherQueryLanguageContextError.php index 21f74c90f..f4ee4b71e 100644 --- a/src/Google/AdsApi/AdManager/v202505/PublisherQueryLanguageContextError.php +++ b/src/Google/AdsApi/AdManager/v202505/PublisherQueryLanguageContextError.php @@ -21,7 +21,7 @@ class PublisherQueryLanguageContextError extends \Google\AdsApi\AdManager\v20250 * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/PublisherQueryLanguageSyntaxError.php b/src/Google/AdsApi/AdManager/v202505/PublisherQueryLanguageSyntaxError.php index a431a756e..35a02a79f 100644 --- a/src/Google/AdsApi/AdManager/v202505/PublisherQueryLanguageSyntaxError.php +++ b/src/Google/AdsApi/AdManager/v202505/PublisherQueryLanguageSyntaxError.php @@ -21,7 +21,7 @@ class PublisherQueryLanguageSyntaxError extends \Google\AdsApi\AdManager\v202505 * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/QuotaError.php b/src/Google/AdsApi/AdManager/v202505/QuotaError.php index 33244b33e..a1381471a 100644 --- a/src/Google/AdsApi/AdManager/v202505/QuotaError.php +++ b/src/Google/AdsApi/AdManager/v202505/QuotaError.php @@ -21,7 +21,7 @@ class QuotaError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/RangeError.php b/src/Google/AdsApi/AdManager/v202505/RangeError.php index 741beb7ea..5c138414a 100644 --- a/src/Google/AdsApi/AdManager/v202505/RangeError.php +++ b/src/Google/AdsApi/AdManager/v202505/RangeError.php @@ -21,7 +21,7 @@ class RangeError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/RegExError.php b/src/Google/AdsApi/AdManager/v202505/RegExError.php index 3df0bdb65..c7860164e 100644 --- a/src/Google/AdsApi/AdManager/v202505/RegExError.php +++ b/src/Google/AdsApi/AdManager/v202505/RegExError.php @@ -21,7 +21,7 @@ class RegExError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/ReportError.php b/src/Google/AdsApi/AdManager/v202505/ReportError.php index 8bdfa3db5..6a87edd71 100644 --- a/src/Google/AdsApi/AdManager/v202505/ReportError.php +++ b/src/Google/AdsApi/AdManager/v202505/ReportError.php @@ -21,7 +21,7 @@ class ReportError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/ReportQuery.php b/src/Google/AdsApi/AdManager/v202505/ReportQuery.php index ebd2a8743..a50888fdd 100644 --- a/src/Google/AdsApi/AdManager/v202505/ReportQuery.php +++ b/src/Google/AdsApi/AdManager/v202505/ReportQuery.php @@ -89,7 +89,7 @@ class ReportQuery * @param string $reportCurrency * @param string $timeZoneType */ - public function __construct(array $dimensions = null, $adUnitView = null, array $columns = null, array $dimensionAttributes = null, array $customFieldIds = null, array $cmsMetadataKeyIds = null, array $customDimensionKeyIds = null, $startDate = null, $endDate = null, $dateRangeType = null, $statement = null, $reportCurrency = null, $timeZoneType = null) + public function __construct(?array $dimensions = null, $adUnitView = null, ?array $columns = null, ?array $dimensionAttributes = null, ?array $customFieldIds = null, ?array $cmsMetadataKeyIds = null, ?array $customDimensionKeyIds = null, $startDate = null, $endDate = null, $dateRangeType = null, $statement = null, $reportCurrency = null, $timeZoneType = null) { $this->dimensions = $dimensions; $this->adUnitView = $adUnitView; @@ -118,7 +118,7 @@ public function getDimensions() * @param string[]|null $dimensions * @return \Google\AdsApi\AdManager\v202505\ReportQuery */ - public function setDimensions(array $dimensions = null) + public function setDimensions(?array $dimensions = null) { $this->dimensions = $dimensions; return $this; @@ -154,7 +154,7 @@ public function getColumns() * @param string[]|null $columns * @return \Google\AdsApi\AdManager\v202505\ReportQuery */ - public function setColumns(array $columns = null) + public function setColumns(?array $columns = null) { $this->columns = $columns; return $this; @@ -172,7 +172,7 @@ public function getDimensionAttributes() * @param string[]|null $dimensionAttributes * @return \Google\AdsApi\AdManager\v202505\ReportQuery */ - public function setDimensionAttributes(array $dimensionAttributes = null) + public function setDimensionAttributes(?array $dimensionAttributes = null) { $this->dimensionAttributes = $dimensionAttributes; return $this; @@ -190,7 +190,7 @@ public function getCustomFieldIds() * @param int[]|null $customFieldIds * @return \Google\AdsApi\AdManager\v202505\ReportQuery */ - public function setCustomFieldIds(array $customFieldIds = null) + public function setCustomFieldIds(?array $customFieldIds = null) { $this->customFieldIds = $customFieldIds; return $this; @@ -208,7 +208,7 @@ public function getCmsMetadataKeyIds() * @param int[]|null $cmsMetadataKeyIds * @return \Google\AdsApi\AdManager\v202505\ReportQuery */ - public function setCmsMetadataKeyIds(array $cmsMetadataKeyIds = null) + public function setCmsMetadataKeyIds(?array $cmsMetadataKeyIds = null) { $this->cmsMetadataKeyIds = $cmsMetadataKeyIds; return $this; @@ -226,7 +226,7 @@ public function getCustomDimensionKeyIds() * @param int[]|null $customDimensionKeyIds * @return \Google\AdsApi\AdManager\v202505\ReportQuery */ - public function setCustomDimensionKeyIds(array $customDimensionKeyIds = null) + public function setCustomDimensionKeyIds(?array $customDimensionKeyIds = null) { $this->customDimensionKeyIds = $customDimensionKeyIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/RequestError.php b/src/Google/AdsApi/AdManager/v202505/RequestError.php index 4bc603ec3..1df528d94 100644 --- a/src/Google/AdsApi/AdManager/v202505/RequestError.php +++ b/src/Google/AdsApi/AdManager/v202505/RequestError.php @@ -21,7 +21,7 @@ class RequestError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/RequestPlatformTargeting.php b/src/Google/AdsApi/AdManager/v202505/RequestPlatformTargeting.php index c7d9ae53c..ce3a96b19 100644 --- a/src/Google/AdsApi/AdManager/v202505/RequestPlatformTargeting.php +++ b/src/Google/AdsApi/AdManager/v202505/RequestPlatformTargeting.php @@ -17,7 +17,7 @@ class RequestPlatformTargeting /** * @param string[] $targetedRequestPlatforms */ - public function __construct(array $targetedRequestPlatforms = null) + public function __construct(?array $targetedRequestPlatforms = null) { $this->targetedRequestPlatforms = $targetedRequestPlatforms; } @@ -34,7 +34,7 @@ public function getTargetedRequestPlatforms() * @param string[]|null $targetedRequestPlatforms * @return \Google\AdsApi\AdManager\v202505\RequestPlatformTargeting */ - public function setTargetedRequestPlatforms(array $targetedRequestPlatforms = null) + public function setTargetedRequestPlatforms(?array $targetedRequestPlatforms = null) { $this->targetedRequestPlatforms = $targetedRequestPlatforms; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/RequestPlatformTargetingError.php b/src/Google/AdsApi/AdManager/v202505/RequestPlatformTargetingError.php index 89e03f365..a3ae6ee92 100644 --- a/src/Google/AdsApi/AdManager/v202505/RequestPlatformTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202505/RequestPlatformTargetingError.php @@ -21,7 +21,7 @@ class RequestPlatformTargetingError extends \Google\AdsApi\AdManager\v202505\Api * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/RequiredCollectionError.php b/src/Google/AdsApi/AdManager/v202505/RequiredCollectionError.php index 519d7c341..5a857a89e 100644 --- a/src/Google/AdsApi/AdManager/v202505/RequiredCollectionError.php +++ b/src/Google/AdsApi/AdManager/v202505/RequiredCollectionError.php @@ -21,7 +21,7 @@ class RequiredCollectionError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/RequiredError.php b/src/Google/AdsApi/AdManager/v202505/RequiredError.php index e93aaf050..d04db979d 100644 --- a/src/Google/AdsApi/AdManager/v202505/RequiredError.php +++ b/src/Google/AdsApi/AdManager/v202505/RequiredError.php @@ -21,7 +21,7 @@ class RequiredError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/RequiredNumberError.php b/src/Google/AdsApi/AdManager/v202505/RequiredNumberError.php index aedd98c4b..26fd8b343 100644 --- a/src/Google/AdsApi/AdManager/v202505/RequiredNumberError.php +++ b/src/Google/AdsApi/AdManager/v202505/RequiredNumberError.php @@ -21,7 +21,7 @@ class RequiredNumberError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/RequiredSizeError.php b/src/Google/AdsApi/AdManager/v202505/RequiredSizeError.php index 741724d2a..a5b8a3e0d 100644 --- a/src/Google/AdsApi/AdManager/v202505/RequiredSizeError.php +++ b/src/Google/AdsApi/AdManager/v202505/RequiredSizeError.php @@ -21,7 +21,7 @@ class RequiredSizeError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/ReservationDetailsError.php b/src/Google/AdsApi/AdManager/v202505/ReservationDetailsError.php index e17982664..3d1d67367 100644 --- a/src/Google/AdsApi/AdManager/v202505/ReservationDetailsError.php +++ b/src/Google/AdsApi/AdManager/v202505/ReservationDetailsError.php @@ -21,7 +21,7 @@ class ReservationDetailsError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/ResultSet.php b/src/Google/AdsApi/AdManager/v202505/ResultSet.php index c7bcc9cbf..37798309d 100644 --- a/src/Google/AdsApi/AdManager/v202505/ResultSet.php +++ b/src/Google/AdsApi/AdManager/v202505/ResultSet.php @@ -23,7 +23,7 @@ class ResultSet * @param \Google\AdsApi\AdManager\v202505\ColumnType[] $columnTypes * @param \Google\AdsApi\AdManager\v202505\Row[] $rows */ - public function __construct(array $columnTypes = null, array $rows = null) + public function __construct(?array $columnTypes = null, ?array $rows = null) { $this->columnTypes = $columnTypes; $this->rows = $rows; @@ -41,7 +41,7 @@ public function getColumnTypes() * @param \Google\AdsApi\AdManager\v202505\ColumnType[]|null $columnTypes * @return \Google\AdsApi\AdManager\v202505\ResultSet */ - public function setColumnTypes(array $columnTypes = null) + public function setColumnTypes(?array $columnTypes = null) { $this->columnTypes = $columnTypes; return $this; @@ -59,7 +59,7 @@ public function getRows() * @param \Google\AdsApi\AdManager\v202505\Row[]|null $rows * @return \Google\AdsApi\AdManager\v202505\ResultSet */ - public function setRows(array $rows = null) + public function setRows(?array $rows = null) { $this->rows = $rows; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/RichMediaStudioCreative.php b/src/Google/AdsApi/AdManager/v202505/RichMediaStudioCreative.php index 85a9c665a..806418fee 100644 --- a/src/Google/AdsApi/AdManager/v202505/RichMediaStudioCreative.php +++ b/src/Google/AdsApi/AdManager/v202505/RichMediaStudioCreative.php @@ -51,7 +51,7 @@ class RichMediaStudioCreative extends \Google\AdsApi\AdManager\v202505\BaseRichM * @param string $lockedOrientation * @param boolean $isInterstitial */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $studioCreativeId = null, $creativeFormat = null, $artworkType = null, $totalFileSize = null, array $adTagKeys = null, array $customKeyValues = null, $surveyUrl = null, $allImpressionsUrl = null, $richMediaImpressionsUrl = null, $backupImageImpressionsUrl = null, $overrideCss = null, $requiredFlashPluginVersion = null, $duration = null, $billingAttribute = null, array $richMediaStudioChildAssetProperties = null, $sslScanResult = null, $sslManualOverride = null, $lockedOrientation = null, $isInterstitial = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $studioCreativeId = null, $creativeFormat = null, $artworkType = null, $totalFileSize = null, ?array $adTagKeys = null, ?array $customKeyValues = null, $surveyUrl = null, $allImpressionsUrl = null, $richMediaImpressionsUrl = null, $backupImageImpressionsUrl = null, $overrideCss = null, $requiredFlashPluginVersion = null, $duration = null, $billingAttribute = null, ?array $richMediaStudioChildAssetProperties = null, $sslScanResult = null, $sslManualOverride = null, $lockedOrientation = null, $isInterstitial = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $studioCreativeId, $creativeFormat, $artworkType, $totalFileSize, $adTagKeys, $customKeyValues, $surveyUrl, $allImpressionsUrl, $richMediaImpressionsUrl, $backupImageImpressionsUrl, $overrideCss, $requiredFlashPluginVersion, $duration, $billingAttribute, $richMediaStudioChildAssetProperties, $sslScanResult, $sslManualOverride); $this->lockedOrientation = $lockedOrientation; diff --git a/src/Google/AdsApi/AdManager/v202505/RichMediaStudioCreativeError.php b/src/Google/AdsApi/AdManager/v202505/RichMediaStudioCreativeError.php index 628774a83..7f112012f 100644 --- a/src/Google/AdsApi/AdManager/v202505/RichMediaStudioCreativeError.php +++ b/src/Google/AdsApi/AdManager/v202505/RichMediaStudioCreativeError.php @@ -21,7 +21,7 @@ class RichMediaStudioCreativeError extends \Google\AdsApi\AdManager\v202505\ApiE * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/Row.php b/src/Google/AdsApi/AdManager/v202505/Row.php index 661dbc754..349bc6cc7 100644 --- a/src/Google/AdsApi/AdManager/v202505/Row.php +++ b/src/Google/AdsApi/AdManager/v202505/Row.php @@ -17,7 +17,7 @@ class Row /** * @param \Google\AdsApi\AdManager\v202505\Value[] $values */ - public function __construct(array $values = null) + public function __construct(?array $values = null) { $this->values = $values; } @@ -34,7 +34,7 @@ public function getValues() * @param \Google\AdsApi\AdManager\v202505\Value[]|null $values * @return \Google\AdsApi\AdManager\v202505\Row */ - public function setValues(array $values = null) + public function setValues(?array $values = null) { $this->values = $values; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/RuleBasedFirstPartyAudienceSegment.php b/src/Google/AdsApi/AdManager/v202505/RuleBasedFirstPartyAudienceSegment.php index 0defa599d..d048802ab 100644 --- a/src/Google/AdsApi/AdManager/v202505/RuleBasedFirstPartyAudienceSegment.php +++ b/src/Google/AdsApi/AdManager/v202505/RuleBasedFirstPartyAudienceSegment.php @@ -32,7 +32,7 @@ class RuleBasedFirstPartyAudienceSegment extends \Google\AdsApi\AdManager\v20250 * @param int $membershipExpirationDays * @param \Google\AdsApi\AdManager\v202505\FirstPartyAudienceSegmentRule $rule */ - public function __construct($id = null, $name = null, array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null, $pageViews = null, $recencyDays = null, $membershipExpirationDays = null, $rule = null) + public function __construct($id = null, $name = null, ?array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null, $pageViews = null, $recencyDays = null, $membershipExpirationDays = null, $rule = null) { parent::__construct($id, $name, $categoryIds, $description, $status, $size, $mobileWebSize, $idfaSize, $adIdSize, $ppidSize, $dataProvider, $type, $pageViews, $recencyDays, $membershipExpirationDays); $this->rule = $rule; diff --git a/src/Google/AdsApi/AdManager/v202505/RuleBasedFirstPartyAudienceSegmentSummary.php b/src/Google/AdsApi/AdManager/v202505/RuleBasedFirstPartyAudienceSegmentSummary.php index f85597f91..d214dcd5e 100644 --- a/src/Google/AdsApi/AdManager/v202505/RuleBasedFirstPartyAudienceSegmentSummary.php +++ b/src/Google/AdsApi/AdManager/v202505/RuleBasedFirstPartyAudienceSegmentSummary.php @@ -41,7 +41,7 @@ class RuleBasedFirstPartyAudienceSegmentSummary extends \Google\AdsApi\AdManager * @param int $recencyDays * @param int $membershipExpirationDays */ - public function __construct($id = null, $name = null, array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null, $pageViews = null, $recencyDays = null, $membershipExpirationDays = null) + public function __construct($id = null, $name = null, ?array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null, $pageViews = null, $recencyDays = null, $membershipExpirationDays = null) { parent::__construct($id, $name, $categoryIds, $description, $status, $size, $mobileWebSize, $idfaSize, $adIdSize, $ppidSize, $dataProvider, $type); $this->pageViews = $pageViews; diff --git a/src/Google/AdsApi/AdManager/v202505/SamSession.php b/src/Google/AdsApi/AdManager/v202505/SamSession.php index 68ac462d8..811087323 100644 --- a/src/Google/AdsApi/AdManager/v202505/SamSession.php +++ b/src/Google/AdsApi/AdManager/v202505/SamSession.php @@ -53,7 +53,7 @@ class SamSession * @param int $sessionDurationMillis * @param int $contentDurationMillis */ - public function __construct($sessionId = null, $isVodSession = null, $streamCreateRequest = null, array $adBreaks = null, $startDateTime = null, $sessionDurationMillis = null, $contentDurationMillis = null) + public function __construct($sessionId = null, $isVodSession = null, $streamCreateRequest = null, ?array $adBreaks = null, $startDateTime = null, $sessionDurationMillis = null, $contentDurationMillis = null) { $this->sessionId = $sessionId; $this->isVodSession = $isVodSession; @@ -130,7 +130,7 @@ public function getAdBreaks() * @param \Google\AdsApi\AdManager\v202505\AdBreak[]|null $adBreaks * @return \Google\AdsApi\AdManager\v202505\SamSession */ - public function setAdBreaks(array $adBreaks = null) + public function setAdBreaks(?array $adBreaks = null) { $this->adBreaks = $adBreaks; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/SamSessionError.php b/src/Google/AdsApi/AdManager/v202505/SamSessionError.php index cc5876155..d221f25ce 100644 --- a/src/Google/AdsApi/AdManager/v202505/SamSessionError.php +++ b/src/Google/AdsApi/AdManager/v202505/SamSessionError.php @@ -21,7 +21,7 @@ class SamSessionError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/SavedQueryPage.php b/src/Google/AdsApi/AdManager/v202505/SavedQueryPage.php index 6d4c702c4..aed57a8d7 100644 --- a/src/Google/AdsApi/AdManager/v202505/SavedQueryPage.php +++ b/src/Google/AdsApi/AdManager/v202505/SavedQueryPage.php @@ -29,7 +29,7 @@ class SavedQueryPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\SavedQuery[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\SavedQuery[]|null $results * @return \Google\AdsApi\AdManager\v202505\SavedQueryPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/SdkMediationSettings.php b/src/Google/AdsApi/AdManager/v202505/SdkMediationSettings.php index 9a1cf5586..5b4d18d1e 100644 --- a/src/Google/AdsApi/AdManager/v202505/SdkMediationSettings.php +++ b/src/Google/AdsApi/AdManager/v202505/SdkMediationSettings.php @@ -29,7 +29,7 @@ class SdkMediationSettings extends \Google\AdsApi\AdManager\v202505\AbstractDisp * @param string $yieldIntegrationType * @param string $platform */ - public function __construct(array $parameters = null, $yieldIntegrationType = null, $platform = null) + public function __construct(?array $parameters = null, $yieldIntegrationType = null, $platform = null) { $this->parameters = $parameters; $this->yieldIntegrationType = $yieldIntegrationType; @@ -48,7 +48,7 @@ public function getParameters() * @param \Google\AdsApi\AdManager\v202505\YieldParameter_StringMapEntry[]|null $parameters * @return \Google\AdsApi\AdManager\v202505\SdkMediationSettings */ - public function setParameters(array $parameters = null) + public function setParameters(?array $parameters = null) { $this->parameters = $parameters; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/SegmentPopulationError.php b/src/Google/AdsApi/AdManager/v202505/SegmentPopulationError.php index 1bf0a7060..d03157fc3 100644 --- a/src/Google/AdsApi/AdManager/v202505/SegmentPopulationError.php +++ b/src/Google/AdsApi/AdManager/v202505/SegmentPopulationError.php @@ -21,7 +21,7 @@ class SegmentPopulationError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/SegmentPopulationRequest.php b/src/Google/AdsApi/AdManager/v202505/SegmentPopulationRequest.php index a2b972887..5c2f97b39 100644 --- a/src/Google/AdsApi/AdManager/v202505/SegmentPopulationRequest.php +++ b/src/Google/AdsApi/AdManager/v202505/SegmentPopulationRequest.php @@ -47,7 +47,7 @@ class SegmentPopulationRequest * @param string[] $ids * @param string $consentType */ - public function __construct($batchUploadId = null, $segmentId = null, $isDeletion = null, $identifierType = null, array $ids = null, $consentType = null) + public function __construct($batchUploadId = null, $segmentId = null, $isDeletion = null, $identifierType = null, ?array $ids = null, $consentType = null) { $this->batchUploadId = $batchUploadId; $this->segmentId = $segmentId; @@ -143,7 +143,7 @@ public function getIds() * @param string[]|null $ids * @return \Google\AdsApi\AdManager\v202505\SegmentPopulationRequest */ - public function setIds(array $ids = null) + public function setIds(?array $ids = null) { $this->ids = $ids; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/SegmentPopulationResponse.php b/src/Google/AdsApi/AdManager/v202505/SegmentPopulationResponse.php index fec5d29fe..9dc3ab5b4 100644 --- a/src/Google/AdsApi/AdManager/v202505/SegmentPopulationResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/SegmentPopulationResponse.php @@ -23,7 +23,7 @@ class SegmentPopulationResponse * @param int $batchUploadId * @param \Google\AdsApi\AdManager\v202505\IdError[] $idErrors */ - public function __construct($batchUploadId = null, array $idErrors = null) + public function __construct($batchUploadId = null, ?array $idErrors = null) { $this->batchUploadId = $batchUploadId; $this->idErrors = $idErrors; @@ -60,7 +60,7 @@ public function getIdErrors() * @param \Google\AdsApi\AdManager\v202505\IdError[]|null $idErrors * @return \Google\AdsApi\AdManager\v202505\SegmentPopulationResponse */ - public function setIdErrors(array $idErrors = null) + public function setIdErrors(?array $idErrors = null) { $this->idErrors = $idErrors; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/SegmentPopulationResults.php b/src/Google/AdsApi/AdManager/v202505/SegmentPopulationResults.php index 00f3024fc..13b09af3a 100644 --- a/src/Google/AdsApi/AdManager/v202505/SegmentPopulationResults.php +++ b/src/Google/AdsApi/AdManager/v202505/SegmentPopulationResults.php @@ -41,7 +41,7 @@ class SegmentPopulationResults * @param int $numSuccessfulIdsProcessed * @param \Google\AdsApi\AdManager\v202505\IdError[] $errors */ - public function __construct($batchUploadId = null, $segmentId = null, $status = null, $numSuccessfulIdsProcessed = null, array $errors = null) + public function __construct($batchUploadId = null, $segmentId = null, $status = null, $numSuccessfulIdsProcessed = null, ?array $errors = null) { $this->batchUploadId = $batchUploadId; $this->segmentId = $segmentId; @@ -137,7 +137,7 @@ public function getErrors() * @param \Google\AdsApi\AdManager\v202505\IdError[]|null $errors * @return \Google\AdsApi\AdManager\v202505\SegmentPopulationResults */ - public function setErrors(array $errors = null) + public function setErrors(?array $errors = null) { $this->errors = $errors; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/ServerError.php b/src/Google/AdsApi/AdManager/v202505/ServerError.php index 2535cc356..102d01d66 100644 --- a/src/Google/AdsApi/AdManager/v202505/ServerError.php +++ b/src/Google/AdsApi/AdManager/v202505/ServerError.php @@ -21,7 +21,7 @@ class ServerError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/ServiceFactory.php b/src/Google/AdsApi/AdManager/v202505/ServiceFactory.php index 97113355c..b0bff1f71 100644 --- a/src/Google/AdsApi/AdManager/v202505/ServiceFactory.php +++ b/src/Google/AdsApi/AdManager/v202505/ServiceFactory.php @@ -16,7 +16,7 @@ final class ServiceFactory { private $services; - public function __construct(AdManagerServices $services = null) + public function __construct(?AdManagerServices $services = null) { $this->services = is_null($services) ? new AdManagerServices() : $services; } diff --git a/src/Google/AdsApi/AdManager/v202505/SetTopBoxCreative.php b/src/Google/AdsApi/AdManager/v202505/SetTopBoxCreative.php index 51a7678f1..8cad157e5 100644 --- a/src/Google/AdsApi/AdManager/v202505/SetTopBoxCreative.php +++ b/src/Google/AdsApi/AdManager/v202505/SetTopBoxCreative.php @@ -65,7 +65,7 @@ class SetTopBoxCreative extends \Google\AdsApi\AdManager\v202505\BaseVideoCreati * @param \Google\AdsApi\AdManager\v202505\DateTime $licenseWindowStartDateTime * @param \Google\AdsApi\AdManager\v202505\DateTime $licenseWindowEndDateTime */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, array $trackingUrls = null, array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $externalAssetId = null, $providerId = null, array $availabilityRegionIds = null, $licenseWindowStartDateTime = null, $licenseWindowEndDateTime = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, ?array $trackingUrls = null, ?array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $externalAssetId = null, $providerId = null, ?array $availabilityRegionIds = null, $licenseWindowStartDateTime = null, $licenseWindowEndDateTime = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $destinationUrl, $destinationUrlType, $duration, $allowDurationOverride, $trackingUrls, $companionCreativeIds, $customParameters, $adId, $adIdType, $skippableAdType, $vastPreviewUrl, $sslScanResult, $sslManualOverride); $this->externalAssetId = $externalAssetId; @@ -123,7 +123,7 @@ public function getAvailabilityRegionIds() * @param string[]|null $availabilityRegionIds * @return \Google\AdsApi\AdManager\v202505\SetTopBoxCreative */ - public function setAvailabilityRegionIds(array $availabilityRegionIds = null) + public function setAvailabilityRegionIds(?array $availabilityRegionIds = null) { $this->availabilityRegionIds = $availabilityRegionIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/SetTopBoxCreativeError.php b/src/Google/AdsApi/AdManager/v202505/SetTopBoxCreativeError.php index d831c0924..5ae052696 100644 --- a/src/Google/AdsApi/AdManager/v202505/SetTopBoxCreativeError.php +++ b/src/Google/AdsApi/AdManager/v202505/SetTopBoxCreativeError.php @@ -21,7 +21,7 @@ class SetTopBoxCreativeError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/SetTopBoxLineItemError.php b/src/Google/AdsApi/AdManager/v202505/SetTopBoxLineItemError.php index 62a01f60f..22dd89afa 100644 --- a/src/Google/AdsApi/AdManager/v202505/SetTopBoxLineItemError.php +++ b/src/Google/AdsApi/AdManager/v202505/SetTopBoxLineItemError.php @@ -21,7 +21,7 @@ class SetTopBoxLineItemError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/SetValue.php b/src/Google/AdsApi/AdManager/v202505/SetValue.php index b0462b982..713968da1 100644 --- a/src/Google/AdsApi/AdManager/v202505/SetValue.php +++ b/src/Google/AdsApi/AdManager/v202505/SetValue.php @@ -17,7 +17,7 @@ class SetValue extends \Google\AdsApi\AdManager\v202505\Value /** * @param \Google\AdsApi\AdManager\v202505\Value[] $values */ - public function __construct(array $values = null) + public function __construct(?array $values = null) { $this->values = $values; } @@ -34,7 +34,7 @@ public function getValues() * @param \Google\AdsApi\AdManager\v202505\Value[]|null $values * @return \Google\AdsApi\AdManager\v202505\SetValue */ - public function setValues(array $values = null) + public function setValues(?array $values = null) { $this->values = $values; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/SharedAudienceSegment.php b/src/Google/AdsApi/AdManager/v202505/SharedAudienceSegment.php index 669d5240e..a873bc54d 100644 --- a/src/Google/AdsApi/AdManager/v202505/SharedAudienceSegment.php +++ b/src/Google/AdsApi/AdManager/v202505/SharedAudienceSegment.php @@ -23,7 +23,7 @@ class SharedAudienceSegment extends \Google\AdsApi\AdManager\v202505\AudienceSeg * @param \Google\AdsApi\AdManager\v202505\AudienceSegmentDataProvider $dataProvider * @param string $type */ - public function __construct($id = null, $name = null, array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null) + public function __construct($id = null, $name = null, ?array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null) { parent::__construct($id, $name, $categoryIds, $description, $status, $size, $mobileWebSize, $idfaSize, $adIdSize, $ppidSize, $dataProvider, $type); } diff --git a/src/Google/AdsApi/AdManager/v202505/Site.php b/src/Google/AdsApi/AdManager/v202505/Site.php index ef7cdbfa4..de2c80bc5 100644 --- a/src/Google/AdsApi/AdManager/v202505/Site.php +++ b/src/Google/AdsApi/AdManager/v202505/Site.php @@ -47,7 +47,7 @@ class Site * @param \Google\AdsApi\AdManager\v202505\DateTime $approvalStatusUpdateTime * @param \Google\AdsApi\AdManager\v202505\DisapprovalReason[] $disapprovalReasons */ - public function __construct($id = null, $url = null, $childNetworkCode = null, $approvalStatus = null, $approvalStatusUpdateTime = null, array $disapprovalReasons = null) + public function __construct($id = null, $url = null, $childNetworkCode = null, $approvalStatus = null, $approvalStatusUpdateTime = null, ?array $disapprovalReasons = null) { $this->id = $id; $this->url = $url; @@ -160,7 +160,7 @@ public function getDisapprovalReasons() * @param \Google\AdsApi\AdManager\v202505\DisapprovalReason[]|null $disapprovalReasons * @return \Google\AdsApi\AdManager\v202505\Site */ - public function setDisapprovalReasons(array $disapprovalReasons = null) + public function setDisapprovalReasons(?array $disapprovalReasons = null) { $this->disapprovalReasons = $disapprovalReasons; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/SiteError.php b/src/Google/AdsApi/AdManager/v202505/SiteError.php index 974aafcf0..84a272c18 100644 --- a/src/Google/AdsApi/AdManager/v202505/SiteError.php +++ b/src/Google/AdsApi/AdManager/v202505/SiteError.php @@ -21,7 +21,7 @@ class SiteError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/SitePage.php b/src/Google/AdsApi/AdManager/v202505/SitePage.php index 2aee0696f..6917a8391 100644 --- a/src/Google/AdsApi/AdManager/v202505/SitePage.php +++ b/src/Google/AdsApi/AdManager/v202505/SitePage.php @@ -29,7 +29,7 @@ class SitePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\Site[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\Site[]|null $results * @return \Google\AdsApi\AdManager\v202505\SitePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/SlatePage.php b/src/Google/AdsApi/AdManager/v202505/SlatePage.php index 74007ad72..9079730ed 100644 --- a/src/Google/AdsApi/AdManager/v202505/SlatePage.php +++ b/src/Google/AdsApi/AdManager/v202505/SlatePage.php @@ -29,7 +29,7 @@ class SlatePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\Slate[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\Slate[]|null $results * @return \Google\AdsApi\AdManager\v202505\SlatePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/Statement.php b/src/Google/AdsApi/AdManager/v202505/Statement.php index 3934af171..64f3fd6f6 100644 --- a/src/Google/AdsApi/AdManager/v202505/Statement.php +++ b/src/Google/AdsApi/AdManager/v202505/Statement.php @@ -23,7 +23,7 @@ class Statement * @param string $query * @param \Google\AdsApi\AdManager\v202505\String_ValueMapEntry[] $values */ - public function __construct($query = null, array $values = null) + public function __construct($query = null, ?array $values = null) { $this->query = $query; $this->values = $values; @@ -59,7 +59,7 @@ public function getValues() * @param \Google\AdsApi\AdManager\v202505\String_ValueMapEntry[]|null $values * @return \Google\AdsApi\AdManager\v202505\Statement */ - public function setValues(array $values = null) + public function setValues(?array $values = null) { $this->values = $values; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/StatementError.php b/src/Google/AdsApi/AdManager/v202505/StatementError.php index a42b5a16a..4e30c12e5 100644 --- a/src/Google/AdsApi/AdManager/v202505/StatementError.php +++ b/src/Google/AdsApi/AdManager/v202505/StatementError.php @@ -21,7 +21,7 @@ class StatementError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/StringFormatError.php b/src/Google/AdsApi/AdManager/v202505/StringFormatError.php index 18cf8650d..d4254b3a3 100644 --- a/src/Google/AdsApi/AdManager/v202505/StringFormatError.php +++ b/src/Google/AdsApi/AdManager/v202505/StringFormatError.php @@ -21,7 +21,7 @@ class StringFormatError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/StringLengthError.php b/src/Google/AdsApi/AdManager/v202505/StringLengthError.php index cb4ab29ed..ba7e02b5a 100644 --- a/src/Google/AdsApi/AdManager/v202505/StringLengthError.php +++ b/src/Google/AdsApi/AdManager/v202505/StringLengthError.php @@ -21,7 +21,7 @@ class StringLengthError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/SuggestedAdUnit.php b/src/Google/AdsApi/AdManager/v202505/SuggestedAdUnit.php index 38b4b100f..5a2a200d2 100644 --- a/src/Google/AdsApi/AdManager/v202505/SuggestedAdUnit.php +++ b/src/Google/AdsApi/AdManager/v202505/SuggestedAdUnit.php @@ -53,7 +53,7 @@ class SuggestedAdUnit * @param string $targetPlatform * @param \Google\AdsApi\AdManager\v202505\AdUnitSize[] $suggestedAdUnitSizes */ - public function __construct($id = null, $numRequests = null, array $path = null, array $parentPath = null, $targetWindow = null, $targetPlatform = null, array $suggestedAdUnitSizes = null) + public function __construct($id = null, $numRequests = null, ?array $path = null, ?array $parentPath = null, $targetWindow = null, $targetPlatform = null, ?array $suggestedAdUnitSizes = null) { $this->id = $id; $this->numRequests = $numRequests; @@ -113,7 +113,7 @@ public function getPath() * @param string[]|null $path * @return \Google\AdsApi\AdManager\v202505\SuggestedAdUnit */ - public function setPath(array $path = null) + public function setPath(?array $path = null) { $this->path = $path; return $this; @@ -131,7 +131,7 @@ public function getParentPath() * @param \Google\AdsApi\AdManager\v202505\AdUnitParent[]|null $parentPath * @return \Google\AdsApi\AdManager\v202505\SuggestedAdUnit */ - public function setParentPath(array $parentPath = null) + public function setParentPath(?array $parentPath = null) { $this->parentPath = $parentPath; return $this; @@ -185,7 +185,7 @@ public function getSuggestedAdUnitSizes() * @param \Google\AdsApi\AdManager\v202505\AdUnitSize[]|null $suggestedAdUnitSizes * @return \Google\AdsApi\AdManager\v202505\SuggestedAdUnit */ - public function setSuggestedAdUnitSizes(array $suggestedAdUnitSizes = null) + public function setSuggestedAdUnitSizes(?array $suggestedAdUnitSizes = null) { $this->suggestedAdUnitSizes = $suggestedAdUnitSizes; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/SuggestedAdUnitPage.php b/src/Google/AdsApi/AdManager/v202505/SuggestedAdUnitPage.php index a34b174f8..f3432b6f1 100644 --- a/src/Google/AdsApi/AdManager/v202505/SuggestedAdUnitPage.php +++ b/src/Google/AdsApi/AdManager/v202505/SuggestedAdUnitPage.php @@ -29,7 +29,7 @@ class SuggestedAdUnitPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\SuggestedAdUnit[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\SuggestedAdUnit[]|null $results * @return \Google\AdsApi\AdManager\v202505\SuggestedAdUnitPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/SuggestedAdUnitUpdateResult.php b/src/Google/AdsApi/AdManager/v202505/SuggestedAdUnitUpdateResult.php index 2783a3346..9f0f32b8b 100644 --- a/src/Google/AdsApi/AdManager/v202505/SuggestedAdUnitUpdateResult.php +++ b/src/Google/AdsApi/AdManager/v202505/SuggestedAdUnitUpdateResult.php @@ -23,7 +23,7 @@ class SuggestedAdUnitUpdateResult * @param string[] $newAdUnitIds * @param int $numChanges */ - public function __construct(array $newAdUnitIds = null, $numChanges = null) + public function __construct(?array $newAdUnitIds = null, $numChanges = null) { $this->newAdUnitIds = $newAdUnitIds; $this->numChanges = $numChanges; @@ -41,7 +41,7 @@ public function getNewAdUnitIds() * @param string[]|null $newAdUnitIds * @return \Google\AdsApi\AdManager\v202505\SuggestedAdUnitUpdateResult */ - public function setNewAdUnitIds(array $newAdUnitIds = null) + public function setNewAdUnitIds(?array $newAdUnitIds = null) { $this->newAdUnitIds = $newAdUnitIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/SwiffyConversionError.php b/src/Google/AdsApi/AdManager/v202505/SwiffyConversionError.php index 40badf7dc..3fb371045 100644 --- a/src/Google/AdsApi/AdManager/v202505/SwiffyConversionError.php +++ b/src/Google/AdsApi/AdManager/v202505/SwiffyConversionError.php @@ -21,7 +21,7 @@ class SwiffyConversionError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/TargetingPresetPage.php b/src/Google/AdsApi/AdManager/v202505/TargetingPresetPage.php index dd17b6ac4..a8070483c 100644 --- a/src/Google/AdsApi/AdManager/v202505/TargetingPresetPage.php +++ b/src/Google/AdsApi/AdManager/v202505/TargetingPresetPage.php @@ -29,7 +29,7 @@ class TargetingPresetPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\TargetingPreset[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\TargetingPreset[]|null $results * @return \Google\AdsApi\AdManager\v202505\TargetingPresetPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/TeamError.php b/src/Google/AdsApi/AdManager/v202505/TeamError.php index 3b3686e7e..4e9ca36c0 100644 --- a/src/Google/AdsApi/AdManager/v202505/TeamError.php +++ b/src/Google/AdsApi/AdManager/v202505/TeamError.php @@ -21,7 +21,7 @@ class TeamError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/TeamPage.php b/src/Google/AdsApi/AdManager/v202505/TeamPage.php index 89ea766b2..011f8b689 100644 --- a/src/Google/AdsApi/AdManager/v202505/TeamPage.php +++ b/src/Google/AdsApi/AdManager/v202505/TeamPage.php @@ -29,7 +29,7 @@ class TeamPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\Team[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\Team[]|null $results * @return \Google\AdsApi\AdManager\v202505\TeamPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/TechnologyTargetingError.php b/src/Google/AdsApi/AdManager/v202505/TechnologyTargetingError.php index 40157b965..640ac3969 100644 --- a/src/Google/AdsApi/AdManager/v202505/TechnologyTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202505/TechnologyTargetingError.php @@ -21,7 +21,7 @@ class TechnologyTargetingError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/TemplateCreative.php b/src/Google/AdsApi/AdManager/v202505/TemplateCreative.php index 49de7adf0..b9a67046c 100644 --- a/src/Google/AdsApi/AdManager/v202505/TemplateCreative.php +++ b/src/Google/AdsApi/AdManager/v202505/TemplateCreative.php @@ -76,7 +76,7 @@ class TemplateCreative extends \Google\AdsApi\AdManager\v202505\Creative * @param string $sslManualOverride * @param string $lockedOrientation */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $creativeTemplateId = null, $isInterstitial = null, $isNativeEligible = null, $isSafeFrameCompatible = null, $destinationUrl = null, array $creativeTemplateVariableValues = null, $sslScanResult = null, $sslManualOverride = null, $lockedOrientation = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $creativeTemplateId = null, $isInterstitial = null, $isNativeEligible = null, $isSafeFrameCompatible = null, $destinationUrl = null, ?array $creativeTemplateVariableValues = null, $sslScanResult = null, $sslManualOverride = null, $lockedOrientation = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled); $this->creativeTemplateId = $creativeTemplateId; @@ -193,7 +193,7 @@ public function getCreativeTemplateVariableValues() * @param \Google\AdsApi\AdManager\v202505\BaseCreativeTemplateVariableValue[]|null $creativeTemplateVariableValues * @return \Google\AdsApi\AdManager\v202505\TemplateCreative */ - public function setCreativeTemplateVariableValues(array $creativeTemplateVariableValues = null) + public function setCreativeTemplateVariableValues(?array $creativeTemplateVariableValues = null) { $this->creativeTemplateVariableValues = $creativeTemplateVariableValues; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/TemplateInstantiatedCreativeError.php b/src/Google/AdsApi/AdManager/v202505/TemplateInstantiatedCreativeError.php index 0872c519f..925e0ef6b 100644 --- a/src/Google/AdsApi/AdManager/v202505/TemplateInstantiatedCreativeError.php +++ b/src/Google/AdsApi/AdManager/v202505/TemplateInstantiatedCreativeError.php @@ -21,7 +21,7 @@ class TemplateInstantiatedCreativeError extends \Google\AdsApi\AdManager\v202505 * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/ThirdPartyAudienceSegment.php b/src/Google/AdsApi/AdManager/v202505/ThirdPartyAudienceSegment.php index 5b303cb3b..c73b7b0b0 100644 --- a/src/Google/AdsApi/AdManager/v202505/ThirdPartyAudienceSegment.php +++ b/src/Google/AdsApi/AdManager/v202505/ThirdPartyAudienceSegment.php @@ -53,7 +53,7 @@ class ThirdPartyAudienceSegment extends \Google\AdsApi\AdManager\v202505\Audienc * @param \Google\AdsApi\AdManager\v202505\DateTime $startDateTime * @param \Google\AdsApi\AdManager\v202505\DateTime $endDateTime */ - public function __construct($id = null, $name = null, array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null, $approvalStatus = null, $cost = null, $licenseType = null, $startDateTime = null, $endDateTime = null) + public function __construct($id = null, $name = null, ?array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null, $approvalStatus = null, $cost = null, $licenseType = null, $startDateTime = null, $endDateTime = null) { parent::__construct($id, $name, $categoryIds, $description, $status, $size, $mobileWebSize, $idfaSize, $adIdSize, $ppidSize, $dataProvider, $type); $this->approvalStatus = $approvalStatus; diff --git a/src/Google/AdsApi/AdManager/v202505/ThirdPartyCreative.php b/src/Google/AdsApi/AdManager/v202505/ThirdPartyCreative.php index 600191e67..ba57e8d9f 100644 --- a/src/Google/AdsApi/AdManager/v202505/ThirdPartyCreative.php +++ b/src/Google/AdsApi/AdManager/v202505/ThirdPartyCreative.php @@ -70,7 +70,7 @@ class ThirdPartyCreative extends \Google\AdsApi\AdManager\v202505\Creative * @param string[] $thirdPartyImpressionTrackingUrls * @param string $ampRedirectUrl */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $snippet = null, $expandedSnippet = null, $sslScanResult = null, $sslManualOverride = null, $lockedOrientation = null, $isSafeFrameCompatible = null, array $thirdPartyImpressionTrackingUrls = null, $ampRedirectUrl = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $snippet = null, $expandedSnippet = null, $sslScanResult = null, $sslManualOverride = null, $lockedOrientation = null, $isSafeFrameCompatible = null, ?array $thirdPartyImpressionTrackingUrls = null, $ampRedirectUrl = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled); $this->snippet = $snippet; @@ -203,7 +203,7 @@ public function getThirdPartyImpressionTrackingUrls() * @param string[]|null $thirdPartyImpressionTrackingUrls * @return \Google\AdsApi\AdManager\v202505\ThirdPartyCreative */ - public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) + public function setThirdPartyImpressionTrackingUrls(?array $thirdPartyImpressionTrackingUrls = null) { $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/ThirdPartyDataDeclaration.php b/src/Google/AdsApi/AdManager/v202505/ThirdPartyDataDeclaration.php index b249f3506..13272d661 100644 --- a/src/Google/AdsApi/AdManager/v202505/ThirdPartyDataDeclaration.php +++ b/src/Google/AdsApi/AdManager/v202505/ThirdPartyDataDeclaration.php @@ -23,7 +23,7 @@ class ThirdPartyDataDeclaration * @param string $declarationType * @param int[] $thirdPartyCompanyIds */ - public function __construct($declarationType = null, array $thirdPartyCompanyIds = null) + public function __construct($declarationType = null, ?array $thirdPartyCompanyIds = null) { $this->declarationType = $declarationType; $this->thirdPartyCompanyIds = $thirdPartyCompanyIds; @@ -59,7 +59,7 @@ public function getThirdPartyCompanyIds() * @param int[]|null $thirdPartyCompanyIds * @return \Google\AdsApi\AdManager\v202505\ThirdPartyDataDeclaration */ - public function setThirdPartyCompanyIds(array $thirdPartyCompanyIds = null) + public function setThirdPartyCompanyIds(?array $thirdPartyCompanyIds = null) { $this->thirdPartyCompanyIds = $thirdPartyCompanyIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/TimeSeries.php b/src/Google/AdsApi/AdManager/v202505/TimeSeries.php index 8c411d759..71e158a6e 100644 --- a/src/Google/AdsApi/AdManager/v202505/TimeSeries.php +++ b/src/Google/AdsApi/AdManager/v202505/TimeSeries.php @@ -23,7 +23,7 @@ class TimeSeries * @param \Google\AdsApi\AdManager\v202505\DateRange $timeSeriesDateRange * @param int[] $values */ - public function __construct($timeSeriesDateRange = null, array $values = null) + public function __construct($timeSeriesDateRange = null, ?array $values = null) { $this->timeSeriesDateRange = $timeSeriesDateRange; $this->values = $values; @@ -59,7 +59,7 @@ public function getValues() * @param int[]|null $values * @return \Google\AdsApi\AdManager\v202505\TimeSeries */ - public function setValues(array $values = null) + public function setValues(?array $values = null) { $this->values = $values; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/TimeZoneError.php b/src/Google/AdsApi/AdManager/v202505/TimeZoneError.php index c24b5d11b..49333bff2 100644 --- a/src/Google/AdsApi/AdManager/v202505/TimeZoneError.php +++ b/src/Google/AdsApi/AdManager/v202505/TimeZoneError.php @@ -21,7 +21,7 @@ class TimeZoneError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/TokenError.php b/src/Google/AdsApi/AdManager/v202505/TokenError.php index 2b0d7db43..722db0c17 100644 --- a/src/Google/AdsApi/AdManager/v202505/TokenError.php +++ b/src/Google/AdsApi/AdManager/v202505/TokenError.php @@ -21,7 +21,7 @@ class TokenError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/TrackingEvent.php b/src/Google/AdsApi/AdManager/v202505/TrackingEvent.php index aea90609d..b1b0127d0 100644 --- a/src/Google/AdsApi/AdManager/v202505/TrackingEvent.php +++ b/src/Google/AdsApi/AdManager/v202505/TrackingEvent.php @@ -17,7 +17,7 @@ class TrackingEvent /** * @param \Google\AdsApi\AdManager\v202505\TrackingEventPing[] $pings */ - public function __construct(array $pings = null) + public function __construct(?array $pings = null) { $this->pings = $pings; } @@ -34,7 +34,7 @@ public function getPings() * @param \Google\AdsApi\AdManager\v202505\TrackingEventPing[]|null $pings * @return \Google\AdsApi\AdManager\v202505\TrackingEvent */ - public function setPings(array $pings = null) + public function setPings(?array $pings = null) { $this->pings = $pings; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/TrackingUrls.php b/src/Google/AdsApi/AdManager/v202505/TrackingUrls.php index 8410b5300..10e2a39bc 100644 --- a/src/Google/AdsApi/AdManager/v202505/TrackingUrls.php +++ b/src/Google/AdsApi/AdManager/v202505/TrackingUrls.php @@ -17,7 +17,7 @@ class TrackingUrls /** * @param string[] $urls */ - public function __construct(array $urls = null) + public function __construct(?array $urls = null) { $this->urls = $urls; } @@ -34,7 +34,7 @@ public function getUrls() * @param string[]|null $urls * @return \Google\AdsApi\AdManager\v202505\TrackingUrls */ - public function setUrls(array $urls = null) + public function setUrls(?array $urls = null) { $this->urls = $urls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/TrafficForecastSegmentError.php b/src/Google/AdsApi/AdManager/v202505/TrafficForecastSegmentError.php index 0e1bbe712..e75a7c20f 100644 --- a/src/Google/AdsApi/AdManager/v202505/TrafficForecastSegmentError.php +++ b/src/Google/AdsApi/AdManager/v202505/TrafficForecastSegmentError.php @@ -21,7 +21,7 @@ class TrafficForecastSegmentError extends \Google\AdsApi\AdManager\v202505\ApiEr * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/TrafficForecastSegmentPage.php b/src/Google/AdsApi/AdManager/v202505/TrafficForecastSegmentPage.php index eaf58c3d0..bdcfac238 100644 --- a/src/Google/AdsApi/AdManager/v202505/TrafficForecastSegmentPage.php +++ b/src/Google/AdsApi/AdManager/v202505/TrafficForecastSegmentPage.php @@ -29,7 +29,7 @@ class TrafficForecastSegmentPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\TrafficForecastSegment[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\TrafficForecastSegment[]|null $results * @return \Google\AdsApi\AdManager\v202505\TrafficForecastSegmentPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/TranscodingError.php b/src/Google/AdsApi/AdManager/v202505/TranscodingError.php index 8df055e59..0eed0e6ed 100644 --- a/src/Google/AdsApi/AdManager/v202505/TranscodingError.php +++ b/src/Google/AdsApi/AdManager/v202505/TranscodingError.php @@ -21,7 +21,7 @@ class TranscodingError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/TypeError.php b/src/Google/AdsApi/AdManager/v202505/TypeError.php index cc1bb885c..5cb632fe0 100644 --- a/src/Google/AdsApi/AdManager/v202505/TypeError.php +++ b/src/Google/AdsApi/AdManager/v202505/TypeError.php @@ -15,7 +15,7 @@ class TypeError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $trigger * @param string $errorString */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); } diff --git a/src/Google/AdsApi/AdManager/v202505/UniqueError.php b/src/Google/AdsApi/AdManager/v202505/UniqueError.php index c70ca96af..8c378e3ee 100644 --- a/src/Google/AdsApi/AdManager/v202505/UniqueError.php +++ b/src/Google/AdsApi/AdManager/v202505/UniqueError.php @@ -15,7 +15,7 @@ class UniqueError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $trigger * @param string $errorString */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); } diff --git a/src/Google/AdsApi/AdManager/v202505/UnsupportedCreative.php b/src/Google/AdsApi/AdManager/v202505/UnsupportedCreative.php index ea11e74a4..cba0bb4b6 100644 --- a/src/Google/AdsApi/AdManager/v202505/UnsupportedCreative.php +++ b/src/Google/AdsApi/AdManager/v202505/UnsupportedCreative.php @@ -28,7 +28,7 @@ class UnsupportedCreative extends \Google\AdsApi\AdManager\v202505\Creative * @param boolean $adBadgingEnabled * @param string $unsupportedCreativeType */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $unsupportedCreativeType = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $unsupportedCreativeType = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled); $this->unsupportedCreativeType = $unsupportedCreativeType; diff --git a/src/Google/AdsApi/AdManager/v202505/UrlError.php b/src/Google/AdsApi/AdManager/v202505/UrlError.php index 3a68ff666..2b02fb0e9 100644 --- a/src/Google/AdsApi/AdManager/v202505/UrlError.php +++ b/src/Google/AdsApi/AdManager/v202505/UrlError.php @@ -21,7 +21,7 @@ class UrlError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/UserDomainTargeting.php b/src/Google/AdsApi/AdManager/v202505/UserDomainTargeting.php index e66c84c64..96a463917 100644 --- a/src/Google/AdsApi/AdManager/v202505/UserDomainTargeting.php +++ b/src/Google/AdsApi/AdManager/v202505/UserDomainTargeting.php @@ -23,7 +23,7 @@ class UserDomainTargeting * @param string[] $domains * @param boolean $targeted */ - public function __construct(array $domains = null, $targeted = null) + public function __construct(?array $domains = null, $targeted = null) { $this->domains = $domains; $this->targeted = $targeted; @@ -41,7 +41,7 @@ public function getDomains() * @param string[]|null $domains * @return \Google\AdsApi\AdManager\v202505\UserDomainTargeting */ - public function setDomains(array $domains = null) + public function setDomains(?array $domains = null) { $this->domains = $domains; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/UserDomainTargetingError.php b/src/Google/AdsApi/AdManager/v202505/UserDomainTargetingError.php index caa0f0c33..7800b3228 100644 --- a/src/Google/AdsApi/AdManager/v202505/UserDomainTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202505/UserDomainTargetingError.php @@ -21,7 +21,7 @@ class UserDomainTargetingError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/UserPage.php b/src/Google/AdsApi/AdManager/v202505/UserPage.php index 79f19336d..75dced201 100644 --- a/src/Google/AdsApi/AdManager/v202505/UserPage.php +++ b/src/Google/AdsApi/AdManager/v202505/UserPage.php @@ -29,7 +29,7 @@ class UserPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\User[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\User[]|null $results * @return \Google\AdsApi\AdManager\v202505\UserPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/UserTeamAssociationPage.php b/src/Google/AdsApi/AdManager/v202505/UserTeamAssociationPage.php index 3c5e1955c..20a25a126 100644 --- a/src/Google/AdsApi/AdManager/v202505/UserTeamAssociationPage.php +++ b/src/Google/AdsApi/AdManager/v202505/UserTeamAssociationPage.php @@ -29,7 +29,7 @@ class UserTeamAssociationPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\UserTeamAssociation[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\UserTeamAssociation[]|null $results * @return \Google\AdsApi\AdManager\v202505\UserTeamAssociationPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/VastRedirectCreative.php b/src/Google/AdsApi/AdManager/v202505/VastRedirectCreative.php index 9d0139d89..af2996b40 100644 --- a/src/Google/AdsApi/AdManager/v202505/VastRedirectCreative.php +++ b/src/Google/AdsApi/AdManager/v202505/VastRedirectCreative.php @@ -76,7 +76,7 @@ class VastRedirectCreative extends \Google\AdsApi\AdManager\v202505\Creative * @param string $sslManualOverride * @param boolean $isAudio */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $vastXmlUrl = null, $vastRedirectType = null, $duration = null, array $companionCreativeIds = null, array $trackingUrls = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $isAudio = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $vastXmlUrl = null, $vastRedirectType = null, $duration = null, ?array $companionCreativeIds = null, ?array $trackingUrls = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $isAudio = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled); $this->vastXmlUrl = $vastXmlUrl; @@ -156,7 +156,7 @@ public function getCompanionCreativeIds() * @param int[]|null $companionCreativeIds * @return \Google\AdsApi\AdManager\v202505\VastRedirectCreative */ - public function setCompanionCreativeIds(array $companionCreativeIds = null) + public function setCompanionCreativeIds(?array $companionCreativeIds = null) { $this->companionCreativeIds = $companionCreativeIds; return $this; @@ -174,7 +174,7 @@ public function getTrackingUrls() * @param \Google\AdsApi\AdManager\v202505\ConversionEvent_TrackingUrlsMapEntry[]|null $trackingUrls * @return \Google\AdsApi\AdManager\v202505\VastRedirectCreative */ - public function setTrackingUrls(array $trackingUrls = null) + public function setTrackingUrls(?array $trackingUrls = null) { $this->trackingUrls = $trackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/VerticalTargeting.php b/src/Google/AdsApi/AdManager/v202505/VerticalTargeting.php index cc062537b..fa02e8a05 100644 --- a/src/Google/AdsApi/AdManager/v202505/VerticalTargeting.php +++ b/src/Google/AdsApi/AdManager/v202505/VerticalTargeting.php @@ -23,7 +23,7 @@ class VerticalTargeting * @param int[] $targetedVerticalIds * @param int[] $excludedVerticalIds */ - public function __construct(array $targetedVerticalIds = null, array $excludedVerticalIds = null) + public function __construct(?array $targetedVerticalIds = null, ?array $excludedVerticalIds = null) { $this->targetedVerticalIds = $targetedVerticalIds; $this->excludedVerticalIds = $excludedVerticalIds; @@ -41,7 +41,7 @@ public function getTargetedVerticalIds() * @param int[]|null $targetedVerticalIds * @return \Google\AdsApi\AdManager\v202505\VerticalTargeting */ - public function setTargetedVerticalIds(array $targetedVerticalIds = null) + public function setTargetedVerticalIds(?array $targetedVerticalIds = null) { $this->targetedVerticalIds = $targetedVerticalIds; return $this; @@ -59,7 +59,7 @@ public function getExcludedVerticalIds() * @param int[]|null $excludedVerticalIds * @return \Google\AdsApi\AdManager\v202505\VerticalTargeting */ - public function setExcludedVerticalIds(array $excludedVerticalIds = null) + public function setExcludedVerticalIds(?array $excludedVerticalIds = null) { $this->excludedVerticalIds = $excludedVerticalIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/VideoAdTagError.php b/src/Google/AdsApi/AdManager/v202505/VideoAdTagError.php index f2999d023..5be4ea8b7 100644 --- a/src/Google/AdsApi/AdManager/v202505/VideoAdTagError.php +++ b/src/Google/AdsApi/AdManager/v202505/VideoAdTagError.php @@ -21,7 +21,7 @@ class VideoAdTagError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/VideoCreative.php b/src/Google/AdsApi/AdManager/v202505/VideoCreative.php index 1b91b3b0c..3ed1ce18f 100644 --- a/src/Google/AdsApi/AdManager/v202505/VideoCreative.php +++ b/src/Google/AdsApi/AdManager/v202505/VideoCreative.php @@ -41,7 +41,7 @@ class VideoCreative extends \Google\AdsApi\AdManager\v202505\BaseVideoCreative * @param string $sslManualOverride * @param string $videoSourceUrl */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, array $trackingUrls = null, array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $videoSourceUrl = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, ?array $trackingUrls = null, ?array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $videoSourceUrl = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $destinationUrl, $destinationUrlType, $duration, $allowDurationOverride, $trackingUrls, $companionCreativeIds, $customParameters, $adId, $adIdType, $skippableAdType, $vastPreviewUrl, $sslScanResult, $sslManualOverride); $this->videoSourceUrl = $videoSourceUrl; diff --git a/src/Google/AdsApi/AdManager/v202505/VideoMetadata.php b/src/Google/AdsApi/AdManager/v202505/VideoMetadata.php index c5b2725bb..e7f9939a0 100644 --- a/src/Google/AdsApi/AdManager/v202505/VideoMetadata.php +++ b/src/Google/AdsApi/AdManager/v202505/VideoMetadata.php @@ -65,7 +65,7 @@ class VideoMetadata * @param string $deliveryType * @param string[] $codecs */ - public function __construct($scalableType = null, $duration = null, $bitRate = null, $minimumBitRate = null, $maximumBitRate = null, $size = null, $mimeType = null, $deliveryType = null, array $codecs = null) + public function __construct($scalableType = null, $duration = null, $bitRate = null, $minimumBitRate = null, $maximumBitRate = null, $size = null, $mimeType = null, $deliveryType = null, ?array $codecs = null) { $this->scalableType = $scalableType; $this->duration = $duration; @@ -234,7 +234,7 @@ public function getCodecs() * @param string[]|null $codecs * @return \Google\AdsApi\AdManager\v202505\VideoMetadata */ - public function setCodecs(array $codecs = null) + public function setCodecs(?array $codecs = null) { $this->codecs = $codecs; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/VideoPositionTargeting.php b/src/Google/AdsApi/AdManager/v202505/VideoPositionTargeting.php index f3f591c61..e2da53f44 100644 --- a/src/Google/AdsApi/AdManager/v202505/VideoPositionTargeting.php +++ b/src/Google/AdsApi/AdManager/v202505/VideoPositionTargeting.php @@ -17,7 +17,7 @@ class VideoPositionTargeting /** * @param \Google\AdsApi\AdManager\v202505\VideoPositionTarget[] $targetedPositions */ - public function __construct(array $targetedPositions = null) + public function __construct(?array $targetedPositions = null) { $this->targetedPositions = $targetedPositions; } @@ -34,7 +34,7 @@ public function getTargetedPositions() * @param \Google\AdsApi\AdManager\v202505\VideoPositionTarget[]|null $targetedPositions * @return \Google\AdsApi\AdManager\v202505\VideoPositionTargeting */ - public function setTargetedPositions(array $targetedPositions = null) + public function setTargetedPositions(?array $targetedPositions = null) { $this->targetedPositions = $targetedPositions; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/VideoPositionTargetingError.php b/src/Google/AdsApi/AdManager/v202505/VideoPositionTargetingError.php index 6127f770f..692d74080 100644 --- a/src/Google/AdsApi/AdManager/v202505/VideoPositionTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202505/VideoPositionTargetingError.php @@ -21,7 +21,7 @@ class VideoPositionTargetingError extends \Google\AdsApi\AdManager\v202505\ApiEr * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/VideoRedirectCreative.php b/src/Google/AdsApi/AdManager/v202505/VideoRedirectCreative.php index 09feb6430..7a5a9a2f0 100644 --- a/src/Google/AdsApi/AdManager/v202505/VideoRedirectCreative.php +++ b/src/Google/AdsApi/AdManager/v202505/VideoRedirectCreative.php @@ -47,7 +47,7 @@ class VideoRedirectCreative extends \Google\AdsApi\AdManager\v202505\BaseVideoCr * @param \Google\AdsApi\AdManager\v202505\VideoRedirectAsset[] $videoAssets * @param \Google\AdsApi\AdManager\v202505\VideoRedirectAsset $mezzanineFile */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, array $trackingUrls = null, array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, array $videoAssets = null, $mezzanineFile = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, ?array $trackingUrls = null, ?array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, ?array $videoAssets = null, $mezzanineFile = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $destinationUrl, $destinationUrlType, $duration, $allowDurationOverride, $trackingUrls, $companionCreativeIds, $customParameters, $adId, $adIdType, $skippableAdType, $vastPreviewUrl, $sslScanResult, $sslManualOverride); $this->videoAssets = $videoAssets; @@ -66,7 +66,7 @@ public function getVideoAssets() * @param \Google\AdsApi\AdManager\v202505\VideoRedirectAsset[]|null $videoAssets * @return \Google\AdsApi\AdManager\v202505\VideoRedirectCreative */ - public function setVideoAssets(array $videoAssets = null) + public function setVideoAssets(?array $videoAssets = null) { $this->videoAssets = $videoAssets; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/VodStreamCreateRequest.php b/src/Google/AdsApi/AdManager/v202505/VodStreamCreateRequest.php index 34b33bbfc..04ae6b722 100644 --- a/src/Google/AdsApi/AdManager/v202505/VodStreamCreateRequest.php +++ b/src/Google/AdsApi/AdManager/v202505/VodStreamCreateRequest.php @@ -44,7 +44,7 @@ class VodStreamCreateRequest extends \Google\AdsApi\AdManager\v202505\StreamCrea * @param string $contentName * @param int[] $cuePoints */ - public function __construct($url = null, $userAgent = null, $reportingType = null, $contentSourceId = null, $videoId = null, $contentId = null, $contentName = null, array $cuePoints = null) + public function __construct($url = null, $userAgent = null, $reportingType = null, $contentSourceId = null, $videoId = null, $contentId = null, $contentName = null, ?array $cuePoints = null) { parent::__construct($url, $userAgent, $reportingType); $this->contentSourceId = $contentSourceId; @@ -140,7 +140,7 @@ public function getCuePoints() * @param int[]|null $cuePoints * @return \Google\AdsApi\AdManager\v202505\VodStreamCreateRequest */ - public function setCuePoints(array $cuePoints = null) + public function setCuePoints(?array $cuePoints = null) { $this->cuePoints = $cuePoints; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/YieldError.php b/src/Google/AdsApi/AdManager/v202505/YieldError.php index c277f8456..68f52bcf0 100644 --- a/src/Google/AdsApi/AdManager/v202505/YieldError.php +++ b/src/Google/AdsApi/AdManager/v202505/YieldError.php @@ -21,7 +21,7 @@ class YieldError extends \Google\AdsApi\AdManager\v202505\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202505/YieldGroup.php b/src/Google/AdsApi/AdManager/v202505/YieldGroup.php index 22ce9d47f..699515265 100644 --- a/src/Google/AdsApi/AdManager/v202505/YieldGroup.php +++ b/src/Google/AdsApi/AdManager/v202505/YieldGroup.php @@ -53,7 +53,7 @@ class YieldGroup * @param \Google\AdsApi\AdManager\v202505\Targeting $targeting * @param \Google\AdsApi\AdManager\v202505\YieldAdSource[] $adSources */ - public function __construct($yieldGroupId = null, $yieldGroupName = null, $exchangeStatus = null, $format = null, $environmentType = null, $targeting = null, array $adSources = null) + public function __construct($yieldGroupId = null, $yieldGroupName = null, $exchangeStatus = null, $format = null, $environmentType = null, $targeting = null, ?array $adSources = null) { $this->yieldGroupId = $yieldGroupId; $this->yieldGroupName = $yieldGroupName; @@ -185,7 +185,7 @@ public function getAdSources() * @param \Google\AdsApi\AdManager\v202505\YieldAdSource[]|null $adSources * @return \Google\AdsApi\AdManager\v202505\YieldGroup */ - public function setAdSources(array $adSources = null) + public function setAdSources(?array $adSources = null) { $this->adSources = $adSources; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/YieldGroupPage.php b/src/Google/AdsApi/AdManager/v202505/YieldGroupPage.php index 4642ab67d..297342717 100644 --- a/src/Google/AdsApi/AdManager/v202505/YieldGroupPage.php +++ b/src/Google/AdsApi/AdManager/v202505/YieldGroupPage.php @@ -29,7 +29,7 @@ class YieldGroupPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202505\YieldGroup[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202505\YieldGroup[]|null $results * @return \Google\AdsApi\AdManager\v202505\YieldGroupPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/YieldPartner.php b/src/Google/AdsApi/AdManager/v202505/YieldPartner.php index 6671eb8ca..e0c90111a 100644 --- a/src/Google/AdsApi/AdManager/v202505/YieldPartner.php +++ b/src/Google/AdsApi/AdManager/v202505/YieldPartner.php @@ -23,7 +23,7 @@ class YieldPartner * @param int $companyId * @param \Google\AdsApi\AdManager\v202505\YieldPartnerSettings[] $settings */ - public function __construct($companyId = null, array $settings = null) + public function __construct($companyId = null, ?array $settings = null) { $this->companyId = $companyId; $this->settings = $settings; @@ -60,7 +60,7 @@ public function getSettings() * @param \Google\AdsApi\AdManager\v202505\YieldPartnerSettings[]|null $settings * @return \Google\AdsApi\AdManager\v202505\YieldPartner */ - public function setSettings(array $settings = null) + public function setSettings(?array $settings = null) { $this->settings = $settings; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/YieldPartnerSettings.php b/src/Google/AdsApi/AdManager/v202505/YieldPartnerSettings.php index 31da797f4..5bb4fa33f 100644 --- a/src/Google/AdsApi/AdManager/v202505/YieldPartnerSettings.php +++ b/src/Google/AdsApi/AdManager/v202505/YieldPartnerSettings.php @@ -47,7 +47,7 @@ class YieldPartnerSettings * @param string $platform * @param \Google\AdsApi\AdManager\v202505\YieldParameter[] $parameters */ - public function __construct($status = null, $environment = null, $format = null, $integrationType = null, $platform = null, array $parameters = null) + public function __construct($status = null, $environment = null, $format = null, $integrationType = null, $platform = null, ?array $parameters = null) { $this->status = $status; $this->environment = $environment; @@ -159,7 +159,7 @@ public function getParameters() * @param \Google\AdsApi\AdManager\v202505\YieldParameter[]|null $parameters * @return \Google\AdsApi\AdManager\v202505\YieldPartnerSettings */ - public function setParameters(array $parameters = null) + public function setParameters(?array $parameters = null) { $this->parameters = $parameters; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createAdRulesResponse.php b/src/Google/AdsApi/AdManager/v202505/createAdRulesResponse.php index 979efb00a..5f5614ead 100644 --- a/src/Google/AdsApi/AdManager/v202505/createAdRulesResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createAdRulesResponse.php @@ -17,7 +17,7 @@ class createAdRulesResponse /** * @param \Google\AdsApi\AdManager\v202505\AdRule[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\AdRule[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createAdRulesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createAdSpotsResponse.php b/src/Google/AdsApi/AdManager/v202505/createAdSpotsResponse.php index 72ca74e43..84e6b0609 100644 --- a/src/Google/AdsApi/AdManager/v202505/createAdSpotsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createAdSpotsResponse.php @@ -17,7 +17,7 @@ class createAdSpotsResponse /** * @param \Google\AdsApi\AdManager\v202505\AdSpot[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\AdSpot[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createAdSpotsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createAdUnitsResponse.php b/src/Google/AdsApi/AdManager/v202505/createAdUnitsResponse.php index 62aad7af5..62ca56d11 100644 --- a/src/Google/AdsApi/AdManager/v202505/createAdUnitsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createAdUnitsResponse.php @@ -17,7 +17,7 @@ class createAdUnitsResponse /** * @param \Google\AdsApi\AdManager\v202505\AdUnit[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\AdUnit[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createAdUnitsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createAudienceSegmentsResponse.php b/src/Google/AdsApi/AdManager/v202505/createAudienceSegmentsResponse.php index 55aebc1a1..e389d70b9 100644 --- a/src/Google/AdsApi/AdManager/v202505/createAudienceSegmentsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createAudienceSegmentsResponse.php @@ -17,7 +17,7 @@ class createAudienceSegmentsResponse /** * @param \Google\AdsApi\AdManager\v202505\FirstPartyAudienceSegment[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\FirstPartyAudienceSegment[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createAudienceSegmentsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createBreakTemplatesResponse.php b/src/Google/AdsApi/AdManager/v202505/createBreakTemplatesResponse.php index 08956c5c5..375d20027 100644 --- a/src/Google/AdsApi/AdManager/v202505/createBreakTemplatesResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createBreakTemplatesResponse.php @@ -17,7 +17,7 @@ class createBreakTemplatesResponse /** * @param \Google\AdsApi\AdManager\v202505\BreakTemplate[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\BreakTemplate[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createBreakTemplatesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createCdnConfigurationsResponse.php b/src/Google/AdsApi/AdManager/v202505/createCdnConfigurationsResponse.php index b4854ab69..4fcf0261b 100644 --- a/src/Google/AdsApi/AdManager/v202505/createCdnConfigurationsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createCdnConfigurationsResponse.php @@ -17,7 +17,7 @@ class createCdnConfigurationsResponse /** * @param \Google\AdsApi\AdManager\v202505\CdnConfiguration[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\CdnConfiguration[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createCdnConfigurationsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createCompaniesResponse.php b/src/Google/AdsApi/AdManager/v202505/createCompaniesResponse.php index ddc6e2e05..6a4febd67 100644 --- a/src/Google/AdsApi/AdManager/v202505/createCompaniesResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createCompaniesResponse.php @@ -17,7 +17,7 @@ class createCompaniesResponse /** * @param \Google\AdsApi\AdManager\v202505\Company[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\Company[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createCompaniesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createContactsResponse.php b/src/Google/AdsApi/AdManager/v202505/createContactsResponse.php index f9bdb9199..20468d21a 100644 --- a/src/Google/AdsApi/AdManager/v202505/createContactsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createContactsResponse.php @@ -17,7 +17,7 @@ class createContactsResponse /** * @param \Google\AdsApi\AdManager\v202505\Contact[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\Contact[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createContactsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createContentBundlesResponse.php b/src/Google/AdsApi/AdManager/v202505/createContentBundlesResponse.php index 7c8f95e78..7093014c4 100644 --- a/src/Google/AdsApi/AdManager/v202505/createContentBundlesResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createContentBundlesResponse.php @@ -17,7 +17,7 @@ class createContentBundlesResponse /** * @param \Google\AdsApi\AdManager\v202505\ContentBundle[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\ContentBundle[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createContentBundlesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createCreativeWrappersResponse.php b/src/Google/AdsApi/AdManager/v202505/createCreativeWrappersResponse.php index 06a53a340..9e7e2a3dc 100644 --- a/src/Google/AdsApi/AdManager/v202505/createCreativeWrappersResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createCreativeWrappersResponse.php @@ -17,7 +17,7 @@ class createCreativeWrappersResponse /** * @param \Google\AdsApi\AdManager\v202505\CreativeWrapper[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\CreativeWrapper[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createCreativeWrappersResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createCreativesResponse.php b/src/Google/AdsApi/AdManager/v202505/createCreativesResponse.php index 6305253cf..7fc84ddbe 100644 --- a/src/Google/AdsApi/AdManager/v202505/createCreativesResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createCreativesResponse.php @@ -17,7 +17,7 @@ class createCreativesResponse /** * @param \Google\AdsApi\AdManager\v202505\Creative[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\Creative[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createCreativesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createCustomFieldOptionsResponse.php b/src/Google/AdsApi/AdManager/v202505/createCustomFieldOptionsResponse.php index 7db95c2f9..8b135c1df 100644 --- a/src/Google/AdsApi/AdManager/v202505/createCustomFieldOptionsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createCustomFieldOptionsResponse.php @@ -17,7 +17,7 @@ class createCustomFieldOptionsResponse /** * @param \Google\AdsApi\AdManager\v202505\CustomFieldOption[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\CustomFieldOption[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createCustomFieldOptionsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createCustomFieldsResponse.php b/src/Google/AdsApi/AdManager/v202505/createCustomFieldsResponse.php index bc0e4e292..451764192 100644 --- a/src/Google/AdsApi/AdManager/v202505/createCustomFieldsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createCustomFieldsResponse.php @@ -17,7 +17,7 @@ class createCustomFieldsResponse /** * @param \Google\AdsApi\AdManager\v202505\CustomField[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\CustomField[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createCustomFieldsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createCustomTargetingKeysResponse.php b/src/Google/AdsApi/AdManager/v202505/createCustomTargetingKeysResponse.php index 5fd7caa03..7f2732c63 100644 --- a/src/Google/AdsApi/AdManager/v202505/createCustomTargetingKeysResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createCustomTargetingKeysResponse.php @@ -17,7 +17,7 @@ class createCustomTargetingKeysResponse /** * @param \Google\AdsApi\AdManager\v202505\CustomTargetingKey[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\CustomTargetingKey[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createCustomTargetingKeysResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createCustomTargetingValuesResponse.php b/src/Google/AdsApi/AdManager/v202505/createCustomTargetingValuesResponse.php index 0fef3c837..0f34e1973 100644 --- a/src/Google/AdsApi/AdManager/v202505/createCustomTargetingValuesResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createCustomTargetingValuesResponse.php @@ -17,7 +17,7 @@ class createCustomTargetingValuesResponse /** * @param \Google\AdsApi\AdManager\v202505\CustomTargetingValue[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\CustomTargetingValue[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createCustomTargetingValuesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createDaiAuthenticationKeysResponse.php b/src/Google/AdsApi/AdManager/v202505/createDaiAuthenticationKeysResponse.php index 9c0939dba..ee7b38270 100644 --- a/src/Google/AdsApi/AdManager/v202505/createDaiAuthenticationKeysResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createDaiAuthenticationKeysResponse.php @@ -17,7 +17,7 @@ class createDaiAuthenticationKeysResponse /** * @param \Google\AdsApi\AdManager\v202505\DaiAuthenticationKey[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\DaiAuthenticationKey[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createDaiAuthenticationKeysResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createDaiEncodingProfilesResponse.php b/src/Google/AdsApi/AdManager/v202505/createDaiEncodingProfilesResponse.php index 052773ee3..571605891 100644 --- a/src/Google/AdsApi/AdManager/v202505/createDaiEncodingProfilesResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createDaiEncodingProfilesResponse.php @@ -17,7 +17,7 @@ class createDaiEncodingProfilesResponse /** * @param \Google\AdsApi\AdManager\v202505\DaiEncodingProfile[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\DaiEncodingProfile[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createDaiEncodingProfilesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createForecastAdjustmentsResponse.php b/src/Google/AdsApi/AdManager/v202505/createForecastAdjustmentsResponse.php index 1d69fadf7..fb54bfb49 100644 --- a/src/Google/AdsApi/AdManager/v202505/createForecastAdjustmentsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createForecastAdjustmentsResponse.php @@ -17,7 +17,7 @@ class createForecastAdjustmentsResponse /** * @param \Google\AdsApi\AdManager\v202505\ForecastAdjustment[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\ForecastAdjustment[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createForecastAdjustmentsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createLabelsResponse.php b/src/Google/AdsApi/AdManager/v202505/createLabelsResponse.php index b5ed6d158..cccb58f9b 100644 --- a/src/Google/AdsApi/AdManager/v202505/createLabelsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createLabelsResponse.php @@ -17,7 +17,7 @@ class createLabelsResponse /** * @param \Google\AdsApi\AdManager\v202505\Label[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\Label[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createLabelsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createLineItemCreativeAssociationsResponse.php b/src/Google/AdsApi/AdManager/v202505/createLineItemCreativeAssociationsResponse.php index 63344154d..106e8103a 100644 --- a/src/Google/AdsApi/AdManager/v202505/createLineItemCreativeAssociationsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createLineItemCreativeAssociationsResponse.php @@ -17,7 +17,7 @@ class createLineItemCreativeAssociationsResponse /** * @param \Google\AdsApi\AdManager\v202505\LineItemCreativeAssociation[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\LineItemCreativeAssociation[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createLineItemCreativeAssociationsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createLineItemsResponse.php b/src/Google/AdsApi/AdManager/v202505/createLineItemsResponse.php index b1508517b..e919a1c4f 100644 --- a/src/Google/AdsApi/AdManager/v202505/createLineItemsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createLineItemsResponse.php @@ -17,7 +17,7 @@ class createLineItemsResponse /** * @param \Google\AdsApi\AdManager\v202505\LineItem[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\LineItem[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createLineItemsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createLiveStreamEventsResponse.php b/src/Google/AdsApi/AdManager/v202505/createLiveStreamEventsResponse.php index 0a5baf821..c0037045d 100644 --- a/src/Google/AdsApi/AdManager/v202505/createLiveStreamEventsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createLiveStreamEventsResponse.php @@ -17,7 +17,7 @@ class createLiveStreamEventsResponse /** * @param \Google\AdsApi\AdManager\v202505\LiveStreamEvent[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\LiveStreamEvent[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createLiveStreamEventsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createMakegoodsResponse.php b/src/Google/AdsApi/AdManager/v202505/createMakegoodsResponse.php index 5db525e32..753f80e37 100644 --- a/src/Google/AdsApi/AdManager/v202505/createMakegoodsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createMakegoodsResponse.php @@ -17,7 +17,7 @@ class createMakegoodsResponse /** * @param \Google\AdsApi\AdManager\v202505\ProposalLineItem[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\ProposalLineItem[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createMakegoodsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createMobileApplicationsResponse.php b/src/Google/AdsApi/AdManager/v202505/createMobileApplicationsResponse.php index c269040ac..2eaf0c733 100644 --- a/src/Google/AdsApi/AdManager/v202505/createMobileApplicationsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createMobileApplicationsResponse.php @@ -17,7 +17,7 @@ class createMobileApplicationsResponse /** * @param \Google\AdsApi\AdManager\v202505\MobileApplication[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\MobileApplication[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createMobileApplicationsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createNativeStylesResponse.php b/src/Google/AdsApi/AdManager/v202505/createNativeStylesResponse.php index 703d3c165..248a45172 100644 --- a/src/Google/AdsApi/AdManager/v202505/createNativeStylesResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createNativeStylesResponse.php @@ -17,7 +17,7 @@ class createNativeStylesResponse /** * @param \Google\AdsApi\AdManager\v202505\NativeStyle[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\NativeStyle[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createNativeStylesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createOrdersResponse.php b/src/Google/AdsApi/AdManager/v202505/createOrdersResponse.php index 20826585d..8e7772554 100644 --- a/src/Google/AdsApi/AdManager/v202505/createOrdersResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createOrdersResponse.php @@ -17,7 +17,7 @@ class createOrdersResponse /** * @param \Google\AdsApi\AdManager\v202505\Order[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\Order[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createOrdersResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createPlacementsResponse.php b/src/Google/AdsApi/AdManager/v202505/createPlacementsResponse.php index 5af5cb161..5276a1909 100644 --- a/src/Google/AdsApi/AdManager/v202505/createPlacementsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createPlacementsResponse.php @@ -17,7 +17,7 @@ class createPlacementsResponse /** * @param \Google\AdsApi\AdManager\v202505\Placement[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\Placement[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createPlacementsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createProposalLineItemsResponse.php b/src/Google/AdsApi/AdManager/v202505/createProposalLineItemsResponse.php index 1528a42a0..81051356f 100644 --- a/src/Google/AdsApi/AdManager/v202505/createProposalLineItemsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createProposalLineItemsResponse.php @@ -17,7 +17,7 @@ class createProposalLineItemsResponse /** * @param \Google\AdsApi\AdManager\v202505\ProposalLineItem[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\ProposalLineItem[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createProposalLineItemsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createProposalsResponse.php b/src/Google/AdsApi/AdManager/v202505/createProposalsResponse.php index 629dbf774..a0bd000da 100644 --- a/src/Google/AdsApi/AdManager/v202505/createProposalsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createProposalsResponse.php @@ -17,7 +17,7 @@ class createProposalsResponse /** * @param \Google\AdsApi\AdManager\v202505\Proposal[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\Proposal[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createProposalsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createSitesResponse.php b/src/Google/AdsApi/AdManager/v202505/createSitesResponse.php index d37b816ad..486eec010 100644 --- a/src/Google/AdsApi/AdManager/v202505/createSitesResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createSitesResponse.php @@ -17,7 +17,7 @@ class createSitesResponse /** * @param \Google\AdsApi\AdManager\v202505\Site[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\Site[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createSitesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createSlatesResponse.php b/src/Google/AdsApi/AdManager/v202505/createSlatesResponse.php index 105fb0384..1d889b1de 100644 --- a/src/Google/AdsApi/AdManager/v202505/createSlatesResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createSlatesResponse.php @@ -17,7 +17,7 @@ class createSlatesResponse /** * @param \Google\AdsApi\AdManager\v202505\Slate[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\Slate[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createSlatesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createTargetingPresetsResponse.php b/src/Google/AdsApi/AdManager/v202505/createTargetingPresetsResponse.php index 1a545f2ca..9cdb7828e 100644 --- a/src/Google/AdsApi/AdManager/v202505/createTargetingPresetsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createTargetingPresetsResponse.php @@ -17,7 +17,7 @@ class createTargetingPresetsResponse /** * @param \Google\AdsApi\AdManager\v202505\TargetingPreset[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\TargetingPreset[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createTargetingPresetsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createTeamsResponse.php b/src/Google/AdsApi/AdManager/v202505/createTeamsResponse.php index aedc0ec02..0ca19474a 100644 --- a/src/Google/AdsApi/AdManager/v202505/createTeamsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createTeamsResponse.php @@ -17,7 +17,7 @@ class createTeamsResponse /** * @param \Google\AdsApi\AdManager\v202505\Team[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\Team[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createTeamsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createTrafficForecastSegmentsResponse.php b/src/Google/AdsApi/AdManager/v202505/createTrafficForecastSegmentsResponse.php index adeb3195c..79556c003 100644 --- a/src/Google/AdsApi/AdManager/v202505/createTrafficForecastSegmentsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createTrafficForecastSegmentsResponse.php @@ -17,7 +17,7 @@ class createTrafficForecastSegmentsResponse /** * @param \Google\AdsApi\AdManager\v202505\TrafficForecastSegment[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\TrafficForecastSegment[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createTrafficForecastSegmentsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createUserTeamAssociationsResponse.php b/src/Google/AdsApi/AdManager/v202505/createUserTeamAssociationsResponse.php index 1d6d9b956..c42fe52e2 100644 --- a/src/Google/AdsApi/AdManager/v202505/createUserTeamAssociationsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createUserTeamAssociationsResponse.php @@ -17,7 +17,7 @@ class createUserTeamAssociationsResponse /** * @param \Google\AdsApi\AdManager\v202505\UserTeamAssociation[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\UserTeamAssociation[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createUserTeamAssociationsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createUsersResponse.php b/src/Google/AdsApi/AdManager/v202505/createUsersResponse.php index 152291c00..09b52a948 100644 --- a/src/Google/AdsApi/AdManager/v202505/createUsersResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createUsersResponse.php @@ -17,7 +17,7 @@ class createUsersResponse /** * @param \Google\AdsApi\AdManager\v202505\User[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\User[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createUsersResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/createYieldGroupsResponse.php b/src/Google/AdsApi/AdManager/v202505/createYieldGroupsResponse.php index b0835598f..788015c80 100644 --- a/src/Google/AdsApi/AdManager/v202505/createYieldGroupsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/createYieldGroupsResponse.php @@ -17,7 +17,7 @@ class createYieldGroupsResponse /** * @param \Google\AdsApi\AdManager\v202505\YieldGroup[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\YieldGroup[]|null $rval * @return \Google\AdsApi\AdManager\v202505\createYieldGroupsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/getAdUnitSizesByStatementResponse.php b/src/Google/AdsApi/AdManager/v202505/getAdUnitSizesByStatementResponse.php index 73fe8e6f0..aac99bfd7 100644 --- a/src/Google/AdsApi/AdManager/v202505/getAdUnitSizesByStatementResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/getAdUnitSizesByStatementResponse.php @@ -17,7 +17,7 @@ class getAdUnitSizesByStatementResponse /** * @param \Google\AdsApi\AdManager\v202505\AdUnitSize[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\AdUnitSize[]|null $rval * @return \Google\AdsApi\AdManager\v202505\getAdUnitSizesByStatementResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/getAllNetworksResponse.php b/src/Google/AdsApi/AdManager/v202505/getAllNetworksResponse.php index 1839d646d..58d534291 100644 --- a/src/Google/AdsApi/AdManager/v202505/getAllNetworksResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/getAllNetworksResponse.php @@ -17,7 +17,7 @@ class getAllNetworksResponse /** * @param \Google\AdsApi\AdManager\v202505\Network[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\Network[]|null $rval * @return \Google\AdsApi\AdManager\v202505\getAllNetworksResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/getAllRolesResponse.php b/src/Google/AdsApi/AdManager/v202505/getAllRolesResponse.php index 67ff7600e..45af4f3e3 100644 --- a/src/Google/AdsApi/AdManager/v202505/getAllRolesResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/getAllRolesResponse.php @@ -17,7 +17,7 @@ class getAllRolesResponse /** * @param \Google\AdsApi\AdManager\v202505\Role[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\Role[]|null $rval * @return \Google\AdsApi\AdManager\v202505\getAllRolesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/getPreviewUrlsForNativeStylesResponse.php b/src/Google/AdsApi/AdManager/v202505/getPreviewUrlsForNativeStylesResponse.php index 23b82f9f9..807a86594 100644 --- a/src/Google/AdsApi/AdManager/v202505/getPreviewUrlsForNativeStylesResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/getPreviewUrlsForNativeStylesResponse.php @@ -17,7 +17,7 @@ class getPreviewUrlsForNativeStylesResponse /** * @param \Google\AdsApi\AdManager\v202505\CreativeNativeStylePreview[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\CreativeNativeStylePreview[]|null $rval * @return \Google\AdsApi\AdManager\v202505\getPreviewUrlsForNativeStylesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/getSamSessionsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202505/getSamSessionsByStatementResponse.php index 5980ee095..afe20749a 100644 --- a/src/Google/AdsApi/AdManager/v202505/getSamSessionsByStatementResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/getSamSessionsByStatementResponse.php @@ -17,7 +17,7 @@ class getSamSessionsByStatementResponse /** * @param \Google\AdsApi\AdManager\v202505\SamSession[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\SamSession[]|null $rval * @return \Google\AdsApi\AdManager\v202505\getSamSessionsByStatementResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/getSegmentPopulationResultsByIdsResponse.php b/src/Google/AdsApi/AdManager/v202505/getSegmentPopulationResultsByIdsResponse.php index ff9ad33f2..9ff14f153 100644 --- a/src/Google/AdsApi/AdManager/v202505/getSegmentPopulationResultsByIdsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/getSegmentPopulationResultsByIdsResponse.php @@ -17,7 +17,7 @@ class getSegmentPopulationResultsByIdsResponse /** * @param \Google\AdsApi\AdManager\v202505\SegmentPopulationResults[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\SegmentPopulationResults[]|null $rval * @return \Google\AdsApi\AdManager\v202505\getSegmentPopulationResultsByIdsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/getYieldPartnersResponse.php b/src/Google/AdsApi/AdManager/v202505/getYieldPartnersResponse.php index f24cdb664..f8184cc3d 100644 --- a/src/Google/AdsApi/AdManager/v202505/getYieldPartnersResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/getYieldPartnersResponse.php @@ -17,7 +17,7 @@ class getYieldPartnersResponse /** * @param \Google\AdsApi\AdManager\v202505\YieldPartner[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\YieldPartner[]|null $rval * @return \Google\AdsApi\AdManager\v202505\getYieldPartnersResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/registerSessionsForMonitoringResponse.php b/src/Google/AdsApi/AdManager/v202505/registerSessionsForMonitoringResponse.php index 136fc625b..cce0ab8fd 100644 --- a/src/Google/AdsApi/AdManager/v202505/registerSessionsForMonitoringResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/registerSessionsForMonitoringResponse.php @@ -17,7 +17,7 @@ class registerSessionsForMonitoringResponse /** * @param string[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param string[]|null $rval * @return \Google\AdsApi\AdManager\v202505\registerSessionsForMonitoringResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/updateAdRulesResponse.php b/src/Google/AdsApi/AdManager/v202505/updateAdRulesResponse.php index 65bb0b25f..44952142a 100644 --- a/src/Google/AdsApi/AdManager/v202505/updateAdRulesResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/updateAdRulesResponse.php @@ -17,7 +17,7 @@ class updateAdRulesResponse /** * @param \Google\AdsApi\AdManager\v202505\AdRule[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\AdRule[]|null $rval * @return \Google\AdsApi\AdManager\v202505\updateAdRulesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/updateAdSpotsResponse.php b/src/Google/AdsApi/AdManager/v202505/updateAdSpotsResponse.php index 2a35e6477..23bf473b8 100644 --- a/src/Google/AdsApi/AdManager/v202505/updateAdSpotsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/updateAdSpotsResponse.php @@ -17,7 +17,7 @@ class updateAdSpotsResponse /** * @param \Google\AdsApi\AdManager\v202505\AdSpot[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\AdSpot[]|null $rval * @return \Google\AdsApi\AdManager\v202505\updateAdSpotsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/updateAdUnitsResponse.php b/src/Google/AdsApi/AdManager/v202505/updateAdUnitsResponse.php index 2f213c528..3240a54fb 100644 --- a/src/Google/AdsApi/AdManager/v202505/updateAdUnitsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/updateAdUnitsResponse.php @@ -17,7 +17,7 @@ class updateAdUnitsResponse /** * @param \Google\AdsApi\AdManager\v202505\AdUnit[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\AdUnit[]|null $rval * @return \Google\AdsApi\AdManager\v202505\updateAdUnitsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/updateAudienceSegmentsResponse.php b/src/Google/AdsApi/AdManager/v202505/updateAudienceSegmentsResponse.php index 83c339303..7e9ceffcf 100644 --- a/src/Google/AdsApi/AdManager/v202505/updateAudienceSegmentsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/updateAudienceSegmentsResponse.php @@ -17,7 +17,7 @@ class updateAudienceSegmentsResponse /** * @param \Google\AdsApi\AdManager\v202505\FirstPartyAudienceSegment[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\FirstPartyAudienceSegment[]|null $rval * @return \Google\AdsApi\AdManager\v202505\updateAudienceSegmentsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/updateBreakTemplatesResponse.php b/src/Google/AdsApi/AdManager/v202505/updateBreakTemplatesResponse.php index f60e535c0..87037fccb 100644 --- a/src/Google/AdsApi/AdManager/v202505/updateBreakTemplatesResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/updateBreakTemplatesResponse.php @@ -17,7 +17,7 @@ class updateBreakTemplatesResponse /** * @param \Google\AdsApi\AdManager\v202505\BreakTemplate[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\BreakTemplate[]|null $rval * @return \Google\AdsApi\AdManager\v202505\updateBreakTemplatesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/updateCdnConfigurationsResponse.php b/src/Google/AdsApi/AdManager/v202505/updateCdnConfigurationsResponse.php index 59d4d9905..b04fc0ba7 100644 --- a/src/Google/AdsApi/AdManager/v202505/updateCdnConfigurationsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/updateCdnConfigurationsResponse.php @@ -17,7 +17,7 @@ class updateCdnConfigurationsResponse /** * @param \Google\AdsApi\AdManager\v202505\CdnConfiguration[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\CdnConfiguration[]|null $rval * @return \Google\AdsApi\AdManager\v202505\updateCdnConfigurationsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/updateCompaniesResponse.php b/src/Google/AdsApi/AdManager/v202505/updateCompaniesResponse.php index 33a135358..77b2c7bb4 100644 --- a/src/Google/AdsApi/AdManager/v202505/updateCompaniesResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/updateCompaniesResponse.php @@ -17,7 +17,7 @@ class updateCompaniesResponse /** * @param \Google\AdsApi\AdManager\v202505\Company[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\Company[]|null $rval * @return \Google\AdsApi\AdManager\v202505\updateCompaniesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/updateContactsResponse.php b/src/Google/AdsApi/AdManager/v202505/updateContactsResponse.php index a9ca89480..39388d313 100644 --- a/src/Google/AdsApi/AdManager/v202505/updateContactsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/updateContactsResponse.php @@ -17,7 +17,7 @@ class updateContactsResponse /** * @param \Google\AdsApi\AdManager\v202505\Contact[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\Contact[]|null $rval * @return \Google\AdsApi\AdManager\v202505\updateContactsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/updateContentBundlesResponse.php b/src/Google/AdsApi/AdManager/v202505/updateContentBundlesResponse.php index bf56cee47..8f02c4d59 100644 --- a/src/Google/AdsApi/AdManager/v202505/updateContentBundlesResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/updateContentBundlesResponse.php @@ -17,7 +17,7 @@ class updateContentBundlesResponse /** * @param \Google\AdsApi\AdManager\v202505\ContentBundle[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\ContentBundle[]|null $rval * @return \Google\AdsApi\AdManager\v202505\updateContentBundlesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/updateCreativeWrappersResponse.php b/src/Google/AdsApi/AdManager/v202505/updateCreativeWrappersResponse.php index fc69d28a5..e30f4139a 100644 --- a/src/Google/AdsApi/AdManager/v202505/updateCreativeWrappersResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/updateCreativeWrappersResponse.php @@ -17,7 +17,7 @@ class updateCreativeWrappersResponse /** * @param \Google\AdsApi\AdManager\v202505\CreativeWrapper[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\CreativeWrapper[]|null $rval * @return \Google\AdsApi\AdManager\v202505\updateCreativeWrappersResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/updateCreativesResponse.php b/src/Google/AdsApi/AdManager/v202505/updateCreativesResponse.php index 0cde2b2b1..87067e47d 100644 --- a/src/Google/AdsApi/AdManager/v202505/updateCreativesResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/updateCreativesResponse.php @@ -17,7 +17,7 @@ class updateCreativesResponse /** * @param \Google\AdsApi\AdManager\v202505\Creative[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\Creative[]|null $rval * @return \Google\AdsApi\AdManager\v202505\updateCreativesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/updateCustomFieldOptionsResponse.php b/src/Google/AdsApi/AdManager/v202505/updateCustomFieldOptionsResponse.php index a726f0bd2..cbffd9706 100644 --- a/src/Google/AdsApi/AdManager/v202505/updateCustomFieldOptionsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/updateCustomFieldOptionsResponse.php @@ -17,7 +17,7 @@ class updateCustomFieldOptionsResponse /** * @param \Google\AdsApi\AdManager\v202505\CustomFieldOption[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\CustomFieldOption[]|null $rval * @return \Google\AdsApi\AdManager\v202505\updateCustomFieldOptionsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/updateCustomFieldsResponse.php b/src/Google/AdsApi/AdManager/v202505/updateCustomFieldsResponse.php index 55a53ff78..abf200e35 100644 --- a/src/Google/AdsApi/AdManager/v202505/updateCustomFieldsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/updateCustomFieldsResponse.php @@ -17,7 +17,7 @@ class updateCustomFieldsResponse /** * @param \Google\AdsApi\AdManager\v202505\CustomField[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\CustomField[]|null $rval * @return \Google\AdsApi\AdManager\v202505\updateCustomFieldsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/updateCustomTargetingKeysResponse.php b/src/Google/AdsApi/AdManager/v202505/updateCustomTargetingKeysResponse.php index 366bfbacc..acfcc47d0 100644 --- a/src/Google/AdsApi/AdManager/v202505/updateCustomTargetingKeysResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/updateCustomTargetingKeysResponse.php @@ -17,7 +17,7 @@ class updateCustomTargetingKeysResponse /** * @param \Google\AdsApi\AdManager\v202505\CustomTargetingKey[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\CustomTargetingKey[]|null $rval * @return \Google\AdsApi\AdManager\v202505\updateCustomTargetingKeysResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/updateCustomTargetingValuesResponse.php b/src/Google/AdsApi/AdManager/v202505/updateCustomTargetingValuesResponse.php index 00d06c07a..3398908f6 100644 --- a/src/Google/AdsApi/AdManager/v202505/updateCustomTargetingValuesResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/updateCustomTargetingValuesResponse.php @@ -17,7 +17,7 @@ class updateCustomTargetingValuesResponse /** * @param \Google\AdsApi\AdManager\v202505\CustomTargetingValue[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\CustomTargetingValue[]|null $rval * @return \Google\AdsApi\AdManager\v202505\updateCustomTargetingValuesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/updateDaiAuthenticationKeysResponse.php b/src/Google/AdsApi/AdManager/v202505/updateDaiAuthenticationKeysResponse.php index 491c15099..3011e628e 100644 --- a/src/Google/AdsApi/AdManager/v202505/updateDaiAuthenticationKeysResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/updateDaiAuthenticationKeysResponse.php @@ -17,7 +17,7 @@ class updateDaiAuthenticationKeysResponse /** * @param \Google\AdsApi\AdManager\v202505\DaiAuthenticationKey[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\DaiAuthenticationKey[]|null $rval * @return \Google\AdsApi\AdManager\v202505\updateDaiAuthenticationKeysResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/updateDaiEncodingProfilesResponse.php b/src/Google/AdsApi/AdManager/v202505/updateDaiEncodingProfilesResponse.php index 7e1db248e..fc47bcc46 100644 --- a/src/Google/AdsApi/AdManager/v202505/updateDaiEncodingProfilesResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/updateDaiEncodingProfilesResponse.php @@ -17,7 +17,7 @@ class updateDaiEncodingProfilesResponse /** * @param \Google\AdsApi\AdManager\v202505\DaiEncodingProfile[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\DaiEncodingProfile[]|null $rval * @return \Google\AdsApi\AdManager\v202505\updateDaiEncodingProfilesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/updateForecastAdjustmentsResponse.php b/src/Google/AdsApi/AdManager/v202505/updateForecastAdjustmentsResponse.php index 18d11cb94..a148c42d6 100644 --- a/src/Google/AdsApi/AdManager/v202505/updateForecastAdjustmentsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/updateForecastAdjustmentsResponse.php @@ -17,7 +17,7 @@ class updateForecastAdjustmentsResponse /** * @param \Google\AdsApi\AdManager\v202505\ForecastAdjustment[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\ForecastAdjustment[]|null $rval * @return \Google\AdsApi\AdManager\v202505\updateForecastAdjustmentsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/updateLabelsResponse.php b/src/Google/AdsApi/AdManager/v202505/updateLabelsResponse.php index f683028e1..cac836337 100644 --- a/src/Google/AdsApi/AdManager/v202505/updateLabelsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/updateLabelsResponse.php @@ -17,7 +17,7 @@ class updateLabelsResponse /** * @param \Google\AdsApi\AdManager\v202505\Label[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\Label[]|null $rval * @return \Google\AdsApi\AdManager\v202505\updateLabelsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/updateLineItemCreativeAssociationsResponse.php b/src/Google/AdsApi/AdManager/v202505/updateLineItemCreativeAssociationsResponse.php index 5256be0ea..e904028fa 100644 --- a/src/Google/AdsApi/AdManager/v202505/updateLineItemCreativeAssociationsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/updateLineItemCreativeAssociationsResponse.php @@ -17,7 +17,7 @@ class updateLineItemCreativeAssociationsResponse /** * @param \Google\AdsApi\AdManager\v202505\LineItemCreativeAssociation[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\LineItemCreativeAssociation[]|null $rval * @return \Google\AdsApi\AdManager\v202505\updateLineItemCreativeAssociationsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/updateLineItemsResponse.php b/src/Google/AdsApi/AdManager/v202505/updateLineItemsResponse.php index eead95785..169b32ff3 100644 --- a/src/Google/AdsApi/AdManager/v202505/updateLineItemsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/updateLineItemsResponse.php @@ -17,7 +17,7 @@ class updateLineItemsResponse /** * @param \Google\AdsApi\AdManager\v202505\LineItem[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\LineItem[]|null $rval * @return \Google\AdsApi\AdManager\v202505\updateLineItemsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/updateLiveStreamEventsResponse.php b/src/Google/AdsApi/AdManager/v202505/updateLiveStreamEventsResponse.php index 99c154b57..bbad941fd 100644 --- a/src/Google/AdsApi/AdManager/v202505/updateLiveStreamEventsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/updateLiveStreamEventsResponse.php @@ -17,7 +17,7 @@ class updateLiveStreamEventsResponse /** * @param \Google\AdsApi\AdManager\v202505\LiveStreamEvent[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\LiveStreamEvent[]|null $rval * @return \Google\AdsApi\AdManager\v202505\updateLiveStreamEventsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/updateMobileApplicationsResponse.php b/src/Google/AdsApi/AdManager/v202505/updateMobileApplicationsResponse.php index dc6471d81..cae985ace 100644 --- a/src/Google/AdsApi/AdManager/v202505/updateMobileApplicationsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/updateMobileApplicationsResponse.php @@ -17,7 +17,7 @@ class updateMobileApplicationsResponse /** * @param \Google\AdsApi\AdManager\v202505\MobileApplication[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\MobileApplication[]|null $rval * @return \Google\AdsApi\AdManager\v202505\updateMobileApplicationsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/updateNativeStylesResponse.php b/src/Google/AdsApi/AdManager/v202505/updateNativeStylesResponse.php index 72b30dd4f..bb0ab963e 100644 --- a/src/Google/AdsApi/AdManager/v202505/updateNativeStylesResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/updateNativeStylesResponse.php @@ -17,7 +17,7 @@ class updateNativeStylesResponse /** * @param \Google\AdsApi\AdManager\v202505\NativeStyle[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\NativeStyle[]|null $rval * @return \Google\AdsApi\AdManager\v202505\updateNativeStylesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/updateOrdersResponse.php b/src/Google/AdsApi/AdManager/v202505/updateOrdersResponse.php index 8c7d361b1..35cf613a5 100644 --- a/src/Google/AdsApi/AdManager/v202505/updateOrdersResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/updateOrdersResponse.php @@ -17,7 +17,7 @@ class updateOrdersResponse /** * @param \Google\AdsApi\AdManager\v202505\Order[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\Order[]|null $rval * @return \Google\AdsApi\AdManager\v202505\updateOrdersResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/updatePlacementsResponse.php b/src/Google/AdsApi/AdManager/v202505/updatePlacementsResponse.php index 8ea6d40e7..41979c2b9 100644 --- a/src/Google/AdsApi/AdManager/v202505/updatePlacementsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/updatePlacementsResponse.php @@ -17,7 +17,7 @@ class updatePlacementsResponse /** * @param \Google\AdsApi\AdManager\v202505\Placement[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\Placement[]|null $rval * @return \Google\AdsApi\AdManager\v202505\updatePlacementsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/updateProposalLineItemsResponse.php b/src/Google/AdsApi/AdManager/v202505/updateProposalLineItemsResponse.php index 312e598fc..69a16ae20 100644 --- a/src/Google/AdsApi/AdManager/v202505/updateProposalLineItemsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/updateProposalLineItemsResponse.php @@ -17,7 +17,7 @@ class updateProposalLineItemsResponse /** * @param \Google\AdsApi\AdManager\v202505\ProposalLineItem[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\ProposalLineItem[]|null $rval * @return \Google\AdsApi\AdManager\v202505\updateProposalLineItemsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/updateProposalsResponse.php b/src/Google/AdsApi/AdManager/v202505/updateProposalsResponse.php index 36147c96b..dfe6965b8 100644 --- a/src/Google/AdsApi/AdManager/v202505/updateProposalsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/updateProposalsResponse.php @@ -17,7 +17,7 @@ class updateProposalsResponse /** * @param \Google\AdsApi\AdManager\v202505\Proposal[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\Proposal[]|null $rval * @return \Google\AdsApi\AdManager\v202505\updateProposalsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/updateSitesResponse.php b/src/Google/AdsApi/AdManager/v202505/updateSitesResponse.php index 9214756e8..d7ed23f98 100644 --- a/src/Google/AdsApi/AdManager/v202505/updateSitesResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/updateSitesResponse.php @@ -17,7 +17,7 @@ class updateSitesResponse /** * @param \Google\AdsApi\AdManager\v202505\Site[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\Site[]|null $rval * @return \Google\AdsApi\AdManager\v202505\updateSitesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/updateSlatesResponse.php b/src/Google/AdsApi/AdManager/v202505/updateSlatesResponse.php index 38a528957..a6cf7c475 100644 --- a/src/Google/AdsApi/AdManager/v202505/updateSlatesResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/updateSlatesResponse.php @@ -17,7 +17,7 @@ class updateSlatesResponse /** * @param \Google\AdsApi\AdManager\v202505\Slate[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\Slate[]|null $rval * @return \Google\AdsApi\AdManager\v202505\updateSlatesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/updateTargetingPresetsResponse.php b/src/Google/AdsApi/AdManager/v202505/updateTargetingPresetsResponse.php index 2a38fda49..37ca79133 100644 --- a/src/Google/AdsApi/AdManager/v202505/updateTargetingPresetsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/updateTargetingPresetsResponse.php @@ -17,7 +17,7 @@ class updateTargetingPresetsResponse /** * @param \Google\AdsApi\AdManager\v202505\TargetingPreset[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\TargetingPreset[]|null $rval * @return \Google\AdsApi\AdManager\v202505\updateTargetingPresetsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/updateTeamsResponse.php b/src/Google/AdsApi/AdManager/v202505/updateTeamsResponse.php index 017462e95..bcbe1b745 100644 --- a/src/Google/AdsApi/AdManager/v202505/updateTeamsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/updateTeamsResponse.php @@ -17,7 +17,7 @@ class updateTeamsResponse /** * @param \Google\AdsApi\AdManager\v202505\Team[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\Team[]|null $rval * @return \Google\AdsApi\AdManager\v202505\updateTeamsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/updateTrafficForecastSegmentsResponse.php b/src/Google/AdsApi/AdManager/v202505/updateTrafficForecastSegmentsResponse.php index 1756793b4..3e629653a 100644 --- a/src/Google/AdsApi/AdManager/v202505/updateTrafficForecastSegmentsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/updateTrafficForecastSegmentsResponse.php @@ -17,7 +17,7 @@ class updateTrafficForecastSegmentsResponse /** * @param \Google\AdsApi\AdManager\v202505\TrafficForecastSegment[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\TrafficForecastSegment[]|null $rval * @return \Google\AdsApi\AdManager\v202505\updateTrafficForecastSegmentsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/updateUserTeamAssociationsResponse.php b/src/Google/AdsApi/AdManager/v202505/updateUserTeamAssociationsResponse.php index 0cb2f2c2c..82e0e95c4 100644 --- a/src/Google/AdsApi/AdManager/v202505/updateUserTeamAssociationsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/updateUserTeamAssociationsResponse.php @@ -17,7 +17,7 @@ class updateUserTeamAssociationsResponse /** * @param \Google\AdsApi\AdManager\v202505\UserTeamAssociation[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\UserTeamAssociation[]|null $rval * @return \Google\AdsApi\AdManager\v202505\updateUserTeamAssociationsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/updateUsersResponse.php b/src/Google/AdsApi/AdManager/v202505/updateUsersResponse.php index 2962440d9..7b7fa979c 100644 --- a/src/Google/AdsApi/AdManager/v202505/updateUsersResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/updateUsersResponse.php @@ -17,7 +17,7 @@ class updateUsersResponse /** * @param \Google\AdsApi\AdManager\v202505\User[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\User[]|null $rval * @return \Google\AdsApi\AdManager\v202505\updateUsersResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202505/updateYieldGroupsResponse.php b/src/Google/AdsApi/AdManager/v202505/updateYieldGroupsResponse.php index acb1c2391..ff823bbb5 100644 --- a/src/Google/AdsApi/AdManager/v202505/updateYieldGroupsResponse.php +++ b/src/Google/AdsApi/AdManager/v202505/updateYieldGroupsResponse.php @@ -17,7 +17,7 @@ class updateYieldGroupsResponse /** * @param \Google\AdsApi\AdManager\v202505\YieldGroup[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202505\YieldGroup[]|null $rval * @return \Google\AdsApi\AdManager\v202505\updateYieldGroupsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/AdBreak.php b/src/Google/AdsApi/AdManager/v202508/AdBreak.php index a85faef70..7404ca9e9 100644 --- a/src/Google/AdsApi/AdManager/v202508/AdBreak.php +++ b/src/Google/AdsApi/AdManager/v202508/AdBreak.php @@ -89,7 +89,7 @@ class AdBreak * @param boolean $decisionedAds * @param \Google\AdsApi\AdManager\v202508\TrackingEvent[] $trackingEvents */ - public function __construct(array $rootAdResponses = null, array $adDecisionCreatives = null, $podNum = null, $linearAbsolutePodNum = null, $adBreakDurationMillis = null, $filledDurationMillis = null, $servedDurationMillis = null, $startDateTime = null, $startTimeOffsetMillis = null, $samError = null, $midrollIndex = null, $decisionedAds = null, array $trackingEvents = null) + public function __construct(?array $rootAdResponses = null, ?array $adDecisionCreatives = null, $podNum = null, $linearAbsolutePodNum = null, $adBreakDurationMillis = null, $filledDurationMillis = null, $servedDurationMillis = null, $startDateTime = null, $startTimeOffsetMillis = null, $samError = null, $midrollIndex = null, $decisionedAds = null, ?array $trackingEvents = null) { $this->rootAdResponses = $rootAdResponses; $this->adDecisionCreatives = $adDecisionCreatives; @@ -118,7 +118,7 @@ public function getRootAdResponses() * @param \Google\AdsApi\AdManager\v202508\AdResponse[]|null $rootAdResponses * @return \Google\AdsApi\AdManager\v202508\AdBreak */ - public function setRootAdResponses(array $rootAdResponses = null) + public function setRootAdResponses(?array $rootAdResponses = null) { $this->rootAdResponses = $rootAdResponses; return $this; @@ -136,7 +136,7 @@ public function getAdDecisionCreatives() * @param \Google\AdsApi\AdManager\v202508\AdDecisionCreative[]|null $adDecisionCreatives * @return \Google\AdsApi\AdManager\v202508\AdBreak */ - public function setAdDecisionCreatives(array $adDecisionCreatives = null) + public function setAdDecisionCreatives(?array $adDecisionCreatives = null) { $this->adDecisionCreatives = $adDecisionCreatives; return $this; @@ -338,7 +338,7 @@ public function getTrackingEvents() * @param \Google\AdsApi\AdManager\v202508\TrackingEvent[]|null $trackingEvents * @return \Google\AdsApi\AdManager\v202508\AdBreak */ - public function setTrackingEvents(array $trackingEvents = null) + public function setTrackingEvents(?array $trackingEvents = null) { $this->trackingEvents = $trackingEvents; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/AdBreakMarkupError.php b/src/Google/AdsApi/AdManager/v202508/AdBreakMarkupError.php index c1bc3db92..7a6f18a41 100644 --- a/src/Google/AdsApi/AdManager/v202508/AdBreakMarkupError.php +++ b/src/Google/AdsApi/AdManager/v202508/AdBreakMarkupError.php @@ -21,7 +21,7 @@ class AdBreakMarkupError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/AdExchangeCreative.php b/src/Google/AdsApi/AdManager/v202508/AdExchangeCreative.php index 497b2e4ff..f72263019 100644 --- a/src/Google/AdsApi/AdManager/v202508/AdExchangeCreative.php +++ b/src/Google/AdsApi/AdManager/v202508/AdExchangeCreative.php @@ -42,7 +42,7 @@ class AdExchangeCreative extends \Google\AdsApi\AdManager\v202508\HasHtmlSnippet * @param boolean $isInterstitial * @param boolean $isAllowsAllRequestedSizes */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $codeSnippet = null, $isNativeEligible = null, $isInterstitial = null, $isAllowsAllRequestedSizes = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $codeSnippet = null, $isNativeEligible = null, $isInterstitial = null, $isAllowsAllRequestedSizes = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent, $codeSnippet); $this->isNativeEligible = $isNativeEligible; diff --git a/src/Google/AdsApi/AdManager/v202508/AdResponse.php b/src/Google/AdsApi/AdManager/v202508/AdResponse.php index 87653a458..0cfd998e4 100644 --- a/src/Google/AdsApi/AdManager/v202508/AdResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/AdResponse.php @@ -47,7 +47,7 @@ class AdResponse * @param \Google\AdsApi\AdManager\v202508\SamError $samError * @param \Google\AdsApi\AdManager\v202508\SamError[] $adErrors */ - public function __construct($requestUrl = null, $isVmapRequest = null, $responseBody = null, array $redirectResponses = null, $samError = null, array $adErrors = null) + public function __construct($requestUrl = null, $isVmapRequest = null, $responseBody = null, ?array $redirectResponses = null, $samError = null, ?array $adErrors = null) { $this->requestUrl = $requestUrl; $this->isVmapRequest = $isVmapRequest; @@ -123,7 +123,7 @@ public function getRedirectResponses() * @param \Google\AdsApi\AdManager\v202508\AdResponse[]|null $redirectResponses * @return \Google\AdsApi\AdManager\v202508\AdResponse */ - public function setRedirectResponses(array $redirectResponses = null) + public function setRedirectResponses(?array $redirectResponses = null) { $this->redirectResponses = $redirectResponses; return $this; @@ -159,7 +159,7 @@ public function getAdErrors() * @param \Google\AdsApi\AdManager\v202508\SamError[]|null $adErrors * @return \Google\AdsApi\AdManager\v202508\AdResponse */ - public function setAdErrors(array $adErrors = null) + public function setAdErrors(?array $adErrors = null) { $this->adErrors = $adErrors; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/AdRuleDateError.php b/src/Google/AdsApi/AdManager/v202508/AdRuleDateError.php index 0796720ea..a465ba6fb 100644 --- a/src/Google/AdsApi/AdManager/v202508/AdRuleDateError.php +++ b/src/Google/AdsApi/AdManager/v202508/AdRuleDateError.php @@ -21,7 +21,7 @@ class AdRuleDateError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/AdRuleError.php b/src/Google/AdsApi/AdManager/v202508/AdRuleError.php index 06c0dec58..8ea2c2cb2 100644 --- a/src/Google/AdsApi/AdManager/v202508/AdRuleError.php +++ b/src/Google/AdsApi/AdManager/v202508/AdRuleError.php @@ -21,7 +21,7 @@ class AdRuleError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/AdRuleFrequencyCapError.php b/src/Google/AdsApi/AdManager/v202508/AdRuleFrequencyCapError.php index 97c2a516b..abf945896 100644 --- a/src/Google/AdsApi/AdManager/v202508/AdRuleFrequencyCapError.php +++ b/src/Google/AdsApi/AdManager/v202508/AdRuleFrequencyCapError.php @@ -21,7 +21,7 @@ class AdRuleFrequencyCapError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/AdRulePage.php b/src/Google/AdsApi/AdManager/v202508/AdRulePage.php index dfac602c5..866c2789e 100644 --- a/src/Google/AdsApi/AdManager/v202508/AdRulePage.php +++ b/src/Google/AdsApi/AdManager/v202508/AdRulePage.php @@ -29,7 +29,7 @@ class AdRulePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\AdRule[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\AdRule[]|null $results * @return \Google\AdsApi\AdManager\v202508\AdRulePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/AdRulePriorityError.php b/src/Google/AdsApi/AdManager/v202508/AdRulePriorityError.php index b0a6a362d..f9c607053 100644 --- a/src/Google/AdsApi/AdManager/v202508/AdRulePriorityError.php +++ b/src/Google/AdsApi/AdManager/v202508/AdRulePriorityError.php @@ -21,7 +21,7 @@ class AdRulePriorityError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/AdRuleSlotError.php b/src/Google/AdsApi/AdManager/v202508/AdRuleSlotError.php index 3aa57ad7c..9f936cf9d 100644 --- a/src/Google/AdsApi/AdManager/v202508/AdRuleSlotError.php +++ b/src/Google/AdsApi/AdManager/v202508/AdRuleSlotError.php @@ -21,7 +21,7 @@ class AdRuleSlotError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/AdRuleTargetingError.php b/src/Google/AdsApi/AdManager/v202508/AdRuleTargetingError.php index df43bd343..404a394d3 100644 --- a/src/Google/AdsApi/AdManager/v202508/AdRuleTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202508/AdRuleTargetingError.php @@ -21,7 +21,7 @@ class AdRuleTargetingError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/AdSenseAccountError.php b/src/Google/AdsApi/AdManager/v202508/AdSenseAccountError.php index 091e2998c..b39753fef 100644 --- a/src/Google/AdsApi/AdManager/v202508/AdSenseAccountError.php +++ b/src/Google/AdsApi/AdManager/v202508/AdSenseAccountError.php @@ -21,7 +21,7 @@ class AdSenseAccountError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/AdSenseCreative.php b/src/Google/AdsApi/AdManager/v202508/AdSenseCreative.php index 67d67bd0d..0c380e7b2 100644 --- a/src/Google/AdsApi/AdManager/v202508/AdSenseCreative.php +++ b/src/Google/AdsApi/AdManager/v202508/AdSenseCreative.php @@ -24,7 +24,7 @@ class AdSenseCreative extends \Google\AdsApi\AdManager\v202508\HasHtmlSnippetDyn * @param boolean $selfDeclaredEuropeanUnionPoliticalContent * @param string $codeSnippet */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $codeSnippet = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $codeSnippet = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent, $codeSnippet); } diff --git a/src/Google/AdsApi/AdManager/v202508/AdSpot.php b/src/Google/AdsApi/AdManager/v202508/AdSpot.php index 8ab21f06d..9f1bdbc34 100644 --- a/src/Google/AdsApi/AdManager/v202508/AdSpot.php +++ b/src/Google/AdsApi/AdManager/v202508/AdSpot.php @@ -77,7 +77,7 @@ class AdSpot * @param string[] $allowedLineItemTypes * @param boolean $inventorySharingBlocked */ - public function __construct($id = null, $name = null, $displayName = null, $customSpot = null, $flexible = null, $maxDurationMillis = null, $maxNumberOfAds = null, $targetingType = null, $backfillBlocked = null, array $allowedLineItemTypes = null, $inventorySharingBlocked = null) + public function __construct($id = null, $name = null, $displayName = null, $customSpot = null, $flexible = null, $maxDurationMillis = null, $maxNumberOfAds = null, $targetingType = null, $backfillBlocked = null, ?array $allowedLineItemTypes = null, $inventorySharingBlocked = null) { $this->id = $id; $this->name = $name; @@ -268,7 +268,7 @@ public function getAllowedLineItemTypes() * @param string[]|null $allowedLineItemTypes * @return \Google\AdsApi\AdManager\v202508\AdSpot */ - public function setAllowedLineItemTypes(array $allowedLineItemTypes = null) + public function setAllowedLineItemTypes(?array $allowedLineItemTypes = null) { $this->allowedLineItemTypes = $allowedLineItemTypes; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/AdSpotPage.php b/src/Google/AdsApi/AdManager/v202508/AdSpotPage.php index e0e42063f..d0e0eaba6 100644 --- a/src/Google/AdsApi/AdManager/v202508/AdSpotPage.php +++ b/src/Google/AdsApi/AdManager/v202508/AdSpotPage.php @@ -29,7 +29,7 @@ class AdSpotPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\AdSpot[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\AdSpot[]|null $results * @return \Google\AdsApi\AdManager\v202508\AdSpotPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/AdUnit.php b/src/Google/AdsApi/AdManager/v202508/AdUnit.php index 637f16ba8..8505d9b64 100644 --- a/src/Google/AdsApi/AdManager/v202508/AdUnit.php +++ b/src/Google/AdsApi/AdManager/v202508/AdUnit.php @@ -179,7 +179,7 @@ class AdUnit * @param boolean $isSetTopBoxEnabled * @param int $applicationId */ - public function __construct($id = null, $parentId = null, $hasChildren = null, array $parentPath = null, $name = null, $description = null, $targetWindow = null, $status = null, $adUnitCode = null, array $adUnitSizes = null, $isInterstitial = null, $isNative = null, $isFluid = null, $explicitlyTargeted = null, $adSenseSettings = null, $adSenseSettingsSource = null, array $appliedLabelFrequencyCaps = null, array $effectiveLabelFrequencyCaps = null, array $appliedLabels = null, array $effectiveAppliedLabels = null, array $effectiveTeamIds = null, array $appliedTeamIds = null, $lastModifiedDateTime = null, $smartSizeMode = null, $refreshRate = null, $externalSetTopBoxChannelId = null, $isSetTopBoxEnabled = null, $applicationId = null) + public function __construct($id = null, $parentId = null, $hasChildren = null, ?array $parentPath = null, $name = null, $description = null, $targetWindow = null, $status = null, $adUnitCode = null, ?array $adUnitSizes = null, $isInterstitial = null, $isNative = null, $isFluid = null, $explicitlyTargeted = null, $adSenseSettings = null, $adSenseSettingsSource = null, ?array $appliedLabelFrequencyCaps = null, ?array $effectiveLabelFrequencyCaps = null, ?array $appliedLabels = null, ?array $effectiveAppliedLabels = null, ?array $effectiveTeamIds = null, ?array $appliedTeamIds = null, $lastModifiedDateTime = null, $smartSizeMode = null, $refreshRate = null, $externalSetTopBoxChannelId = null, $isSetTopBoxEnabled = null, $applicationId = null) { $this->id = $id; $this->parentId = $parentId; @@ -277,7 +277,7 @@ public function getParentPath() * @param \Google\AdsApi\AdManager\v202508\AdUnitParent[]|null $parentPath * @return \Google\AdsApi\AdManager\v202508\AdUnit */ - public function setParentPath(array $parentPath = null) + public function setParentPath(?array $parentPath = null) { $this->parentPath = $parentPath; return $this; @@ -385,7 +385,7 @@ public function getAdUnitSizes() * @param \Google\AdsApi\AdManager\v202508\AdUnitSize[]|null $adUnitSizes * @return \Google\AdsApi\AdManager\v202508\AdUnit */ - public function setAdUnitSizes(array $adUnitSizes = null) + public function setAdUnitSizes(?array $adUnitSizes = null) { $this->adUnitSizes = $adUnitSizes; return $this; @@ -511,7 +511,7 @@ public function getAppliedLabelFrequencyCaps() * @param \Google\AdsApi\AdManager\v202508\LabelFrequencyCap[]|null $appliedLabelFrequencyCaps * @return \Google\AdsApi\AdManager\v202508\AdUnit */ - public function setAppliedLabelFrequencyCaps(array $appliedLabelFrequencyCaps = null) + public function setAppliedLabelFrequencyCaps(?array $appliedLabelFrequencyCaps = null) { $this->appliedLabelFrequencyCaps = $appliedLabelFrequencyCaps; return $this; @@ -529,7 +529,7 @@ public function getEffectiveLabelFrequencyCaps() * @param \Google\AdsApi\AdManager\v202508\LabelFrequencyCap[]|null $effectiveLabelFrequencyCaps * @return \Google\AdsApi\AdManager\v202508\AdUnit */ - public function setEffectiveLabelFrequencyCaps(array $effectiveLabelFrequencyCaps = null) + public function setEffectiveLabelFrequencyCaps(?array $effectiveLabelFrequencyCaps = null) { $this->effectiveLabelFrequencyCaps = $effectiveLabelFrequencyCaps; return $this; @@ -547,7 +547,7 @@ public function getAppliedLabels() * @param \Google\AdsApi\AdManager\v202508\AppliedLabel[]|null $appliedLabels * @return \Google\AdsApi\AdManager\v202508\AdUnit */ - public function setAppliedLabels(array $appliedLabels = null) + public function setAppliedLabels(?array $appliedLabels = null) { $this->appliedLabels = $appliedLabels; return $this; @@ -565,7 +565,7 @@ public function getEffectiveAppliedLabels() * @param \Google\AdsApi\AdManager\v202508\AppliedLabel[]|null $effectiveAppliedLabels * @return \Google\AdsApi\AdManager\v202508\AdUnit */ - public function setEffectiveAppliedLabels(array $effectiveAppliedLabels = null) + public function setEffectiveAppliedLabels(?array $effectiveAppliedLabels = null) { $this->effectiveAppliedLabels = $effectiveAppliedLabels; return $this; @@ -583,7 +583,7 @@ public function getEffectiveTeamIds() * @param int[]|null $effectiveTeamIds * @return \Google\AdsApi\AdManager\v202508\AdUnit */ - public function setEffectiveTeamIds(array $effectiveTeamIds = null) + public function setEffectiveTeamIds(?array $effectiveTeamIds = null) { $this->effectiveTeamIds = $effectiveTeamIds; return $this; @@ -601,7 +601,7 @@ public function getAppliedTeamIds() * @param int[]|null $appliedTeamIds * @return \Google\AdsApi\AdManager\v202508\AdUnit */ - public function setAppliedTeamIds(array $appliedTeamIds = null) + public function setAppliedTeamIds(?array $appliedTeamIds = null) { $this->appliedTeamIds = $appliedTeamIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/AdUnitCodeError.php b/src/Google/AdsApi/AdManager/v202508/AdUnitCodeError.php index 90e0d76e6..88dc622d9 100644 --- a/src/Google/AdsApi/AdManager/v202508/AdUnitCodeError.php +++ b/src/Google/AdsApi/AdManager/v202508/AdUnitCodeError.php @@ -21,7 +21,7 @@ class AdUnitCodeError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/AdUnitHierarchyError.php b/src/Google/AdsApi/AdManager/v202508/AdUnitHierarchyError.php index c337c5fa2..be27cb8a8 100644 --- a/src/Google/AdsApi/AdManager/v202508/AdUnitHierarchyError.php +++ b/src/Google/AdsApi/AdManager/v202508/AdUnitHierarchyError.php @@ -21,7 +21,7 @@ class AdUnitHierarchyError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/AdUnitPage.php b/src/Google/AdsApi/AdManager/v202508/AdUnitPage.php index 361c07648..d4478740d 100644 --- a/src/Google/AdsApi/AdManager/v202508/AdUnitPage.php +++ b/src/Google/AdsApi/AdManager/v202508/AdUnitPage.php @@ -29,7 +29,7 @@ class AdUnitPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\AdUnit[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\AdUnit[]|null $results * @return \Google\AdsApi\AdManager\v202508\AdUnitPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/AdUnitSize.php b/src/Google/AdsApi/AdManager/v202508/AdUnitSize.php index 23ee7b1e1..8194ad30e 100644 --- a/src/Google/AdsApi/AdManager/v202508/AdUnitSize.php +++ b/src/Google/AdsApi/AdManager/v202508/AdUnitSize.php @@ -41,7 +41,7 @@ class AdUnitSize * @param string $fullDisplayString * @param boolean $isAudio */ - public function __construct($size = null, $environmentType = null, array $companions = null, $fullDisplayString = null, $isAudio = null) + public function __construct($size = null, $environmentType = null, ?array $companions = null, $fullDisplayString = null, $isAudio = null) { $this->size = $size; $this->environmentType = $environmentType; @@ -98,7 +98,7 @@ public function getCompanions() * @param \Google\AdsApi\AdManager\v202508\AdUnitSize[]|null $companions * @return \Google\AdsApi\AdManager\v202508\AdUnitSize */ - public function setCompanions(array $companions = null) + public function setCompanions(?array $companions = null) { $this->companions = $companions; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/ApiError.php b/src/Google/AdsApi/AdManager/v202508/ApiError.php index a4215e368..1d0c7985b 100644 --- a/src/Google/AdsApi/AdManager/v202508/ApiError.php +++ b/src/Google/AdsApi/AdManager/v202508/ApiError.php @@ -35,7 +35,7 @@ abstract class ApiError * @param string $trigger * @param string $errorString */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null) { $this->fieldPath = $fieldPath; $this->fieldPathElements = $fieldPathElements; @@ -73,7 +73,7 @@ public function getFieldPathElements() * @param \Google\AdsApi\AdManager\v202508\FieldPathElement[]|null $fieldPathElements * @return \Google\AdsApi\AdManager\v202508\ApiError */ - public function setFieldPathElements(array $fieldPathElements = null) + public function setFieldPathElements(?array $fieldPathElements = null) { $this->fieldPathElements = $fieldPathElements; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/ApiException.php b/src/Google/AdsApi/AdManager/v202508/ApiException.php index cc4af2d4c..118475a0d 100644 --- a/src/Google/AdsApi/AdManager/v202508/ApiException.php +++ b/src/Google/AdsApi/AdManager/v202508/ApiException.php @@ -19,7 +19,7 @@ class ApiException extends \Google\AdsApi\AdManager\v202508\ApplicationException * @param string $message1 * @param \Google\AdsApi\AdManager\v202508\ApiError[] $errors */ - public function __construct($message = null, $message1 = null, array $errors = null) + public function __construct($message = null, $message1 = null, ?array $errors = null) { parent::__construct($message, $message1); $this->errors = $errors; @@ -37,7 +37,7 @@ public function getErrors() * @param \Google\AdsApi\AdManager\v202508\ApiError[]|null $errors * @return \Google\AdsApi\AdManager\v202508\ApiException */ - public function setErrors(array $errors = null) + public function setErrors(?array $errors = null) { $this->errors = $errors; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/ApiVersionError.php b/src/Google/AdsApi/AdManager/v202508/ApiVersionError.php index 562e4fbea..a723451d3 100644 --- a/src/Google/AdsApi/AdManager/v202508/ApiVersionError.php +++ b/src/Google/AdsApi/AdManager/v202508/ApiVersionError.php @@ -21,7 +21,7 @@ class ApiVersionError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/AspectRatioImageCreative.php b/src/Google/AdsApi/AdManager/v202508/AspectRatioImageCreative.php index f523854ab..f43d6cab9 100644 --- a/src/Google/AdsApi/AdManager/v202508/AspectRatioImageCreative.php +++ b/src/Google/AdsApi/AdManager/v202508/AspectRatioImageCreative.php @@ -49,7 +49,7 @@ class AspectRatioImageCreative extends \Google\AdsApi\AdManager\v202508\HasDesti * @param string[] $thirdPartyImpressionTrackingUrls * @param boolean $overrideSize */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, array $imageAssets = null, $altText = null, array $thirdPartyImpressionTrackingUrls = null, $overrideSize = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, ?array $imageAssets = null, $altText = null, ?array $thirdPartyImpressionTrackingUrls = null, $overrideSize = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent, $destinationUrl, $destinationUrlType); $this->imageAssets = $imageAssets; @@ -70,7 +70,7 @@ public function getImageAssets() * @param \Google\AdsApi\AdManager\v202508\CreativeAsset[]|null $imageAssets * @return \Google\AdsApi\AdManager\v202508\AspectRatioImageCreative */ - public function setImageAssets(array $imageAssets = null) + public function setImageAssets(?array $imageAssets = null) { $this->imageAssets = $imageAssets; return $this; @@ -106,7 +106,7 @@ public function getThirdPartyImpressionTrackingUrls() * @param string[]|null $thirdPartyImpressionTrackingUrls * @return \Google\AdsApi\AdManager\v202508\AspectRatioImageCreative */ - public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) + public function setThirdPartyImpressionTrackingUrls(?array $thirdPartyImpressionTrackingUrls = null) { $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/AssetCreativeTemplateVariable.php b/src/Google/AdsApi/AdManager/v202508/AssetCreativeTemplateVariable.php index 2d672b0fb..d35f8de16 100644 --- a/src/Google/AdsApi/AdManager/v202508/AssetCreativeTemplateVariable.php +++ b/src/Google/AdsApi/AdManager/v202508/AssetCreativeTemplateVariable.php @@ -21,7 +21,7 @@ class AssetCreativeTemplateVariable extends \Google\AdsApi\AdManager\v202508\Cre * @param boolean $isRequired * @param string[] $mimeTypes */ - public function __construct($label = null, $uniqueName = null, $description = null, $isRequired = null, array $mimeTypes = null) + public function __construct($label = null, $uniqueName = null, $description = null, $isRequired = null, ?array $mimeTypes = null) { parent::__construct($label, $uniqueName, $description, $isRequired); $this->mimeTypes = $mimeTypes; @@ -39,7 +39,7 @@ public function getMimeTypes() * @param string[]|null $mimeTypes * @return \Google\AdsApi\AdManager\v202508\AssetCreativeTemplateVariable */ - public function setMimeTypes(array $mimeTypes = null) + public function setMimeTypes(?array $mimeTypes = null) { $this->mimeTypes = $mimeTypes; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/AssetError.php b/src/Google/AdsApi/AdManager/v202508/AssetError.php index 0180f969b..d1b270288 100644 --- a/src/Google/AdsApi/AdManager/v202508/AssetError.php +++ b/src/Google/AdsApi/AdManager/v202508/AssetError.php @@ -21,7 +21,7 @@ class AssetError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/AudienceExtensionError.php b/src/Google/AdsApi/AdManager/v202508/AudienceExtensionError.php index 91a9b478b..d0454bab1 100644 --- a/src/Google/AdsApi/AdManager/v202508/AudienceExtensionError.php +++ b/src/Google/AdsApi/AdManager/v202508/AudienceExtensionError.php @@ -21,7 +21,7 @@ class AudienceExtensionError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/AudienceSegment.php b/src/Google/AdsApi/AdManager/v202508/AudienceSegment.php index 38fd9ddce..687a5a96f 100644 --- a/src/Google/AdsApi/AdManager/v202508/AudienceSegment.php +++ b/src/Google/AdsApi/AdManager/v202508/AudienceSegment.php @@ -83,7 +83,7 @@ class AudienceSegment * @param \Google\AdsApi\AdManager\v202508\AudienceSegmentDataProvider $dataProvider * @param string $type */ - public function __construct($id = null, $name = null, array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null) + public function __construct($id = null, $name = null, ?array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null) { $this->id = $id; $this->name = $name; @@ -148,7 +148,7 @@ public function getCategoryIds() * @param int[]|null $categoryIds * @return \Google\AdsApi\AdManager\v202508\AudienceSegment */ - public function setCategoryIds(array $categoryIds = null) + public function setCategoryIds(?array $categoryIds = null) { $this->categoryIds = $categoryIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/AudienceSegmentCriteria.php b/src/Google/AdsApi/AdManager/v202508/AudienceSegmentCriteria.php index 1430c6da5..506e50e1b 100644 --- a/src/Google/AdsApi/AdManager/v202508/AudienceSegmentCriteria.php +++ b/src/Google/AdsApi/AdManager/v202508/AudienceSegmentCriteria.php @@ -23,7 +23,7 @@ class AudienceSegmentCriteria extends \Google\AdsApi\AdManager\v202508\CustomCri * @param string $operator * @param int[] $audienceSegmentIds */ - public function __construct($operator = null, array $audienceSegmentIds = null) + public function __construct($operator = null, ?array $audienceSegmentIds = null) { $this->operator = $operator; $this->audienceSegmentIds = $audienceSegmentIds; @@ -59,7 +59,7 @@ public function getAudienceSegmentIds() * @param int[]|null $audienceSegmentIds * @return \Google\AdsApi\AdManager\v202508\AudienceSegmentCriteria */ - public function setAudienceSegmentIds(array $audienceSegmentIds = null) + public function setAudienceSegmentIds(?array $audienceSegmentIds = null) { $this->audienceSegmentIds = $audienceSegmentIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/AudienceSegmentError.php b/src/Google/AdsApi/AdManager/v202508/AudienceSegmentError.php index 35c7da4f0..8112ec694 100644 --- a/src/Google/AdsApi/AdManager/v202508/AudienceSegmentError.php +++ b/src/Google/AdsApi/AdManager/v202508/AudienceSegmentError.php @@ -21,7 +21,7 @@ class AudienceSegmentError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/AudienceSegmentPage.php b/src/Google/AdsApi/AdManager/v202508/AudienceSegmentPage.php index 812bf776d..fcc995b0f 100644 --- a/src/Google/AdsApi/AdManager/v202508/AudienceSegmentPage.php +++ b/src/Google/AdsApi/AdManager/v202508/AudienceSegmentPage.php @@ -29,7 +29,7 @@ class AudienceSegmentPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\AudienceSegment[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\AudienceSegment[]|null $results * @return \Google\AdsApi\AdManager\v202508\AudienceSegmentPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/AudioCreative.php b/src/Google/AdsApi/AdManager/v202508/AudioCreative.php index b8abcf103..35a5c4125 100644 --- a/src/Google/AdsApi/AdManager/v202508/AudioCreative.php +++ b/src/Google/AdsApi/AdManager/v202508/AudioCreative.php @@ -42,7 +42,7 @@ class AudioCreative extends \Google\AdsApi\AdManager\v202508\BaseAudioCreative * @param string $sslManualOverride * @param string $audioSourceUrl */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, array $trackingUrls = null, array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $audioSourceUrl = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, ?array $trackingUrls = null, ?array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $audioSourceUrl = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent, $destinationUrl, $destinationUrlType, $duration, $allowDurationOverride, $trackingUrls, $companionCreativeIds, $customParameters, $adId, $adIdType, $skippableAdType, $vastPreviewUrl, $sslScanResult, $sslManualOverride); $this->audioSourceUrl = $audioSourceUrl; diff --git a/src/Google/AdsApi/AdManager/v202508/AudioRedirectCreative.php b/src/Google/AdsApi/AdManager/v202508/AudioRedirectCreative.php index 587915fa1..129d46a6b 100644 --- a/src/Google/AdsApi/AdManager/v202508/AudioRedirectCreative.php +++ b/src/Google/AdsApi/AdManager/v202508/AudioRedirectCreative.php @@ -48,7 +48,7 @@ class AudioRedirectCreative extends \Google\AdsApi\AdManager\v202508\BaseAudioCr * @param \Google\AdsApi\AdManager\v202508\VideoRedirectAsset[] $audioAssets * @param \Google\AdsApi\AdManager\v202508\VideoRedirectAsset $mezzanineFile */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, array $trackingUrls = null, array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, array $audioAssets = null, $mezzanineFile = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, ?array $trackingUrls = null, ?array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, ?array $audioAssets = null, $mezzanineFile = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent, $destinationUrl, $destinationUrlType, $duration, $allowDurationOverride, $trackingUrls, $companionCreativeIds, $customParameters, $adId, $adIdType, $skippableAdType, $vastPreviewUrl, $sslScanResult, $sslManualOverride); $this->audioAssets = $audioAssets; @@ -67,7 +67,7 @@ public function getAudioAssets() * @param \Google\AdsApi\AdManager\v202508\VideoRedirectAsset[]|null $audioAssets * @return \Google\AdsApi\AdManager\v202508\AudioRedirectCreative */ - public function setAudioAssets(array $audioAssets = null) + public function setAudioAssets(?array $audioAssets = null) { $this->audioAssets = $audioAssets; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/AuthenticationError.php b/src/Google/AdsApi/AdManager/v202508/AuthenticationError.php index 4bdc7b4b6..a766e5514 100644 --- a/src/Google/AdsApi/AdManager/v202508/AuthenticationError.php +++ b/src/Google/AdsApi/AdManager/v202508/AuthenticationError.php @@ -21,7 +21,7 @@ class AuthenticationError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/AvailabilityForecast.php b/src/Google/AdsApi/AdManager/v202508/AvailabilityForecast.php index a9346dc17..ae0bf3fca 100644 --- a/src/Google/AdsApi/AdManager/v202508/AvailabilityForecast.php +++ b/src/Google/AdsApi/AdManager/v202508/AvailabilityForecast.php @@ -83,7 +83,7 @@ class AvailabilityForecast * @param \Google\AdsApi\AdManager\v202508\ContendingLineItem[] $contendingLineItems * @param \Google\AdsApi\AdManager\v202508\AlternativeUnitTypeForecast[] $alternativeUnitTypeForecasts */ - public function __construct($lineItemId = null, $orderId = null, $unitType = null, $availableUnits = null, $deliveredUnits = null, $matchedUnits = null, $possibleUnits = null, $reservedUnits = null, array $breakdowns = null, array $targetingCriteriaBreakdowns = null, array $contendingLineItems = null, array $alternativeUnitTypeForecasts = null) + public function __construct($lineItemId = null, $orderId = null, $unitType = null, $availableUnits = null, $deliveredUnits = null, $matchedUnits = null, $possibleUnits = null, $reservedUnits = null, ?array $breakdowns = null, ?array $targetingCriteriaBreakdowns = null, ?array $contendingLineItems = null, ?array $alternativeUnitTypeForecasts = null) { $this->lineItemId = $lineItemId; $this->orderId = $orderId; @@ -262,7 +262,7 @@ public function getBreakdowns() * @param \Google\AdsApi\AdManager\v202508\ForecastBreakdown[]|null $breakdowns * @return \Google\AdsApi\AdManager\v202508\AvailabilityForecast */ - public function setBreakdowns(array $breakdowns = null) + public function setBreakdowns(?array $breakdowns = null) { $this->breakdowns = $breakdowns; return $this; @@ -280,7 +280,7 @@ public function getTargetingCriteriaBreakdowns() * @param \Google\AdsApi\AdManager\v202508\TargetingCriteriaBreakdown[]|null $targetingCriteriaBreakdowns * @return \Google\AdsApi\AdManager\v202508\AvailabilityForecast */ - public function setTargetingCriteriaBreakdowns(array $targetingCriteriaBreakdowns = null) + public function setTargetingCriteriaBreakdowns(?array $targetingCriteriaBreakdowns = null) { $this->targetingCriteriaBreakdowns = $targetingCriteriaBreakdowns; return $this; @@ -298,7 +298,7 @@ public function getContendingLineItems() * @param \Google\AdsApi\AdManager\v202508\ContendingLineItem[]|null $contendingLineItems * @return \Google\AdsApi\AdManager\v202508\AvailabilityForecast */ - public function setContendingLineItems(array $contendingLineItems = null) + public function setContendingLineItems(?array $contendingLineItems = null) { $this->contendingLineItems = $contendingLineItems; return $this; @@ -316,7 +316,7 @@ public function getAlternativeUnitTypeForecasts() * @param \Google\AdsApi\AdManager\v202508\AlternativeUnitTypeForecast[]|null $alternativeUnitTypeForecasts * @return \Google\AdsApi\AdManager\v202508\AvailabilityForecast */ - public function setAlternativeUnitTypeForecasts(array $alternativeUnitTypeForecasts = null) + public function setAlternativeUnitTypeForecasts(?array $alternativeUnitTypeForecasts = null) { $this->alternativeUnitTypeForecasts = $alternativeUnitTypeForecasts; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/BandwidthGroupTargeting.php b/src/Google/AdsApi/AdManager/v202508/BandwidthGroupTargeting.php index 3dc54a898..a3dbf32e6 100644 --- a/src/Google/AdsApi/AdManager/v202508/BandwidthGroupTargeting.php +++ b/src/Google/AdsApi/AdManager/v202508/BandwidthGroupTargeting.php @@ -23,7 +23,7 @@ class BandwidthGroupTargeting * @param boolean $isTargeted * @param \Google\AdsApi\AdManager\v202508\Technology[] $bandwidthGroups */ - public function __construct($isTargeted = null, array $bandwidthGroups = null) + public function __construct($isTargeted = null, ?array $bandwidthGroups = null) { $this->isTargeted = $isTargeted; $this->bandwidthGroups = $bandwidthGroups; @@ -59,7 +59,7 @@ public function getBandwidthGroups() * @param \Google\AdsApi\AdManager\v202508\Technology[]|null $bandwidthGroups * @return \Google\AdsApi\AdManager\v202508\BandwidthGroupTargeting */ - public function setBandwidthGroups(array $bandwidthGroups = null) + public function setBandwidthGroups(?array $bandwidthGroups = null) { $this->bandwidthGroups = $bandwidthGroups; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/BaseAudioCreative.php b/src/Google/AdsApi/AdManager/v202508/BaseAudioCreative.php index 322362abf..609b8fd01 100644 --- a/src/Google/AdsApi/AdManager/v202508/BaseAudioCreative.php +++ b/src/Google/AdsApi/AdManager/v202508/BaseAudioCreative.php @@ -91,7 +91,7 @@ abstract class BaseAudioCreative extends \Google\AdsApi\AdManager\v202508\HasDes * @param string $sslScanResult * @param string $sslManualOverride */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, array $trackingUrls = null, array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, ?array $trackingUrls = null, ?array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent, $destinationUrl, $destinationUrlType); $this->duration = $duration; @@ -155,7 +155,7 @@ public function getTrackingUrls() * @param \Google\AdsApi\AdManager\v202508\ConversionEvent_TrackingUrlsMapEntry[]|null $trackingUrls * @return \Google\AdsApi\AdManager\v202508\BaseAudioCreative */ - public function setTrackingUrls(array $trackingUrls = null) + public function setTrackingUrls(?array $trackingUrls = null) { $this->trackingUrls = $trackingUrls; return $this; @@ -173,7 +173,7 @@ public function getCompanionCreativeIds() * @param int[]|null $companionCreativeIds * @return \Google\AdsApi\AdManager\v202508\BaseAudioCreative */ - public function setCompanionCreativeIds(array $companionCreativeIds = null) + public function setCompanionCreativeIds(?array $companionCreativeIds = null) { $this->companionCreativeIds = $companionCreativeIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/BaseDynamicAllocationCreative.php b/src/Google/AdsApi/AdManager/v202508/BaseDynamicAllocationCreative.php index 665f1f5b3..ccf976acb 100644 --- a/src/Google/AdsApi/AdManager/v202508/BaseDynamicAllocationCreative.php +++ b/src/Google/AdsApi/AdManager/v202508/BaseDynamicAllocationCreative.php @@ -23,7 +23,7 @@ abstract class BaseDynamicAllocationCreative extends \Google\AdsApi\AdManager\v2 * @param boolean $adBadgingEnabled * @param boolean $selfDeclaredEuropeanUnionPoliticalContent */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent); } diff --git a/src/Google/AdsApi/AdManager/v202508/BaseImageCreative.php b/src/Google/AdsApi/AdManager/v202508/BaseImageCreative.php index 16f0e1f96..7a6c5bceb 100644 --- a/src/Google/AdsApi/AdManager/v202508/BaseImageCreative.php +++ b/src/Google/AdsApi/AdManager/v202508/BaseImageCreative.php @@ -37,7 +37,7 @@ abstract class BaseImageCreative extends \Google\AdsApi\AdManager\v202508\HasDes * @param boolean $overrideSize * @param \Google\AdsApi\AdManager\v202508\CreativeAsset $primaryImageAsset */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $overrideSize = null, $primaryImageAsset = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $overrideSize = null, $primaryImageAsset = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent, $destinationUrl, $destinationUrlType); $this->overrideSize = $overrideSize; diff --git a/src/Google/AdsApi/AdManager/v202508/BaseImageRedirectCreative.php b/src/Google/AdsApi/AdManager/v202508/BaseImageRedirectCreative.php index 8ab35b9d2..1a775a51a 100644 --- a/src/Google/AdsApi/AdManager/v202508/BaseImageRedirectCreative.php +++ b/src/Google/AdsApi/AdManager/v202508/BaseImageRedirectCreative.php @@ -31,7 +31,7 @@ abstract class BaseImageRedirectCreative extends \Google\AdsApi\AdManager\v20250 * @param string $destinationUrlType * @param string $imageUrl */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $imageUrl = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $imageUrl = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent, $destinationUrl, $destinationUrlType); $this->imageUrl = $imageUrl; diff --git a/src/Google/AdsApi/AdManager/v202508/BaseRichMediaStudioCreative.php b/src/Google/AdsApi/AdManager/v202508/BaseRichMediaStudioCreative.php index 6c7c95422..46d5c2558 100644 --- a/src/Google/AdsApi/AdManager/v202508/BaseRichMediaStudioCreative.php +++ b/src/Google/AdsApi/AdManager/v202508/BaseRichMediaStudioCreative.php @@ -125,7 +125,7 @@ abstract class BaseRichMediaStudioCreative extends \Google\AdsApi\AdManager\v202 * @param string $sslScanResult * @param string $sslManualOverride */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $studioCreativeId = null, $creativeFormat = null, $artworkType = null, $totalFileSize = null, array $adTagKeys = null, array $customKeyValues = null, $surveyUrl = null, $allImpressionsUrl = null, $richMediaImpressionsUrl = null, $backupImageImpressionsUrl = null, $overrideCss = null, $requiredFlashPluginVersion = null, $duration = null, $billingAttribute = null, array $richMediaStudioChildAssetProperties = null, $sslScanResult = null, $sslManualOverride = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $studioCreativeId = null, $creativeFormat = null, $artworkType = null, $totalFileSize = null, ?array $adTagKeys = null, ?array $customKeyValues = null, $surveyUrl = null, $allImpressionsUrl = null, $richMediaImpressionsUrl = null, $backupImageImpressionsUrl = null, $overrideCss = null, $requiredFlashPluginVersion = null, $duration = null, $billingAttribute = null, ?array $richMediaStudioChildAssetProperties = null, $sslScanResult = null, $sslManualOverride = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent); $this->studioCreativeId = $studioCreativeId; @@ -233,7 +233,7 @@ public function getAdTagKeys() * @param string[]|null $adTagKeys * @return \Google\AdsApi\AdManager\v202508\BaseRichMediaStudioCreative */ - public function setAdTagKeys(array $adTagKeys = null) + public function setAdTagKeys(?array $adTagKeys = null) { $this->adTagKeys = $adTagKeys; return $this; @@ -251,7 +251,7 @@ public function getCustomKeyValues() * @param string[]|null $customKeyValues * @return \Google\AdsApi\AdManager\v202508\BaseRichMediaStudioCreative */ - public function setCustomKeyValues(array $customKeyValues = null) + public function setCustomKeyValues(?array $customKeyValues = null) { $this->customKeyValues = $customKeyValues; return $this; @@ -413,7 +413,7 @@ public function getRichMediaStudioChildAssetProperties() * @param \Google\AdsApi\AdManager\v202508\RichMediaStudioChildAssetProperty[]|null $richMediaStudioChildAssetProperties * @return \Google\AdsApi\AdManager\v202508\BaseRichMediaStudioCreative */ - public function setRichMediaStudioChildAssetProperties(array $richMediaStudioChildAssetProperties = null) + public function setRichMediaStudioChildAssetProperties(?array $richMediaStudioChildAssetProperties = null) { $this->richMediaStudioChildAssetProperties = $richMediaStudioChildAssetProperties; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/BaseVideoCreative.php b/src/Google/AdsApi/AdManager/v202508/BaseVideoCreative.php index 2acdf7bd0..c14d6974c 100644 --- a/src/Google/AdsApi/AdManager/v202508/BaseVideoCreative.php +++ b/src/Google/AdsApi/AdManager/v202508/BaseVideoCreative.php @@ -91,7 +91,7 @@ abstract class BaseVideoCreative extends \Google\AdsApi\AdManager\v202508\HasDes * @param string $sslScanResult * @param string $sslManualOverride */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, array $trackingUrls = null, array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, ?array $trackingUrls = null, ?array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent, $destinationUrl, $destinationUrlType); $this->duration = $duration; @@ -155,7 +155,7 @@ public function getTrackingUrls() * @param \Google\AdsApi\AdManager\v202508\ConversionEvent_TrackingUrlsMapEntry[]|null $trackingUrls * @return \Google\AdsApi\AdManager\v202508\BaseVideoCreative */ - public function setTrackingUrls(array $trackingUrls = null) + public function setTrackingUrls(?array $trackingUrls = null) { $this->trackingUrls = $trackingUrls; return $this; @@ -173,7 +173,7 @@ public function getCompanionCreativeIds() * @param int[]|null $companionCreativeIds * @return \Google\AdsApi\AdManager\v202508\BaseVideoCreative */ - public function setCompanionCreativeIds(array $companionCreativeIds = null) + public function setCompanionCreativeIds(?array $companionCreativeIds = null) { $this->companionCreativeIds = $companionCreativeIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/BillingError.php b/src/Google/AdsApi/AdManager/v202508/BillingError.php index 2d2d28021..5fa7299ed 100644 --- a/src/Google/AdsApi/AdManager/v202508/BillingError.php +++ b/src/Google/AdsApi/AdManager/v202508/BillingError.php @@ -21,7 +21,7 @@ class BillingError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/BreakTemplate.php b/src/Google/AdsApi/AdManager/v202508/BreakTemplate.php index 4de615019..4df603386 100644 --- a/src/Google/AdsApi/AdManager/v202508/BreakTemplate.php +++ b/src/Google/AdsApi/AdManager/v202508/BreakTemplate.php @@ -41,7 +41,7 @@ class BreakTemplate * @param string $displayName * @param \Google\AdsApi\AdManager\v202508\BreakTemplateBreakTemplateMember[] $breakTemplateMembers */ - public function __construct($id = null, $customTemplate = null, $name = null, $displayName = null, array $breakTemplateMembers = null) + public function __construct($id = null, $customTemplate = null, $name = null, $displayName = null, ?array $breakTemplateMembers = null) { $this->id = $id; $this->customTemplate = $customTemplate; @@ -135,7 +135,7 @@ public function getBreakTemplateMembers() * @param \Google\AdsApi\AdManager\v202508\BreakTemplateBreakTemplateMember[]|null $breakTemplateMembers * @return \Google\AdsApi\AdManager\v202508\BreakTemplate */ - public function setBreakTemplateMembers(array $breakTemplateMembers = null) + public function setBreakTemplateMembers(?array $breakTemplateMembers = null) { $this->breakTemplateMembers = $breakTemplateMembers; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/BreakTemplatePage.php b/src/Google/AdsApi/AdManager/v202508/BreakTemplatePage.php index 2386fc45a..f18c86c9c 100644 --- a/src/Google/AdsApi/AdManager/v202508/BreakTemplatePage.php +++ b/src/Google/AdsApi/AdManager/v202508/BreakTemplatePage.php @@ -29,7 +29,7 @@ class BreakTemplatePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\BreakTemplate[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\BreakTemplate[]|null $results * @return \Google\AdsApi\AdManager\v202508\BreakTemplatePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/BrowserLanguageTargeting.php b/src/Google/AdsApi/AdManager/v202508/BrowserLanguageTargeting.php index 926135660..f64008524 100644 --- a/src/Google/AdsApi/AdManager/v202508/BrowserLanguageTargeting.php +++ b/src/Google/AdsApi/AdManager/v202508/BrowserLanguageTargeting.php @@ -23,7 +23,7 @@ class BrowserLanguageTargeting * @param boolean $isTargeted * @param \Google\AdsApi\AdManager\v202508\Technology[] $browserLanguages */ - public function __construct($isTargeted = null, array $browserLanguages = null) + public function __construct($isTargeted = null, ?array $browserLanguages = null) { $this->isTargeted = $isTargeted; $this->browserLanguages = $browserLanguages; @@ -59,7 +59,7 @@ public function getBrowserLanguages() * @param \Google\AdsApi\AdManager\v202508\Technology[]|null $browserLanguages * @return \Google\AdsApi\AdManager\v202508\BrowserLanguageTargeting */ - public function setBrowserLanguages(array $browserLanguages = null) + public function setBrowserLanguages(?array $browserLanguages = null) { $this->browserLanguages = $browserLanguages; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/BrowserTargeting.php b/src/Google/AdsApi/AdManager/v202508/BrowserTargeting.php index addda7383..e95339690 100644 --- a/src/Google/AdsApi/AdManager/v202508/BrowserTargeting.php +++ b/src/Google/AdsApi/AdManager/v202508/BrowserTargeting.php @@ -23,7 +23,7 @@ class BrowserTargeting * @param boolean $isTargeted * @param \Google\AdsApi\AdManager\v202508\Technology[] $browsers */ - public function __construct($isTargeted = null, array $browsers = null) + public function __construct($isTargeted = null, ?array $browsers = null) { $this->isTargeted = $isTargeted; $this->browsers = $browsers; @@ -59,7 +59,7 @@ public function getBrowsers() * @param \Google\AdsApi\AdManager\v202508\Technology[]|null $browsers * @return \Google\AdsApi\AdManager\v202508\BrowserTargeting */ - public function setBrowsers(array $browsers = null) + public function setBrowsers(?array $browsers = null) { $this->browsers = $browsers; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/BuyerRfp.php b/src/Google/AdsApi/AdManager/v202508/BuyerRfp.php index 53bed4b92..edb15e054 100644 --- a/src/Google/AdsApi/AdManager/v202508/BuyerRfp.php +++ b/src/Google/AdsApi/AdManager/v202508/BuyerRfp.php @@ -83,7 +83,7 @@ class BuyerRfp * @param string $adExchangeEnvironment * @param string $rfpType */ - public function __construct($costPerUnit = null, $units = null, $budget = null, $currencyCode = null, $startDateTime = null, $endDateTime = null, $description = null, array $creativePlaceholders = null, $targeting = null, $additionalTerms = null, $adExchangeEnvironment = null, $rfpType = null) + public function __construct($costPerUnit = null, $units = null, $budget = null, $currencyCode = null, $startDateTime = null, $endDateTime = null, $description = null, ?array $creativePlaceholders = null, $targeting = null, $additionalTerms = null, $adExchangeEnvironment = null, $rfpType = null) { $this->costPerUnit = $costPerUnit; $this->units = $units; @@ -238,7 +238,7 @@ public function getCreativePlaceholders() * @param \Google\AdsApi\AdManager\v202508\CreativePlaceholder[]|null $creativePlaceholders * @return \Google\AdsApi\AdManager\v202508\BuyerRfp */ - public function setCreativePlaceholders(array $creativePlaceholders = null) + public function setCreativePlaceholders(?array $creativePlaceholders = null) { $this->creativePlaceholders = $creativePlaceholders; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/CdnConfigurationError.php b/src/Google/AdsApi/AdManager/v202508/CdnConfigurationError.php index db5677662..16dcc7a87 100644 --- a/src/Google/AdsApi/AdManager/v202508/CdnConfigurationError.php +++ b/src/Google/AdsApi/AdManager/v202508/CdnConfigurationError.php @@ -21,7 +21,7 @@ class CdnConfigurationError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/CdnConfigurationPage.php b/src/Google/AdsApi/AdManager/v202508/CdnConfigurationPage.php index b1b5cc2d2..a832c98df 100644 --- a/src/Google/AdsApi/AdManager/v202508/CdnConfigurationPage.php +++ b/src/Google/AdsApi/AdManager/v202508/CdnConfigurationPage.php @@ -29,7 +29,7 @@ class CdnConfigurationPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\CdnConfiguration[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\CdnConfiguration[]|null $results * @return \Google\AdsApi\AdManager\v202508\CdnConfigurationPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/ChildPublisher.php b/src/Google/AdsApi/AdManager/v202508/ChildPublisher.php index b5a74e313..bcb1ed733 100644 --- a/src/Google/AdsApi/AdManager/v202508/ChildPublisher.php +++ b/src/Google/AdsApi/AdManager/v202508/ChildPublisher.php @@ -59,7 +59,7 @@ class ChildPublisher * @param int $proposedRevenueShareMillipercent * @param string[] $onboardingTasks */ - public function __construct($approvedDelegationType = null, $proposedDelegationType = null, $invitationStatus = null, $accountStatus = null, $childNetworkCode = null, $sellerId = null, $proposedRevenueShareMillipercent = null, array $onboardingTasks = null) + public function __construct($approvedDelegationType = null, $proposedDelegationType = null, $invitationStatus = null, $accountStatus = null, $childNetworkCode = null, $sellerId = null, $proposedRevenueShareMillipercent = null, ?array $onboardingTasks = null) { $this->approvedDelegationType = $approvedDelegationType; $this->proposedDelegationType = $proposedDelegationType; @@ -210,7 +210,7 @@ public function getOnboardingTasks() * @param string[]|null $onboardingTasks * @return \Google\AdsApi\AdManager\v202508\ChildPublisher */ - public function setOnboardingTasks(array $onboardingTasks = null) + public function setOnboardingTasks(?array $onboardingTasks = null) { $this->onboardingTasks = $onboardingTasks; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/ClickTrackingCreative.php b/src/Google/AdsApi/AdManager/v202508/ClickTrackingCreative.php index eb1ea4643..347bc4872 100644 --- a/src/Google/AdsApi/AdManager/v202508/ClickTrackingCreative.php +++ b/src/Google/AdsApi/AdManager/v202508/ClickTrackingCreative.php @@ -29,7 +29,7 @@ class ClickTrackingCreative extends \Google\AdsApi\AdManager\v202508\Creative * @param boolean $selfDeclaredEuropeanUnionPoliticalContent * @param string $clickTrackingUrl */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $clickTrackingUrl = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $clickTrackingUrl = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent); $this->clickTrackingUrl = $clickTrackingUrl; diff --git a/src/Google/AdsApi/AdManager/v202508/ClickTrackingLineItemError.php b/src/Google/AdsApi/AdManager/v202508/ClickTrackingLineItemError.php index faad836a6..1a5955c4a 100644 --- a/src/Google/AdsApi/AdManager/v202508/ClickTrackingLineItemError.php +++ b/src/Google/AdsApi/AdManager/v202508/ClickTrackingLineItemError.php @@ -21,7 +21,7 @@ class ClickTrackingLineItemError extends \Google\AdsApi\AdManager\v202508\ApiErr * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/CmsMetadataCriteria.php b/src/Google/AdsApi/AdManager/v202508/CmsMetadataCriteria.php index 68466f6aa..6ae5d64c1 100644 --- a/src/Google/AdsApi/AdManager/v202508/CmsMetadataCriteria.php +++ b/src/Google/AdsApi/AdManager/v202508/CmsMetadataCriteria.php @@ -23,7 +23,7 @@ class CmsMetadataCriteria extends \Google\AdsApi\AdManager\v202508\CustomCriteri * @param string $operator * @param int[] $cmsMetadataValueIds */ - public function __construct($operator = null, array $cmsMetadataValueIds = null) + public function __construct($operator = null, ?array $cmsMetadataValueIds = null) { $this->operator = $operator; $this->cmsMetadataValueIds = $cmsMetadataValueIds; @@ -59,7 +59,7 @@ public function getCmsMetadataValueIds() * @param int[]|null $cmsMetadataValueIds * @return \Google\AdsApi\AdManager\v202508\CmsMetadataCriteria */ - public function setCmsMetadataValueIds(array $cmsMetadataValueIds = null) + public function setCmsMetadataValueIds(?array $cmsMetadataValueIds = null) { $this->cmsMetadataValueIds = $cmsMetadataValueIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/CmsMetadataKeyPage.php b/src/Google/AdsApi/AdManager/v202508/CmsMetadataKeyPage.php index 492557d2e..91d39d268 100644 --- a/src/Google/AdsApi/AdManager/v202508/CmsMetadataKeyPage.php +++ b/src/Google/AdsApi/AdManager/v202508/CmsMetadataKeyPage.php @@ -29,7 +29,7 @@ class CmsMetadataKeyPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\CmsMetadataKey[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\CmsMetadataKey[]|null $results * @return \Google\AdsApi\AdManager\v202508\CmsMetadataKeyPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/CmsMetadataValuePage.php b/src/Google/AdsApi/AdManager/v202508/CmsMetadataValuePage.php index 7c38d35b8..0182a062d 100644 --- a/src/Google/AdsApi/AdManager/v202508/CmsMetadataValuePage.php +++ b/src/Google/AdsApi/AdManager/v202508/CmsMetadataValuePage.php @@ -29,7 +29,7 @@ class CmsMetadataValuePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\CmsMetadataValue[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\CmsMetadataValue[]|null $results * @return \Google\AdsApi\AdManager\v202508\CmsMetadataValuePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/CollectionSizeError.php b/src/Google/AdsApi/AdManager/v202508/CollectionSizeError.php index 96d394431..fa208078b 100644 --- a/src/Google/AdsApi/AdManager/v202508/CollectionSizeError.php +++ b/src/Google/AdsApi/AdManager/v202508/CollectionSizeError.php @@ -21,7 +21,7 @@ class CollectionSizeError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/CommonError.php b/src/Google/AdsApi/AdManager/v202508/CommonError.php index 1fd148ec3..832431ff1 100644 --- a/src/Google/AdsApi/AdManager/v202508/CommonError.php +++ b/src/Google/AdsApi/AdManager/v202508/CommonError.php @@ -21,7 +21,7 @@ class CommonError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/Company.php b/src/Google/AdsApi/AdManager/v202508/Company.php index 9a57d58a5..be711b10f 100644 --- a/src/Google/AdsApi/AdManager/v202508/Company.php +++ b/src/Google/AdsApi/AdManager/v202508/Company.php @@ -113,7 +113,7 @@ class Company * @param \Google\AdsApi\AdManager\v202508\ChildPublisher $childPublisher * @param \Google\AdsApi\AdManager\v202508\ViewabilityProvider $viewabilityProvider */ - public function __construct($id = null, $name = null, $type = null, $address = null, $email = null, $faxPhone = null, $primaryPhone = null, $externalId = null, $comment = null, $creditStatus = null, array $appliedLabels = null, $primaryContactId = null, array $appliedTeamIds = null, $thirdPartyCompanyId = null, $lastModifiedDateTime = null, $childPublisher = null, $viewabilityProvider = null) + public function __construct($id = null, $name = null, $type = null, $address = null, $email = null, $faxPhone = null, $primaryPhone = null, $externalId = null, $comment = null, $creditStatus = null, ?array $appliedLabels = null, $primaryContactId = null, ?array $appliedTeamIds = null, $thirdPartyCompanyId = null, $lastModifiedDateTime = null, $childPublisher = null, $viewabilityProvider = null) { $this->id = $id; $this->name = $name; @@ -327,7 +327,7 @@ public function getAppliedLabels() * @param \Google\AdsApi\AdManager\v202508\AppliedLabel[]|null $appliedLabels * @return \Google\AdsApi\AdManager\v202508\Company */ - public function setAppliedLabels(array $appliedLabels = null) + public function setAppliedLabels(?array $appliedLabels = null) { $this->appliedLabels = $appliedLabels; return $this; @@ -364,7 +364,7 @@ public function getAppliedTeamIds() * @param int[]|null $appliedTeamIds * @return \Google\AdsApi\AdManager\v202508\Company */ - public function setAppliedTeamIds(array $appliedTeamIds = null) + public function setAppliedTeamIds(?array $appliedTeamIds = null) { $this->appliedTeamIds = $appliedTeamIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/CompanyCreditStatusError.php b/src/Google/AdsApi/AdManager/v202508/CompanyCreditStatusError.php index 681cba5a2..8f1ae97bb 100644 --- a/src/Google/AdsApi/AdManager/v202508/CompanyCreditStatusError.php +++ b/src/Google/AdsApi/AdManager/v202508/CompanyCreditStatusError.php @@ -21,7 +21,7 @@ class CompanyCreditStatusError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/CompanyError.php b/src/Google/AdsApi/AdManager/v202508/CompanyError.php index 00cb74d07..4b074bc7f 100644 --- a/src/Google/AdsApi/AdManager/v202508/CompanyError.php +++ b/src/Google/AdsApi/AdManager/v202508/CompanyError.php @@ -21,7 +21,7 @@ class CompanyError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/CompanyPage.php b/src/Google/AdsApi/AdManager/v202508/CompanyPage.php index 5fa519096..8b31fb1bf 100644 --- a/src/Google/AdsApi/AdManager/v202508/CompanyPage.php +++ b/src/Google/AdsApi/AdManager/v202508/CompanyPage.php @@ -29,7 +29,7 @@ class CompanyPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\Company[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\Company[]|null $results * @return \Google\AdsApi\AdManager\v202508\CompanyPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/ContactError.php b/src/Google/AdsApi/AdManager/v202508/ContactError.php index 2f5186774..01f4783d8 100644 --- a/src/Google/AdsApi/AdManager/v202508/ContactError.php +++ b/src/Google/AdsApi/AdManager/v202508/ContactError.php @@ -21,7 +21,7 @@ class ContactError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/ContactPage.php b/src/Google/AdsApi/AdManager/v202508/ContactPage.php index 03ef93f49..fe189c7f3 100644 --- a/src/Google/AdsApi/AdManager/v202508/ContactPage.php +++ b/src/Google/AdsApi/AdManager/v202508/ContactPage.php @@ -29,7 +29,7 @@ class ContactPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\Contact[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\Contact[]|null $results * @return \Google\AdsApi\AdManager\v202508\ContactPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/Content.php b/src/Google/AdsApi/AdManager/v202508/Content.php index 833646f7e..cfae58add 100644 --- a/src/Google/AdsApi/AdManager/v202508/Content.php +++ b/src/Google/AdsApi/AdManager/v202508/Content.php @@ -107,7 +107,7 @@ class Content * @param int[] $cmsMetadataValueIds * @param int $duration */ - public function __construct($id = null, $name = null, $status = null, $statusDefinedBy = null, $hlsIngestStatus = null, array $hlsIngestErrors = null, $lastHlsIngestDateTime = null, $dashIngestStatus = null, array $dashIngestErrors = null, $lastDashIngestDateTime = null, $importDateTime = null, $lastModifiedDateTime = null, array $cmsSources = null, array $contentBundleIds = null, array $cmsMetadataValueIds = null, $duration = null) + public function __construct($id = null, $name = null, $status = null, $statusDefinedBy = null, $hlsIngestStatus = null, ?array $hlsIngestErrors = null, $lastHlsIngestDateTime = null, $dashIngestStatus = null, ?array $dashIngestErrors = null, $lastDashIngestDateTime = null, $importDateTime = null, $lastModifiedDateTime = null, ?array $cmsSources = null, ?array $contentBundleIds = null, ?array $cmsMetadataValueIds = null, $duration = null) { $this->id = $id; $this->name = $name; @@ -230,7 +230,7 @@ public function getHlsIngestErrors() * @param \Google\AdsApi\AdManager\v202508\DaiIngestError[]|null $hlsIngestErrors * @return \Google\AdsApi\AdManager\v202508\Content */ - public function setHlsIngestErrors(array $hlsIngestErrors = null) + public function setHlsIngestErrors(?array $hlsIngestErrors = null) { $this->hlsIngestErrors = $hlsIngestErrors; return $this; @@ -284,7 +284,7 @@ public function getDashIngestErrors() * @param \Google\AdsApi\AdManager\v202508\DaiIngestError[]|null $dashIngestErrors * @return \Google\AdsApi\AdManager\v202508\Content */ - public function setDashIngestErrors(array $dashIngestErrors = null) + public function setDashIngestErrors(?array $dashIngestErrors = null) { $this->dashIngestErrors = $dashIngestErrors; return $this; @@ -356,7 +356,7 @@ public function getCmsSources() * @param \Google\AdsApi\AdManager\v202508\CmsContent[]|null $cmsSources * @return \Google\AdsApi\AdManager\v202508\Content */ - public function setCmsSources(array $cmsSources = null) + public function setCmsSources(?array $cmsSources = null) { $this->cmsSources = $cmsSources; return $this; @@ -374,7 +374,7 @@ public function getContentBundleIds() * @param int[]|null $contentBundleIds * @return \Google\AdsApi\AdManager\v202508\Content */ - public function setContentBundleIds(array $contentBundleIds = null) + public function setContentBundleIds(?array $contentBundleIds = null) { $this->contentBundleIds = $contentBundleIds; return $this; @@ -392,7 +392,7 @@ public function getCmsMetadataValueIds() * @param int[]|null $cmsMetadataValueIds * @return \Google\AdsApi\AdManager\v202508\Content */ - public function setCmsMetadataValueIds(array $cmsMetadataValueIds = null) + public function setCmsMetadataValueIds(?array $cmsMetadataValueIds = null) { $this->cmsMetadataValueIds = $cmsMetadataValueIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/ContentBundlePage.php b/src/Google/AdsApi/AdManager/v202508/ContentBundlePage.php index a737e446f..2f703cfd1 100644 --- a/src/Google/AdsApi/AdManager/v202508/ContentBundlePage.php +++ b/src/Google/AdsApi/AdManager/v202508/ContentBundlePage.php @@ -29,7 +29,7 @@ class ContentBundlePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\ContentBundle[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\ContentBundle[]|null $results * @return \Google\AdsApi\AdManager\v202508\ContentBundlePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/ContentFilterError.php b/src/Google/AdsApi/AdManager/v202508/ContentFilterError.php index c5068df24..03dd6436c 100644 --- a/src/Google/AdsApi/AdManager/v202508/ContentFilterError.php +++ b/src/Google/AdsApi/AdManager/v202508/ContentFilterError.php @@ -21,7 +21,7 @@ class ContentFilterError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/ContentLabelTargeting.php b/src/Google/AdsApi/AdManager/v202508/ContentLabelTargeting.php index 5a5149f50..84047267e 100644 --- a/src/Google/AdsApi/AdManager/v202508/ContentLabelTargeting.php +++ b/src/Google/AdsApi/AdManager/v202508/ContentLabelTargeting.php @@ -17,7 +17,7 @@ class ContentLabelTargeting /** * @param int[] $excludedContentLabelIds */ - public function __construct(array $excludedContentLabelIds = null) + public function __construct(?array $excludedContentLabelIds = null) { $this->excludedContentLabelIds = $excludedContentLabelIds; } @@ -34,7 +34,7 @@ public function getExcludedContentLabelIds() * @param int[]|null $excludedContentLabelIds * @return \Google\AdsApi\AdManager\v202508\ContentLabelTargeting */ - public function setExcludedContentLabelIds(array $excludedContentLabelIds = null) + public function setExcludedContentLabelIds(?array $excludedContentLabelIds = null) { $this->excludedContentLabelIds = $excludedContentLabelIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/ContentPage.php b/src/Google/AdsApi/AdManager/v202508/ContentPage.php index 8379070c4..46039336d 100644 --- a/src/Google/AdsApi/AdManager/v202508/ContentPage.php +++ b/src/Google/AdsApi/AdManager/v202508/ContentPage.php @@ -29,7 +29,7 @@ class ContentPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\Content[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\Content[]|null $results * @return \Google\AdsApi\AdManager\v202508\ContentPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/ContentTargeting.php b/src/Google/AdsApi/AdManager/v202508/ContentTargeting.php index 575b51b97..62d837724 100644 --- a/src/Google/AdsApi/AdManager/v202508/ContentTargeting.php +++ b/src/Google/AdsApi/AdManager/v202508/ContentTargeting.php @@ -35,7 +35,7 @@ class ContentTargeting * @param int[] $targetedVideoContentBundleIds * @param int[] $excludedVideoContentBundleIds */ - public function __construct(array $targetedContentIds = null, array $excludedContentIds = null, array $targetedVideoContentBundleIds = null, array $excludedVideoContentBundleIds = null) + public function __construct(?array $targetedContentIds = null, ?array $excludedContentIds = null, ?array $targetedVideoContentBundleIds = null, ?array $excludedVideoContentBundleIds = null) { $this->targetedContentIds = $targetedContentIds; $this->excludedContentIds = $excludedContentIds; @@ -55,7 +55,7 @@ public function getTargetedContentIds() * @param int[]|null $targetedContentIds * @return \Google\AdsApi\AdManager\v202508\ContentTargeting */ - public function setTargetedContentIds(array $targetedContentIds = null) + public function setTargetedContentIds(?array $targetedContentIds = null) { $this->targetedContentIds = $targetedContentIds; return $this; @@ -73,7 +73,7 @@ public function getExcludedContentIds() * @param int[]|null $excludedContentIds * @return \Google\AdsApi\AdManager\v202508\ContentTargeting */ - public function setExcludedContentIds(array $excludedContentIds = null) + public function setExcludedContentIds(?array $excludedContentIds = null) { $this->excludedContentIds = $excludedContentIds; return $this; @@ -91,7 +91,7 @@ public function getTargetedVideoContentBundleIds() * @param int[]|null $targetedVideoContentBundleIds * @return \Google\AdsApi\AdManager\v202508\ContentTargeting */ - public function setTargetedVideoContentBundleIds(array $targetedVideoContentBundleIds = null) + public function setTargetedVideoContentBundleIds(?array $targetedVideoContentBundleIds = null) { $this->targetedVideoContentBundleIds = $targetedVideoContentBundleIds; return $this; @@ -109,7 +109,7 @@ public function getExcludedVideoContentBundleIds() * @param int[]|null $excludedVideoContentBundleIds * @return \Google\AdsApi\AdManager\v202508\ContentTargeting */ - public function setExcludedVideoContentBundleIds(array $excludedVideoContentBundleIds = null) + public function setExcludedVideoContentBundleIds(?array $excludedVideoContentBundleIds = null) { $this->excludedVideoContentBundleIds = $excludedVideoContentBundleIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/Creative.php b/src/Google/AdsApi/AdManager/v202508/Creative.php index 1b6088373..375737981 100644 --- a/src/Google/AdsApi/AdManager/v202508/Creative.php +++ b/src/Google/AdsApi/AdManager/v202508/Creative.php @@ -83,7 +83,7 @@ abstract class Creative * @param boolean $adBadgingEnabled * @param boolean $selfDeclaredEuropeanUnionPoliticalContent */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null) { $this->advertiserId = $advertiserId; $this->id = $id; @@ -203,7 +203,7 @@ public function getPolicyLabels() * @param string[]|null $policyLabels * @return \Google\AdsApi\AdManager\v202508\Creative */ - public function setPolicyLabels(array $policyLabels = null) + public function setPolicyLabels(?array $policyLabels = null) { $this->policyLabels = $policyLabels; return $this; @@ -221,7 +221,7 @@ public function getAppliedLabels() * @param \Google\AdsApi\AdManager\v202508\AppliedLabel[]|null $appliedLabels * @return \Google\AdsApi\AdManager\v202508\Creative */ - public function setAppliedLabels(array $appliedLabels = null) + public function setAppliedLabels(?array $appliedLabels = null) { $this->appliedLabels = $appliedLabels; return $this; @@ -257,7 +257,7 @@ public function getCustomFieldValues() * @param \Google\AdsApi\AdManager\v202508\BaseCustomFieldValue[]|null $customFieldValues * @return \Google\AdsApi\AdManager\v202508\Creative */ - public function setCustomFieldValues(array $customFieldValues = null) + public function setCustomFieldValues(?array $customFieldValues = null) { $this->customFieldValues = $customFieldValues; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/CreativeAsset.php b/src/Google/AdsApi/AdManager/v202508/CreativeAsset.php index 5e2715b28..92b8ad5bc 100644 --- a/src/Google/AdsApi/AdManager/v202508/CreativeAsset.php +++ b/src/Google/AdsApi/AdManager/v202508/CreativeAsset.php @@ -59,7 +59,7 @@ class CreativeAsset * @param \Google\AdsApi\AdManager\v202508\ClickTag[] $clickTags * @param string $imageDensity */ - public function __construct($assetId = null, $assetByteArray = null, $fileName = null, $fileSize = null, $assetUrl = null, $size = null, array $clickTags = null, $imageDensity = null) + public function __construct($assetId = null, $assetByteArray = null, $fileName = null, $fileSize = null, $assetUrl = null, $size = null, ?array $clickTags = null, $imageDensity = null) { $this->assetId = $assetId; $this->assetByteArray = $assetByteArray; @@ -193,7 +193,7 @@ public function getClickTags() * @param \Google\AdsApi\AdManager\v202508\ClickTag[]|null $clickTags * @return \Google\AdsApi\AdManager\v202508\CreativeAsset */ - public function setClickTags(array $clickTags = null) + public function setClickTags(?array $clickTags = null) { $this->clickTags = $clickTags; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/CreativeAssetMacroError.php b/src/Google/AdsApi/AdManager/v202508/CreativeAssetMacroError.php index 4efc590d4..19f683fa6 100644 --- a/src/Google/AdsApi/AdManager/v202508/CreativeAssetMacroError.php +++ b/src/Google/AdsApi/AdManager/v202508/CreativeAssetMacroError.php @@ -21,7 +21,7 @@ class CreativeAssetMacroError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/CreativeError.php b/src/Google/AdsApi/AdManager/v202508/CreativeError.php index 2da0b5637..06b207186 100644 --- a/src/Google/AdsApi/AdManager/v202508/CreativeError.php +++ b/src/Google/AdsApi/AdManager/v202508/CreativeError.php @@ -21,7 +21,7 @@ class CreativeError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/CreativePage.php b/src/Google/AdsApi/AdManager/v202508/CreativePage.php index 8de42fc26..2d7d8d708 100644 --- a/src/Google/AdsApi/AdManager/v202508/CreativePage.php +++ b/src/Google/AdsApi/AdManager/v202508/CreativePage.php @@ -29,7 +29,7 @@ class CreativePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\Creative[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\Creative[]|null $results * @return \Google\AdsApi\AdManager\v202508\CreativePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/CreativePlaceholder.php b/src/Google/AdsApi/AdManager/v202508/CreativePlaceholder.php index 5367246a2..5dc90ec14 100644 --- a/src/Google/AdsApi/AdManager/v202508/CreativePlaceholder.php +++ b/src/Google/AdsApi/AdManager/v202508/CreativePlaceholder.php @@ -65,7 +65,7 @@ class CreativePlaceholder * @param string $targetingName * @param boolean $isAmpOnly */ - public function __construct($size = null, $creativeTemplateId = null, array $companions = null, array $appliedLabels = null, array $effectiveAppliedLabels = null, $expectedCreativeCount = null, $creativeSizeType = null, $targetingName = null, $isAmpOnly = null) + public function __construct($size = null, $creativeTemplateId = null, ?array $companions = null, ?array $appliedLabels = null, ?array $effectiveAppliedLabels = null, $expectedCreativeCount = null, $creativeSizeType = null, $targetingName = null, $isAmpOnly = null) { $this->size = $size; $this->creativeTemplateId = $creativeTemplateId; @@ -127,7 +127,7 @@ public function getCompanions() * @param \Google\AdsApi\AdManager\v202508\CreativePlaceholder[]|null $companions * @return \Google\AdsApi\AdManager\v202508\CreativePlaceholder */ - public function setCompanions(array $companions = null) + public function setCompanions(?array $companions = null) { $this->companions = $companions; return $this; @@ -145,7 +145,7 @@ public function getAppliedLabels() * @param \Google\AdsApi\AdManager\v202508\AppliedLabel[]|null $appliedLabels * @return \Google\AdsApi\AdManager\v202508\CreativePlaceholder */ - public function setAppliedLabels(array $appliedLabels = null) + public function setAppliedLabels(?array $appliedLabels = null) { $this->appliedLabels = $appliedLabels; return $this; @@ -163,7 +163,7 @@ public function getEffectiveAppliedLabels() * @param \Google\AdsApi\AdManager\v202508\AppliedLabel[]|null $effectiveAppliedLabels * @return \Google\AdsApi\AdManager\v202508\CreativePlaceholder */ - public function setEffectiveAppliedLabels(array $effectiveAppliedLabels = null) + public function setEffectiveAppliedLabels(?array $effectiveAppliedLabels = null) { $this->effectiveAppliedLabels = $effectiveAppliedLabels; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/CreativePreviewError.php b/src/Google/AdsApi/AdManager/v202508/CreativePreviewError.php index e7a36557a..69541ce11 100644 --- a/src/Google/AdsApi/AdManager/v202508/CreativePreviewError.php +++ b/src/Google/AdsApi/AdManager/v202508/CreativePreviewError.php @@ -21,7 +21,7 @@ class CreativePreviewError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/CreativeSet.php b/src/Google/AdsApi/AdManager/v202508/CreativeSet.php index acee0e167..97634bbe5 100644 --- a/src/Google/AdsApi/AdManager/v202508/CreativeSet.php +++ b/src/Google/AdsApi/AdManager/v202508/CreativeSet.php @@ -41,7 +41,7 @@ class CreativeSet * @param int[] $companionCreativeIds * @param \Google\AdsApi\AdManager\v202508\DateTime $lastModifiedDateTime */ - public function __construct($id = null, $name = null, $masterCreativeId = null, array $companionCreativeIds = null, $lastModifiedDateTime = null) + public function __construct($id = null, $name = null, $masterCreativeId = null, ?array $companionCreativeIds = null, $lastModifiedDateTime = null) { $this->id = $id; $this->name = $name; @@ -118,7 +118,7 @@ public function getCompanionCreativeIds() * @param int[]|null $companionCreativeIds * @return \Google\AdsApi\AdManager\v202508\CreativeSet */ - public function setCompanionCreativeIds(array $companionCreativeIds = null) + public function setCompanionCreativeIds(?array $companionCreativeIds = null) { $this->companionCreativeIds = $companionCreativeIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/CreativeSetError.php b/src/Google/AdsApi/AdManager/v202508/CreativeSetError.php index 3a952b101..55337f3ca 100644 --- a/src/Google/AdsApi/AdManager/v202508/CreativeSetError.php +++ b/src/Google/AdsApi/AdManager/v202508/CreativeSetError.php @@ -21,7 +21,7 @@ class CreativeSetError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/CreativeSetPage.php b/src/Google/AdsApi/AdManager/v202508/CreativeSetPage.php index 25ccda025..57f6f5028 100644 --- a/src/Google/AdsApi/AdManager/v202508/CreativeSetPage.php +++ b/src/Google/AdsApi/AdManager/v202508/CreativeSetPage.php @@ -29,7 +29,7 @@ class CreativeSetPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\CreativeSet[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\CreativeSet[]|null $results * @return \Google\AdsApi\AdManager\v202508\CreativeSetPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/CreativeTemplate.php b/src/Google/AdsApi/AdManager/v202508/CreativeTemplate.php index fd3b40ada..9a003a202 100644 --- a/src/Google/AdsApi/AdManager/v202508/CreativeTemplate.php +++ b/src/Google/AdsApi/AdManager/v202508/CreativeTemplate.php @@ -71,7 +71,7 @@ class CreativeTemplate * @param boolean $isNativeEligible * @param boolean $isSafeFrameCompatible */ - public function __construct($id = null, $name = null, $description = null, array $variables = null, $snippet = null, $status = null, $type = null, $isInterstitial = null, $isNativeEligible = null, $isSafeFrameCompatible = null) + public function __construct($id = null, $name = null, $description = null, ?array $variables = null, $snippet = null, $status = null, $type = null, $isInterstitial = null, $isNativeEligible = null, $isSafeFrameCompatible = null) { $this->id = $id; $this->name = $name; @@ -152,7 +152,7 @@ public function getVariables() * @param \Google\AdsApi\AdManager\v202508\CreativeTemplateVariable[]|null $variables * @return \Google\AdsApi\AdManager\v202508\CreativeTemplate */ - public function setVariables(array $variables = null) + public function setVariables(?array $variables = null) { $this->variables = $variables; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/CreativeTemplateError.php b/src/Google/AdsApi/AdManager/v202508/CreativeTemplateError.php index 05918728a..bceba3e55 100644 --- a/src/Google/AdsApi/AdManager/v202508/CreativeTemplateError.php +++ b/src/Google/AdsApi/AdManager/v202508/CreativeTemplateError.php @@ -21,7 +21,7 @@ class CreativeTemplateError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/CreativeTemplateOperationError.php b/src/Google/AdsApi/AdManager/v202508/CreativeTemplateOperationError.php index 432cbdd56..f393884ae 100644 --- a/src/Google/AdsApi/AdManager/v202508/CreativeTemplateOperationError.php +++ b/src/Google/AdsApi/AdManager/v202508/CreativeTemplateOperationError.php @@ -21,7 +21,7 @@ class CreativeTemplateOperationError extends \Google\AdsApi\AdManager\v202508\Ap * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/CreativeTemplatePage.php b/src/Google/AdsApi/AdManager/v202508/CreativeTemplatePage.php index 4911d68c8..02fd4200b 100644 --- a/src/Google/AdsApi/AdManager/v202508/CreativeTemplatePage.php +++ b/src/Google/AdsApi/AdManager/v202508/CreativeTemplatePage.php @@ -29,7 +29,7 @@ class CreativeTemplatePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\CreativeTemplate[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\CreativeTemplate[]|null $results * @return \Google\AdsApi\AdManager\v202508\CreativeTemplatePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/CreativeWrapper.php b/src/Google/AdsApi/AdManager/v202508/CreativeWrapper.php index 1de48a78e..f5c8636ea 100644 --- a/src/Google/AdsApi/AdManager/v202508/CreativeWrapper.php +++ b/src/Google/AdsApi/AdManager/v202508/CreativeWrapper.php @@ -77,7 +77,7 @@ class CreativeWrapper * @param string $ordering * @param string $status */ - public function __construct($id = null, $labelId = null, $creativeWrapperType = null, $htmlHeader = null, $htmlFooter = null, $ampHead = null, $ampBody = null, array $videoTrackingUrls = null, $thirdPartyDataDeclaration = null, $ordering = null, $status = null) + public function __construct($id = null, $labelId = null, $creativeWrapperType = null, $htmlHeader = null, $htmlFooter = null, $ampHead = null, $ampBody = null, ?array $videoTrackingUrls = null, $thirdPartyDataDeclaration = null, $ordering = null, $status = null) { $this->id = $id; $this->labelId = $labelId; @@ -232,7 +232,7 @@ public function getVideoTrackingUrls() * @param \Google\AdsApi\AdManager\v202508\ConversionEvent_TrackingUrlsMapEntry[]|null $videoTrackingUrls * @return \Google\AdsApi\AdManager\v202508\CreativeWrapper */ - public function setVideoTrackingUrls(array $videoTrackingUrls = null) + public function setVideoTrackingUrls(?array $videoTrackingUrls = null) { $this->videoTrackingUrls = $videoTrackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/CreativeWrapperError.php b/src/Google/AdsApi/AdManager/v202508/CreativeWrapperError.php index eb0cf23eb..2c1802479 100644 --- a/src/Google/AdsApi/AdManager/v202508/CreativeWrapperError.php +++ b/src/Google/AdsApi/AdManager/v202508/CreativeWrapperError.php @@ -21,7 +21,7 @@ class CreativeWrapperError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/CreativeWrapperPage.php b/src/Google/AdsApi/AdManager/v202508/CreativeWrapperPage.php index ae96f37ab..f67a0d718 100644 --- a/src/Google/AdsApi/AdManager/v202508/CreativeWrapperPage.php +++ b/src/Google/AdsApi/AdManager/v202508/CreativeWrapperPage.php @@ -29,7 +29,7 @@ class CreativeWrapperPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\CreativeWrapper[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\CreativeWrapper[]|null $results * @return \Google\AdsApi\AdManager\v202508\CreativeWrapperPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/CrossSellError.php b/src/Google/AdsApi/AdManager/v202508/CrossSellError.php index 1f80b9b0c..e58a71f21 100644 --- a/src/Google/AdsApi/AdManager/v202508/CrossSellError.php +++ b/src/Google/AdsApi/AdManager/v202508/CrossSellError.php @@ -21,7 +21,7 @@ class CrossSellError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/CurrencyCodeError.php b/src/Google/AdsApi/AdManager/v202508/CurrencyCodeError.php index b16ce5a92..1d75cd48f 100644 --- a/src/Google/AdsApi/AdManager/v202508/CurrencyCodeError.php +++ b/src/Google/AdsApi/AdManager/v202508/CurrencyCodeError.php @@ -21,7 +21,7 @@ class CurrencyCodeError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/CustomCreative.php b/src/Google/AdsApi/AdManager/v202508/CustomCreative.php index ab5dbcc6f..6c0f2406f 100644 --- a/src/Google/AdsApi/AdManager/v202508/CustomCreative.php +++ b/src/Google/AdsApi/AdManager/v202508/CustomCreative.php @@ -73,7 +73,7 @@ class CustomCreative extends \Google\AdsApi\AdManager\v202508\HasDestinationUrlC * @param boolean $isSafeFrameCompatible * @param string[] $thirdPartyImpressionTrackingUrls */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $htmlSnippet = null, array $customCreativeAssets = null, $isInterstitial = null, $lockedOrientation = null, $sslScanResult = null, $sslManualOverride = null, $isSafeFrameCompatible = null, array $thirdPartyImpressionTrackingUrls = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $htmlSnippet = null, ?array $customCreativeAssets = null, $isInterstitial = null, $lockedOrientation = null, $sslScanResult = null, $sslManualOverride = null, $isSafeFrameCompatible = null, ?array $thirdPartyImpressionTrackingUrls = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent, $destinationUrl, $destinationUrlType); $this->htmlSnippet = $htmlSnippet; @@ -116,7 +116,7 @@ public function getCustomCreativeAssets() * @param \Google\AdsApi\AdManager\v202508\CustomCreativeAsset[]|null $customCreativeAssets * @return \Google\AdsApi\AdManager\v202508\CustomCreative */ - public function setCustomCreativeAssets(array $customCreativeAssets = null) + public function setCustomCreativeAssets(?array $customCreativeAssets = null) { $this->customCreativeAssets = $customCreativeAssets; return $this; @@ -224,7 +224,7 @@ public function getThirdPartyImpressionTrackingUrls() * @param string[]|null $thirdPartyImpressionTrackingUrls * @return \Google\AdsApi\AdManager\v202508\CustomCreative */ - public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) + public function setThirdPartyImpressionTrackingUrls(?array $thirdPartyImpressionTrackingUrls = null) { $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/CustomCreativeError.php b/src/Google/AdsApi/AdManager/v202508/CustomCreativeError.php index 335445977..b95e31107 100644 --- a/src/Google/AdsApi/AdManager/v202508/CustomCreativeError.php +++ b/src/Google/AdsApi/AdManager/v202508/CustomCreativeError.php @@ -21,7 +21,7 @@ class CustomCreativeError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/CustomCriteria.php b/src/Google/AdsApi/AdManager/v202508/CustomCriteria.php index d3907fa55..d657b26ad 100644 --- a/src/Google/AdsApi/AdManager/v202508/CustomCriteria.php +++ b/src/Google/AdsApi/AdManager/v202508/CustomCriteria.php @@ -29,7 +29,7 @@ class CustomCriteria extends \Google\AdsApi\AdManager\v202508\CustomCriteriaLeaf * @param int[] $valueIds * @param string $operator */ - public function __construct($keyId = null, array $valueIds = null, $operator = null) + public function __construct($keyId = null, ?array $valueIds = null, $operator = null) { $this->keyId = $keyId; $this->valueIds = $valueIds; @@ -67,7 +67,7 @@ public function getValueIds() * @param int[]|null $valueIds * @return \Google\AdsApi\AdManager\v202508\CustomCriteria */ - public function setValueIds(array $valueIds = null) + public function setValueIds(?array $valueIds = null) { $this->valueIds = $valueIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/CustomCriteriaSet.php b/src/Google/AdsApi/AdManager/v202508/CustomCriteriaSet.php index 51fecf539..1490b3e66 100644 --- a/src/Google/AdsApi/AdManager/v202508/CustomCriteriaSet.php +++ b/src/Google/AdsApi/AdManager/v202508/CustomCriteriaSet.php @@ -23,7 +23,7 @@ class CustomCriteriaSet extends \Google\AdsApi\AdManager\v202508\CustomCriteriaN * @param string $logicalOperator * @param \Google\AdsApi\AdManager\v202508\CustomCriteriaNode[] $children */ - public function __construct($logicalOperator = null, array $children = null) + public function __construct($logicalOperator = null, ?array $children = null) { $this->logicalOperator = $logicalOperator; $this->children = $children; @@ -59,7 +59,7 @@ public function getChildren() * @param \Google\AdsApi\AdManager\v202508\CustomCriteriaNode[]|null $children * @return \Google\AdsApi\AdManager\v202508\CustomCriteriaSet */ - public function setChildren(array $children = null) + public function setChildren(?array $children = null) { $this->children = $children; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/CustomFieldError.php b/src/Google/AdsApi/AdManager/v202508/CustomFieldError.php index 87193063b..810b56b22 100644 --- a/src/Google/AdsApi/AdManager/v202508/CustomFieldError.php +++ b/src/Google/AdsApi/AdManager/v202508/CustomFieldError.php @@ -21,7 +21,7 @@ class CustomFieldError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/CustomFieldPage.php b/src/Google/AdsApi/AdManager/v202508/CustomFieldPage.php index a8f222f18..d91ec6d79 100644 --- a/src/Google/AdsApi/AdManager/v202508/CustomFieldPage.php +++ b/src/Google/AdsApi/AdManager/v202508/CustomFieldPage.php @@ -29,7 +29,7 @@ class CustomFieldPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\CustomField[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\CustomField[]|null $results * @return \Google\AdsApi\AdManager\v202508\CustomFieldPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/CustomFieldValueError.php b/src/Google/AdsApi/AdManager/v202508/CustomFieldValueError.php index 70b5ce47d..f9d03d594 100644 --- a/src/Google/AdsApi/AdManager/v202508/CustomFieldValueError.php +++ b/src/Google/AdsApi/AdManager/v202508/CustomFieldValueError.php @@ -21,7 +21,7 @@ class CustomFieldValueError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/CustomPacingCurve.php b/src/Google/AdsApi/AdManager/v202508/CustomPacingCurve.php index b9986a51d..46951ae21 100644 --- a/src/Google/AdsApi/AdManager/v202508/CustomPacingCurve.php +++ b/src/Google/AdsApi/AdManager/v202508/CustomPacingCurve.php @@ -23,7 +23,7 @@ class CustomPacingCurve * @param string $customPacingGoalUnit * @param \Google\AdsApi\AdManager\v202508\CustomPacingGoal[] $customPacingGoals */ - public function __construct($customPacingGoalUnit = null, array $customPacingGoals = null) + public function __construct($customPacingGoalUnit = null, ?array $customPacingGoals = null) { $this->customPacingGoalUnit = $customPacingGoalUnit; $this->customPacingGoals = $customPacingGoals; @@ -59,7 +59,7 @@ public function getCustomPacingGoals() * @param \Google\AdsApi\AdManager\v202508\CustomPacingGoal[]|null $customPacingGoals * @return \Google\AdsApi\AdManager\v202508\CustomPacingCurve */ - public function setCustomPacingGoals(array $customPacingGoals = null) + public function setCustomPacingGoals(?array $customPacingGoals = null) { $this->customPacingGoals = $customPacingGoals; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/CustomTargetingError.php b/src/Google/AdsApi/AdManager/v202508/CustomTargetingError.php index 4835e94a4..628674143 100644 --- a/src/Google/AdsApi/AdManager/v202508/CustomTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202508/CustomTargetingError.php @@ -21,7 +21,7 @@ class CustomTargetingError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/CustomTargetingKeyPage.php b/src/Google/AdsApi/AdManager/v202508/CustomTargetingKeyPage.php index 362a0d70a..9b4517980 100644 --- a/src/Google/AdsApi/AdManager/v202508/CustomTargetingKeyPage.php +++ b/src/Google/AdsApi/AdManager/v202508/CustomTargetingKeyPage.php @@ -29,7 +29,7 @@ class CustomTargetingKeyPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\CustomTargetingKey[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\CustomTargetingKey[]|null $results * @return \Google\AdsApi\AdManager\v202508\CustomTargetingKeyPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/CustomTargetingValuePage.php b/src/Google/AdsApi/AdManager/v202508/CustomTargetingValuePage.php index a08ee3ecc..b64313a15 100644 --- a/src/Google/AdsApi/AdManager/v202508/CustomTargetingValuePage.php +++ b/src/Google/AdsApi/AdManager/v202508/CustomTargetingValuePage.php @@ -29,7 +29,7 @@ class CustomTargetingValuePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\CustomTargetingValue[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\CustomTargetingValue[]|null $results * @return \Google\AdsApi\AdManager\v202508\CustomTargetingValuePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/DaiAuthenticationKeyActionError.php b/src/Google/AdsApi/AdManager/v202508/DaiAuthenticationKeyActionError.php index 17d54dacc..c5e59f7b5 100644 --- a/src/Google/AdsApi/AdManager/v202508/DaiAuthenticationKeyActionError.php +++ b/src/Google/AdsApi/AdManager/v202508/DaiAuthenticationKeyActionError.php @@ -21,7 +21,7 @@ class DaiAuthenticationKeyActionError extends \Google\AdsApi\AdManager\v202508\A * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/DaiAuthenticationKeyPage.php b/src/Google/AdsApi/AdManager/v202508/DaiAuthenticationKeyPage.php index a11b038ee..795cb3985 100644 --- a/src/Google/AdsApi/AdManager/v202508/DaiAuthenticationKeyPage.php +++ b/src/Google/AdsApi/AdManager/v202508/DaiAuthenticationKeyPage.php @@ -29,7 +29,7 @@ class DaiAuthenticationKeyPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\DaiAuthenticationKey[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\DaiAuthenticationKey[]|null $results * @return \Google\AdsApi\AdManager\v202508\DaiAuthenticationKeyPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/DaiEncodingProfileAdMatchingError.php b/src/Google/AdsApi/AdManager/v202508/DaiEncodingProfileAdMatchingError.php index 42bd346a3..9212aede4 100644 --- a/src/Google/AdsApi/AdManager/v202508/DaiEncodingProfileAdMatchingError.php +++ b/src/Google/AdsApi/AdManager/v202508/DaiEncodingProfileAdMatchingError.php @@ -21,7 +21,7 @@ class DaiEncodingProfileAdMatchingError extends \Google\AdsApi\AdManager\v202508 * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/DaiEncodingProfileContainerSettingsError.php b/src/Google/AdsApi/AdManager/v202508/DaiEncodingProfileContainerSettingsError.php index 38f750726..c28eeba08 100644 --- a/src/Google/AdsApi/AdManager/v202508/DaiEncodingProfileContainerSettingsError.php +++ b/src/Google/AdsApi/AdManager/v202508/DaiEncodingProfileContainerSettingsError.php @@ -21,7 +21,7 @@ class DaiEncodingProfileContainerSettingsError extends \Google\AdsApi\AdManager\ * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/DaiEncodingProfileNameError.php b/src/Google/AdsApi/AdManager/v202508/DaiEncodingProfileNameError.php index 33e8c7c6d..4674cc196 100644 --- a/src/Google/AdsApi/AdManager/v202508/DaiEncodingProfileNameError.php +++ b/src/Google/AdsApi/AdManager/v202508/DaiEncodingProfileNameError.php @@ -21,7 +21,7 @@ class DaiEncodingProfileNameError extends \Google\AdsApi\AdManager\v202508\ApiEr * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/DaiEncodingProfilePage.php b/src/Google/AdsApi/AdManager/v202508/DaiEncodingProfilePage.php index 6970bb1e7..9bebf228e 100644 --- a/src/Google/AdsApi/AdManager/v202508/DaiEncodingProfilePage.php +++ b/src/Google/AdsApi/AdManager/v202508/DaiEncodingProfilePage.php @@ -29,7 +29,7 @@ class DaiEncodingProfilePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\DaiEncodingProfile[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\DaiEncodingProfile[]|null $results * @return \Google\AdsApi\AdManager\v202508\DaiEncodingProfilePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/DaiEncodingProfileUpdateError.php b/src/Google/AdsApi/AdManager/v202508/DaiEncodingProfileUpdateError.php index 35565efa9..87f87d4cc 100644 --- a/src/Google/AdsApi/AdManager/v202508/DaiEncodingProfileUpdateError.php +++ b/src/Google/AdsApi/AdManager/v202508/DaiEncodingProfileUpdateError.php @@ -21,7 +21,7 @@ class DaiEncodingProfileUpdateError extends \Google\AdsApi\AdManager\v202508\Api * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/DaiEncodingProfileVariantSettingsError.php b/src/Google/AdsApi/AdManager/v202508/DaiEncodingProfileVariantSettingsError.php index 0b199289f..b24f55ced 100644 --- a/src/Google/AdsApi/AdManager/v202508/DaiEncodingProfileVariantSettingsError.php +++ b/src/Google/AdsApi/AdManager/v202508/DaiEncodingProfileVariantSettingsError.php @@ -21,7 +21,7 @@ class DaiEncodingProfileVariantSettingsError extends \Google\AdsApi\AdManager\v2 * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/DailyVolumeSettings.php b/src/Google/AdsApi/AdManager/v202508/DailyVolumeSettings.php index 83a1e6fde..a1eb39b0f 100644 --- a/src/Google/AdsApi/AdManager/v202508/DailyVolumeSettings.php +++ b/src/Google/AdsApi/AdManager/v202508/DailyVolumeSettings.php @@ -17,7 +17,7 @@ class DailyVolumeSettings /** * @param int[] $adOpportunityCounts */ - public function __construct(array $adOpportunityCounts = null) + public function __construct(?array $adOpportunityCounts = null) { $this->adOpportunityCounts = $adOpportunityCounts; } @@ -34,7 +34,7 @@ public function getAdOpportunityCounts() * @param int[]|null $adOpportunityCounts * @return \Google\AdsApi\AdManager\v202508\DailyVolumeSettings */ - public function setAdOpportunityCounts(array $adOpportunityCounts = null) + public function setAdOpportunityCounts(?array $adOpportunityCounts = null) { $this->adOpportunityCounts = $adOpportunityCounts; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/DateError.php b/src/Google/AdsApi/AdManager/v202508/DateError.php index 505abeab5..5628cc75c 100644 --- a/src/Google/AdsApi/AdManager/v202508/DateError.php +++ b/src/Google/AdsApi/AdManager/v202508/DateError.php @@ -21,7 +21,7 @@ class DateError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/DateTimeRangeTargeting.php b/src/Google/AdsApi/AdManager/v202508/DateTimeRangeTargeting.php index 7da69c138..4fdfbf9fe 100644 --- a/src/Google/AdsApi/AdManager/v202508/DateTimeRangeTargeting.php +++ b/src/Google/AdsApi/AdManager/v202508/DateTimeRangeTargeting.php @@ -17,7 +17,7 @@ class DateTimeRangeTargeting /** * @param \Google\AdsApi\AdManager\v202508\DateTimeRange[] $targetedDateTimeRanges */ - public function __construct(array $targetedDateTimeRanges = null) + public function __construct(?array $targetedDateTimeRanges = null) { $this->targetedDateTimeRanges = $targetedDateTimeRanges; } @@ -34,7 +34,7 @@ public function getTargetedDateTimeRanges() * @param \Google\AdsApi\AdManager\v202508\DateTimeRange[]|null $targetedDateTimeRanges * @return \Google\AdsApi\AdManager\v202508\DateTimeRangeTargeting */ - public function setTargetedDateTimeRanges(array $targetedDateTimeRanges = null) + public function setTargetedDateTimeRanges(?array $targetedDateTimeRanges = null) { $this->targetedDateTimeRanges = $targetedDateTimeRanges; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/DateTimeRangeTargetingError.php b/src/Google/AdsApi/AdManager/v202508/DateTimeRangeTargetingError.php index c1f90ecef..eda6ddc30 100644 --- a/src/Google/AdsApi/AdManager/v202508/DateTimeRangeTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202508/DateTimeRangeTargetingError.php @@ -21,7 +21,7 @@ class DateTimeRangeTargetingError extends \Google\AdsApi\AdManager\v202508\ApiEr * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/DayPartTargeting.php b/src/Google/AdsApi/AdManager/v202508/DayPartTargeting.php index d2feaf1d8..fc7f5ab87 100644 --- a/src/Google/AdsApi/AdManager/v202508/DayPartTargeting.php +++ b/src/Google/AdsApi/AdManager/v202508/DayPartTargeting.php @@ -23,7 +23,7 @@ class DayPartTargeting * @param \Google\AdsApi\AdManager\v202508\DayPart[] $dayParts * @param string $timeZone */ - public function __construct(array $dayParts = null, $timeZone = null) + public function __construct(?array $dayParts = null, $timeZone = null) { $this->dayParts = $dayParts; $this->timeZone = $timeZone; @@ -41,7 +41,7 @@ public function getDayParts() * @param \Google\AdsApi\AdManager\v202508\DayPart[]|null $dayParts * @return \Google\AdsApi\AdManager\v202508\DayPartTargeting */ - public function setDayParts(array $dayParts = null) + public function setDayParts(?array $dayParts = null) { $this->dayParts = $dayParts; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/DayPartTargetingError.php b/src/Google/AdsApi/AdManager/v202508/DayPartTargetingError.php index 2d9ccd964..2e7349a98 100644 --- a/src/Google/AdsApi/AdManager/v202508/DayPartTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202508/DayPartTargetingError.php @@ -21,7 +21,7 @@ class DayPartTargetingError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/DealError.php b/src/Google/AdsApi/AdManager/v202508/DealError.php index 9466a1707..547d47836 100644 --- a/src/Google/AdsApi/AdManager/v202508/DealError.php +++ b/src/Google/AdsApi/AdManager/v202508/DealError.php @@ -21,7 +21,7 @@ class DealError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/DeliveryData.php b/src/Google/AdsApi/AdManager/v202508/DeliveryData.php index cd42d02f5..de5995ab7 100644 --- a/src/Google/AdsApi/AdManager/v202508/DeliveryData.php +++ b/src/Google/AdsApi/AdManager/v202508/DeliveryData.php @@ -17,7 +17,7 @@ class DeliveryData /** * @param int[] $units */ - public function __construct(array $units = null) + public function __construct(?array $units = null) { $this->units = $units; } @@ -34,7 +34,7 @@ public function getUnits() * @param int[]|null $units * @return \Google\AdsApi\AdManager\v202508\DeliveryData */ - public function setUnits(array $units = null) + public function setUnits(?array $units = null) { $this->units = $units; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/DeliveryForecast.php b/src/Google/AdsApi/AdManager/v202508/DeliveryForecast.php index 7ab83d387..cfe113dea 100644 --- a/src/Google/AdsApi/AdManager/v202508/DeliveryForecast.php +++ b/src/Google/AdsApi/AdManager/v202508/DeliveryForecast.php @@ -17,7 +17,7 @@ class DeliveryForecast /** * @param \Google\AdsApi\AdManager\v202508\LineItemDeliveryForecast[] $lineItemDeliveryForecasts */ - public function __construct(array $lineItemDeliveryForecasts = null) + public function __construct(?array $lineItemDeliveryForecasts = null) { $this->lineItemDeliveryForecasts = $lineItemDeliveryForecasts; } @@ -34,7 +34,7 @@ public function getLineItemDeliveryForecasts() * @param \Google\AdsApi\AdManager\v202508\LineItemDeliveryForecast[]|null $lineItemDeliveryForecasts * @return \Google\AdsApi\AdManager\v202508\DeliveryForecast */ - public function setLineItemDeliveryForecasts(array $lineItemDeliveryForecasts = null) + public function setLineItemDeliveryForecasts(?array $lineItemDeliveryForecasts = null) { $this->lineItemDeliveryForecasts = $lineItemDeliveryForecasts; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/DeliveryForecastOptions.php b/src/Google/AdsApi/AdManager/v202508/DeliveryForecastOptions.php index ef8947811..d4038e1f7 100644 --- a/src/Google/AdsApi/AdManager/v202508/DeliveryForecastOptions.php +++ b/src/Google/AdsApi/AdManager/v202508/DeliveryForecastOptions.php @@ -17,7 +17,7 @@ class DeliveryForecastOptions /** * @param int[] $ignoredLineItemIds */ - public function __construct(array $ignoredLineItemIds = null) + public function __construct(?array $ignoredLineItemIds = null) { $this->ignoredLineItemIds = $ignoredLineItemIds; } @@ -34,7 +34,7 @@ public function getIgnoredLineItemIds() * @param int[]|null $ignoredLineItemIds * @return \Google\AdsApi\AdManager\v202508\DeliveryForecastOptions */ - public function setIgnoredLineItemIds(array $ignoredLineItemIds = null) + public function setIgnoredLineItemIds(?array $ignoredLineItemIds = null) { $this->ignoredLineItemIds = $ignoredLineItemIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/DeviceCapabilityTargeting.php b/src/Google/AdsApi/AdManager/v202508/DeviceCapabilityTargeting.php index 8ff59f9c4..578224f97 100644 --- a/src/Google/AdsApi/AdManager/v202508/DeviceCapabilityTargeting.php +++ b/src/Google/AdsApi/AdManager/v202508/DeviceCapabilityTargeting.php @@ -23,7 +23,7 @@ class DeviceCapabilityTargeting * @param \Google\AdsApi\AdManager\v202508\Technology[] $targetedDeviceCapabilities * @param \Google\AdsApi\AdManager\v202508\Technology[] $excludedDeviceCapabilities */ - public function __construct(array $targetedDeviceCapabilities = null, array $excludedDeviceCapabilities = null) + public function __construct(?array $targetedDeviceCapabilities = null, ?array $excludedDeviceCapabilities = null) { $this->targetedDeviceCapabilities = $targetedDeviceCapabilities; $this->excludedDeviceCapabilities = $excludedDeviceCapabilities; @@ -41,7 +41,7 @@ public function getTargetedDeviceCapabilities() * @param \Google\AdsApi\AdManager\v202508\Technology[]|null $targetedDeviceCapabilities * @return \Google\AdsApi\AdManager\v202508\DeviceCapabilityTargeting */ - public function setTargetedDeviceCapabilities(array $targetedDeviceCapabilities = null) + public function setTargetedDeviceCapabilities(?array $targetedDeviceCapabilities = null) { $this->targetedDeviceCapabilities = $targetedDeviceCapabilities; return $this; @@ -59,7 +59,7 @@ public function getExcludedDeviceCapabilities() * @param \Google\AdsApi\AdManager\v202508\Technology[]|null $excludedDeviceCapabilities * @return \Google\AdsApi\AdManager\v202508\DeviceCapabilityTargeting */ - public function setExcludedDeviceCapabilities(array $excludedDeviceCapabilities = null) + public function setExcludedDeviceCapabilities(?array $excludedDeviceCapabilities = null) { $this->excludedDeviceCapabilities = $excludedDeviceCapabilities; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/DeviceCategoryTargeting.php b/src/Google/AdsApi/AdManager/v202508/DeviceCategoryTargeting.php index 79a7b5579..1019c1d16 100644 --- a/src/Google/AdsApi/AdManager/v202508/DeviceCategoryTargeting.php +++ b/src/Google/AdsApi/AdManager/v202508/DeviceCategoryTargeting.php @@ -23,7 +23,7 @@ class DeviceCategoryTargeting * @param \Google\AdsApi\AdManager\v202508\Technology[] $targetedDeviceCategories * @param \Google\AdsApi\AdManager\v202508\Technology[] $excludedDeviceCategories */ - public function __construct(array $targetedDeviceCategories = null, array $excludedDeviceCategories = null) + public function __construct(?array $targetedDeviceCategories = null, ?array $excludedDeviceCategories = null) { $this->targetedDeviceCategories = $targetedDeviceCategories; $this->excludedDeviceCategories = $excludedDeviceCategories; @@ -41,7 +41,7 @@ public function getTargetedDeviceCategories() * @param \Google\AdsApi\AdManager\v202508\Technology[]|null $targetedDeviceCategories * @return \Google\AdsApi\AdManager\v202508\DeviceCategoryTargeting */ - public function setTargetedDeviceCategories(array $targetedDeviceCategories = null) + public function setTargetedDeviceCategories(?array $targetedDeviceCategories = null) { $this->targetedDeviceCategories = $targetedDeviceCategories; return $this; @@ -59,7 +59,7 @@ public function getExcludedDeviceCategories() * @param \Google\AdsApi\AdManager\v202508\Technology[]|null $excludedDeviceCategories * @return \Google\AdsApi\AdManager\v202508\DeviceCategoryTargeting */ - public function setExcludedDeviceCategories(array $excludedDeviceCategories = null) + public function setExcludedDeviceCategories(?array $excludedDeviceCategories = null) { $this->excludedDeviceCategories = $excludedDeviceCategories; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/DeviceManufacturerTargeting.php b/src/Google/AdsApi/AdManager/v202508/DeviceManufacturerTargeting.php index 3ad6c5194..fbe752693 100644 --- a/src/Google/AdsApi/AdManager/v202508/DeviceManufacturerTargeting.php +++ b/src/Google/AdsApi/AdManager/v202508/DeviceManufacturerTargeting.php @@ -23,7 +23,7 @@ class DeviceManufacturerTargeting * @param boolean $isTargeted * @param \Google\AdsApi\AdManager\v202508\Technology[] $deviceManufacturers */ - public function __construct($isTargeted = null, array $deviceManufacturers = null) + public function __construct($isTargeted = null, ?array $deviceManufacturers = null) { $this->isTargeted = $isTargeted; $this->deviceManufacturers = $deviceManufacturers; @@ -59,7 +59,7 @@ public function getDeviceManufacturers() * @param \Google\AdsApi\AdManager\v202508\Technology[]|null $deviceManufacturers * @return \Google\AdsApi\AdManager\v202508\DeviceManufacturerTargeting */ - public function setDeviceManufacturers(array $deviceManufacturers = null) + public function setDeviceManufacturers(?array $deviceManufacturers = null) { $this->deviceManufacturers = $deviceManufacturers; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/DistinctError.php b/src/Google/AdsApi/AdManager/v202508/DistinctError.php index ecbf4b763..3f3533602 100644 --- a/src/Google/AdsApi/AdManager/v202508/DistinctError.php +++ b/src/Google/AdsApi/AdManager/v202508/DistinctError.php @@ -21,7 +21,7 @@ class DistinctError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/DropDownCustomField.php b/src/Google/AdsApi/AdManager/v202508/DropDownCustomField.php index 40b52d205..593dad22d 100644 --- a/src/Google/AdsApi/AdManager/v202508/DropDownCustomField.php +++ b/src/Google/AdsApi/AdManager/v202508/DropDownCustomField.php @@ -24,7 +24,7 @@ class DropDownCustomField extends \Google\AdsApi\AdManager\v202508\CustomField * @param string $visibility * @param \Google\AdsApi\AdManager\v202508\CustomFieldOption[] $options */ - public function __construct($id = null, $name = null, $description = null, $isActive = null, $entityType = null, $dataType = null, $visibility = null, array $options = null) + public function __construct($id = null, $name = null, $description = null, $isActive = null, $entityType = null, $dataType = null, $visibility = null, ?array $options = null) { parent::__construct($id, $name, $description, $isActive, $entityType, $dataType, $visibility); $this->options = $options; @@ -42,7 +42,7 @@ public function getOptions() * @param \Google\AdsApi\AdManager\v202508\CustomFieldOption[]|null $options * @return \Google\AdsApi\AdManager\v202508\DropDownCustomField */ - public function setOptions(array $options = null) + public function setOptions(?array $options = null) { $this->options = $options; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/EntityChildrenLimitReachedError.php b/src/Google/AdsApi/AdManager/v202508/EntityChildrenLimitReachedError.php index dae84084b..057c2c148 100644 --- a/src/Google/AdsApi/AdManager/v202508/EntityChildrenLimitReachedError.php +++ b/src/Google/AdsApi/AdManager/v202508/EntityChildrenLimitReachedError.php @@ -21,7 +21,7 @@ class EntityChildrenLimitReachedError extends \Google\AdsApi\AdManager\v202508\A * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/EntityLimitReachedError.php b/src/Google/AdsApi/AdManager/v202508/EntityLimitReachedError.php index 8cb36a288..62fe7e81a 100644 --- a/src/Google/AdsApi/AdManager/v202508/EntityLimitReachedError.php +++ b/src/Google/AdsApi/AdManager/v202508/EntityLimitReachedError.php @@ -21,7 +21,7 @@ class EntityLimitReachedError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/ExchangeRateError.php b/src/Google/AdsApi/AdManager/v202508/ExchangeRateError.php index 4c170cbd6..40024e385 100644 --- a/src/Google/AdsApi/AdManager/v202508/ExchangeRateError.php +++ b/src/Google/AdsApi/AdManager/v202508/ExchangeRateError.php @@ -21,7 +21,7 @@ class ExchangeRateError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/ExchangeSignupApiError.php b/src/Google/AdsApi/AdManager/v202508/ExchangeSignupApiError.php index a3492332c..174d0d595 100644 --- a/src/Google/AdsApi/AdManager/v202508/ExchangeSignupApiError.php +++ b/src/Google/AdsApi/AdManager/v202508/ExchangeSignupApiError.php @@ -21,7 +21,7 @@ class ExchangeSignupApiError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/FeatureError.php b/src/Google/AdsApi/AdManager/v202508/FeatureError.php index ecb56054e..e33261110 100644 --- a/src/Google/AdsApi/AdManager/v202508/FeatureError.php +++ b/src/Google/AdsApi/AdManager/v202508/FeatureError.php @@ -21,7 +21,7 @@ class FeatureError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/FileError.php b/src/Google/AdsApi/AdManager/v202508/FileError.php index 801e81e4f..315f5e057 100644 --- a/src/Google/AdsApi/AdManager/v202508/FileError.php +++ b/src/Google/AdsApi/AdManager/v202508/FileError.php @@ -21,7 +21,7 @@ class FileError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/FirstPartyAudienceSegment.php b/src/Google/AdsApi/AdManager/v202508/FirstPartyAudienceSegment.php index b2a7e45fd..2c32139c7 100644 --- a/src/Google/AdsApi/AdManager/v202508/FirstPartyAudienceSegment.php +++ b/src/Google/AdsApi/AdManager/v202508/FirstPartyAudienceSegment.php @@ -23,7 +23,7 @@ abstract class FirstPartyAudienceSegment extends \Google\AdsApi\AdManager\v20250 * @param \Google\AdsApi\AdManager\v202508\AudienceSegmentDataProvider $dataProvider * @param string $type */ - public function __construct($id = null, $name = null, array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null) + public function __construct($id = null, $name = null, ?array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null) { parent::__construct($id, $name, $categoryIds, $description, $status, $size, $mobileWebSize, $idfaSize, $adIdSize, $ppidSize, $dataProvider, $type); } diff --git a/src/Google/AdsApi/AdManager/v202508/ForecastAdjustment.php b/src/Google/AdsApi/AdManager/v202508/ForecastAdjustment.php index 7f9e0651b..29539c939 100644 --- a/src/Google/AdsApi/AdManager/v202508/ForecastAdjustment.php +++ b/src/Google/AdsApi/AdManager/v202508/ForecastAdjustment.php @@ -77,7 +77,7 @@ class ForecastAdjustment * @param \Google\AdsApi\AdManager\v202508\HistoricalBasisVolumeSettings $historicalBasisVolumeSettings * @param int[] $calculatedDailyAdOpportunityCounts */ - public function __construct($id = null, $trafficForecastSegmentId = null, $name = null, $dateRange = null, $status = null, $volumeType = null, $allowAdjustingForecastAboveRecommendedLimit = null, $dailyVolumeSettings = null, $totalVolumeSettings = null, $historicalBasisVolumeSettings = null, array $calculatedDailyAdOpportunityCounts = null) + public function __construct($id = null, $trafficForecastSegmentId = null, $name = null, $dateRange = null, $status = null, $volumeType = null, $allowAdjustingForecastAboveRecommendedLimit = null, $dailyVolumeSettings = null, $totalVolumeSettings = null, $historicalBasisVolumeSettings = null, ?array $calculatedDailyAdOpportunityCounts = null) { $this->id = $id; $this->trafficForecastSegmentId = $trafficForecastSegmentId; @@ -286,7 +286,7 @@ public function getCalculatedDailyAdOpportunityCounts() * @param int[]|null $calculatedDailyAdOpportunityCounts * @return \Google\AdsApi\AdManager\v202508\ForecastAdjustment */ - public function setCalculatedDailyAdOpportunityCounts(array $calculatedDailyAdOpportunityCounts = null) + public function setCalculatedDailyAdOpportunityCounts(?array $calculatedDailyAdOpportunityCounts = null) { $this->calculatedDailyAdOpportunityCounts = $calculatedDailyAdOpportunityCounts; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/ForecastAdjustmentError.php b/src/Google/AdsApi/AdManager/v202508/ForecastAdjustmentError.php index 4e7ca0f67..a9149612b 100644 --- a/src/Google/AdsApi/AdManager/v202508/ForecastAdjustmentError.php +++ b/src/Google/AdsApi/AdManager/v202508/ForecastAdjustmentError.php @@ -21,7 +21,7 @@ class ForecastAdjustmentError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/ForecastAdjustmentPage.php b/src/Google/AdsApi/AdManager/v202508/ForecastAdjustmentPage.php index 01d0420ec..b81a3385b 100644 --- a/src/Google/AdsApi/AdManager/v202508/ForecastAdjustmentPage.php +++ b/src/Google/AdsApi/AdManager/v202508/ForecastAdjustmentPage.php @@ -29,7 +29,7 @@ class ForecastAdjustmentPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\ForecastAdjustment[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\ForecastAdjustment[]|null $results * @return \Google\AdsApi\AdManager\v202508\ForecastAdjustmentPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/ForecastBreakdown.php b/src/Google/AdsApi/AdManager/v202508/ForecastBreakdown.php index aece9b74e..fd0c3ce6b 100644 --- a/src/Google/AdsApi/AdManager/v202508/ForecastBreakdown.php +++ b/src/Google/AdsApi/AdManager/v202508/ForecastBreakdown.php @@ -29,7 +29,7 @@ class ForecastBreakdown * @param \Google\AdsApi\AdManager\v202508\DateTime $endTime * @param \Google\AdsApi\AdManager\v202508\ForecastBreakdownEntry[] $breakdownEntries */ - public function __construct($startTime = null, $endTime = null, array $breakdownEntries = null) + public function __construct($startTime = null, $endTime = null, ?array $breakdownEntries = null) { $this->startTime = $startTime; $this->endTime = $endTime; @@ -84,7 +84,7 @@ public function getBreakdownEntries() * @param \Google\AdsApi\AdManager\v202508\ForecastBreakdownEntry[]|null $breakdownEntries * @return \Google\AdsApi\AdManager\v202508\ForecastBreakdown */ - public function setBreakdownEntries(array $breakdownEntries = null) + public function setBreakdownEntries(?array $breakdownEntries = null) { $this->breakdownEntries = $breakdownEntries; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/ForecastBreakdownOptions.php b/src/Google/AdsApi/AdManager/v202508/ForecastBreakdownOptions.php index 904cf0529..bb52c8df5 100644 --- a/src/Google/AdsApi/AdManager/v202508/ForecastBreakdownOptions.php +++ b/src/Google/AdsApi/AdManager/v202508/ForecastBreakdownOptions.php @@ -23,7 +23,7 @@ class ForecastBreakdownOptions * @param \Google\AdsApi\AdManager\v202508\DateTime[] $timeWindows * @param \Google\AdsApi\AdManager\v202508\ForecastBreakdownTarget[] $targets */ - public function __construct(array $timeWindows = null, array $targets = null) + public function __construct(?array $timeWindows = null, ?array $targets = null) { $this->timeWindows = $timeWindows; $this->targets = $targets; @@ -41,7 +41,7 @@ public function getTimeWindows() * @param \Google\AdsApi\AdManager\v202508\DateTime[]|null $timeWindows * @return \Google\AdsApi\AdManager\v202508\ForecastBreakdownOptions */ - public function setTimeWindows(array $timeWindows = null) + public function setTimeWindows(?array $timeWindows = null) { $this->timeWindows = $timeWindows; return $this; @@ -59,7 +59,7 @@ public function getTargets() * @param \Google\AdsApi\AdManager\v202508\ForecastBreakdownTarget[]|null $targets * @return \Google\AdsApi\AdManager\v202508\ForecastBreakdownOptions */ - public function setTargets(array $targets = null) + public function setTargets(?array $targets = null) { $this->targets = $targets; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/ForecastError.php b/src/Google/AdsApi/AdManager/v202508/ForecastError.php index 3aa998e7d..f89a8e970 100644 --- a/src/Google/AdsApi/AdManager/v202508/ForecastError.php +++ b/src/Google/AdsApi/AdManager/v202508/ForecastError.php @@ -21,7 +21,7 @@ class ForecastError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/FrequencyCapError.php b/src/Google/AdsApi/AdManager/v202508/FrequencyCapError.php index a117eafca..8d0c7bd29 100644 --- a/src/Google/AdsApi/AdManager/v202508/FrequencyCapError.php +++ b/src/Google/AdsApi/AdManager/v202508/FrequencyCapError.php @@ -21,7 +21,7 @@ class FrequencyCapError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/GenericTargetingError.php b/src/Google/AdsApi/AdManager/v202508/GenericTargetingError.php index 8520a5a69..8454b8906 100644 --- a/src/Google/AdsApi/AdManager/v202508/GenericTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202508/GenericTargetingError.php @@ -21,7 +21,7 @@ class GenericTargetingError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/GeoTargeting.php b/src/Google/AdsApi/AdManager/v202508/GeoTargeting.php index 475e3d172..ecb7bef3e 100644 --- a/src/Google/AdsApi/AdManager/v202508/GeoTargeting.php +++ b/src/Google/AdsApi/AdManager/v202508/GeoTargeting.php @@ -23,7 +23,7 @@ class GeoTargeting * @param \Google\AdsApi\AdManager\v202508\Location[] $targetedLocations * @param \Google\AdsApi\AdManager\v202508\Location[] $excludedLocations */ - public function __construct(array $targetedLocations = null, array $excludedLocations = null) + public function __construct(?array $targetedLocations = null, ?array $excludedLocations = null) { $this->targetedLocations = $targetedLocations; $this->excludedLocations = $excludedLocations; @@ -41,7 +41,7 @@ public function getTargetedLocations() * @param \Google\AdsApi\AdManager\v202508\Location[]|null $targetedLocations * @return \Google\AdsApi\AdManager\v202508\GeoTargeting */ - public function setTargetedLocations(array $targetedLocations = null) + public function setTargetedLocations(?array $targetedLocations = null) { $this->targetedLocations = $targetedLocations; return $this; @@ -59,7 +59,7 @@ public function getExcludedLocations() * @param \Google\AdsApi\AdManager\v202508\Location[]|null $excludedLocations * @return \Google\AdsApi\AdManager\v202508\GeoTargeting */ - public function setExcludedLocations(array $excludedLocations = null) + public function setExcludedLocations(?array $excludedLocations = null) { $this->excludedLocations = $excludedLocations; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/GeoTargetingError.php b/src/Google/AdsApi/AdManager/v202508/GeoTargetingError.php index f269a5573..029e527d1 100644 --- a/src/Google/AdsApi/AdManager/v202508/GeoTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202508/GeoTargetingError.php @@ -21,7 +21,7 @@ class GeoTargetingError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/GrpSettingsError.php b/src/Google/AdsApi/AdManager/v202508/GrpSettingsError.php index 2927cd40f..ebc3efc84 100644 --- a/src/Google/AdsApi/AdManager/v202508/GrpSettingsError.php +++ b/src/Google/AdsApi/AdManager/v202508/GrpSettingsError.php @@ -21,7 +21,7 @@ class GrpSettingsError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/HasDestinationUrlCreative.php b/src/Google/AdsApi/AdManager/v202508/HasDestinationUrlCreative.php index 13ae2b2ee..b8b0d70cd 100644 --- a/src/Google/AdsApi/AdManager/v202508/HasDestinationUrlCreative.php +++ b/src/Google/AdsApi/AdManager/v202508/HasDestinationUrlCreative.php @@ -35,7 +35,7 @@ abstract class HasDestinationUrlCreative extends \Google\AdsApi\AdManager\v20250 * @param string $destinationUrl * @param string $destinationUrlType */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent); $this->destinationUrl = $destinationUrl; diff --git a/src/Google/AdsApi/AdManager/v202508/HasHtmlSnippetDynamicAllocationCreative.php b/src/Google/AdsApi/AdManager/v202508/HasHtmlSnippetDynamicAllocationCreative.php index 0bf8af097..65b1d230d 100644 --- a/src/Google/AdsApi/AdManager/v202508/HasHtmlSnippetDynamicAllocationCreative.php +++ b/src/Google/AdsApi/AdManager/v202508/HasHtmlSnippetDynamicAllocationCreative.php @@ -29,7 +29,7 @@ abstract class HasHtmlSnippetDynamicAllocationCreative extends \Google\AdsApi\Ad * @param boolean $selfDeclaredEuropeanUnionPoliticalContent * @param string $codeSnippet */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $codeSnippet = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $codeSnippet = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent); $this->codeSnippet = $codeSnippet; diff --git a/src/Google/AdsApi/AdManager/v202508/Html5Creative.php b/src/Google/AdsApi/AdManager/v202508/Html5Creative.php index 5506ff9a7..dd826e5fc 100644 --- a/src/Google/AdsApi/AdManager/v202508/Html5Creative.php +++ b/src/Google/AdsApi/AdManager/v202508/Html5Creative.php @@ -71,7 +71,7 @@ class Html5Creative extends \Google\AdsApi\AdManager\v202508\Creative * @param boolean $isSafeFrameCompatible * @param \Google\AdsApi\AdManager\v202508\CreativeAsset $html5Asset */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $overrideSize = null, array $thirdPartyImpressionTrackingUrls = null, $thirdPartyClickTrackingUrl = null, $lockedOrientation = null, $sslScanResult = null, $sslManualOverride = null, $isSafeFrameCompatible = null, $html5Asset = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $overrideSize = null, ?array $thirdPartyImpressionTrackingUrls = null, $thirdPartyClickTrackingUrl = null, $lockedOrientation = null, $sslScanResult = null, $sslManualOverride = null, $isSafeFrameCompatible = null, $html5Asset = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent); $this->overrideSize = $overrideSize; @@ -114,7 +114,7 @@ public function getThirdPartyImpressionTrackingUrls() * @param string[]|null $thirdPartyImpressionTrackingUrls * @return \Google\AdsApi\AdManager\v202508\Html5Creative */ - public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) + public function setThirdPartyImpressionTrackingUrls(?array $thirdPartyImpressionTrackingUrls = null) { $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/HtmlBundleProcessorError.php b/src/Google/AdsApi/AdManager/v202508/HtmlBundleProcessorError.php index 56921f759..6b50c9441 100644 --- a/src/Google/AdsApi/AdManager/v202508/HtmlBundleProcessorError.php +++ b/src/Google/AdsApi/AdManager/v202508/HtmlBundleProcessorError.php @@ -21,7 +21,7 @@ class HtmlBundleProcessorError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/IdError.php b/src/Google/AdsApi/AdManager/v202508/IdError.php index f1bca4e8b..d4b783103 100644 --- a/src/Google/AdsApi/AdManager/v202508/IdError.php +++ b/src/Google/AdsApi/AdManager/v202508/IdError.php @@ -21,7 +21,7 @@ class IdError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/ImageCreative.php b/src/Google/AdsApi/AdManager/v202508/ImageCreative.php index 2fd89dd68..fdd6a3dac 100644 --- a/src/Google/AdsApi/AdManager/v202508/ImageCreative.php +++ b/src/Google/AdsApi/AdManager/v202508/ImageCreative.php @@ -45,7 +45,7 @@ class ImageCreative extends \Google\AdsApi\AdManager\v202508\BaseImageCreative * @param string[] $thirdPartyImpressionTrackingUrls * @param \Google\AdsApi\AdManager\v202508\CreativeAsset[] $secondaryImageAssets */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $overrideSize = null, $primaryImageAsset = null, $altText = null, array $thirdPartyImpressionTrackingUrls = null, array $secondaryImageAssets = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $overrideSize = null, $primaryImageAsset = null, $altText = null, ?array $thirdPartyImpressionTrackingUrls = null, ?array $secondaryImageAssets = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent, $destinationUrl, $destinationUrlType, $overrideSize, $primaryImageAsset); $this->altText = $altText; @@ -83,7 +83,7 @@ public function getThirdPartyImpressionTrackingUrls() * @param string[]|null $thirdPartyImpressionTrackingUrls * @return \Google\AdsApi\AdManager\v202508\ImageCreative */ - public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) + public function setThirdPartyImpressionTrackingUrls(?array $thirdPartyImpressionTrackingUrls = null) { $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; return $this; @@ -101,7 +101,7 @@ public function getSecondaryImageAssets() * @param \Google\AdsApi\AdManager\v202508\CreativeAsset[]|null $secondaryImageAssets * @return \Google\AdsApi\AdManager\v202508\ImageCreative */ - public function setSecondaryImageAssets(array $secondaryImageAssets = null) + public function setSecondaryImageAssets(?array $secondaryImageAssets = null) { $this->secondaryImageAssets = $secondaryImageAssets; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/ImageError.php b/src/Google/AdsApi/AdManager/v202508/ImageError.php index b2fbafe04..b1a0ea121 100644 --- a/src/Google/AdsApi/AdManager/v202508/ImageError.php +++ b/src/Google/AdsApi/AdManager/v202508/ImageError.php @@ -21,7 +21,7 @@ class ImageError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/ImageOverlayCreative.php b/src/Google/AdsApi/AdManager/v202508/ImageOverlayCreative.php index bbf3ab45a..b17df06de 100644 --- a/src/Google/AdsApi/AdManager/v202508/ImageOverlayCreative.php +++ b/src/Google/AdsApi/AdManager/v202508/ImageOverlayCreative.php @@ -63,7 +63,7 @@ class ImageOverlayCreative extends \Google\AdsApi\AdManager\v202508\BaseImageCre * @param int $duration * @param string $vastPreviewUrl */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $overrideSize = null, $primaryImageAsset = null, array $companionCreativeIds = null, array $trackingUrls = null, $lockedOrientation = null, $customParameters = null, $duration = null, $vastPreviewUrl = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $overrideSize = null, $primaryImageAsset = null, ?array $companionCreativeIds = null, ?array $trackingUrls = null, $lockedOrientation = null, $customParameters = null, $duration = null, $vastPreviewUrl = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent, $destinationUrl, $destinationUrlType, $overrideSize, $primaryImageAsset); $this->companionCreativeIds = $companionCreativeIds; @@ -86,7 +86,7 @@ public function getCompanionCreativeIds() * @param int[]|null $companionCreativeIds * @return \Google\AdsApi\AdManager\v202508\ImageOverlayCreative */ - public function setCompanionCreativeIds(array $companionCreativeIds = null) + public function setCompanionCreativeIds(?array $companionCreativeIds = null) { $this->companionCreativeIds = $companionCreativeIds; return $this; @@ -104,7 +104,7 @@ public function getTrackingUrls() * @param \Google\AdsApi\AdManager\v202508\ConversionEvent_TrackingUrlsMapEntry[]|null $trackingUrls * @return \Google\AdsApi\AdManager\v202508\ImageOverlayCreative */ - public function setTrackingUrls(array $trackingUrls = null) + public function setTrackingUrls(?array $trackingUrls = null) { $this->trackingUrls = $trackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/ImageRedirectCreative.php b/src/Google/AdsApi/AdManager/v202508/ImageRedirectCreative.php index d14863043..c3c4fbcf4 100644 --- a/src/Google/AdsApi/AdManager/v202508/ImageRedirectCreative.php +++ b/src/Google/AdsApi/AdManager/v202508/ImageRedirectCreative.php @@ -38,7 +38,7 @@ class ImageRedirectCreative extends \Google\AdsApi\AdManager\v202508\BaseImageRe * @param string $altText * @param string[] $thirdPartyImpressionTrackingUrls */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $imageUrl = null, $altText = null, array $thirdPartyImpressionTrackingUrls = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $imageUrl = null, $altText = null, ?array $thirdPartyImpressionTrackingUrls = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent, $destinationUrl, $destinationUrlType, $imageUrl); $this->altText = $altText; @@ -75,7 +75,7 @@ public function getThirdPartyImpressionTrackingUrls() * @param string[]|null $thirdPartyImpressionTrackingUrls * @return \Google\AdsApi\AdManager\v202508\ImageRedirectCreative */ - public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) + public function setThirdPartyImpressionTrackingUrls(?array $thirdPartyImpressionTrackingUrls = null) { $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/ImageRedirectOverlayCreative.php b/src/Google/AdsApi/AdManager/v202508/ImageRedirectOverlayCreative.php index 15754861c..3cf48caf6 100644 --- a/src/Google/AdsApi/AdManager/v202508/ImageRedirectOverlayCreative.php +++ b/src/Google/AdsApi/AdManager/v202508/ImageRedirectOverlayCreative.php @@ -62,7 +62,7 @@ class ImageRedirectOverlayCreative extends \Google\AdsApi\AdManager\v202508\Base * @param string $customParameters * @param string $vastPreviewUrl */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $imageUrl = null, $assetSize = null, $duration = null, array $companionCreativeIds = null, array $trackingUrls = null, $customParameters = null, $vastPreviewUrl = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $imageUrl = null, $assetSize = null, $duration = null, ?array $companionCreativeIds = null, ?array $trackingUrls = null, $customParameters = null, $vastPreviewUrl = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent, $destinationUrl, $destinationUrlType, $imageUrl); $this->assetSize = $assetSize; @@ -121,7 +121,7 @@ public function getCompanionCreativeIds() * @param int[]|null $companionCreativeIds * @return \Google\AdsApi\AdManager\v202508\ImageRedirectOverlayCreative */ - public function setCompanionCreativeIds(array $companionCreativeIds = null) + public function setCompanionCreativeIds(?array $companionCreativeIds = null) { $this->companionCreativeIds = $companionCreativeIds; return $this; @@ -139,7 +139,7 @@ public function getTrackingUrls() * @param \Google\AdsApi\AdManager\v202508\ConversionEvent_TrackingUrlsMapEntry[]|null $trackingUrls * @return \Google\AdsApi\AdManager\v202508\ImageRedirectOverlayCreative */ - public function setTrackingUrls(array $trackingUrls = null) + public function setTrackingUrls(?array $trackingUrls = null) { $this->trackingUrls = $trackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/InternalApiError.php b/src/Google/AdsApi/AdManager/v202508/InternalApiError.php index 01a69947a..1a88bacf1 100644 --- a/src/Google/AdsApi/AdManager/v202508/InternalApiError.php +++ b/src/Google/AdsApi/AdManager/v202508/InternalApiError.php @@ -21,7 +21,7 @@ class InternalApiError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/InternalRedirectCreative.php b/src/Google/AdsApi/AdManager/v202508/InternalRedirectCreative.php index ba8f8f673..1d74add41 100644 --- a/src/Google/AdsApi/AdManager/v202508/InternalRedirectCreative.php +++ b/src/Google/AdsApi/AdManager/v202508/InternalRedirectCreative.php @@ -71,7 +71,7 @@ class InternalRedirectCreative extends \Google\AdsApi\AdManager\v202508\Creative * @param string $sslManualOverride * @param string[] $thirdPartyImpressionTrackingUrls */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $lockedOrientation = null, $assetSize = null, $internalRedirectUrl = null, $overrideSize = null, $isInterstitial = null, $sslScanResult = null, $sslManualOverride = null, array $thirdPartyImpressionTrackingUrls = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $lockedOrientation = null, $assetSize = null, $internalRedirectUrl = null, $overrideSize = null, $isInterstitial = null, $sslScanResult = null, $sslManualOverride = null, ?array $thirdPartyImpressionTrackingUrls = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent); $this->lockedOrientation = $lockedOrientation; @@ -222,7 +222,7 @@ public function getThirdPartyImpressionTrackingUrls() * @param string[]|null $thirdPartyImpressionTrackingUrls * @return \Google\AdsApi\AdManager\v202508\InternalRedirectCreative */ - public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) + public function setThirdPartyImpressionTrackingUrls(?array $thirdPartyImpressionTrackingUrls = null) { $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/InvalidColorError.php b/src/Google/AdsApi/AdManager/v202508/InvalidColorError.php index 4ca09a6f5..7c45947d9 100644 --- a/src/Google/AdsApi/AdManager/v202508/InvalidColorError.php +++ b/src/Google/AdsApi/AdManager/v202508/InvalidColorError.php @@ -21,7 +21,7 @@ class InvalidColorError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/InvalidEmailError.php b/src/Google/AdsApi/AdManager/v202508/InvalidEmailError.php index 43683bee8..d8c136a8a 100644 --- a/src/Google/AdsApi/AdManager/v202508/InvalidEmailError.php +++ b/src/Google/AdsApi/AdManager/v202508/InvalidEmailError.php @@ -21,7 +21,7 @@ class InvalidEmailError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/InvalidPhoneNumberError.php b/src/Google/AdsApi/AdManager/v202508/InvalidPhoneNumberError.php index 595b0e8fa..8f5ba2698 100644 --- a/src/Google/AdsApi/AdManager/v202508/InvalidPhoneNumberError.php +++ b/src/Google/AdsApi/AdManager/v202508/InvalidPhoneNumberError.php @@ -21,7 +21,7 @@ class InvalidPhoneNumberError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/InvalidUrlError.php b/src/Google/AdsApi/AdManager/v202508/InvalidUrlError.php index 7fe120f22..965084e4e 100644 --- a/src/Google/AdsApi/AdManager/v202508/InvalidUrlError.php +++ b/src/Google/AdsApi/AdManager/v202508/InvalidUrlError.php @@ -21,7 +21,7 @@ class InvalidUrlError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/InventoryClientApiError.php b/src/Google/AdsApi/AdManager/v202508/InventoryClientApiError.php index 4ac6637ac..3a687961d 100644 --- a/src/Google/AdsApi/AdManager/v202508/InventoryClientApiError.php +++ b/src/Google/AdsApi/AdManager/v202508/InventoryClientApiError.php @@ -21,7 +21,7 @@ class InventoryClientApiError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/InventorySizeTargeting.php b/src/Google/AdsApi/AdManager/v202508/InventorySizeTargeting.php index faa4d5e1c..a6d8bb399 100644 --- a/src/Google/AdsApi/AdManager/v202508/InventorySizeTargeting.php +++ b/src/Google/AdsApi/AdManager/v202508/InventorySizeTargeting.php @@ -23,7 +23,7 @@ class InventorySizeTargeting * @param boolean $isTargeted * @param \Google\AdsApi\AdManager\v202508\TargetedSize[] $targetedSizes */ - public function __construct($isTargeted = null, array $targetedSizes = null) + public function __construct($isTargeted = null, ?array $targetedSizes = null) { $this->isTargeted = $isTargeted; $this->targetedSizes = $targetedSizes; @@ -59,7 +59,7 @@ public function getTargetedSizes() * @param \Google\AdsApi\AdManager\v202508\TargetedSize[]|null $targetedSizes * @return \Google\AdsApi\AdManager\v202508\InventorySizeTargeting */ - public function setTargetedSizes(array $targetedSizes = null) + public function setTargetedSizes(?array $targetedSizes = null) { $this->targetedSizes = $targetedSizes; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/InventoryTargeting.php b/src/Google/AdsApi/AdManager/v202508/InventoryTargeting.php index 40fa2f79c..480c6f61c 100644 --- a/src/Google/AdsApi/AdManager/v202508/InventoryTargeting.php +++ b/src/Google/AdsApi/AdManager/v202508/InventoryTargeting.php @@ -29,7 +29,7 @@ class InventoryTargeting * @param \Google\AdsApi\AdManager\v202508\AdUnitTargeting[] $excludedAdUnits * @param int[] $targetedPlacementIds */ - public function __construct(array $targetedAdUnits = null, array $excludedAdUnits = null, array $targetedPlacementIds = null) + public function __construct(?array $targetedAdUnits = null, ?array $excludedAdUnits = null, ?array $targetedPlacementIds = null) { $this->targetedAdUnits = $targetedAdUnits; $this->excludedAdUnits = $excludedAdUnits; @@ -48,7 +48,7 @@ public function getTargetedAdUnits() * @param \Google\AdsApi\AdManager\v202508\AdUnitTargeting[]|null $targetedAdUnits * @return \Google\AdsApi\AdManager\v202508\InventoryTargeting */ - public function setTargetedAdUnits(array $targetedAdUnits = null) + public function setTargetedAdUnits(?array $targetedAdUnits = null) { $this->targetedAdUnits = $targetedAdUnits; return $this; @@ -66,7 +66,7 @@ public function getExcludedAdUnits() * @param \Google\AdsApi\AdManager\v202508\AdUnitTargeting[]|null $excludedAdUnits * @return \Google\AdsApi\AdManager\v202508\InventoryTargeting */ - public function setExcludedAdUnits(array $excludedAdUnits = null) + public function setExcludedAdUnits(?array $excludedAdUnits = null) { $this->excludedAdUnits = $excludedAdUnits; return $this; @@ -84,7 +84,7 @@ public function getTargetedPlacementIds() * @param int[]|null $targetedPlacementIds * @return \Google\AdsApi\AdManager\v202508\InventoryTargeting */ - public function setTargetedPlacementIds(array $targetedPlacementIds = null) + public function setTargetedPlacementIds(?array $targetedPlacementIds = null) { $this->targetedPlacementIds = $targetedPlacementIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/InventoryTargetingError.php b/src/Google/AdsApi/AdManager/v202508/InventoryTargetingError.php index 1d53c62d7..a5d4a7358 100644 --- a/src/Google/AdsApi/AdManager/v202508/InventoryTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202508/InventoryTargetingError.php @@ -21,7 +21,7 @@ class InventoryTargetingError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/InventoryUnitError.php b/src/Google/AdsApi/AdManager/v202508/InventoryUnitError.php index a9a6b5257..fcf877591 100644 --- a/src/Google/AdsApi/AdManager/v202508/InventoryUnitError.php +++ b/src/Google/AdsApi/AdManager/v202508/InventoryUnitError.php @@ -21,7 +21,7 @@ class InventoryUnitError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/InventoryUnitRefreshRateError.php b/src/Google/AdsApi/AdManager/v202508/InventoryUnitRefreshRateError.php index 29ae899ca..5d6e78574 100644 --- a/src/Google/AdsApi/AdManager/v202508/InventoryUnitRefreshRateError.php +++ b/src/Google/AdsApi/AdManager/v202508/InventoryUnitRefreshRateError.php @@ -21,7 +21,7 @@ class InventoryUnitRefreshRateError extends \Google\AdsApi\AdManager\v202508\Api * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/InventoryUnitSizesError.php b/src/Google/AdsApi/AdManager/v202508/InventoryUnitSizesError.php index 0af65418a..db51811e2 100644 --- a/src/Google/AdsApi/AdManager/v202508/InventoryUnitSizesError.php +++ b/src/Google/AdsApi/AdManager/v202508/InventoryUnitSizesError.php @@ -21,7 +21,7 @@ class InventoryUnitSizesError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/InventoryUrlTargeting.php b/src/Google/AdsApi/AdManager/v202508/InventoryUrlTargeting.php index caca3a21f..e3781bb98 100644 --- a/src/Google/AdsApi/AdManager/v202508/InventoryUrlTargeting.php +++ b/src/Google/AdsApi/AdManager/v202508/InventoryUrlTargeting.php @@ -23,7 +23,7 @@ class InventoryUrlTargeting * @param \Google\AdsApi\AdManager\v202508\InventoryUrl[] $targetedUrls * @param \Google\AdsApi\AdManager\v202508\InventoryUrl[] $excludedUrls */ - public function __construct(array $targetedUrls = null, array $excludedUrls = null) + public function __construct(?array $targetedUrls = null, ?array $excludedUrls = null) { $this->targetedUrls = $targetedUrls; $this->excludedUrls = $excludedUrls; @@ -41,7 +41,7 @@ public function getTargetedUrls() * @param \Google\AdsApi\AdManager\v202508\InventoryUrl[]|null $targetedUrls * @return \Google\AdsApi\AdManager\v202508\InventoryUrlTargeting */ - public function setTargetedUrls(array $targetedUrls = null) + public function setTargetedUrls(?array $targetedUrls = null) { $this->targetedUrls = $targetedUrls; return $this; @@ -59,7 +59,7 @@ public function getExcludedUrls() * @param \Google\AdsApi\AdManager\v202508\InventoryUrl[]|null $excludedUrls * @return \Google\AdsApi\AdManager\v202508\InventoryUrlTargeting */ - public function setExcludedUrls(array $excludedUrls = null) + public function setExcludedUrls(?array $excludedUrls = null) { $this->excludedUrls = $excludedUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/Label.php b/src/Google/AdsApi/AdManager/v202508/Label.php index f91d7045a..c786937d7 100644 --- a/src/Google/AdsApi/AdManager/v202508/Label.php +++ b/src/Google/AdsApi/AdManager/v202508/Label.php @@ -47,7 +47,7 @@ class Label * @param \Google\AdsApi\AdManager\v202508\AdCategoryDto $adCategory * @param string[] $types */ - public function __construct($id = null, $name = null, $description = null, $isActive = null, $adCategory = null, array $types = null) + public function __construct($id = null, $name = null, $description = null, $isActive = null, $adCategory = null, ?array $types = null) { $this->id = $id; $this->name = $name; @@ -160,7 +160,7 @@ public function getTypes() * @param string[]|null $types * @return \Google\AdsApi\AdManager\v202508\Label */ - public function setTypes(array $types = null) + public function setTypes(?array $types = null) { $this->types = $types; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/LabelEntityAssociationError.php b/src/Google/AdsApi/AdManager/v202508/LabelEntityAssociationError.php index a60ec5383..bc1955e72 100644 --- a/src/Google/AdsApi/AdManager/v202508/LabelEntityAssociationError.php +++ b/src/Google/AdsApi/AdManager/v202508/LabelEntityAssociationError.php @@ -21,7 +21,7 @@ class LabelEntityAssociationError extends \Google\AdsApi\AdManager\v202508\ApiEr * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/LabelError.php b/src/Google/AdsApi/AdManager/v202508/LabelError.php index 68fef9f71..e2028462d 100644 --- a/src/Google/AdsApi/AdManager/v202508/LabelError.php +++ b/src/Google/AdsApi/AdManager/v202508/LabelError.php @@ -21,7 +21,7 @@ class LabelError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/LabelPage.php b/src/Google/AdsApi/AdManager/v202508/LabelPage.php index ebcda2c3b..544069915 100644 --- a/src/Google/AdsApi/AdManager/v202508/LabelPage.php +++ b/src/Google/AdsApi/AdManager/v202508/LabelPage.php @@ -29,7 +29,7 @@ class LabelPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\Label[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\Label[]|null $results * @return \Google\AdsApi\AdManager\v202508\LabelPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/LegacyDfpCreative.php b/src/Google/AdsApi/AdManager/v202508/LegacyDfpCreative.php index 61e182c85..8f1c181e2 100644 --- a/src/Google/AdsApi/AdManager/v202508/LegacyDfpCreative.php +++ b/src/Google/AdsApi/AdManager/v202508/LegacyDfpCreative.php @@ -23,7 +23,7 @@ class LegacyDfpCreative extends \Google\AdsApi\AdManager\v202508\Creative * @param boolean $adBadgingEnabled * @param boolean $selfDeclaredEuropeanUnionPoliticalContent */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent); } diff --git a/src/Google/AdsApi/AdManager/v202508/LineItem.php b/src/Google/AdsApi/AdManager/v202508/LineItem.php index 64dadfb0a..39d28162f 100644 --- a/src/Google/AdsApi/AdManager/v202508/LineItem.php +++ b/src/Google/AdsApi/AdManager/v202508/LineItem.php @@ -87,7 +87,7 @@ class LineItem extends \Google\AdsApi\AdManager\v202508\LineItemSummary * @param \Google\AdsApi\AdManager\v202508\Targeting $targeting * @param \Google\AdsApi\AdManager\v202508\CreativeTargeting[] $creativeTargetings */ - public function __construct($orderId = null, $id = null, $name = null, $externalId = null, $orderName = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $autoExtensionDays = null, $unlimitedEndDateTime = null, $creativeRotationType = null, $deliveryRateType = null, $deliveryForecastSource = null, $customPacingCurve = null, $roadblockingType = null, $skippableAdType = null, array $frequencyCaps = null, $lineItemType = null, $priority = null, $costPerUnit = null, $valueCostPerUnit = null, $costType = null, $discountType = null, $discount = null, $contractedUnitsBought = null, array $creativePlaceholders = null, array $activityAssociations = null, $environmentType = null, array $allowedFormats = null, $companionDeliveryOption = null, $allowOverbook = null, $skipInventoryCheck = null, $skipCrossSellingRuleWarningChecks = null, $reserveAtCreation = null, $stats = null, $deliveryIndicator = null, $deliveryData = null, $budget = null, $status = null, $reservationStatus = null, $isArchived = null, $webPropertyCode = null, array $appliedLabels = null, array $effectiveAppliedLabels = null, $disableSameAdvertiserCompetitiveExclusion = null, $lastModifiedByApp = null, $notes = null, $competitiveConstraintScope = null, $lastModifiedDateTime = null, $creationDateTime = null, array $customFieldValues = null, $isMissingCreatives = null, $programmaticCreativeSource = null, $thirdPartyMeasurementSettings = null, $youtubeKidsRestricted = null, $videoMaxDuration = null, $primaryGoal = null, array $secondaryGoals = null, $grpSettings = null, $dealInfo = null, array $viewabilityProviderCompanyIds = null, $childContentEligibility = null, $customVastExtension = null, $repeatedCreativeServingEnabled = null, $targeting = null, array $creativeTargetings = null) + public function __construct($orderId = null, $id = null, $name = null, $externalId = null, $orderName = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $autoExtensionDays = null, $unlimitedEndDateTime = null, $creativeRotationType = null, $deliveryRateType = null, $deliveryForecastSource = null, $customPacingCurve = null, $roadblockingType = null, $skippableAdType = null, ?array $frequencyCaps = null, $lineItemType = null, $priority = null, $costPerUnit = null, $valueCostPerUnit = null, $costType = null, $discountType = null, $discount = null, $contractedUnitsBought = null, ?array $creativePlaceholders = null, ?array $activityAssociations = null, $environmentType = null, ?array $allowedFormats = null, $companionDeliveryOption = null, $allowOverbook = null, $skipInventoryCheck = null, $skipCrossSellingRuleWarningChecks = null, $reserveAtCreation = null, $stats = null, $deliveryIndicator = null, $deliveryData = null, $budget = null, $status = null, $reservationStatus = null, $isArchived = null, $webPropertyCode = null, ?array $appliedLabels = null, ?array $effectiveAppliedLabels = null, $disableSameAdvertiserCompetitiveExclusion = null, $lastModifiedByApp = null, $notes = null, $competitiveConstraintScope = null, $lastModifiedDateTime = null, $creationDateTime = null, ?array $customFieldValues = null, $isMissingCreatives = null, $programmaticCreativeSource = null, $thirdPartyMeasurementSettings = null, $youtubeKidsRestricted = null, $videoMaxDuration = null, $primaryGoal = null, ?array $secondaryGoals = null, $grpSettings = null, $dealInfo = null, ?array $viewabilityProviderCompanyIds = null, $childContentEligibility = null, $customVastExtension = null, $repeatedCreativeServingEnabled = null, $targeting = null, ?array $creativeTargetings = null) { parent::__construct($orderId, $id, $name, $externalId, $orderName, $startDateTime, $startDateTimeType, $endDateTime, $autoExtensionDays, $unlimitedEndDateTime, $creativeRotationType, $deliveryRateType, $deliveryForecastSource, $customPacingCurve, $roadblockingType, $skippableAdType, $frequencyCaps, $lineItemType, $priority, $costPerUnit, $valueCostPerUnit, $costType, $discountType, $discount, $contractedUnitsBought, $creativePlaceholders, $activityAssociations, $environmentType, $allowedFormats, $companionDeliveryOption, $allowOverbook, $skipInventoryCheck, $skipCrossSellingRuleWarningChecks, $reserveAtCreation, $stats, $deliveryIndicator, $deliveryData, $budget, $status, $reservationStatus, $isArchived, $webPropertyCode, $appliedLabels, $effectiveAppliedLabels, $disableSameAdvertiserCompetitiveExclusion, $lastModifiedByApp, $notes, $competitiveConstraintScope, $lastModifiedDateTime, $creationDateTime, $customFieldValues, $isMissingCreatives, $programmaticCreativeSource, $thirdPartyMeasurementSettings, $youtubeKidsRestricted, $videoMaxDuration, $primaryGoal, $secondaryGoals, $grpSettings, $dealInfo, $viewabilityProviderCompanyIds, $childContentEligibility, $customVastExtension, $repeatedCreativeServingEnabled); $this->targeting = $targeting; @@ -124,7 +124,7 @@ public function getCreativeTargetings() * @param \Google\AdsApi\AdManager\v202508\CreativeTargeting[]|null $creativeTargetings * @return \Google\AdsApi\AdManager\v202508\LineItem */ - public function setCreativeTargetings(array $creativeTargetings = null) + public function setCreativeTargetings(?array $creativeTargetings = null) { $this->creativeTargetings = $creativeTargetings; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/LineItemActivityAssociationError.php b/src/Google/AdsApi/AdManager/v202508/LineItemActivityAssociationError.php index 60e607be0..b7272eda5 100644 --- a/src/Google/AdsApi/AdManager/v202508/LineItemActivityAssociationError.php +++ b/src/Google/AdsApi/AdManager/v202508/LineItemActivityAssociationError.php @@ -21,7 +21,7 @@ class LineItemActivityAssociationError extends \Google\AdsApi\AdManager\v202508\ * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/LineItemCreativeAssociation.php b/src/Google/AdsApi/AdManager/v202508/LineItemCreativeAssociation.php index be9d0c07f..6dbf4f511 100644 --- a/src/Google/AdsApi/AdManager/v202508/LineItemCreativeAssociation.php +++ b/src/Google/AdsApi/AdManager/v202508/LineItemCreativeAssociation.php @@ -95,7 +95,7 @@ class LineItemCreativeAssociation * @param \Google\AdsApi\AdManager\v202508\DateTime $lastModifiedDateTime * @param string $targetingName */ - public function __construct($lineItemId = null, $creativeId = null, $creativeSetId = null, $manualCreativeRotationWeight = null, $sequentialCreativeRotationIndex = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $destinationUrl = null, array $sizes = null, $status = null, $stats = null, $lastModifiedDateTime = null, $targetingName = null) + public function __construct($lineItemId = null, $creativeId = null, $creativeSetId = null, $manualCreativeRotationWeight = null, $sequentialCreativeRotationIndex = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $destinationUrl = null, ?array $sizes = null, $status = null, $stats = null, $lastModifiedDateTime = null, $targetingName = null) { $this->lineItemId = $lineItemId; $this->creativeId = $creativeId; @@ -290,7 +290,7 @@ public function getSizes() * @param \Google\AdsApi\AdManager\v202508\Size[]|null $sizes * @return \Google\AdsApi\AdManager\v202508\LineItemCreativeAssociation */ - public function setSizes(array $sizes = null) + public function setSizes(?array $sizes = null) { $this->sizes = $sizes; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/LineItemCreativeAssociationError.php b/src/Google/AdsApi/AdManager/v202508/LineItemCreativeAssociationError.php index 3931a76db..8eb2372c6 100644 --- a/src/Google/AdsApi/AdManager/v202508/LineItemCreativeAssociationError.php +++ b/src/Google/AdsApi/AdManager/v202508/LineItemCreativeAssociationError.php @@ -21,7 +21,7 @@ class LineItemCreativeAssociationError extends \Google\AdsApi\AdManager\v202508\ * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/LineItemCreativeAssociationOperationError.php b/src/Google/AdsApi/AdManager/v202508/LineItemCreativeAssociationOperationError.php index 4747ffa36..7d005accd 100644 --- a/src/Google/AdsApi/AdManager/v202508/LineItemCreativeAssociationOperationError.php +++ b/src/Google/AdsApi/AdManager/v202508/LineItemCreativeAssociationOperationError.php @@ -21,7 +21,7 @@ class LineItemCreativeAssociationOperationError extends \Google\AdsApi\AdManager * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/LineItemCreativeAssociationPage.php b/src/Google/AdsApi/AdManager/v202508/LineItemCreativeAssociationPage.php index 226eb5ec1..2b0b22d80 100644 --- a/src/Google/AdsApi/AdManager/v202508/LineItemCreativeAssociationPage.php +++ b/src/Google/AdsApi/AdManager/v202508/LineItemCreativeAssociationPage.php @@ -29,7 +29,7 @@ class LineItemCreativeAssociationPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\LineItemCreativeAssociation[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\LineItemCreativeAssociation[]|null $results * @return \Google\AdsApi\AdManager\v202508\LineItemCreativeAssociationPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/LineItemCreativeAssociationStats.php b/src/Google/AdsApi/AdManager/v202508/LineItemCreativeAssociationStats.php index 125100830..238ec8a5d 100644 --- a/src/Google/AdsApi/AdManager/v202508/LineItemCreativeAssociationStats.php +++ b/src/Google/AdsApi/AdManager/v202508/LineItemCreativeAssociationStats.php @@ -23,7 +23,7 @@ class LineItemCreativeAssociationStats * @param \Google\AdsApi\AdManager\v202508\Stats $stats * @param \Google\AdsApi\AdManager\v202508\Long_StatsMapEntry[] $creativeSetStats */ - public function __construct($stats = null, array $creativeSetStats = null) + public function __construct($stats = null, ?array $creativeSetStats = null) { $this->stats = $stats; $this->creativeSetStats = $creativeSetStats; @@ -59,7 +59,7 @@ public function getCreativeSetStats() * @param \Google\AdsApi\AdManager\v202508\Long_StatsMapEntry[]|null $creativeSetStats * @return \Google\AdsApi\AdManager\v202508\LineItemCreativeAssociationStats */ - public function setCreativeSetStats(array $creativeSetStats = null) + public function setCreativeSetStats(?array $creativeSetStats = null) { $this->creativeSetStats = $creativeSetStats; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/LineItemError.php b/src/Google/AdsApi/AdManager/v202508/LineItemError.php index e52a561b7..5f7a544c7 100644 --- a/src/Google/AdsApi/AdManager/v202508/LineItemError.php +++ b/src/Google/AdsApi/AdManager/v202508/LineItemError.php @@ -21,7 +21,7 @@ class LineItemError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/LineItemFlightDateError.php b/src/Google/AdsApi/AdManager/v202508/LineItemFlightDateError.php index deaf46c40..b62a00f8d 100644 --- a/src/Google/AdsApi/AdManager/v202508/LineItemFlightDateError.php +++ b/src/Google/AdsApi/AdManager/v202508/LineItemFlightDateError.php @@ -21,7 +21,7 @@ class LineItemFlightDateError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/LineItemOperationError.php b/src/Google/AdsApi/AdManager/v202508/LineItemOperationError.php index d3c30c947..76372884e 100644 --- a/src/Google/AdsApi/AdManager/v202508/LineItemOperationError.php +++ b/src/Google/AdsApi/AdManager/v202508/LineItemOperationError.php @@ -21,7 +21,7 @@ class LineItemOperationError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/LineItemPage.php b/src/Google/AdsApi/AdManager/v202508/LineItemPage.php index 4a048fa12..a39c4d16e 100644 --- a/src/Google/AdsApi/AdManager/v202508/LineItemPage.php +++ b/src/Google/AdsApi/AdManager/v202508/LineItemPage.php @@ -29,7 +29,7 @@ class LineItemPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\LineItem[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\LineItem[]|null $results * @return \Google\AdsApi\AdManager\v202508\LineItemPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/LineItemSummary.php b/src/Google/AdsApi/AdManager/v202508/LineItemSummary.php index 1e9353b78..5efe9cedc 100644 --- a/src/Google/AdsApi/AdManager/v202508/LineItemSummary.php +++ b/src/Google/AdsApi/AdManager/v202508/LineItemSummary.php @@ -395,7 +395,7 @@ class LineItemSummary * @param string $customVastExtension * @param boolean $repeatedCreativeServingEnabled */ - public function __construct($orderId = null, $id = null, $name = null, $externalId = null, $orderName = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $autoExtensionDays = null, $unlimitedEndDateTime = null, $creativeRotationType = null, $deliveryRateType = null, $deliveryForecastSource = null, $customPacingCurve = null, $roadblockingType = null, $skippableAdType = null, array $frequencyCaps = null, $lineItemType = null, $priority = null, $costPerUnit = null, $valueCostPerUnit = null, $costType = null, $discountType = null, $discount = null, $contractedUnitsBought = null, array $creativePlaceholders = null, array $activityAssociations = null, $environmentType = null, array $allowedFormats = null, $companionDeliveryOption = null, $allowOverbook = null, $skipInventoryCheck = null, $skipCrossSellingRuleWarningChecks = null, $reserveAtCreation = null, $stats = null, $deliveryIndicator = null, $deliveryData = null, $budget = null, $status = null, $reservationStatus = null, $isArchived = null, $webPropertyCode = null, array $appliedLabels = null, array $effectiveAppliedLabels = null, $disableSameAdvertiserCompetitiveExclusion = null, $lastModifiedByApp = null, $notes = null, $competitiveConstraintScope = null, $lastModifiedDateTime = null, $creationDateTime = null, array $customFieldValues = null, $isMissingCreatives = null, $programmaticCreativeSource = null, $thirdPartyMeasurementSettings = null, $youtubeKidsRestricted = null, $videoMaxDuration = null, $primaryGoal = null, array $secondaryGoals = null, $grpSettings = null, $dealInfo = null, array $viewabilityProviderCompanyIds = null, $childContentEligibility = null, $customVastExtension = null, $repeatedCreativeServingEnabled = null) + public function __construct($orderId = null, $id = null, $name = null, $externalId = null, $orderName = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $autoExtensionDays = null, $unlimitedEndDateTime = null, $creativeRotationType = null, $deliveryRateType = null, $deliveryForecastSource = null, $customPacingCurve = null, $roadblockingType = null, $skippableAdType = null, ?array $frequencyCaps = null, $lineItemType = null, $priority = null, $costPerUnit = null, $valueCostPerUnit = null, $costType = null, $discountType = null, $discount = null, $contractedUnitsBought = null, ?array $creativePlaceholders = null, ?array $activityAssociations = null, $environmentType = null, ?array $allowedFormats = null, $companionDeliveryOption = null, $allowOverbook = null, $skipInventoryCheck = null, $skipCrossSellingRuleWarningChecks = null, $reserveAtCreation = null, $stats = null, $deliveryIndicator = null, $deliveryData = null, $budget = null, $status = null, $reservationStatus = null, $isArchived = null, $webPropertyCode = null, ?array $appliedLabels = null, ?array $effectiveAppliedLabels = null, $disableSameAdvertiserCompetitiveExclusion = null, $lastModifiedByApp = null, $notes = null, $competitiveConstraintScope = null, $lastModifiedDateTime = null, $creationDateTime = null, ?array $customFieldValues = null, $isMissingCreatives = null, $programmaticCreativeSource = null, $thirdPartyMeasurementSettings = null, $youtubeKidsRestricted = null, $videoMaxDuration = null, $primaryGoal = null, ?array $secondaryGoals = null, $grpSettings = null, $dealInfo = null, ?array $viewabilityProviderCompanyIds = null, $childContentEligibility = null, $customVastExtension = null, $repeatedCreativeServingEnabled = null) { $this->orderId = $orderId; $this->id = $id; @@ -765,7 +765,7 @@ public function getFrequencyCaps() * @param \Google\AdsApi\AdManager\v202508\FrequencyCap[]|null $frequencyCaps * @return \Google\AdsApi\AdManager\v202508\LineItemSummary */ - public function setFrequencyCaps(array $frequencyCaps = null) + public function setFrequencyCaps(?array $frequencyCaps = null) { $this->frequencyCaps = $frequencyCaps; return $this; @@ -928,7 +928,7 @@ public function getCreativePlaceholders() * @param \Google\AdsApi\AdManager\v202508\CreativePlaceholder[]|null $creativePlaceholders * @return \Google\AdsApi\AdManager\v202508\LineItemSummary */ - public function setCreativePlaceholders(array $creativePlaceholders = null) + public function setCreativePlaceholders(?array $creativePlaceholders = null) { $this->creativePlaceholders = $creativePlaceholders; return $this; @@ -946,7 +946,7 @@ public function getActivityAssociations() * @param \Google\AdsApi\AdManager\v202508\LineItemActivityAssociation[]|null $activityAssociations * @return \Google\AdsApi\AdManager\v202508\LineItemSummary */ - public function setActivityAssociations(array $activityAssociations = null) + public function setActivityAssociations(?array $activityAssociations = null) { $this->activityAssociations = $activityAssociations; return $this; @@ -982,7 +982,7 @@ public function getAllowedFormats() * @param string[]|null $allowedFormats * @return \Google\AdsApi\AdManager\v202508\LineItemSummary */ - public function setAllowedFormats(array $allowedFormats = null) + public function setAllowedFormats(?array $allowedFormats = null) { $this->allowedFormats = $allowedFormats; return $this; @@ -1234,7 +1234,7 @@ public function getAppliedLabels() * @param \Google\AdsApi\AdManager\v202508\AppliedLabel[]|null $appliedLabels * @return \Google\AdsApi\AdManager\v202508\LineItemSummary */ - public function setAppliedLabels(array $appliedLabels = null) + public function setAppliedLabels(?array $appliedLabels = null) { $this->appliedLabels = $appliedLabels; return $this; @@ -1252,7 +1252,7 @@ public function getEffectiveAppliedLabels() * @param \Google\AdsApi\AdManager\v202508\AppliedLabel[]|null $effectiveAppliedLabels * @return \Google\AdsApi\AdManager\v202508\LineItemSummary */ - public function setEffectiveAppliedLabels(array $effectiveAppliedLabels = null) + public function setEffectiveAppliedLabels(?array $effectiveAppliedLabels = null) { $this->effectiveAppliedLabels = $effectiveAppliedLabels; return $this; @@ -1378,7 +1378,7 @@ public function getCustomFieldValues() * @param \Google\AdsApi\AdManager\v202508\BaseCustomFieldValue[]|null $customFieldValues * @return \Google\AdsApi\AdManager\v202508\LineItemSummary */ - public function setCustomFieldValues(array $customFieldValues = null) + public function setCustomFieldValues(?array $customFieldValues = null) { $this->customFieldValues = $customFieldValues; return $this; @@ -1505,7 +1505,7 @@ public function getSecondaryGoals() * @param \Google\AdsApi\AdManager\v202508\Goal[]|null $secondaryGoals * @return \Google\AdsApi\AdManager\v202508\LineItemSummary */ - public function setSecondaryGoals(array $secondaryGoals = null) + public function setSecondaryGoals(?array $secondaryGoals = null) { $this->secondaryGoals = $secondaryGoals; return $this; @@ -1559,7 +1559,7 @@ public function getViewabilityProviderCompanyIds() * @param int[]|null $viewabilityProviderCompanyIds * @return \Google\AdsApi\AdManager\v202508\LineItemSummary */ - public function setViewabilityProviderCompanyIds(array $viewabilityProviderCompanyIds = null) + public function setViewabilityProviderCompanyIds(?array $viewabilityProviderCompanyIds = null) { $this->viewabilityProviderCompanyIds = $viewabilityProviderCompanyIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/LineItemTemplatePage.php b/src/Google/AdsApi/AdManager/v202508/LineItemTemplatePage.php index 1762b45de..c2df1e402 100644 --- a/src/Google/AdsApi/AdManager/v202508/LineItemTemplatePage.php +++ b/src/Google/AdsApi/AdManager/v202508/LineItemTemplatePage.php @@ -29,7 +29,7 @@ class LineItemTemplatePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\LineItemTemplate[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\LineItemTemplate[]|null $results * @return \Google\AdsApi\AdManager\v202508\LineItemTemplatePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/ListStringCreativeTemplateVariable.php b/src/Google/AdsApi/AdManager/v202508/ListStringCreativeTemplateVariable.php index fe5b6ca8c..fc634d179 100644 --- a/src/Google/AdsApi/AdManager/v202508/ListStringCreativeTemplateVariable.php +++ b/src/Google/AdsApi/AdManager/v202508/ListStringCreativeTemplateVariable.php @@ -28,7 +28,7 @@ class ListStringCreativeTemplateVariable extends \Google\AdsApi\AdManager\v20250 * @param \Google\AdsApi\AdManager\v202508\ListStringCreativeTemplateVariableVariableChoice[] $choices * @param boolean $allowOtherChoice */ - public function __construct($label = null, $uniqueName = null, $description = null, $isRequired = null, $defaultValue = null, array $choices = null, $allowOtherChoice = null) + public function __construct($label = null, $uniqueName = null, $description = null, $isRequired = null, $defaultValue = null, ?array $choices = null, $allowOtherChoice = null) { parent::__construct($label, $uniqueName, $description, $isRequired, $defaultValue); $this->choices = $choices; @@ -47,7 +47,7 @@ public function getChoices() * @param \Google\AdsApi\AdManager\v202508\ListStringCreativeTemplateVariableVariableChoice[]|null $choices * @return \Google\AdsApi\AdManager\v202508\ListStringCreativeTemplateVariable */ - public function setChoices(array $choices = null) + public function setChoices(?array $choices = null) { $this->choices = $choices; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/LiveStreamEvent.php b/src/Google/AdsApi/AdManager/v202508/LiveStreamEvent.php index 53787bef2..48a071047 100644 --- a/src/Google/AdsApi/AdManager/v202508/LiveStreamEvent.php +++ b/src/Google/AdsApi/AdManager/v202508/LiveStreamEvent.php @@ -269,7 +269,7 @@ class LiveStreamEvent * @param string $adServingFormat * @param \Google\AdsApi\AdManager\v202508\LiveStreamConditioning $liveStreamConditioning */ - public function __construct($id = null, $name = null, $status = null, $creationDateTime = null, $lastModifiedDateTime = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $unlimitedEndDateTime = null, $totalEstimatedConcurrentUsers = null, array $contentUrls = null, array $adTags = null, $assetKey = null, $slateCreativeId = null, $dvrWindowSeconds = null, $enableDaiAuthenticationKeys = null, $adBreakFillType = null, $underfillAdBreakFillType = null, $adHolidayDuration = null, $enableMaxFillerDuration = null, $maxFillerDuration = null, $podServingSegmentDuration = null, $enableDurationlessAdBreaks = null, $defaultAdBreakDuration = null, array $streamCreateDaiAuthenticationKeyIds = null, array $sourceContentConfigurationIds = null, $prerollSettings = null, $hlsSettings = null, $enableAllowlistedIps = null, $dynamicAdInsertionType = null, $enableRelativePlaylistDelivery = null, $streamingFormat = null, $prefetchEnabled = null, $prefetchSettings = null, $enableForceCloseAdBreaks = null, $enableShortSegmentDropping = null, $customAssetKey = null, array $daiEncodingProfileIds = null, array $segmentUrlAuthenticationKeyIds = null, array $adBreakMarkups = null, $adBreakMarkupTypesEnabled = null, $adServingFormat = null, $liveStreamConditioning = null) + public function __construct($id = null, $name = null, $status = null, $creationDateTime = null, $lastModifiedDateTime = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $unlimitedEndDateTime = null, $totalEstimatedConcurrentUsers = null, ?array $contentUrls = null, ?array $adTags = null, $assetKey = null, $slateCreativeId = null, $dvrWindowSeconds = null, $enableDaiAuthenticationKeys = null, $adBreakFillType = null, $underfillAdBreakFillType = null, $adHolidayDuration = null, $enableMaxFillerDuration = null, $maxFillerDuration = null, $podServingSegmentDuration = null, $enableDurationlessAdBreaks = null, $defaultAdBreakDuration = null, ?array $streamCreateDaiAuthenticationKeyIds = null, ?array $sourceContentConfigurationIds = null, $prerollSettings = null, $hlsSettings = null, $enableAllowlistedIps = null, $dynamicAdInsertionType = null, $enableRelativePlaylistDelivery = null, $streamingFormat = null, $prefetchEnabled = null, $prefetchSettings = null, $enableForceCloseAdBreaks = null, $enableShortSegmentDropping = null, $customAssetKey = null, ?array $daiEncodingProfileIds = null, ?array $segmentUrlAuthenticationKeyIds = null, ?array $adBreakMarkups = null, $adBreakMarkupTypesEnabled = null, $adServingFormat = null, $liveStreamConditioning = null) { $this->id = $id; $this->name = $name; @@ -510,7 +510,7 @@ public function getContentUrls() * @param string[]|null $contentUrls * @return \Google\AdsApi\AdManager\v202508\LiveStreamEvent */ - public function setContentUrls(array $contentUrls = null) + public function setContentUrls(?array $contentUrls = null) { $this->contentUrls = $contentUrls; return $this; @@ -528,7 +528,7 @@ public function getAdTags() * @param string[]|null $adTags * @return \Google\AdsApi\AdManager\v202508\LiveStreamEvent */ - public function setAdTags(array $adTags = null) + public function setAdTags(?array $adTags = null) { $this->adTags = $adTags; return $this; @@ -767,7 +767,7 @@ public function getStreamCreateDaiAuthenticationKeyIds() * @param int[]|null $streamCreateDaiAuthenticationKeyIds * @return \Google\AdsApi\AdManager\v202508\LiveStreamEvent */ - public function setStreamCreateDaiAuthenticationKeyIds(array $streamCreateDaiAuthenticationKeyIds = null) + public function setStreamCreateDaiAuthenticationKeyIds(?array $streamCreateDaiAuthenticationKeyIds = null) { $this->streamCreateDaiAuthenticationKeyIds = $streamCreateDaiAuthenticationKeyIds; return $this; @@ -785,7 +785,7 @@ public function getSourceContentConfigurationIds() * @param int[]|null $sourceContentConfigurationIds * @return \Google\AdsApi\AdManager\v202508\LiveStreamEvent */ - public function setSourceContentConfigurationIds(array $sourceContentConfigurationIds = null) + public function setSourceContentConfigurationIds(?array $sourceContentConfigurationIds = null) { $this->sourceContentConfigurationIds = $sourceContentConfigurationIds; return $this; @@ -1001,7 +1001,7 @@ public function getDaiEncodingProfileIds() * @param int[]|null $daiEncodingProfileIds * @return \Google\AdsApi\AdManager\v202508\LiveStreamEvent */ - public function setDaiEncodingProfileIds(array $daiEncodingProfileIds = null) + public function setDaiEncodingProfileIds(?array $daiEncodingProfileIds = null) { $this->daiEncodingProfileIds = $daiEncodingProfileIds; return $this; @@ -1019,7 +1019,7 @@ public function getSegmentUrlAuthenticationKeyIds() * @param int[]|null $segmentUrlAuthenticationKeyIds * @return \Google\AdsApi\AdManager\v202508\LiveStreamEvent */ - public function setSegmentUrlAuthenticationKeyIds(array $segmentUrlAuthenticationKeyIds = null) + public function setSegmentUrlAuthenticationKeyIds(?array $segmentUrlAuthenticationKeyIds = null) { $this->segmentUrlAuthenticationKeyIds = $segmentUrlAuthenticationKeyIds; return $this; @@ -1037,7 +1037,7 @@ public function getAdBreakMarkups() * @param string[]|null $adBreakMarkups * @return \Google\AdsApi\AdManager\v202508\LiveStreamEvent */ - public function setAdBreakMarkups(array $adBreakMarkups = null) + public function setAdBreakMarkups(?array $adBreakMarkups = null) { $this->adBreakMarkups = $adBreakMarkups; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/LiveStreamEventActionError.php b/src/Google/AdsApi/AdManager/v202508/LiveStreamEventActionError.php index 7e91a9a69..431458365 100644 --- a/src/Google/AdsApi/AdManager/v202508/LiveStreamEventActionError.php +++ b/src/Google/AdsApi/AdManager/v202508/LiveStreamEventActionError.php @@ -21,7 +21,7 @@ class LiveStreamEventActionError extends \Google\AdsApi\AdManager\v202508\ApiErr * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/LiveStreamEventCdnSettingsError.php b/src/Google/AdsApi/AdManager/v202508/LiveStreamEventCdnSettingsError.php index 97bcfc958..610e3b45a 100644 --- a/src/Google/AdsApi/AdManager/v202508/LiveStreamEventCdnSettingsError.php +++ b/src/Google/AdsApi/AdManager/v202508/LiveStreamEventCdnSettingsError.php @@ -21,7 +21,7 @@ class LiveStreamEventCdnSettingsError extends \Google\AdsApi\AdManager\v202508\A * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/LiveStreamEventConditioningError.php b/src/Google/AdsApi/AdManager/v202508/LiveStreamEventConditioningError.php index 35f5d16eb..470d79993 100644 --- a/src/Google/AdsApi/AdManager/v202508/LiveStreamEventConditioningError.php +++ b/src/Google/AdsApi/AdManager/v202508/LiveStreamEventConditioningError.php @@ -21,7 +21,7 @@ class LiveStreamEventConditioningError extends \Google\AdsApi\AdManager\v202508\ * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/LiveStreamEventCustomAssetKeyError.php b/src/Google/AdsApi/AdManager/v202508/LiveStreamEventCustomAssetKeyError.php index 5eb4558f7..cdc94490f 100644 --- a/src/Google/AdsApi/AdManager/v202508/LiveStreamEventCustomAssetKeyError.php +++ b/src/Google/AdsApi/AdManager/v202508/LiveStreamEventCustomAssetKeyError.php @@ -21,7 +21,7 @@ class LiveStreamEventCustomAssetKeyError extends \Google\AdsApi\AdManager\v20250 * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/LiveStreamEventDateTimeError.php b/src/Google/AdsApi/AdManager/v202508/LiveStreamEventDateTimeError.php index 8cfef3e01..d3bfdd7fb 100644 --- a/src/Google/AdsApi/AdManager/v202508/LiveStreamEventDateTimeError.php +++ b/src/Google/AdsApi/AdManager/v202508/LiveStreamEventDateTimeError.php @@ -21,7 +21,7 @@ class LiveStreamEventDateTimeError extends \Google\AdsApi\AdManager\v202508\ApiE * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/LiveStreamEventDvrWindowError.php b/src/Google/AdsApi/AdManager/v202508/LiveStreamEventDvrWindowError.php index 568459970..407a8728b 100644 --- a/src/Google/AdsApi/AdManager/v202508/LiveStreamEventDvrWindowError.php +++ b/src/Google/AdsApi/AdManager/v202508/LiveStreamEventDvrWindowError.php @@ -21,7 +21,7 @@ class LiveStreamEventDvrWindowError extends \Google\AdsApi\AdManager\v202508\Api * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/LiveStreamEventPage.php b/src/Google/AdsApi/AdManager/v202508/LiveStreamEventPage.php index 9f9ebb9f9..1e3c5f023 100644 --- a/src/Google/AdsApi/AdManager/v202508/LiveStreamEventPage.php +++ b/src/Google/AdsApi/AdManager/v202508/LiveStreamEventPage.php @@ -29,7 +29,7 @@ class LiveStreamEventPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\LiveStreamEvent[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\LiveStreamEvent[]|null $results * @return \Google\AdsApi\AdManager\v202508\LiveStreamEventPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/LiveStreamEventPrerollSettingsError.php b/src/Google/AdsApi/AdManager/v202508/LiveStreamEventPrerollSettingsError.php index b619300e0..90cb511c2 100644 --- a/src/Google/AdsApi/AdManager/v202508/LiveStreamEventPrerollSettingsError.php +++ b/src/Google/AdsApi/AdManager/v202508/LiveStreamEventPrerollSettingsError.php @@ -21,7 +21,7 @@ class LiveStreamEventPrerollSettingsError extends \Google\AdsApi\AdManager\v2025 * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/LiveStreamEventSlateError.php b/src/Google/AdsApi/AdManager/v202508/LiveStreamEventSlateError.php index 76528353c..e8cf9e582 100644 --- a/src/Google/AdsApi/AdManager/v202508/LiveStreamEventSlateError.php +++ b/src/Google/AdsApi/AdManager/v202508/LiveStreamEventSlateError.php @@ -21,7 +21,7 @@ class LiveStreamEventSlateError extends \Google\AdsApi\AdManager\v202508\ApiErro * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/MarketplaceCommentPage.php b/src/Google/AdsApi/AdManager/v202508/MarketplaceCommentPage.php index 055442081..937f33059 100644 --- a/src/Google/AdsApi/AdManager/v202508/MarketplaceCommentPage.php +++ b/src/Google/AdsApi/AdManager/v202508/MarketplaceCommentPage.php @@ -23,7 +23,7 @@ class MarketplaceCommentPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\MarketplaceComment[] $results */ - public function __construct($startIndex = null, array $results = null) + public function __construct($startIndex = null, ?array $results = null) { $this->startIndex = $startIndex; $this->results = $results; @@ -59,7 +59,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\MarketplaceComment[]|null $results * @return \Google\AdsApi\AdManager\v202508\MarketplaceCommentPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/McmError.php b/src/Google/AdsApi/AdManager/v202508/McmError.php index 304d32806..b827303c4 100644 --- a/src/Google/AdsApi/AdManager/v202508/McmError.php +++ b/src/Google/AdsApi/AdManager/v202508/McmError.php @@ -21,7 +21,7 @@ class McmError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/MetadataMergeSpecError.php b/src/Google/AdsApi/AdManager/v202508/MetadataMergeSpecError.php index 94de08efa..1e4fc4e3a 100644 --- a/src/Google/AdsApi/AdManager/v202508/MetadataMergeSpecError.php +++ b/src/Google/AdsApi/AdManager/v202508/MetadataMergeSpecError.php @@ -21,7 +21,7 @@ class MetadataMergeSpecError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/MobileApplication.php b/src/Google/AdsApi/AdManager/v202508/MobileApplication.php index 157d05f82..c74487fed 100644 --- a/src/Google/AdsApi/AdManager/v202508/MobileApplication.php +++ b/src/Google/AdsApi/AdManager/v202508/MobileApplication.php @@ -89,7 +89,7 @@ class MobileApplication * @param string $downloadUrl * @param string $approvalStatus */ - public function __construct($id = null, $applicationId = null, $displayName = null, $appStoreId = null, array $appStores = null, $isArchived = null, $appStoreName = null, $applicationCode = null, $developerName = null, $platform = null, $isFree = null, $downloadUrl = null, $approvalStatus = null) + public function __construct($id = null, $applicationId = null, $displayName = null, $appStoreId = null, ?array $appStores = null, $isArchived = null, $appStoreName = null, $applicationCode = null, $developerName = null, $platform = null, $isFree = null, $downloadUrl = null, $approvalStatus = null) { $this->id = $id; $this->applicationId = $applicationId; @@ -192,7 +192,7 @@ public function getAppStores() * @param string[]|null $appStores * @return \Google\AdsApi\AdManager\v202508\MobileApplication */ - public function setAppStores(array $appStores = null) + public function setAppStores(?array $appStores = null) { $this->appStores = $appStores; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/MobileApplicationActionError.php b/src/Google/AdsApi/AdManager/v202508/MobileApplicationActionError.php index 772dcfb81..b45152357 100644 --- a/src/Google/AdsApi/AdManager/v202508/MobileApplicationActionError.php +++ b/src/Google/AdsApi/AdManager/v202508/MobileApplicationActionError.php @@ -21,7 +21,7 @@ class MobileApplicationActionError extends \Google\AdsApi\AdManager\v202508\ApiE * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/MobileApplicationError.php b/src/Google/AdsApi/AdManager/v202508/MobileApplicationError.php index faae4c417..67936abbd 100644 --- a/src/Google/AdsApi/AdManager/v202508/MobileApplicationError.php +++ b/src/Google/AdsApi/AdManager/v202508/MobileApplicationError.php @@ -21,7 +21,7 @@ class MobileApplicationError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/MobileApplicationPage.php b/src/Google/AdsApi/AdManager/v202508/MobileApplicationPage.php index 448dc2eb1..39c22f114 100644 --- a/src/Google/AdsApi/AdManager/v202508/MobileApplicationPage.php +++ b/src/Google/AdsApi/AdManager/v202508/MobileApplicationPage.php @@ -29,7 +29,7 @@ class MobileApplicationPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\MobileApplication[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\MobileApplication[]|null $results * @return \Google\AdsApi\AdManager\v202508\MobileApplicationPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/MobileApplicationTargeting.php b/src/Google/AdsApi/AdManager/v202508/MobileApplicationTargeting.php index 77f0e9766..263290951 100644 --- a/src/Google/AdsApi/AdManager/v202508/MobileApplicationTargeting.php +++ b/src/Google/AdsApi/AdManager/v202508/MobileApplicationTargeting.php @@ -23,7 +23,7 @@ class MobileApplicationTargeting * @param int[] $mobileApplicationIds * @param boolean $isTargeted */ - public function __construct(array $mobileApplicationIds = null, $isTargeted = null) + public function __construct(?array $mobileApplicationIds = null, $isTargeted = null) { $this->mobileApplicationIds = $mobileApplicationIds; $this->isTargeted = $isTargeted; @@ -41,7 +41,7 @@ public function getMobileApplicationIds() * @param int[]|null $mobileApplicationIds * @return \Google\AdsApi\AdManager\v202508\MobileApplicationTargeting */ - public function setMobileApplicationIds(array $mobileApplicationIds = null) + public function setMobileApplicationIds(?array $mobileApplicationIds = null) { $this->mobileApplicationIds = $mobileApplicationIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/MobileApplicationTargetingError.php b/src/Google/AdsApi/AdManager/v202508/MobileApplicationTargetingError.php index 01230547b..c54f233c6 100644 --- a/src/Google/AdsApi/AdManager/v202508/MobileApplicationTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202508/MobileApplicationTargetingError.php @@ -21,7 +21,7 @@ class MobileApplicationTargetingError extends \Google\AdsApi\AdManager\v202508\A * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/MobileCarrierTargeting.php b/src/Google/AdsApi/AdManager/v202508/MobileCarrierTargeting.php index de672dc98..6f1ac81bf 100644 --- a/src/Google/AdsApi/AdManager/v202508/MobileCarrierTargeting.php +++ b/src/Google/AdsApi/AdManager/v202508/MobileCarrierTargeting.php @@ -23,7 +23,7 @@ class MobileCarrierTargeting * @param boolean $isTargeted * @param \Google\AdsApi\AdManager\v202508\Technology[] $mobileCarriers */ - public function __construct($isTargeted = null, array $mobileCarriers = null) + public function __construct($isTargeted = null, ?array $mobileCarriers = null) { $this->isTargeted = $isTargeted; $this->mobileCarriers = $mobileCarriers; @@ -59,7 +59,7 @@ public function getMobileCarriers() * @param \Google\AdsApi\AdManager\v202508\Technology[]|null $mobileCarriers * @return \Google\AdsApi\AdManager\v202508\MobileCarrierTargeting */ - public function setMobileCarriers(array $mobileCarriers = null) + public function setMobileCarriers(?array $mobileCarriers = null) { $this->mobileCarriers = $mobileCarriers; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/MobileDeviceSubmodelTargeting.php b/src/Google/AdsApi/AdManager/v202508/MobileDeviceSubmodelTargeting.php index 4c5d95941..ee6526bd2 100644 --- a/src/Google/AdsApi/AdManager/v202508/MobileDeviceSubmodelTargeting.php +++ b/src/Google/AdsApi/AdManager/v202508/MobileDeviceSubmodelTargeting.php @@ -23,7 +23,7 @@ class MobileDeviceSubmodelTargeting * @param \Google\AdsApi\AdManager\v202508\Technology[] $targetedMobileDeviceSubmodels * @param \Google\AdsApi\AdManager\v202508\Technology[] $excludedMobileDeviceSubmodels */ - public function __construct(array $targetedMobileDeviceSubmodels = null, array $excludedMobileDeviceSubmodels = null) + public function __construct(?array $targetedMobileDeviceSubmodels = null, ?array $excludedMobileDeviceSubmodels = null) { $this->targetedMobileDeviceSubmodels = $targetedMobileDeviceSubmodels; $this->excludedMobileDeviceSubmodels = $excludedMobileDeviceSubmodels; @@ -41,7 +41,7 @@ public function getTargetedMobileDeviceSubmodels() * @param \Google\AdsApi\AdManager\v202508\Technology[]|null $targetedMobileDeviceSubmodels * @return \Google\AdsApi\AdManager\v202508\MobileDeviceSubmodelTargeting */ - public function setTargetedMobileDeviceSubmodels(array $targetedMobileDeviceSubmodels = null) + public function setTargetedMobileDeviceSubmodels(?array $targetedMobileDeviceSubmodels = null) { $this->targetedMobileDeviceSubmodels = $targetedMobileDeviceSubmodels; return $this; @@ -59,7 +59,7 @@ public function getExcludedMobileDeviceSubmodels() * @param \Google\AdsApi\AdManager\v202508\Technology[]|null $excludedMobileDeviceSubmodels * @return \Google\AdsApi\AdManager\v202508\MobileDeviceSubmodelTargeting */ - public function setExcludedMobileDeviceSubmodels(array $excludedMobileDeviceSubmodels = null) + public function setExcludedMobileDeviceSubmodels(?array $excludedMobileDeviceSubmodels = null) { $this->excludedMobileDeviceSubmodels = $excludedMobileDeviceSubmodels; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/MobileDeviceTargeting.php b/src/Google/AdsApi/AdManager/v202508/MobileDeviceTargeting.php index 163414fa0..0a9c028be 100644 --- a/src/Google/AdsApi/AdManager/v202508/MobileDeviceTargeting.php +++ b/src/Google/AdsApi/AdManager/v202508/MobileDeviceTargeting.php @@ -23,7 +23,7 @@ class MobileDeviceTargeting * @param \Google\AdsApi\AdManager\v202508\Technology[] $targetedMobileDevices * @param \Google\AdsApi\AdManager\v202508\Technology[] $excludedMobileDevices */ - public function __construct(array $targetedMobileDevices = null, array $excludedMobileDevices = null) + public function __construct(?array $targetedMobileDevices = null, ?array $excludedMobileDevices = null) { $this->targetedMobileDevices = $targetedMobileDevices; $this->excludedMobileDevices = $excludedMobileDevices; @@ -41,7 +41,7 @@ public function getTargetedMobileDevices() * @param \Google\AdsApi\AdManager\v202508\Technology[]|null $targetedMobileDevices * @return \Google\AdsApi\AdManager\v202508\MobileDeviceTargeting */ - public function setTargetedMobileDevices(array $targetedMobileDevices = null) + public function setTargetedMobileDevices(?array $targetedMobileDevices = null) { $this->targetedMobileDevices = $targetedMobileDevices; return $this; @@ -59,7 +59,7 @@ public function getExcludedMobileDevices() * @param \Google\AdsApi\AdManager\v202508\Technology[]|null $excludedMobileDevices * @return \Google\AdsApi\AdManager\v202508\MobileDeviceTargeting */ - public function setExcludedMobileDevices(array $excludedMobileDevices = null) + public function setExcludedMobileDevices(?array $excludedMobileDevices = null) { $this->excludedMobileDevices = $excludedMobileDevices; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/NativeStyleError.php b/src/Google/AdsApi/AdManager/v202508/NativeStyleError.php index 0470ab77c..3828ee472 100644 --- a/src/Google/AdsApi/AdManager/v202508/NativeStyleError.php +++ b/src/Google/AdsApi/AdManager/v202508/NativeStyleError.php @@ -21,7 +21,7 @@ class NativeStyleError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/NativeStylePage.php b/src/Google/AdsApi/AdManager/v202508/NativeStylePage.php index f5a5cd736..dcdfb1c04 100644 --- a/src/Google/AdsApi/AdManager/v202508/NativeStylePage.php +++ b/src/Google/AdsApi/AdManager/v202508/NativeStylePage.php @@ -29,7 +29,7 @@ class NativeStylePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\NativeStyle[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\NativeStyle[]|null $results * @return \Google\AdsApi\AdManager\v202508\NativeStylePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/Network.php b/src/Google/AdsApi/AdManager/v202508/Network.php index 2f955b09a..614345a80 100644 --- a/src/Google/AdsApi/AdManager/v202508/Network.php +++ b/src/Google/AdsApi/AdManager/v202508/Network.php @@ -65,7 +65,7 @@ class Network * @param string $effectiveRootAdUnitId * @param boolean $isTest */ - public function __construct($id = null, $displayName = null, $networkCode = null, $propertyCode = null, $timeZone = null, $currencyCode = null, array $secondaryCurrencyCodes = null, $effectiveRootAdUnitId = null, $isTest = null) + public function __construct($id = null, $displayName = null, $networkCode = null, $propertyCode = null, $timeZone = null, $currencyCode = null, ?array $secondaryCurrencyCodes = null, $effectiveRootAdUnitId = null, $isTest = null) { $this->id = $id; $this->displayName = $displayName; @@ -199,7 +199,7 @@ public function getSecondaryCurrencyCodes() * @param string[]|null $secondaryCurrencyCodes * @return \Google\AdsApi\AdManager\v202508\Network */ - public function setSecondaryCurrencyCodes(array $secondaryCurrencyCodes = null) + public function setSecondaryCurrencyCodes(?array $secondaryCurrencyCodes = null) { $this->secondaryCurrencyCodes = $secondaryCurrencyCodes; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/NetworkError.php b/src/Google/AdsApi/AdManager/v202508/NetworkError.php index 6eee1b4f8..14d1546cc 100644 --- a/src/Google/AdsApi/AdManager/v202508/NetworkError.php +++ b/src/Google/AdsApi/AdManager/v202508/NetworkError.php @@ -21,7 +21,7 @@ class NetworkError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/NonRuleBasedFirstPartyAudienceSegment.php b/src/Google/AdsApi/AdManager/v202508/NonRuleBasedFirstPartyAudienceSegment.php index 924a349fc..9595b4c6e 100644 --- a/src/Google/AdsApi/AdManager/v202508/NonRuleBasedFirstPartyAudienceSegment.php +++ b/src/Google/AdsApi/AdManager/v202508/NonRuleBasedFirstPartyAudienceSegment.php @@ -29,7 +29,7 @@ class NonRuleBasedFirstPartyAudienceSegment extends \Google\AdsApi\AdManager\v20 * @param string $type * @param int $membershipExpirationDays */ - public function __construct($id = null, $name = null, array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null, $membershipExpirationDays = null) + public function __construct($id = null, $name = null, ?array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null, $membershipExpirationDays = null) { parent::__construct($id, $name, $categoryIds, $description, $status, $size, $mobileWebSize, $idfaSize, $adIdSize, $ppidSize, $dataProvider, $type); $this->membershipExpirationDays = $membershipExpirationDays; diff --git a/src/Google/AdsApi/AdManager/v202508/NotNullError.php b/src/Google/AdsApi/AdManager/v202508/NotNullError.php index 109fbd4fd..307f0ef26 100644 --- a/src/Google/AdsApi/AdManager/v202508/NotNullError.php +++ b/src/Google/AdsApi/AdManager/v202508/NotNullError.php @@ -21,7 +21,7 @@ class NotNullError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/NullError.php b/src/Google/AdsApi/AdManager/v202508/NullError.php index 75cb25889..89b14c4b3 100644 --- a/src/Google/AdsApi/AdManager/v202508/NullError.php +++ b/src/Google/AdsApi/AdManager/v202508/NullError.php @@ -21,7 +21,7 @@ class NullError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/OperatingSystemTargeting.php b/src/Google/AdsApi/AdManager/v202508/OperatingSystemTargeting.php index 8074c0717..2e6bccd98 100644 --- a/src/Google/AdsApi/AdManager/v202508/OperatingSystemTargeting.php +++ b/src/Google/AdsApi/AdManager/v202508/OperatingSystemTargeting.php @@ -23,7 +23,7 @@ class OperatingSystemTargeting * @param boolean $isTargeted * @param \Google\AdsApi\AdManager\v202508\Technology[] $operatingSystems */ - public function __construct($isTargeted = null, array $operatingSystems = null) + public function __construct($isTargeted = null, ?array $operatingSystems = null) { $this->isTargeted = $isTargeted; $this->operatingSystems = $operatingSystems; @@ -59,7 +59,7 @@ public function getOperatingSystems() * @param \Google\AdsApi\AdManager\v202508\Technology[]|null $operatingSystems * @return \Google\AdsApi\AdManager\v202508\OperatingSystemTargeting */ - public function setOperatingSystems(array $operatingSystems = null) + public function setOperatingSystems(?array $operatingSystems = null) { $this->operatingSystems = $operatingSystems; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/OperatingSystemVersionTargeting.php b/src/Google/AdsApi/AdManager/v202508/OperatingSystemVersionTargeting.php index dbf0e1eb4..137aa26ad 100644 --- a/src/Google/AdsApi/AdManager/v202508/OperatingSystemVersionTargeting.php +++ b/src/Google/AdsApi/AdManager/v202508/OperatingSystemVersionTargeting.php @@ -23,7 +23,7 @@ class OperatingSystemVersionTargeting * @param \Google\AdsApi\AdManager\v202508\Technology[] $targetedOperatingSystemVersions * @param \Google\AdsApi\AdManager\v202508\Technology[] $excludedOperatingSystemVersions */ - public function __construct(array $targetedOperatingSystemVersions = null, array $excludedOperatingSystemVersions = null) + public function __construct(?array $targetedOperatingSystemVersions = null, ?array $excludedOperatingSystemVersions = null) { $this->targetedOperatingSystemVersions = $targetedOperatingSystemVersions; $this->excludedOperatingSystemVersions = $excludedOperatingSystemVersions; @@ -41,7 +41,7 @@ public function getTargetedOperatingSystemVersions() * @param \Google\AdsApi\AdManager\v202508\Technology[]|null $targetedOperatingSystemVersions * @return \Google\AdsApi\AdManager\v202508\OperatingSystemVersionTargeting */ - public function setTargetedOperatingSystemVersions(array $targetedOperatingSystemVersions = null) + public function setTargetedOperatingSystemVersions(?array $targetedOperatingSystemVersions = null) { $this->targetedOperatingSystemVersions = $targetedOperatingSystemVersions; return $this; @@ -59,7 +59,7 @@ public function getExcludedOperatingSystemVersions() * @param \Google\AdsApi\AdManager\v202508\Technology[]|null $excludedOperatingSystemVersions * @return \Google\AdsApi\AdManager\v202508\OperatingSystemVersionTargeting */ - public function setExcludedOperatingSystemVersions(array $excludedOperatingSystemVersions = null) + public function setExcludedOperatingSystemVersions(?array $excludedOperatingSystemVersions = null) { $this->excludedOperatingSystemVersions = $excludedOperatingSystemVersions; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/Order.php b/src/Google/AdsApi/AdManager/v202508/Order.php index a190d5959..511d636e9 100644 --- a/src/Google/AdsApi/AdManager/v202508/Order.php +++ b/src/Google/AdsApi/AdManager/v202508/Order.php @@ -197,7 +197,7 @@ class Order * @param \Google\AdsApi\AdManager\v202508\DateTime $lastModifiedDateTime * @param \Google\AdsApi\AdManager\v202508\BaseCustomFieldValue[] $customFieldValues */ - public function __construct($id = null, $name = null, $startDateTime = null, $endDateTime = null, $unlimitedEndDateTime = null, $status = null, $isArchived = null, $notes = null, $externalOrderId = null, $poNumber = null, $currencyCode = null, $advertiserId = null, array $advertiserContactIds = null, $agencyId = null, array $agencyContactIds = null, $creatorId = null, $traffickerId = null, array $secondaryTraffickerIds = null, $salespersonId = null, array $secondarySalespersonIds = null, $totalImpressionsDelivered = null, $totalClicksDelivered = null, $totalViewableImpressionsDelivered = null, $totalBudget = null, array $appliedLabels = null, array $effectiveAppliedLabels = null, $lastModifiedByApp = null, $isProgrammatic = null, array $appliedTeamIds = null, $lastModifiedDateTime = null, array $customFieldValues = null) + public function __construct($id = null, $name = null, $startDateTime = null, $endDateTime = null, $unlimitedEndDateTime = null, $status = null, $isArchived = null, $notes = null, $externalOrderId = null, $poNumber = null, $currencyCode = null, $advertiserId = null, ?array $advertiserContactIds = null, $agencyId = null, ?array $agencyContactIds = null, $creatorId = null, $traffickerId = null, ?array $secondaryTraffickerIds = null, $salespersonId = null, ?array $secondarySalespersonIds = null, $totalImpressionsDelivered = null, $totalClicksDelivered = null, $totalViewableImpressionsDelivered = null, $totalBudget = null, ?array $appliedLabels = null, ?array $effectiveAppliedLabels = null, $lastModifiedByApp = null, $isProgrammatic = null, ?array $appliedTeamIds = null, $lastModifiedDateTime = null, ?array $customFieldValues = null) { $this->id = $id; $this->name = $name; @@ -462,7 +462,7 @@ public function getAdvertiserContactIds() * @param int[]|null $advertiserContactIds * @return \Google\AdsApi\AdManager\v202508\Order */ - public function setAdvertiserContactIds(array $advertiserContactIds = null) + public function setAdvertiserContactIds(?array $advertiserContactIds = null) { $this->advertiserContactIds = $advertiserContactIds; return $this; @@ -499,7 +499,7 @@ public function getAgencyContactIds() * @param int[]|null $agencyContactIds * @return \Google\AdsApi\AdManager\v202508\Order */ - public function setAgencyContactIds(array $agencyContactIds = null) + public function setAgencyContactIds(?array $agencyContactIds = null) { $this->agencyContactIds = $agencyContactIds; return $this; @@ -555,7 +555,7 @@ public function getSecondaryTraffickerIds() * @param int[]|null $secondaryTraffickerIds * @return \Google\AdsApi\AdManager\v202508\Order */ - public function setSecondaryTraffickerIds(array $secondaryTraffickerIds = null) + public function setSecondaryTraffickerIds(?array $secondaryTraffickerIds = null) { $this->secondaryTraffickerIds = $secondaryTraffickerIds; return $this; @@ -592,7 +592,7 @@ public function getSecondarySalespersonIds() * @param int[]|null $secondarySalespersonIds * @return \Google\AdsApi\AdManager\v202508\Order */ - public function setSecondarySalespersonIds(array $secondarySalespersonIds = null) + public function setSecondarySalespersonIds(?array $secondarySalespersonIds = null) { $this->secondarySalespersonIds = $secondarySalespersonIds; return $this; @@ -685,7 +685,7 @@ public function getAppliedLabels() * @param \Google\AdsApi\AdManager\v202508\AppliedLabel[]|null $appliedLabels * @return \Google\AdsApi\AdManager\v202508\Order */ - public function setAppliedLabels(array $appliedLabels = null) + public function setAppliedLabels(?array $appliedLabels = null) { $this->appliedLabels = $appliedLabels; return $this; @@ -703,7 +703,7 @@ public function getEffectiveAppliedLabels() * @param \Google\AdsApi\AdManager\v202508\AppliedLabel[]|null $effectiveAppliedLabels * @return \Google\AdsApi\AdManager\v202508\Order */ - public function setEffectiveAppliedLabels(array $effectiveAppliedLabels = null) + public function setEffectiveAppliedLabels(?array $effectiveAppliedLabels = null) { $this->effectiveAppliedLabels = $effectiveAppliedLabels; return $this; @@ -757,7 +757,7 @@ public function getAppliedTeamIds() * @param int[]|null $appliedTeamIds * @return \Google\AdsApi\AdManager\v202508\Order */ - public function setAppliedTeamIds(array $appliedTeamIds = null) + public function setAppliedTeamIds(?array $appliedTeamIds = null) { $this->appliedTeamIds = $appliedTeamIds; return $this; @@ -793,7 +793,7 @@ public function getCustomFieldValues() * @param \Google\AdsApi\AdManager\v202508\BaseCustomFieldValue[]|null $customFieldValues * @return \Google\AdsApi\AdManager\v202508\Order */ - public function setCustomFieldValues(array $customFieldValues = null) + public function setCustomFieldValues(?array $customFieldValues = null) { $this->customFieldValues = $customFieldValues; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/OrderActionError.php b/src/Google/AdsApi/AdManager/v202508/OrderActionError.php index 8e1fb98bb..85e7b1d57 100644 --- a/src/Google/AdsApi/AdManager/v202508/OrderActionError.php +++ b/src/Google/AdsApi/AdManager/v202508/OrderActionError.php @@ -21,7 +21,7 @@ class OrderActionError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/OrderError.php b/src/Google/AdsApi/AdManager/v202508/OrderError.php index 4f9a31d97..5cee4a11b 100644 --- a/src/Google/AdsApi/AdManager/v202508/OrderError.php +++ b/src/Google/AdsApi/AdManager/v202508/OrderError.php @@ -21,7 +21,7 @@ class OrderError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/OrderPage.php b/src/Google/AdsApi/AdManager/v202508/OrderPage.php index 3a0e0a8b0..70e454052 100644 --- a/src/Google/AdsApi/AdManager/v202508/OrderPage.php +++ b/src/Google/AdsApi/AdManager/v202508/OrderPage.php @@ -29,7 +29,7 @@ class OrderPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\Order[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\Order[]|null $results * @return \Google\AdsApi\AdManager\v202508\OrderPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/ParseError.php b/src/Google/AdsApi/AdManager/v202508/ParseError.php index 68fc7d49a..21776152c 100644 --- a/src/Google/AdsApi/AdManager/v202508/ParseError.php +++ b/src/Google/AdsApi/AdManager/v202508/ParseError.php @@ -21,7 +21,7 @@ class ParseError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/PermissionError.php b/src/Google/AdsApi/AdManager/v202508/PermissionError.php index 18602c994..118c95ea4 100644 --- a/src/Google/AdsApi/AdManager/v202508/PermissionError.php +++ b/src/Google/AdsApi/AdManager/v202508/PermissionError.php @@ -21,7 +21,7 @@ class PermissionError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/Placement.php b/src/Google/AdsApi/AdManager/v202508/Placement.php index 1df46e33c..c9af4c9c0 100644 --- a/src/Google/AdsApi/AdManager/v202508/Placement.php +++ b/src/Google/AdsApi/AdManager/v202508/Placement.php @@ -53,7 +53,7 @@ class Placement extends \Google\AdsApi\AdManager\v202508\SiteTargetingInfo * @param string[] $targetedAdUnitIds * @param \Google\AdsApi\AdManager\v202508\DateTime $lastModifiedDateTime */ - public function __construct($id = null, $name = null, $description = null, $placementCode = null, $status = null, array $targetedAdUnitIds = null, $lastModifiedDateTime = null) + public function __construct($id = null, $name = null, $description = null, $placementCode = null, $status = null, ?array $targetedAdUnitIds = null, $lastModifiedDateTime = null) { $this->id = $id; $this->name = $name; @@ -167,7 +167,7 @@ public function getTargetedAdUnitIds() * @param string[]|null $targetedAdUnitIds * @return \Google\AdsApi\AdManager\v202508\Placement */ - public function setTargetedAdUnitIds(array $targetedAdUnitIds = null) + public function setTargetedAdUnitIds(?array $targetedAdUnitIds = null) { $this->targetedAdUnitIds = $targetedAdUnitIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/PlacementError.php b/src/Google/AdsApi/AdManager/v202508/PlacementError.php index db25bb535..89bfbcc2a 100644 --- a/src/Google/AdsApi/AdManager/v202508/PlacementError.php +++ b/src/Google/AdsApi/AdManager/v202508/PlacementError.php @@ -21,7 +21,7 @@ class PlacementError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/PlacementPage.php b/src/Google/AdsApi/AdManager/v202508/PlacementPage.php index 7487e0fa8..3464fa1f6 100644 --- a/src/Google/AdsApi/AdManager/v202508/PlacementPage.php +++ b/src/Google/AdsApi/AdManager/v202508/PlacementPage.php @@ -29,7 +29,7 @@ class PlacementPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\Placement[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\Placement[]|null $results * @return \Google\AdsApi\AdManager\v202508\PlacementPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/PoddingError.php b/src/Google/AdsApi/AdManager/v202508/PoddingError.php index 3534593ca..3ca4160ee 100644 --- a/src/Google/AdsApi/AdManager/v202508/PoddingError.php +++ b/src/Google/AdsApi/AdManager/v202508/PoddingError.php @@ -21,7 +21,7 @@ class PoddingError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/PrecisionError.php b/src/Google/AdsApi/AdManager/v202508/PrecisionError.php index 0db20bab2..c475336c8 100644 --- a/src/Google/AdsApi/AdManager/v202508/PrecisionError.php +++ b/src/Google/AdsApi/AdManager/v202508/PrecisionError.php @@ -21,7 +21,7 @@ class PrecisionError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/PreferredDealError.php b/src/Google/AdsApi/AdManager/v202508/PreferredDealError.php index 5974d7ad0..8d7570548 100644 --- a/src/Google/AdsApi/AdManager/v202508/PreferredDealError.php +++ b/src/Google/AdsApi/AdManager/v202508/PreferredDealError.php @@ -21,7 +21,7 @@ class PreferredDealError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/ProgrammaticCreative.php b/src/Google/AdsApi/AdManager/v202508/ProgrammaticCreative.php index 6804b6ba5..d0b4952b7 100644 --- a/src/Google/AdsApi/AdManager/v202508/ProgrammaticCreative.php +++ b/src/Google/AdsApi/AdManager/v202508/ProgrammaticCreative.php @@ -23,7 +23,7 @@ class ProgrammaticCreative extends \Google\AdsApi\AdManager\v202508\Creative * @param boolean $adBadgingEnabled * @param boolean $selfDeclaredEuropeanUnionPoliticalContent */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent); } diff --git a/src/Google/AdsApi/AdManager/v202508/ProgrammaticError.php b/src/Google/AdsApi/AdManager/v202508/ProgrammaticError.php index 709936eeb..b5e6c7348 100644 --- a/src/Google/AdsApi/AdManager/v202508/ProgrammaticError.php +++ b/src/Google/AdsApi/AdManager/v202508/ProgrammaticError.php @@ -21,7 +21,7 @@ class ProgrammaticError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/Proposal.php b/src/Google/AdsApi/AdManager/v202508/Proposal.php index 8651df915..6cf3377ed 100644 --- a/src/Google/AdsApi/AdManager/v202508/Proposal.php +++ b/src/Google/AdsApi/AdManager/v202508/Proposal.php @@ -167,7 +167,7 @@ class Proposal * @param boolean $hasBuyerRfp * @param boolean $deliveryPausingEnabled */ - public function __construct($id = null, $isProgrammatic = null, $dfpOrderId = null, $name = null, $startDateTime = null, $endDateTime = null, $status = null, $isArchived = null, $advertiser = null, array $agencies = null, $internalNotes = null, $primarySalesperson = null, array $salesPlannerIds = null, $primaryTraffickerId = null, array $sellerContactIds = null, array $appliedTeamIds = null, array $customFieldValues = null, array $appliedLabels = null, array $effectiveAppliedLabels = null, $currencyCode = null, $isSold = null, $lastModifiedDateTime = null, $marketplaceInfo = null, $buyerRfp = null, $hasBuyerRfp = null, $deliveryPausingEnabled = null) + public function __construct($id = null, $isProgrammatic = null, $dfpOrderId = null, $name = null, $startDateTime = null, $endDateTime = null, $status = null, $isArchived = null, $advertiser = null, ?array $agencies = null, $internalNotes = null, $primarySalesperson = null, ?array $salesPlannerIds = null, $primaryTraffickerId = null, ?array $sellerContactIds = null, ?array $appliedTeamIds = null, ?array $customFieldValues = null, ?array $appliedLabels = null, ?array $effectiveAppliedLabels = null, $currencyCode = null, $isSold = null, $lastModifiedDateTime = null, $marketplaceInfo = null, $buyerRfp = null, $hasBuyerRfp = null, $deliveryPausingEnabled = null) { $this->id = $id; $this->isProgrammatic = $isProgrammatic; @@ -373,7 +373,7 @@ public function getAgencies() * @param \Google\AdsApi\AdManager\v202508\ProposalCompanyAssociation[]|null $agencies * @return \Google\AdsApi\AdManager\v202508\Proposal */ - public function setAgencies(array $agencies = null) + public function setAgencies(?array $agencies = null) { $this->agencies = $agencies; return $this; @@ -427,7 +427,7 @@ public function getSalesPlannerIds() * @param int[]|null $salesPlannerIds * @return \Google\AdsApi\AdManager\v202508\Proposal */ - public function setSalesPlannerIds(array $salesPlannerIds = null) + public function setSalesPlannerIds(?array $salesPlannerIds = null) { $this->salesPlannerIds = $salesPlannerIds; return $this; @@ -464,7 +464,7 @@ public function getSellerContactIds() * @param int[]|null $sellerContactIds * @return \Google\AdsApi\AdManager\v202508\Proposal */ - public function setSellerContactIds(array $sellerContactIds = null) + public function setSellerContactIds(?array $sellerContactIds = null) { $this->sellerContactIds = $sellerContactIds; return $this; @@ -482,7 +482,7 @@ public function getAppliedTeamIds() * @param int[]|null $appliedTeamIds * @return \Google\AdsApi\AdManager\v202508\Proposal */ - public function setAppliedTeamIds(array $appliedTeamIds = null) + public function setAppliedTeamIds(?array $appliedTeamIds = null) { $this->appliedTeamIds = $appliedTeamIds; return $this; @@ -500,7 +500,7 @@ public function getCustomFieldValues() * @param \Google\AdsApi\AdManager\v202508\BaseCustomFieldValue[]|null $customFieldValues * @return \Google\AdsApi\AdManager\v202508\Proposal */ - public function setCustomFieldValues(array $customFieldValues = null) + public function setCustomFieldValues(?array $customFieldValues = null) { $this->customFieldValues = $customFieldValues; return $this; @@ -518,7 +518,7 @@ public function getAppliedLabels() * @param \Google\AdsApi\AdManager\v202508\AppliedLabel[]|null $appliedLabels * @return \Google\AdsApi\AdManager\v202508\Proposal */ - public function setAppliedLabels(array $appliedLabels = null) + public function setAppliedLabels(?array $appliedLabels = null) { $this->appliedLabels = $appliedLabels; return $this; @@ -536,7 +536,7 @@ public function getEffectiveAppliedLabels() * @param \Google\AdsApi\AdManager\v202508\AppliedLabel[]|null $effectiveAppliedLabels * @return \Google\AdsApi\AdManager\v202508\Proposal */ - public function setEffectiveAppliedLabels(array $effectiveAppliedLabels = null) + public function setEffectiveAppliedLabels(?array $effectiveAppliedLabels = null) { $this->effectiveAppliedLabels = $effectiveAppliedLabels; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/ProposalActionError.php b/src/Google/AdsApi/AdManager/v202508/ProposalActionError.php index 030f5c855..d201eb83e 100644 --- a/src/Google/AdsApi/AdManager/v202508/ProposalActionError.php +++ b/src/Google/AdsApi/AdManager/v202508/ProposalActionError.php @@ -21,7 +21,7 @@ class ProposalActionError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/ProposalCompanyAssociation.php b/src/Google/AdsApi/AdManager/v202508/ProposalCompanyAssociation.php index 7bef34e03..cd55eaf23 100644 --- a/src/Google/AdsApi/AdManager/v202508/ProposalCompanyAssociation.php +++ b/src/Google/AdsApi/AdManager/v202508/ProposalCompanyAssociation.php @@ -29,7 +29,7 @@ class ProposalCompanyAssociation * @param string $type * @param int[] $contactIds */ - public function __construct($companyId = null, $type = null, array $contactIds = null) + public function __construct($companyId = null, $type = null, ?array $contactIds = null) { $this->companyId = $companyId; $this->type = $type; @@ -85,7 +85,7 @@ public function getContactIds() * @param int[]|null $contactIds * @return \Google\AdsApi\AdManager\v202508\ProposalCompanyAssociation */ - public function setContactIds(array $contactIds = null) + public function setContactIds(?array $contactIds = null) { $this->contactIds = $contactIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/ProposalError.php b/src/Google/AdsApi/AdManager/v202508/ProposalError.php index cf1723762..7647b31e5 100644 --- a/src/Google/AdsApi/AdManager/v202508/ProposalError.php +++ b/src/Google/AdsApi/AdManager/v202508/ProposalError.php @@ -21,7 +21,7 @@ class ProposalError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/ProposalLineItem.php b/src/Google/AdsApi/AdManager/v202508/ProposalLineItem.php index 7371cc3b3..dc180c807 100644 --- a/src/Google/AdsApi/AdManager/v202508/ProposalLineItem.php +++ b/src/Google/AdsApi/AdManager/v202508/ProposalLineItem.php @@ -299,7 +299,7 @@ class ProposalLineItem * @param string $pauseRole * @param string $pauseReason */ - public function __construct($id = null, $proposalId = null, $name = null, $startDateTime = null, $endDateTime = null, $internalNotes = null, $isArchived = null, $goal = null, array $secondaryGoals = null, $contractedUnitsBought = null, $deliveryRateType = null, $roadblockingType = null, $buyerPermissionType = null, $companionDeliveryOption = null, $videoMaxDuration = null, $videoCreativeSkippableAdType = null, array $frequencyCaps = null, $dfpLineItemId = null, $lineItemType = null, $lineItemPriority = null, $rateType = null, array $creativePlaceholders = null, $targeting = null, array $customFieldValues = null, array $appliedLabels = null, array $effectiveAppliedLabels = null, $disableSameAdvertiserCompetitiveExclusion = null, $isSold = null, $netRate = null, $netCost = null, $deliveryIndicator = null, $deliveryData = null, $computedStatus = null, $lastModifiedDateTime = null, $reservationStatus = null, $lastReservationDateTime = null, $environmentType = null, array $allowedFormats = null, $additionalTerms = null, $programmaticCreativeSource = null, $grpSettings = null, $estimatedMinimumImpressions = null, $thirdPartyMeasurementSettings = null, $makegoodInfo = null, $hasMakegood = null, $canCreateMakegood = null, $pauseRole = null, $pauseReason = null) + public function __construct($id = null, $proposalId = null, $name = null, $startDateTime = null, $endDateTime = null, $internalNotes = null, $isArchived = null, $goal = null, ?array $secondaryGoals = null, $contractedUnitsBought = null, $deliveryRateType = null, $roadblockingType = null, $buyerPermissionType = null, $companionDeliveryOption = null, $videoMaxDuration = null, $videoCreativeSkippableAdType = null, ?array $frequencyCaps = null, $dfpLineItemId = null, $lineItemType = null, $lineItemPriority = null, $rateType = null, ?array $creativePlaceholders = null, $targeting = null, ?array $customFieldValues = null, ?array $appliedLabels = null, ?array $effectiveAppliedLabels = null, $disableSameAdvertiserCompetitiveExclusion = null, $isSold = null, $netRate = null, $netCost = null, $deliveryIndicator = null, $deliveryData = null, $computedStatus = null, $lastModifiedDateTime = null, $reservationStatus = null, $lastReservationDateTime = null, $environmentType = null, ?array $allowedFormats = null, $additionalTerms = null, $programmaticCreativeSource = null, $grpSettings = null, $estimatedMinimumImpressions = null, $thirdPartyMeasurementSettings = null, $makegoodInfo = null, $hasMakegood = null, $canCreateMakegood = null, $pauseRole = null, $pauseReason = null) { $this->id = $id; $this->proposalId = $proposalId; @@ -509,7 +509,7 @@ public function getSecondaryGoals() * @param \Google\AdsApi\AdManager\v202508\Goal[]|null $secondaryGoals * @return \Google\AdsApi\AdManager\v202508\ProposalLineItem */ - public function setSecondaryGoals(array $secondaryGoals = null) + public function setSecondaryGoals(?array $secondaryGoals = null) { $this->secondaryGoals = $secondaryGoals; return $this; @@ -655,7 +655,7 @@ public function getFrequencyCaps() * @param \Google\AdsApi\AdManager\v202508\FrequencyCap[]|null $frequencyCaps * @return \Google\AdsApi\AdManager\v202508\ProposalLineItem */ - public function setFrequencyCaps(array $frequencyCaps = null) + public function setFrequencyCaps(?array $frequencyCaps = null) { $this->frequencyCaps = $frequencyCaps; return $this; @@ -746,7 +746,7 @@ public function getCreativePlaceholders() * @param \Google\AdsApi\AdManager\v202508\CreativePlaceholder[]|null $creativePlaceholders * @return \Google\AdsApi\AdManager\v202508\ProposalLineItem */ - public function setCreativePlaceholders(array $creativePlaceholders = null) + public function setCreativePlaceholders(?array $creativePlaceholders = null) { $this->creativePlaceholders = $creativePlaceholders; return $this; @@ -782,7 +782,7 @@ public function getCustomFieldValues() * @param \Google\AdsApi\AdManager\v202508\BaseCustomFieldValue[]|null $customFieldValues * @return \Google\AdsApi\AdManager\v202508\ProposalLineItem */ - public function setCustomFieldValues(array $customFieldValues = null) + public function setCustomFieldValues(?array $customFieldValues = null) { $this->customFieldValues = $customFieldValues; return $this; @@ -800,7 +800,7 @@ public function getAppliedLabels() * @param \Google\AdsApi\AdManager\v202508\AppliedLabel[]|null $appliedLabels * @return \Google\AdsApi\AdManager\v202508\ProposalLineItem */ - public function setAppliedLabels(array $appliedLabels = null) + public function setAppliedLabels(?array $appliedLabels = null) { $this->appliedLabels = $appliedLabels; return $this; @@ -818,7 +818,7 @@ public function getEffectiveAppliedLabels() * @param \Google\AdsApi\AdManager\v202508\AppliedLabel[]|null $effectiveAppliedLabels * @return \Google\AdsApi\AdManager\v202508\ProposalLineItem */ - public function setEffectiveAppliedLabels(array $effectiveAppliedLabels = null) + public function setEffectiveAppliedLabels(?array $effectiveAppliedLabels = null) { $this->effectiveAppliedLabels = $effectiveAppliedLabels; return $this; @@ -1034,7 +1034,7 @@ public function getAllowedFormats() * @param string[]|null $allowedFormats * @return \Google\AdsApi\AdManager\v202508\ProposalLineItem */ - public function setAllowedFormats(array $allowedFormats = null) + public function setAllowedFormats(?array $allowedFormats = null) { $this->allowedFormats = $allowedFormats; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/ProposalLineItemActionError.php b/src/Google/AdsApi/AdManager/v202508/ProposalLineItemActionError.php index 1f7fd0e00..d646d7d54 100644 --- a/src/Google/AdsApi/AdManager/v202508/ProposalLineItemActionError.php +++ b/src/Google/AdsApi/AdManager/v202508/ProposalLineItemActionError.php @@ -21,7 +21,7 @@ class ProposalLineItemActionError extends \Google\AdsApi\AdManager\v202508\ApiEr * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/ProposalLineItemError.php b/src/Google/AdsApi/AdManager/v202508/ProposalLineItemError.php index 396925c08..4a4832188 100644 --- a/src/Google/AdsApi/AdManager/v202508/ProposalLineItemError.php +++ b/src/Google/AdsApi/AdManager/v202508/ProposalLineItemError.php @@ -21,7 +21,7 @@ class ProposalLineItemError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/ProposalLineItemMakegoodError.php b/src/Google/AdsApi/AdManager/v202508/ProposalLineItemMakegoodError.php index 77f135510..e6566dc05 100644 --- a/src/Google/AdsApi/AdManager/v202508/ProposalLineItemMakegoodError.php +++ b/src/Google/AdsApi/AdManager/v202508/ProposalLineItemMakegoodError.php @@ -21,7 +21,7 @@ class ProposalLineItemMakegoodError extends \Google\AdsApi\AdManager\v202508\Api * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/ProposalLineItemPage.php b/src/Google/AdsApi/AdManager/v202508/ProposalLineItemPage.php index b64482c75..d313ec921 100644 --- a/src/Google/AdsApi/AdManager/v202508/ProposalLineItemPage.php +++ b/src/Google/AdsApi/AdManager/v202508/ProposalLineItemPage.php @@ -29,7 +29,7 @@ class ProposalLineItemPage * @param int $startIndex * @param int $totalResultSetSize */ - public function __construct(array $results = null, $startIndex = null, $totalResultSetSize = null) + public function __construct(?array $results = null, $startIndex = null, $totalResultSetSize = null) { $this->results = $results; $this->startIndex = $startIndex; @@ -48,7 +48,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\ProposalLineItem[]|null $results * @return \Google\AdsApi\AdManager\v202508\ProposalLineItemPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/ProposalLineItemProgrammaticError.php b/src/Google/AdsApi/AdManager/v202508/ProposalLineItemProgrammaticError.php index ff4df67f0..69e501ba6 100644 --- a/src/Google/AdsApi/AdManager/v202508/ProposalLineItemProgrammaticError.php +++ b/src/Google/AdsApi/AdManager/v202508/ProposalLineItemProgrammaticError.php @@ -21,7 +21,7 @@ class ProposalLineItemProgrammaticError extends \Google\AdsApi\AdManager\v202508 * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/ProposalPage.php b/src/Google/AdsApi/AdManager/v202508/ProposalPage.php index facab7112..398c6e529 100644 --- a/src/Google/AdsApi/AdManager/v202508/ProposalPage.php +++ b/src/Google/AdsApi/AdManager/v202508/ProposalPage.php @@ -29,7 +29,7 @@ class ProposalPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\Proposal[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\Proposal[]|null $results * @return \Google\AdsApi\AdManager\v202508\ProposalPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/PublisherQueryLanguageContextError.php b/src/Google/AdsApi/AdManager/v202508/PublisherQueryLanguageContextError.php index 0c7cbbe45..d6792011d 100644 --- a/src/Google/AdsApi/AdManager/v202508/PublisherQueryLanguageContextError.php +++ b/src/Google/AdsApi/AdManager/v202508/PublisherQueryLanguageContextError.php @@ -21,7 +21,7 @@ class PublisherQueryLanguageContextError extends \Google\AdsApi\AdManager\v20250 * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/PublisherQueryLanguageSyntaxError.php b/src/Google/AdsApi/AdManager/v202508/PublisherQueryLanguageSyntaxError.php index d86f38d7f..6f63ad7cf 100644 --- a/src/Google/AdsApi/AdManager/v202508/PublisherQueryLanguageSyntaxError.php +++ b/src/Google/AdsApi/AdManager/v202508/PublisherQueryLanguageSyntaxError.php @@ -21,7 +21,7 @@ class PublisherQueryLanguageSyntaxError extends \Google\AdsApi\AdManager\v202508 * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/QuotaError.php b/src/Google/AdsApi/AdManager/v202508/QuotaError.php index 78abd8433..2fbe8e13f 100644 --- a/src/Google/AdsApi/AdManager/v202508/QuotaError.php +++ b/src/Google/AdsApi/AdManager/v202508/QuotaError.php @@ -21,7 +21,7 @@ class QuotaError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/RangeError.php b/src/Google/AdsApi/AdManager/v202508/RangeError.php index 96f92b255..28bd4086b 100644 --- a/src/Google/AdsApi/AdManager/v202508/RangeError.php +++ b/src/Google/AdsApi/AdManager/v202508/RangeError.php @@ -21,7 +21,7 @@ class RangeError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/RegExError.php b/src/Google/AdsApi/AdManager/v202508/RegExError.php index 384c2b825..e64c3a7d4 100644 --- a/src/Google/AdsApi/AdManager/v202508/RegExError.php +++ b/src/Google/AdsApi/AdManager/v202508/RegExError.php @@ -21,7 +21,7 @@ class RegExError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/ReportError.php b/src/Google/AdsApi/AdManager/v202508/ReportError.php index beb2e0615..8210c08d7 100644 --- a/src/Google/AdsApi/AdManager/v202508/ReportError.php +++ b/src/Google/AdsApi/AdManager/v202508/ReportError.php @@ -21,7 +21,7 @@ class ReportError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/ReportQuery.php b/src/Google/AdsApi/AdManager/v202508/ReportQuery.php index f38af31a5..f01e353c7 100644 --- a/src/Google/AdsApi/AdManager/v202508/ReportQuery.php +++ b/src/Google/AdsApi/AdManager/v202508/ReportQuery.php @@ -89,7 +89,7 @@ class ReportQuery * @param string $reportCurrency * @param string $timeZoneType */ - public function __construct(array $dimensions = null, $adUnitView = null, array $columns = null, array $dimensionAttributes = null, array $customFieldIds = null, array $cmsMetadataKeyIds = null, array $customDimensionKeyIds = null, $startDate = null, $endDate = null, $dateRangeType = null, $statement = null, $reportCurrency = null, $timeZoneType = null) + public function __construct(?array $dimensions = null, $adUnitView = null, ?array $columns = null, ?array $dimensionAttributes = null, ?array $customFieldIds = null, ?array $cmsMetadataKeyIds = null, ?array $customDimensionKeyIds = null, $startDate = null, $endDate = null, $dateRangeType = null, $statement = null, $reportCurrency = null, $timeZoneType = null) { $this->dimensions = $dimensions; $this->adUnitView = $adUnitView; @@ -118,7 +118,7 @@ public function getDimensions() * @param string[]|null $dimensions * @return \Google\AdsApi\AdManager\v202508\ReportQuery */ - public function setDimensions(array $dimensions = null) + public function setDimensions(?array $dimensions = null) { $this->dimensions = $dimensions; return $this; @@ -154,7 +154,7 @@ public function getColumns() * @param string[]|null $columns * @return \Google\AdsApi\AdManager\v202508\ReportQuery */ - public function setColumns(array $columns = null) + public function setColumns(?array $columns = null) { $this->columns = $columns; return $this; @@ -172,7 +172,7 @@ public function getDimensionAttributes() * @param string[]|null $dimensionAttributes * @return \Google\AdsApi\AdManager\v202508\ReportQuery */ - public function setDimensionAttributes(array $dimensionAttributes = null) + public function setDimensionAttributes(?array $dimensionAttributes = null) { $this->dimensionAttributes = $dimensionAttributes; return $this; @@ -190,7 +190,7 @@ public function getCustomFieldIds() * @param int[]|null $customFieldIds * @return \Google\AdsApi\AdManager\v202508\ReportQuery */ - public function setCustomFieldIds(array $customFieldIds = null) + public function setCustomFieldIds(?array $customFieldIds = null) { $this->customFieldIds = $customFieldIds; return $this; @@ -208,7 +208,7 @@ public function getCmsMetadataKeyIds() * @param int[]|null $cmsMetadataKeyIds * @return \Google\AdsApi\AdManager\v202508\ReportQuery */ - public function setCmsMetadataKeyIds(array $cmsMetadataKeyIds = null) + public function setCmsMetadataKeyIds(?array $cmsMetadataKeyIds = null) { $this->cmsMetadataKeyIds = $cmsMetadataKeyIds; return $this; @@ -226,7 +226,7 @@ public function getCustomDimensionKeyIds() * @param int[]|null $customDimensionKeyIds * @return \Google\AdsApi\AdManager\v202508\ReportQuery */ - public function setCustomDimensionKeyIds(array $customDimensionKeyIds = null) + public function setCustomDimensionKeyIds(?array $customDimensionKeyIds = null) { $this->customDimensionKeyIds = $customDimensionKeyIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/RequestError.php b/src/Google/AdsApi/AdManager/v202508/RequestError.php index 8c75399ca..0ae6aa9f2 100644 --- a/src/Google/AdsApi/AdManager/v202508/RequestError.php +++ b/src/Google/AdsApi/AdManager/v202508/RequestError.php @@ -21,7 +21,7 @@ class RequestError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/RequestPlatformTargeting.php b/src/Google/AdsApi/AdManager/v202508/RequestPlatformTargeting.php index fc4a894ab..82721aa37 100644 --- a/src/Google/AdsApi/AdManager/v202508/RequestPlatformTargeting.php +++ b/src/Google/AdsApi/AdManager/v202508/RequestPlatformTargeting.php @@ -17,7 +17,7 @@ class RequestPlatformTargeting /** * @param string[] $targetedRequestPlatforms */ - public function __construct(array $targetedRequestPlatforms = null) + public function __construct(?array $targetedRequestPlatforms = null) { $this->targetedRequestPlatforms = $targetedRequestPlatforms; } @@ -34,7 +34,7 @@ public function getTargetedRequestPlatforms() * @param string[]|null $targetedRequestPlatforms * @return \Google\AdsApi\AdManager\v202508\RequestPlatformTargeting */ - public function setTargetedRequestPlatforms(array $targetedRequestPlatforms = null) + public function setTargetedRequestPlatforms(?array $targetedRequestPlatforms = null) { $this->targetedRequestPlatforms = $targetedRequestPlatforms; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/RequestPlatformTargetingError.php b/src/Google/AdsApi/AdManager/v202508/RequestPlatformTargetingError.php index 88c44d5f1..a7bc19478 100644 --- a/src/Google/AdsApi/AdManager/v202508/RequestPlatformTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202508/RequestPlatformTargetingError.php @@ -21,7 +21,7 @@ class RequestPlatformTargetingError extends \Google\AdsApi\AdManager\v202508\Api * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/RequiredCollectionError.php b/src/Google/AdsApi/AdManager/v202508/RequiredCollectionError.php index 1e49f0c32..eb3dda3ae 100644 --- a/src/Google/AdsApi/AdManager/v202508/RequiredCollectionError.php +++ b/src/Google/AdsApi/AdManager/v202508/RequiredCollectionError.php @@ -21,7 +21,7 @@ class RequiredCollectionError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/RequiredError.php b/src/Google/AdsApi/AdManager/v202508/RequiredError.php index 80b2f546c..11a317634 100644 --- a/src/Google/AdsApi/AdManager/v202508/RequiredError.php +++ b/src/Google/AdsApi/AdManager/v202508/RequiredError.php @@ -21,7 +21,7 @@ class RequiredError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/RequiredNumberError.php b/src/Google/AdsApi/AdManager/v202508/RequiredNumberError.php index dff5fb59b..77c79ee08 100644 --- a/src/Google/AdsApi/AdManager/v202508/RequiredNumberError.php +++ b/src/Google/AdsApi/AdManager/v202508/RequiredNumberError.php @@ -21,7 +21,7 @@ class RequiredNumberError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/RequiredSizeError.php b/src/Google/AdsApi/AdManager/v202508/RequiredSizeError.php index d83e0164c..0f18bd406 100644 --- a/src/Google/AdsApi/AdManager/v202508/RequiredSizeError.php +++ b/src/Google/AdsApi/AdManager/v202508/RequiredSizeError.php @@ -21,7 +21,7 @@ class RequiredSizeError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/ReservationDetailsError.php b/src/Google/AdsApi/AdManager/v202508/ReservationDetailsError.php index 3f780fbb1..e0dfafe91 100644 --- a/src/Google/AdsApi/AdManager/v202508/ReservationDetailsError.php +++ b/src/Google/AdsApi/AdManager/v202508/ReservationDetailsError.php @@ -21,7 +21,7 @@ class ReservationDetailsError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/ResultSet.php b/src/Google/AdsApi/AdManager/v202508/ResultSet.php index 52d681e4f..5d4a78ff3 100644 --- a/src/Google/AdsApi/AdManager/v202508/ResultSet.php +++ b/src/Google/AdsApi/AdManager/v202508/ResultSet.php @@ -23,7 +23,7 @@ class ResultSet * @param \Google\AdsApi\AdManager\v202508\ColumnType[] $columnTypes * @param \Google\AdsApi\AdManager\v202508\Row[] $rows */ - public function __construct(array $columnTypes = null, array $rows = null) + public function __construct(?array $columnTypes = null, ?array $rows = null) { $this->columnTypes = $columnTypes; $this->rows = $rows; @@ -41,7 +41,7 @@ public function getColumnTypes() * @param \Google\AdsApi\AdManager\v202508\ColumnType[]|null $columnTypes * @return \Google\AdsApi\AdManager\v202508\ResultSet */ - public function setColumnTypes(array $columnTypes = null) + public function setColumnTypes(?array $columnTypes = null) { $this->columnTypes = $columnTypes; return $this; @@ -59,7 +59,7 @@ public function getRows() * @param \Google\AdsApi\AdManager\v202508\Row[]|null $rows * @return \Google\AdsApi\AdManager\v202508\ResultSet */ - public function setRows(array $rows = null) + public function setRows(?array $rows = null) { $this->rows = $rows; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/RichMediaStudioCreative.php b/src/Google/AdsApi/AdManager/v202508/RichMediaStudioCreative.php index 144d965c8..a925a6275 100644 --- a/src/Google/AdsApi/AdManager/v202508/RichMediaStudioCreative.php +++ b/src/Google/AdsApi/AdManager/v202508/RichMediaStudioCreative.php @@ -52,7 +52,7 @@ class RichMediaStudioCreative extends \Google\AdsApi\AdManager\v202508\BaseRichM * @param string $lockedOrientation * @param boolean $isInterstitial */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $studioCreativeId = null, $creativeFormat = null, $artworkType = null, $totalFileSize = null, array $adTagKeys = null, array $customKeyValues = null, $surveyUrl = null, $allImpressionsUrl = null, $richMediaImpressionsUrl = null, $backupImageImpressionsUrl = null, $overrideCss = null, $requiredFlashPluginVersion = null, $duration = null, $billingAttribute = null, array $richMediaStudioChildAssetProperties = null, $sslScanResult = null, $sslManualOverride = null, $lockedOrientation = null, $isInterstitial = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $studioCreativeId = null, $creativeFormat = null, $artworkType = null, $totalFileSize = null, ?array $adTagKeys = null, ?array $customKeyValues = null, $surveyUrl = null, $allImpressionsUrl = null, $richMediaImpressionsUrl = null, $backupImageImpressionsUrl = null, $overrideCss = null, $requiredFlashPluginVersion = null, $duration = null, $billingAttribute = null, ?array $richMediaStudioChildAssetProperties = null, $sslScanResult = null, $sslManualOverride = null, $lockedOrientation = null, $isInterstitial = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent, $studioCreativeId, $creativeFormat, $artworkType, $totalFileSize, $adTagKeys, $customKeyValues, $surveyUrl, $allImpressionsUrl, $richMediaImpressionsUrl, $backupImageImpressionsUrl, $overrideCss, $requiredFlashPluginVersion, $duration, $billingAttribute, $richMediaStudioChildAssetProperties, $sslScanResult, $sslManualOverride); $this->lockedOrientation = $lockedOrientation; diff --git a/src/Google/AdsApi/AdManager/v202508/RichMediaStudioCreativeError.php b/src/Google/AdsApi/AdManager/v202508/RichMediaStudioCreativeError.php index edf0ce80c..5e7ba9c6f 100644 --- a/src/Google/AdsApi/AdManager/v202508/RichMediaStudioCreativeError.php +++ b/src/Google/AdsApi/AdManager/v202508/RichMediaStudioCreativeError.php @@ -21,7 +21,7 @@ class RichMediaStudioCreativeError extends \Google\AdsApi\AdManager\v202508\ApiE * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/Row.php b/src/Google/AdsApi/AdManager/v202508/Row.php index 1d5ea91c4..14106d8e6 100644 --- a/src/Google/AdsApi/AdManager/v202508/Row.php +++ b/src/Google/AdsApi/AdManager/v202508/Row.php @@ -17,7 +17,7 @@ class Row /** * @param \Google\AdsApi\AdManager\v202508\Value[] $values */ - public function __construct(array $values = null) + public function __construct(?array $values = null) { $this->values = $values; } @@ -34,7 +34,7 @@ public function getValues() * @param \Google\AdsApi\AdManager\v202508\Value[]|null $values * @return \Google\AdsApi\AdManager\v202508\Row */ - public function setValues(array $values = null) + public function setValues(?array $values = null) { $this->values = $values; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/RuleBasedFirstPartyAudienceSegment.php b/src/Google/AdsApi/AdManager/v202508/RuleBasedFirstPartyAudienceSegment.php index f442a6282..bf01efa2b 100644 --- a/src/Google/AdsApi/AdManager/v202508/RuleBasedFirstPartyAudienceSegment.php +++ b/src/Google/AdsApi/AdManager/v202508/RuleBasedFirstPartyAudienceSegment.php @@ -32,7 +32,7 @@ class RuleBasedFirstPartyAudienceSegment extends \Google\AdsApi\AdManager\v20250 * @param int $membershipExpirationDays * @param \Google\AdsApi\AdManager\v202508\FirstPartyAudienceSegmentRule $rule */ - public function __construct($id = null, $name = null, array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null, $pageViews = null, $recencyDays = null, $membershipExpirationDays = null, $rule = null) + public function __construct($id = null, $name = null, ?array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null, $pageViews = null, $recencyDays = null, $membershipExpirationDays = null, $rule = null) { parent::__construct($id, $name, $categoryIds, $description, $status, $size, $mobileWebSize, $idfaSize, $adIdSize, $ppidSize, $dataProvider, $type, $pageViews, $recencyDays, $membershipExpirationDays); $this->rule = $rule; diff --git a/src/Google/AdsApi/AdManager/v202508/RuleBasedFirstPartyAudienceSegmentSummary.php b/src/Google/AdsApi/AdManager/v202508/RuleBasedFirstPartyAudienceSegmentSummary.php index 10300ca30..239718210 100644 --- a/src/Google/AdsApi/AdManager/v202508/RuleBasedFirstPartyAudienceSegmentSummary.php +++ b/src/Google/AdsApi/AdManager/v202508/RuleBasedFirstPartyAudienceSegmentSummary.php @@ -41,7 +41,7 @@ class RuleBasedFirstPartyAudienceSegmentSummary extends \Google\AdsApi\AdManager * @param int $recencyDays * @param int $membershipExpirationDays */ - public function __construct($id = null, $name = null, array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null, $pageViews = null, $recencyDays = null, $membershipExpirationDays = null) + public function __construct($id = null, $name = null, ?array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null, $pageViews = null, $recencyDays = null, $membershipExpirationDays = null) { parent::__construct($id, $name, $categoryIds, $description, $status, $size, $mobileWebSize, $idfaSize, $adIdSize, $ppidSize, $dataProvider, $type); $this->pageViews = $pageViews; diff --git a/src/Google/AdsApi/AdManager/v202508/SamSession.php b/src/Google/AdsApi/AdManager/v202508/SamSession.php index 1af25ed0f..8be13055c 100644 --- a/src/Google/AdsApi/AdManager/v202508/SamSession.php +++ b/src/Google/AdsApi/AdManager/v202508/SamSession.php @@ -53,7 +53,7 @@ class SamSession * @param int $sessionDurationMillis * @param int $contentDurationMillis */ - public function __construct($sessionId = null, $isVodSession = null, $streamCreateRequest = null, array $adBreaks = null, $startDateTime = null, $sessionDurationMillis = null, $contentDurationMillis = null) + public function __construct($sessionId = null, $isVodSession = null, $streamCreateRequest = null, ?array $adBreaks = null, $startDateTime = null, $sessionDurationMillis = null, $contentDurationMillis = null) { $this->sessionId = $sessionId; $this->isVodSession = $isVodSession; @@ -130,7 +130,7 @@ public function getAdBreaks() * @param \Google\AdsApi\AdManager\v202508\AdBreak[]|null $adBreaks * @return \Google\AdsApi\AdManager\v202508\SamSession */ - public function setAdBreaks(array $adBreaks = null) + public function setAdBreaks(?array $adBreaks = null) { $this->adBreaks = $adBreaks; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/SamSessionError.php b/src/Google/AdsApi/AdManager/v202508/SamSessionError.php index bffdf144b..db726000a 100644 --- a/src/Google/AdsApi/AdManager/v202508/SamSessionError.php +++ b/src/Google/AdsApi/AdManager/v202508/SamSessionError.php @@ -21,7 +21,7 @@ class SamSessionError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/SavedQueryPage.php b/src/Google/AdsApi/AdManager/v202508/SavedQueryPage.php index 0cea3c251..3801db5dd 100644 --- a/src/Google/AdsApi/AdManager/v202508/SavedQueryPage.php +++ b/src/Google/AdsApi/AdManager/v202508/SavedQueryPage.php @@ -29,7 +29,7 @@ class SavedQueryPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\SavedQuery[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\SavedQuery[]|null $results * @return \Google\AdsApi\AdManager\v202508\SavedQueryPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/SdkMediationSettings.php b/src/Google/AdsApi/AdManager/v202508/SdkMediationSettings.php index 9873422a9..edf34db5d 100644 --- a/src/Google/AdsApi/AdManager/v202508/SdkMediationSettings.php +++ b/src/Google/AdsApi/AdManager/v202508/SdkMediationSettings.php @@ -29,7 +29,7 @@ class SdkMediationSettings extends \Google\AdsApi\AdManager\v202508\AbstractDisp * @param string $yieldIntegrationType * @param string $platform */ - public function __construct(array $parameters = null, $yieldIntegrationType = null, $platform = null) + public function __construct(?array $parameters = null, $yieldIntegrationType = null, $platform = null) { $this->parameters = $parameters; $this->yieldIntegrationType = $yieldIntegrationType; @@ -48,7 +48,7 @@ public function getParameters() * @param \Google\AdsApi\AdManager\v202508\YieldParameter_StringMapEntry[]|null $parameters * @return \Google\AdsApi\AdManager\v202508\SdkMediationSettings */ - public function setParameters(array $parameters = null) + public function setParameters(?array $parameters = null) { $this->parameters = $parameters; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/SegmentPopulationError.php b/src/Google/AdsApi/AdManager/v202508/SegmentPopulationError.php index 92ca2cf93..73817e5d9 100644 --- a/src/Google/AdsApi/AdManager/v202508/SegmentPopulationError.php +++ b/src/Google/AdsApi/AdManager/v202508/SegmentPopulationError.php @@ -21,7 +21,7 @@ class SegmentPopulationError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/SegmentPopulationRequest.php b/src/Google/AdsApi/AdManager/v202508/SegmentPopulationRequest.php index 606069ecb..e028cd9d8 100644 --- a/src/Google/AdsApi/AdManager/v202508/SegmentPopulationRequest.php +++ b/src/Google/AdsApi/AdManager/v202508/SegmentPopulationRequest.php @@ -47,7 +47,7 @@ class SegmentPopulationRequest * @param string[] $ids * @param string $consentType */ - public function __construct($batchUploadId = null, $segmentId = null, $isDeletion = null, $identifierType = null, array $ids = null, $consentType = null) + public function __construct($batchUploadId = null, $segmentId = null, $isDeletion = null, $identifierType = null, ?array $ids = null, $consentType = null) { $this->batchUploadId = $batchUploadId; $this->segmentId = $segmentId; @@ -143,7 +143,7 @@ public function getIds() * @param string[]|null $ids * @return \Google\AdsApi\AdManager\v202508\SegmentPopulationRequest */ - public function setIds(array $ids = null) + public function setIds(?array $ids = null) { $this->ids = $ids; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/SegmentPopulationResponse.php b/src/Google/AdsApi/AdManager/v202508/SegmentPopulationResponse.php index 6503be94b..3cec04efa 100644 --- a/src/Google/AdsApi/AdManager/v202508/SegmentPopulationResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/SegmentPopulationResponse.php @@ -23,7 +23,7 @@ class SegmentPopulationResponse * @param int $batchUploadId * @param \Google\AdsApi\AdManager\v202508\IdError[] $idErrors */ - public function __construct($batchUploadId = null, array $idErrors = null) + public function __construct($batchUploadId = null, ?array $idErrors = null) { $this->batchUploadId = $batchUploadId; $this->idErrors = $idErrors; @@ -60,7 +60,7 @@ public function getIdErrors() * @param \Google\AdsApi\AdManager\v202508\IdError[]|null $idErrors * @return \Google\AdsApi\AdManager\v202508\SegmentPopulationResponse */ - public function setIdErrors(array $idErrors = null) + public function setIdErrors(?array $idErrors = null) { $this->idErrors = $idErrors; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/SegmentPopulationResults.php b/src/Google/AdsApi/AdManager/v202508/SegmentPopulationResults.php index e65a51410..3d1545e84 100644 --- a/src/Google/AdsApi/AdManager/v202508/SegmentPopulationResults.php +++ b/src/Google/AdsApi/AdManager/v202508/SegmentPopulationResults.php @@ -41,7 +41,7 @@ class SegmentPopulationResults * @param int $numSuccessfulIdsProcessed * @param \Google\AdsApi\AdManager\v202508\IdError[] $errors */ - public function __construct($batchUploadId = null, $segmentId = null, $status = null, $numSuccessfulIdsProcessed = null, array $errors = null) + public function __construct($batchUploadId = null, $segmentId = null, $status = null, $numSuccessfulIdsProcessed = null, ?array $errors = null) { $this->batchUploadId = $batchUploadId; $this->segmentId = $segmentId; @@ -137,7 +137,7 @@ public function getErrors() * @param \Google\AdsApi\AdManager\v202508\IdError[]|null $errors * @return \Google\AdsApi\AdManager\v202508\SegmentPopulationResults */ - public function setErrors(array $errors = null) + public function setErrors(?array $errors = null) { $this->errors = $errors; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/ServerError.php b/src/Google/AdsApi/AdManager/v202508/ServerError.php index 378c7e257..31abc1e35 100644 --- a/src/Google/AdsApi/AdManager/v202508/ServerError.php +++ b/src/Google/AdsApi/AdManager/v202508/ServerError.php @@ -21,7 +21,7 @@ class ServerError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/ServiceFactory.php b/src/Google/AdsApi/AdManager/v202508/ServiceFactory.php index 0ad806553..627c29279 100644 --- a/src/Google/AdsApi/AdManager/v202508/ServiceFactory.php +++ b/src/Google/AdsApi/AdManager/v202508/ServiceFactory.php @@ -16,7 +16,7 @@ final class ServiceFactory { private $services; - public function __construct(AdManagerServices $services = null) + public function __construct(?AdManagerServices $services = null) { $this->services = is_null($services) ? new AdManagerServices() : $services; } diff --git a/src/Google/AdsApi/AdManager/v202508/SetTopBoxCreative.php b/src/Google/AdsApi/AdManager/v202508/SetTopBoxCreative.php index 6e512d435..ae4d7617f 100644 --- a/src/Google/AdsApi/AdManager/v202508/SetTopBoxCreative.php +++ b/src/Google/AdsApi/AdManager/v202508/SetTopBoxCreative.php @@ -66,7 +66,7 @@ class SetTopBoxCreative extends \Google\AdsApi\AdManager\v202508\BaseVideoCreati * @param \Google\AdsApi\AdManager\v202508\DateTime $licenseWindowStartDateTime * @param \Google\AdsApi\AdManager\v202508\DateTime $licenseWindowEndDateTime */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, array $trackingUrls = null, array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $externalAssetId = null, $providerId = null, array $availabilityRegionIds = null, $licenseWindowStartDateTime = null, $licenseWindowEndDateTime = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, ?array $trackingUrls = null, ?array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $externalAssetId = null, $providerId = null, ?array $availabilityRegionIds = null, $licenseWindowStartDateTime = null, $licenseWindowEndDateTime = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent, $destinationUrl, $destinationUrlType, $duration, $allowDurationOverride, $trackingUrls, $companionCreativeIds, $customParameters, $adId, $adIdType, $skippableAdType, $vastPreviewUrl, $sslScanResult, $sslManualOverride); $this->externalAssetId = $externalAssetId; @@ -124,7 +124,7 @@ public function getAvailabilityRegionIds() * @param string[]|null $availabilityRegionIds * @return \Google\AdsApi\AdManager\v202508\SetTopBoxCreative */ - public function setAvailabilityRegionIds(array $availabilityRegionIds = null) + public function setAvailabilityRegionIds(?array $availabilityRegionIds = null) { $this->availabilityRegionIds = $availabilityRegionIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/SetTopBoxCreativeError.php b/src/Google/AdsApi/AdManager/v202508/SetTopBoxCreativeError.php index 84f704b95..e0fb2fe25 100644 --- a/src/Google/AdsApi/AdManager/v202508/SetTopBoxCreativeError.php +++ b/src/Google/AdsApi/AdManager/v202508/SetTopBoxCreativeError.php @@ -21,7 +21,7 @@ class SetTopBoxCreativeError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/SetTopBoxLineItemError.php b/src/Google/AdsApi/AdManager/v202508/SetTopBoxLineItemError.php index 01019931b..ad23b410f 100644 --- a/src/Google/AdsApi/AdManager/v202508/SetTopBoxLineItemError.php +++ b/src/Google/AdsApi/AdManager/v202508/SetTopBoxLineItemError.php @@ -21,7 +21,7 @@ class SetTopBoxLineItemError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/SetValue.php b/src/Google/AdsApi/AdManager/v202508/SetValue.php index b4af6d959..4136b1ab3 100644 --- a/src/Google/AdsApi/AdManager/v202508/SetValue.php +++ b/src/Google/AdsApi/AdManager/v202508/SetValue.php @@ -17,7 +17,7 @@ class SetValue extends \Google\AdsApi\AdManager\v202508\Value /** * @param \Google\AdsApi\AdManager\v202508\Value[] $values */ - public function __construct(array $values = null) + public function __construct(?array $values = null) { $this->values = $values; } @@ -34,7 +34,7 @@ public function getValues() * @param \Google\AdsApi\AdManager\v202508\Value[]|null $values * @return \Google\AdsApi\AdManager\v202508\SetValue */ - public function setValues(array $values = null) + public function setValues(?array $values = null) { $this->values = $values; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/SharedAudienceSegment.php b/src/Google/AdsApi/AdManager/v202508/SharedAudienceSegment.php index 89872d553..3e545e1e4 100644 --- a/src/Google/AdsApi/AdManager/v202508/SharedAudienceSegment.php +++ b/src/Google/AdsApi/AdManager/v202508/SharedAudienceSegment.php @@ -23,7 +23,7 @@ class SharedAudienceSegment extends \Google\AdsApi\AdManager\v202508\AudienceSeg * @param \Google\AdsApi\AdManager\v202508\AudienceSegmentDataProvider $dataProvider * @param string $type */ - public function __construct($id = null, $name = null, array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null) + public function __construct($id = null, $name = null, ?array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null) { parent::__construct($id, $name, $categoryIds, $description, $status, $size, $mobileWebSize, $idfaSize, $adIdSize, $ppidSize, $dataProvider, $type); } diff --git a/src/Google/AdsApi/AdManager/v202508/Site.php b/src/Google/AdsApi/AdManager/v202508/Site.php index 8027c8fbe..5bda34a1a 100644 --- a/src/Google/AdsApi/AdManager/v202508/Site.php +++ b/src/Google/AdsApi/AdManager/v202508/Site.php @@ -47,7 +47,7 @@ class Site * @param \Google\AdsApi\AdManager\v202508\DateTime $approvalStatusUpdateTime * @param \Google\AdsApi\AdManager\v202508\DisapprovalReason[] $disapprovalReasons */ - public function __construct($id = null, $url = null, $childNetworkCode = null, $approvalStatus = null, $approvalStatusUpdateTime = null, array $disapprovalReasons = null) + public function __construct($id = null, $url = null, $childNetworkCode = null, $approvalStatus = null, $approvalStatusUpdateTime = null, ?array $disapprovalReasons = null) { $this->id = $id; $this->url = $url; @@ -160,7 +160,7 @@ public function getDisapprovalReasons() * @param \Google\AdsApi\AdManager\v202508\DisapprovalReason[]|null $disapprovalReasons * @return \Google\AdsApi\AdManager\v202508\Site */ - public function setDisapprovalReasons(array $disapprovalReasons = null) + public function setDisapprovalReasons(?array $disapprovalReasons = null) { $this->disapprovalReasons = $disapprovalReasons; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/SiteError.php b/src/Google/AdsApi/AdManager/v202508/SiteError.php index dc80fc580..a7c4bf3de 100644 --- a/src/Google/AdsApi/AdManager/v202508/SiteError.php +++ b/src/Google/AdsApi/AdManager/v202508/SiteError.php @@ -21,7 +21,7 @@ class SiteError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/SitePage.php b/src/Google/AdsApi/AdManager/v202508/SitePage.php index ac8bc7b7c..942fdec41 100644 --- a/src/Google/AdsApi/AdManager/v202508/SitePage.php +++ b/src/Google/AdsApi/AdManager/v202508/SitePage.php @@ -29,7 +29,7 @@ class SitePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\Site[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\Site[]|null $results * @return \Google\AdsApi\AdManager\v202508\SitePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/SlatePage.php b/src/Google/AdsApi/AdManager/v202508/SlatePage.php index d0f26f142..c0bce0467 100644 --- a/src/Google/AdsApi/AdManager/v202508/SlatePage.php +++ b/src/Google/AdsApi/AdManager/v202508/SlatePage.php @@ -29,7 +29,7 @@ class SlatePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\Slate[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\Slate[]|null $results * @return \Google\AdsApi\AdManager\v202508\SlatePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/Statement.php b/src/Google/AdsApi/AdManager/v202508/Statement.php index ff5b599f2..6bcd81cb3 100644 --- a/src/Google/AdsApi/AdManager/v202508/Statement.php +++ b/src/Google/AdsApi/AdManager/v202508/Statement.php @@ -23,7 +23,7 @@ class Statement * @param string $query * @param \Google\AdsApi\AdManager\v202508\String_ValueMapEntry[] $values */ - public function __construct($query = null, array $values = null) + public function __construct($query = null, ?array $values = null) { $this->query = $query; $this->values = $values; @@ -59,7 +59,7 @@ public function getValues() * @param \Google\AdsApi\AdManager\v202508\String_ValueMapEntry[]|null $values * @return \Google\AdsApi\AdManager\v202508\Statement */ - public function setValues(array $values = null) + public function setValues(?array $values = null) { $this->values = $values; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/StatementError.php b/src/Google/AdsApi/AdManager/v202508/StatementError.php index 1f6893116..967b7741f 100644 --- a/src/Google/AdsApi/AdManager/v202508/StatementError.php +++ b/src/Google/AdsApi/AdManager/v202508/StatementError.php @@ -21,7 +21,7 @@ class StatementError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/StringFormatError.php b/src/Google/AdsApi/AdManager/v202508/StringFormatError.php index a5689e98e..da7345cb9 100644 --- a/src/Google/AdsApi/AdManager/v202508/StringFormatError.php +++ b/src/Google/AdsApi/AdManager/v202508/StringFormatError.php @@ -21,7 +21,7 @@ class StringFormatError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/StringLengthError.php b/src/Google/AdsApi/AdManager/v202508/StringLengthError.php index 6dcd9a7b7..3baecba54 100644 --- a/src/Google/AdsApi/AdManager/v202508/StringLengthError.php +++ b/src/Google/AdsApi/AdManager/v202508/StringLengthError.php @@ -21,7 +21,7 @@ class StringLengthError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/SuggestedAdUnit.php b/src/Google/AdsApi/AdManager/v202508/SuggestedAdUnit.php index 0a33bdd26..283f1092c 100644 --- a/src/Google/AdsApi/AdManager/v202508/SuggestedAdUnit.php +++ b/src/Google/AdsApi/AdManager/v202508/SuggestedAdUnit.php @@ -53,7 +53,7 @@ class SuggestedAdUnit * @param string $targetPlatform * @param \Google\AdsApi\AdManager\v202508\AdUnitSize[] $suggestedAdUnitSizes */ - public function __construct($id = null, $numRequests = null, array $path = null, array $parentPath = null, $targetWindow = null, $targetPlatform = null, array $suggestedAdUnitSizes = null) + public function __construct($id = null, $numRequests = null, ?array $path = null, ?array $parentPath = null, $targetWindow = null, $targetPlatform = null, ?array $suggestedAdUnitSizes = null) { $this->id = $id; $this->numRequests = $numRequests; @@ -113,7 +113,7 @@ public function getPath() * @param string[]|null $path * @return \Google\AdsApi\AdManager\v202508\SuggestedAdUnit */ - public function setPath(array $path = null) + public function setPath(?array $path = null) { $this->path = $path; return $this; @@ -131,7 +131,7 @@ public function getParentPath() * @param \Google\AdsApi\AdManager\v202508\AdUnitParent[]|null $parentPath * @return \Google\AdsApi\AdManager\v202508\SuggestedAdUnit */ - public function setParentPath(array $parentPath = null) + public function setParentPath(?array $parentPath = null) { $this->parentPath = $parentPath; return $this; @@ -185,7 +185,7 @@ public function getSuggestedAdUnitSizes() * @param \Google\AdsApi\AdManager\v202508\AdUnitSize[]|null $suggestedAdUnitSizes * @return \Google\AdsApi\AdManager\v202508\SuggestedAdUnit */ - public function setSuggestedAdUnitSizes(array $suggestedAdUnitSizes = null) + public function setSuggestedAdUnitSizes(?array $suggestedAdUnitSizes = null) { $this->suggestedAdUnitSizes = $suggestedAdUnitSizes; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/SuggestedAdUnitPage.php b/src/Google/AdsApi/AdManager/v202508/SuggestedAdUnitPage.php index b0882bbc0..50ab5b4c4 100644 --- a/src/Google/AdsApi/AdManager/v202508/SuggestedAdUnitPage.php +++ b/src/Google/AdsApi/AdManager/v202508/SuggestedAdUnitPage.php @@ -29,7 +29,7 @@ class SuggestedAdUnitPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\SuggestedAdUnit[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\SuggestedAdUnit[]|null $results * @return \Google\AdsApi\AdManager\v202508\SuggestedAdUnitPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/SuggestedAdUnitUpdateResult.php b/src/Google/AdsApi/AdManager/v202508/SuggestedAdUnitUpdateResult.php index 48b2a1d3c..f6839d288 100644 --- a/src/Google/AdsApi/AdManager/v202508/SuggestedAdUnitUpdateResult.php +++ b/src/Google/AdsApi/AdManager/v202508/SuggestedAdUnitUpdateResult.php @@ -23,7 +23,7 @@ class SuggestedAdUnitUpdateResult * @param string[] $newAdUnitIds * @param int $numChanges */ - public function __construct(array $newAdUnitIds = null, $numChanges = null) + public function __construct(?array $newAdUnitIds = null, $numChanges = null) { $this->newAdUnitIds = $newAdUnitIds; $this->numChanges = $numChanges; @@ -41,7 +41,7 @@ public function getNewAdUnitIds() * @param string[]|null $newAdUnitIds * @return \Google\AdsApi\AdManager\v202508\SuggestedAdUnitUpdateResult */ - public function setNewAdUnitIds(array $newAdUnitIds = null) + public function setNewAdUnitIds(?array $newAdUnitIds = null) { $this->newAdUnitIds = $newAdUnitIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/SwiffyConversionError.php b/src/Google/AdsApi/AdManager/v202508/SwiffyConversionError.php index fef44d00f..2521ffbd7 100644 --- a/src/Google/AdsApi/AdManager/v202508/SwiffyConversionError.php +++ b/src/Google/AdsApi/AdManager/v202508/SwiffyConversionError.php @@ -21,7 +21,7 @@ class SwiffyConversionError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/TargetingPresetPage.php b/src/Google/AdsApi/AdManager/v202508/TargetingPresetPage.php index 1b8216c5b..8aca0f9d4 100644 --- a/src/Google/AdsApi/AdManager/v202508/TargetingPresetPage.php +++ b/src/Google/AdsApi/AdManager/v202508/TargetingPresetPage.php @@ -29,7 +29,7 @@ class TargetingPresetPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\TargetingPreset[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\TargetingPreset[]|null $results * @return \Google\AdsApi\AdManager\v202508\TargetingPresetPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/TeamError.php b/src/Google/AdsApi/AdManager/v202508/TeamError.php index ea65f8656..e0d03de81 100644 --- a/src/Google/AdsApi/AdManager/v202508/TeamError.php +++ b/src/Google/AdsApi/AdManager/v202508/TeamError.php @@ -21,7 +21,7 @@ class TeamError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/TeamPage.php b/src/Google/AdsApi/AdManager/v202508/TeamPage.php index a538a3ab3..1720ad48f 100644 --- a/src/Google/AdsApi/AdManager/v202508/TeamPage.php +++ b/src/Google/AdsApi/AdManager/v202508/TeamPage.php @@ -29,7 +29,7 @@ class TeamPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\Team[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\Team[]|null $results * @return \Google\AdsApi\AdManager\v202508\TeamPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/TechnologyTargetingError.php b/src/Google/AdsApi/AdManager/v202508/TechnologyTargetingError.php index 98a98494b..e85787388 100644 --- a/src/Google/AdsApi/AdManager/v202508/TechnologyTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202508/TechnologyTargetingError.php @@ -21,7 +21,7 @@ class TechnologyTargetingError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/TemplateCreative.php b/src/Google/AdsApi/AdManager/v202508/TemplateCreative.php index 2181a1932..ecdc7ddf5 100644 --- a/src/Google/AdsApi/AdManager/v202508/TemplateCreative.php +++ b/src/Google/AdsApi/AdManager/v202508/TemplateCreative.php @@ -77,7 +77,7 @@ class TemplateCreative extends \Google\AdsApi\AdManager\v202508\Creative * @param string $sslManualOverride * @param string $lockedOrientation */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $creativeTemplateId = null, $isInterstitial = null, $isNativeEligible = null, $isSafeFrameCompatible = null, $destinationUrl = null, array $creativeTemplateVariableValues = null, $sslScanResult = null, $sslManualOverride = null, $lockedOrientation = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $creativeTemplateId = null, $isInterstitial = null, $isNativeEligible = null, $isSafeFrameCompatible = null, $destinationUrl = null, ?array $creativeTemplateVariableValues = null, $sslScanResult = null, $sslManualOverride = null, $lockedOrientation = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent); $this->creativeTemplateId = $creativeTemplateId; @@ -194,7 +194,7 @@ public function getCreativeTemplateVariableValues() * @param \Google\AdsApi\AdManager\v202508\BaseCreativeTemplateVariableValue[]|null $creativeTemplateVariableValues * @return \Google\AdsApi\AdManager\v202508\TemplateCreative */ - public function setCreativeTemplateVariableValues(array $creativeTemplateVariableValues = null) + public function setCreativeTemplateVariableValues(?array $creativeTemplateVariableValues = null) { $this->creativeTemplateVariableValues = $creativeTemplateVariableValues; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/TemplateInstantiatedCreativeError.php b/src/Google/AdsApi/AdManager/v202508/TemplateInstantiatedCreativeError.php index b9a562d62..297af7fed 100644 --- a/src/Google/AdsApi/AdManager/v202508/TemplateInstantiatedCreativeError.php +++ b/src/Google/AdsApi/AdManager/v202508/TemplateInstantiatedCreativeError.php @@ -21,7 +21,7 @@ class TemplateInstantiatedCreativeError extends \Google\AdsApi\AdManager\v202508 * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/ThirdPartyAudienceSegment.php b/src/Google/AdsApi/AdManager/v202508/ThirdPartyAudienceSegment.php index 3c8ce3812..d7cb7ebd1 100644 --- a/src/Google/AdsApi/AdManager/v202508/ThirdPartyAudienceSegment.php +++ b/src/Google/AdsApi/AdManager/v202508/ThirdPartyAudienceSegment.php @@ -53,7 +53,7 @@ class ThirdPartyAudienceSegment extends \Google\AdsApi\AdManager\v202508\Audienc * @param \Google\AdsApi\AdManager\v202508\DateTime $startDateTime * @param \Google\AdsApi\AdManager\v202508\DateTime $endDateTime */ - public function __construct($id = null, $name = null, array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null, $approvalStatus = null, $cost = null, $licenseType = null, $startDateTime = null, $endDateTime = null) + public function __construct($id = null, $name = null, ?array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null, $approvalStatus = null, $cost = null, $licenseType = null, $startDateTime = null, $endDateTime = null) { parent::__construct($id, $name, $categoryIds, $description, $status, $size, $mobileWebSize, $idfaSize, $adIdSize, $ppidSize, $dataProvider, $type); $this->approvalStatus = $approvalStatus; diff --git a/src/Google/AdsApi/AdManager/v202508/ThirdPartyCreative.php b/src/Google/AdsApi/AdManager/v202508/ThirdPartyCreative.php index 4ff7e5123..266e9e701 100644 --- a/src/Google/AdsApi/AdManager/v202508/ThirdPartyCreative.php +++ b/src/Google/AdsApi/AdManager/v202508/ThirdPartyCreative.php @@ -71,7 +71,7 @@ class ThirdPartyCreative extends \Google\AdsApi\AdManager\v202508\Creative * @param string[] $thirdPartyImpressionTrackingUrls * @param string $ampRedirectUrl */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $snippet = null, $expandedSnippet = null, $sslScanResult = null, $sslManualOverride = null, $lockedOrientation = null, $isSafeFrameCompatible = null, array $thirdPartyImpressionTrackingUrls = null, $ampRedirectUrl = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $snippet = null, $expandedSnippet = null, $sslScanResult = null, $sslManualOverride = null, $lockedOrientation = null, $isSafeFrameCompatible = null, ?array $thirdPartyImpressionTrackingUrls = null, $ampRedirectUrl = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent); $this->snippet = $snippet; @@ -204,7 +204,7 @@ public function getThirdPartyImpressionTrackingUrls() * @param string[]|null $thirdPartyImpressionTrackingUrls * @return \Google\AdsApi\AdManager\v202508\ThirdPartyCreative */ - public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) + public function setThirdPartyImpressionTrackingUrls(?array $thirdPartyImpressionTrackingUrls = null) { $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/ThirdPartyDataDeclaration.php b/src/Google/AdsApi/AdManager/v202508/ThirdPartyDataDeclaration.php index 8008d0011..673d71434 100644 --- a/src/Google/AdsApi/AdManager/v202508/ThirdPartyDataDeclaration.php +++ b/src/Google/AdsApi/AdManager/v202508/ThirdPartyDataDeclaration.php @@ -23,7 +23,7 @@ class ThirdPartyDataDeclaration * @param string $declarationType * @param int[] $thirdPartyCompanyIds */ - public function __construct($declarationType = null, array $thirdPartyCompanyIds = null) + public function __construct($declarationType = null, ?array $thirdPartyCompanyIds = null) { $this->declarationType = $declarationType; $this->thirdPartyCompanyIds = $thirdPartyCompanyIds; @@ -59,7 +59,7 @@ public function getThirdPartyCompanyIds() * @param int[]|null $thirdPartyCompanyIds * @return \Google\AdsApi\AdManager\v202508\ThirdPartyDataDeclaration */ - public function setThirdPartyCompanyIds(array $thirdPartyCompanyIds = null) + public function setThirdPartyCompanyIds(?array $thirdPartyCompanyIds = null) { $this->thirdPartyCompanyIds = $thirdPartyCompanyIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/TimeSeries.php b/src/Google/AdsApi/AdManager/v202508/TimeSeries.php index 4f4b4370a..76db020c8 100644 --- a/src/Google/AdsApi/AdManager/v202508/TimeSeries.php +++ b/src/Google/AdsApi/AdManager/v202508/TimeSeries.php @@ -23,7 +23,7 @@ class TimeSeries * @param \Google\AdsApi\AdManager\v202508\DateRange $timeSeriesDateRange * @param int[] $values */ - public function __construct($timeSeriesDateRange = null, array $values = null) + public function __construct($timeSeriesDateRange = null, ?array $values = null) { $this->timeSeriesDateRange = $timeSeriesDateRange; $this->values = $values; @@ -59,7 +59,7 @@ public function getValues() * @param int[]|null $values * @return \Google\AdsApi\AdManager\v202508\TimeSeries */ - public function setValues(array $values = null) + public function setValues(?array $values = null) { $this->values = $values; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/TimeZoneError.php b/src/Google/AdsApi/AdManager/v202508/TimeZoneError.php index 004c421e0..12255986a 100644 --- a/src/Google/AdsApi/AdManager/v202508/TimeZoneError.php +++ b/src/Google/AdsApi/AdManager/v202508/TimeZoneError.php @@ -21,7 +21,7 @@ class TimeZoneError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/TokenError.php b/src/Google/AdsApi/AdManager/v202508/TokenError.php index a0f5d2802..e897eb527 100644 --- a/src/Google/AdsApi/AdManager/v202508/TokenError.php +++ b/src/Google/AdsApi/AdManager/v202508/TokenError.php @@ -21,7 +21,7 @@ class TokenError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/TrackingEvent.php b/src/Google/AdsApi/AdManager/v202508/TrackingEvent.php index 94d14a584..21a2c1bf2 100644 --- a/src/Google/AdsApi/AdManager/v202508/TrackingEvent.php +++ b/src/Google/AdsApi/AdManager/v202508/TrackingEvent.php @@ -17,7 +17,7 @@ class TrackingEvent /** * @param \Google\AdsApi\AdManager\v202508\TrackingEventPing[] $pings */ - public function __construct(array $pings = null) + public function __construct(?array $pings = null) { $this->pings = $pings; } @@ -34,7 +34,7 @@ public function getPings() * @param \Google\AdsApi\AdManager\v202508\TrackingEventPing[]|null $pings * @return \Google\AdsApi\AdManager\v202508\TrackingEvent */ - public function setPings(array $pings = null) + public function setPings(?array $pings = null) { $this->pings = $pings; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/TrackingUrls.php b/src/Google/AdsApi/AdManager/v202508/TrackingUrls.php index 52e71b3b7..cc954e195 100644 --- a/src/Google/AdsApi/AdManager/v202508/TrackingUrls.php +++ b/src/Google/AdsApi/AdManager/v202508/TrackingUrls.php @@ -17,7 +17,7 @@ class TrackingUrls /** * @param string[] $urls */ - public function __construct(array $urls = null) + public function __construct(?array $urls = null) { $this->urls = $urls; } @@ -34,7 +34,7 @@ public function getUrls() * @param string[]|null $urls * @return \Google\AdsApi\AdManager\v202508\TrackingUrls */ - public function setUrls(array $urls = null) + public function setUrls(?array $urls = null) { $this->urls = $urls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/TrafficForecastSegmentError.php b/src/Google/AdsApi/AdManager/v202508/TrafficForecastSegmentError.php index b49e4b5d5..3be5e22b7 100644 --- a/src/Google/AdsApi/AdManager/v202508/TrafficForecastSegmentError.php +++ b/src/Google/AdsApi/AdManager/v202508/TrafficForecastSegmentError.php @@ -21,7 +21,7 @@ class TrafficForecastSegmentError extends \Google\AdsApi\AdManager\v202508\ApiEr * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/TrafficForecastSegmentPage.php b/src/Google/AdsApi/AdManager/v202508/TrafficForecastSegmentPage.php index d8f585ae6..85a6e7a9a 100644 --- a/src/Google/AdsApi/AdManager/v202508/TrafficForecastSegmentPage.php +++ b/src/Google/AdsApi/AdManager/v202508/TrafficForecastSegmentPage.php @@ -29,7 +29,7 @@ class TrafficForecastSegmentPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\TrafficForecastSegment[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\TrafficForecastSegment[]|null $results * @return \Google\AdsApi\AdManager\v202508\TrafficForecastSegmentPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/TranscodingError.php b/src/Google/AdsApi/AdManager/v202508/TranscodingError.php index 1b64babd1..4056645cb 100644 --- a/src/Google/AdsApi/AdManager/v202508/TranscodingError.php +++ b/src/Google/AdsApi/AdManager/v202508/TranscodingError.php @@ -21,7 +21,7 @@ class TranscodingError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/TypeError.php b/src/Google/AdsApi/AdManager/v202508/TypeError.php index 1ce19b3c0..bd14e1d40 100644 --- a/src/Google/AdsApi/AdManager/v202508/TypeError.php +++ b/src/Google/AdsApi/AdManager/v202508/TypeError.php @@ -15,7 +15,7 @@ class TypeError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $trigger * @param string $errorString */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); } diff --git a/src/Google/AdsApi/AdManager/v202508/UniqueError.php b/src/Google/AdsApi/AdManager/v202508/UniqueError.php index 487d8fb45..16f9d2904 100644 --- a/src/Google/AdsApi/AdManager/v202508/UniqueError.php +++ b/src/Google/AdsApi/AdManager/v202508/UniqueError.php @@ -15,7 +15,7 @@ class UniqueError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $trigger * @param string $errorString */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); } diff --git a/src/Google/AdsApi/AdManager/v202508/UnsupportedCreative.php b/src/Google/AdsApi/AdManager/v202508/UnsupportedCreative.php index 9b36f0a23..22617b9dd 100644 --- a/src/Google/AdsApi/AdManager/v202508/UnsupportedCreative.php +++ b/src/Google/AdsApi/AdManager/v202508/UnsupportedCreative.php @@ -29,7 +29,7 @@ class UnsupportedCreative extends \Google\AdsApi\AdManager\v202508\Creative * @param boolean $selfDeclaredEuropeanUnionPoliticalContent * @param string $unsupportedCreativeType */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $unsupportedCreativeType = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $unsupportedCreativeType = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent); $this->unsupportedCreativeType = $unsupportedCreativeType; diff --git a/src/Google/AdsApi/AdManager/v202508/UrlError.php b/src/Google/AdsApi/AdManager/v202508/UrlError.php index 33013d7c5..8e85dd50a 100644 --- a/src/Google/AdsApi/AdManager/v202508/UrlError.php +++ b/src/Google/AdsApi/AdManager/v202508/UrlError.php @@ -21,7 +21,7 @@ class UrlError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/UserDomainTargeting.php b/src/Google/AdsApi/AdManager/v202508/UserDomainTargeting.php index 455fc1f55..64cc7c4e0 100644 --- a/src/Google/AdsApi/AdManager/v202508/UserDomainTargeting.php +++ b/src/Google/AdsApi/AdManager/v202508/UserDomainTargeting.php @@ -23,7 +23,7 @@ class UserDomainTargeting * @param string[] $domains * @param boolean $targeted */ - public function __construct(array $domains = null, $targeted = null) + public function __construct(?array $domains = null, $targeted = null) { $this->domains = $domains; $this->targeted = $targeted; @@ -41,7 +41,7 @@ public function getDomains() * @param string[]|null $domains * @return \Google\AdsApi\AdManager\v202508\UserDomainTargeting */ - public function setDomains(array $domains = null) + public function setDomains(?array $domains = null) { $this->domains = $domains; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/UserDomainTargetingError.php b/src/Google/AdsApi/AdManager/v202508/UserDomainTargetingError.php index 904f60e62..412cb95c9 100644 --- a/src/Google/AdsApi/AdManager/v202508/UserDomainTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202508/UserDomainTargetingError.php @@ -21,7 +21,7 @@ class UserDomainTargetingError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/UserPage.php b/src/Google/AdsApi/AdManager/v202508/UserPage.php index dee3fcc95..75c1545df 100644 --- a/src/Google/AdsApi/AdManager/v202508/UserPage.php +++ b/src/Google/AdsApi/AdManager/v202508/UserPage.php @@ -29,7 +29,7 @@ class UserPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\User[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\User[]|null $results * @return \Google\AdsApi\AdManager\v202508\UserPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/UserTeamAssociationPage.php b/src/Google/AdsApi/AdManager/v202508/UserTeamAssociationPage.php index ca9ac161b..4fd1539b0 100644 --- a/src/Google/AdsApi/AdManager/v202508/UserTeamAssociationPage.php +++ b/src/Google/AdsApi/AdManager/v202508/UserTeamAssociationPage.php @@ -29,7 +29,7 @@ class UserTeamAssociationPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\UserTeamAssociation[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\UserTeamAssociation[]|null $results * @return \Google\AdsApi\AdManager\v202508\UserTeamAssociationPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/VastRedirectCreative.php b/src/Google/AdsApi/AdManager/v202508/VastRedirectCreative.php index 5a235a9ef..d7ce3869d 100644 --- a/src/Google/AdsApi/AdManager/v202508/VastRedirectCreative.php +++ b/src/Google/AdsApi/AdManager/v202508/VastRedirectCreative.php @@ -77,7 +77,7 @@ class VastRedirectCreative extends \Google\AdsApi\AdManager\v202508\Creative * @param string $sslManualOverride * @param boolean $isAudio */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $vastXmlUrl = null, $vastRedirectType = null, $duration = null, array $companionCreativeIds = null, array $trackingUrls = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $isAudio = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $vastXmlUrl = null, $vastRedirectType = null, $duration = null, ?array $companionCreativeIds = null, ?array $trackingUrls = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $isAudio = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent); $this->vastXmlUrl = $vastXmlUrl; @@ -157,7 +157,7 @@ public function getCompanionCreativeIds() * @param int[]|null $companionCreativeIds * @return \Google\AdsApi\AdManager\v202508\VastRedirectCreative */ - public function setCompanionCreativeIds(array $companionCreativeIds = null) + public function setCompanionCreativeIds(?array $companionCreativeIds = null) { $this->companionCreativeIds = $companionCreativeIds; return $this; @@ -175,7 +175,7 @@ public function getTrackingUrls() * @param \Google\AdsApi\AdManager\v202508\ConversionEvent_TrackingUrlsMapEntry[]|null $trackingUrls * @return \Google\AdsApi\AdManager\v202508\VastRedirectCreative */ - public function setTrackingUrls(array $trackingUrls = null) + public function setTrackingUrls(?array $trackingUrls = null) { $this->trackingUrls = $trackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/VerticalTargeting.php b/src/Google/AdsApi/AdManager/v202508/VerticalTargeting.php index 39e2b133e..f6e0c954a 100644 --- a/src/Google/AdsApi/AdManager/v202508/VerticalTargeting.php +++ b/src/Google/AdsApi/AdManager/v202508/VerticalTargeting.php @@ -23,7 +23,7 @@ class VerticalTargeting * @param int[] $targetedVerticalIds * @param int[] $excludedVerticalIds */ - public function __construct(array $targetedVerticalIds = null, array $excludedVerticalIds = null) + public function __construct(?array $targetedVerticalIds = null, ?array $excludedVerticalIds = null) { $this->targetedVerticalIds = $targetedVerticalIds; $this->excludedVerticalIds = $excludedVerticalIds; @@ -41,7 +41,7 @@ public function getTargetedVerticalIds() * @param int[]|null $targetedVerticalIds * @return \Google\AdsApi\AdManager\v202508\VerticalTargeting */ - public function setTargetedVerticalIds(array $targetedVerticalIds = null) + public function setTargetedVerticalIds(?array $targetedVerticalIds = null) { $this->targetedVerticalIds = $targetedVerticalIds; return $this; @@ -59,7 +59,7 @@ public function getExcludedVerticalIds() * @param int[]|null $excludedVerticalIds * @return \Google\AdsApi\AdManager\v202508\VerticalTargeting */ - public function setExcludedVerticalIds(array $excludedVerticalIds = null) + public function setExcludedVerticalIds(?array $excludedVerticalIds = null) { $this->excludedVerticalIds = $excludedVerticalIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/VideoAdTagError.php b/src/Google/AdsApi/AdManager/v202508/VideoAdTagError.php index 767ff279e..7b9235068 100644 --- a/src/Google/AdsApi/AdManager/v202508/VideoAdTagError.php +++ b/src/Google/AdsApi/AdManager/v202508/VideoAdTagError.php @@ -21,7 +21,7 @@ class VideoAdTagError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/VideoCreative.php b/src/Google/AdsApi/AdManager/v202508/VideoCreative.php index 572c86f4a..5aa5b0818 100644 --- a/src/Google/AdsApi/AdManager/v202508/VideoCreative.php +++ b/src/Google/AdsApi/AdManager/v202508/VideoCreative.php @@ -42,7 +42,7 @@ class VideoCreative extends \Google\AdsApi\AdManager\v202508\BaseVideoCreative * @param string $sslManualOverride * @param string $videoSourceUrl */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, array $trackingUrls = null, array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $videoSourceUrl = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, ?array $trackingUrls = null, ?array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $videoSourceUrl = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent, $destinationUrl, $destinationUrlType, $duration, $allowDurationOverride, $trackingUrls, $companionCreativeIds, $customParameters, $adId, $adIdType, $skippableAdType, $vastPreviewUrl, $sslScanResult, $sslManualOverride); $this->videoSourceUrl = $videoSourceUrl; diff --git a/src/Google/AdsApi/AdManager/v202508/VideoMetadata.php b/src/Google/AdsApi/AdManager/v202508/VideoMetadata.php index 7f09f09c5..2a74ec58a 100644 --- a/src/Google/AdsApi/AdManager/v202508/VideoMetadata.php +++ b/src/Google/AdsApi/AdManager/v202508/VideoMetadata.php @@ -65,7 +65,7 @@ class VideoMetadata * @param string $deliveryType * @param string[] $codecs */ - public function __construct($scalableType = null, $duration = null, $bitRate = null, $minimumBitRate = null, $maximumBitRate = null, $size = null, $mimeType = null, $deliveryType = null, array $codecs = null) + public function __construct($scalableType = null, $duration = null, $bitRate = null, $minimumBitRate = null, $maximumBitRate = null, $size = null, $mimeType = null, $deliveryType = null, ?array $codecs = null) { $this->scalableType = $scalableType; $this->duration = $duration; @@ -234,7 +234,7 @@ public function getCodecs() * @param string[]|null $codecs * @return \Google\AdsApi\AdManager\v202508\VideoMetadata */ - public function setCodecs(array $codecs = null) + public function setCodecs(?array $codecs = null) { $this->codecs = $codecs; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/VideoPositionTargeting.php b/src/Google/AdsApi/AdManager/v202508/VideoPositionTargeting.php index 73567592a..f7ec75e18 100644 --- a/src/Google/AdsApi/AdManager/v202508/VideoPositionTargeting.php +++ b/src/Google/AdsApi/AdManager/v202508/VideoPositionTargeting.php @@ -17,7 +17,7 @@ class VideoPositionTargeting /** * @param \Google\AdsApi\AdManager\v202508\VideoPositionTarget[] $targetedPositions */ - public function __construct(array $targetedPositions = null) + public function __construct(?array $targetedPositions = null) { $this->targetedPositions = $targetedPositions; } @@ -34,7 +34,7 @@ public function getTargetedPositions() * @param \Google\AdsApi\AdManager\v202508\VideoPositionTarget[]|null $targetedPositions * @return \Google\AdsApi\AdManager\v202508\VideoPositionTargeting */ - public function setTargetedPositions(array $targetedPositions = null) + public function setTargetedPositions(?array $targetedPositions = null) { $this->targetedPositions = $targetedPositions; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/VideoPositionTargetingError.php b/src/Google/AdsApi/AdManager/v202508/VideoPositionTargetingError.php index bbea82191..14a11a537 100644 --- a/src/Google/AdsApi/AdManager/v202508/VideoPositionTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202508/VideoPositionTargetingError.php @@ -21,7 +21,7 @@ class VideoPositionTargetingError extends \Google\AdsApi\AdManager\v202508\ApiEr * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/VideoRedirectCreative.php b/src/Google/AdsApi/AdManager/v202508/VideoRedirectCreative.php index 00771506a..f13401253 100644 --- a/src/Google/AdsApi/AdManager/v202508/VideoRedirectCreative.php +++ b/src/Google/AdsApi/AdManager/v202508/VideoRedirectCreative.php @@ -48,7 +48,7 @@ class VideoRedirectCreative extends \Google\AdsApi\AdManager\v202508\BaseVideoCr * @param \Google\AdsApi\AdManager\v202508\VideoRedirectAsset[] $videoAssets * @param \Google\AdsApi\AdManager\v202508\VideoRedirectAsset $mezzanineFile */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, array $trackingUrls = null, array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, array $videoAssets = null, $mezzanineFile = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, ?array $trackingUrls = null, ?array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, ?array $videoAssets = null, $mezzanineFile = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent, $destinationUrl, $destinationUrlType, $duration, $allowDurationOverride, $trackingUrls, $companionCreativeIds, $customParameters, $adId, $adIdType, $skippableAdType, $vastPreviewUrl, $sslScanResult, $sslManualOverride); $this->videoAssets = $videoAssets; @@ -67,7 +67,7 @@ public function getVideoAssets() * @param \Google\AdsApi\AdManager\v202508\VideoRedirectAsset[]|null $videoAssets * @return \Google\AdsApi\AdManager\v202508\VideoRedirectCreative */ - public function setVideoAssets(array $videoAssets = null) + public function setVideoAssets(?array $videoAssets = null) { $this->videoAssets = $videoAssets; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/VodStreamCreateRequest.php b/src/Google/AdsApi/AdManager/v202508/VodStreamCreateRequest.php index e6665fceb..3cbb44fcb 100644 --- a/src/Google/AdsApi/AdManager/v202508/VodStreamCreateRequest.php +++ b/src/Google/AdsApi/AdManager/v202508/VodStreamCreateRequest.php @@ -50,7 +50,7 @@ class VodStreamCreateRequest extends \Google\AdsApi\AdManager\v202508\StreamCrea * @param string $podServingSessionTitle * @param int[] $cuePoints */ - public function __construct($url = null, $userAgent = null, $reportingType = null, $contentSourceId = null, $videoId = null, $contentId = null, $contentName = null, $podServingSessionTitle = null, array $cuePoints = null) + public function __construct($url = null, $userAgent = null, $reportingType = null, $contentSourceId = null, $videoId = null, $contentId = null, $contentName = null, $podServingSessionTitle = null, ?array $cuePoints = null) { parent::__construct($url, $userAgent, $reportingType); $this->contentSourceId = $contentSourceId; @@ -165,7 +165,7 @@ public function getCuePoints() * @param int[]|null $cuePoints * @return \Google\AdsApi\AdManager\v202508\VodStreamCreateRequest */ - public function setCuePoints(array $cuePoints = null) + public function setCuePoints(?array $cuePoints = null) { $this->cuePoints = $cuePoints; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/YieldError.php b/src/Google/AdsApi/AdManager/v202508/YieldError.php index 8be650c1a..28f0107ca 100644 --- a/src/Google/AdsApi/AdManager/v202508/YieldError.php +++ b/src/Google/AdsApi/AdManager/v202508/YieldError.php @@ -21,7 +21,7 @@ class YieldError extends \Google\AdsApi\AdManager\v202508\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202508/YieldGroup.php b/src/Google/AdsApi/AdManager/v202508/YieldGroup.php index a4056dee2..686657f23 100644 --- a/src/Google/AdsApi/AdManager/v202508/YieldGroup.php +++ b/src/Google/AdsApi/AdManager/v202508/YieldGroup.php @@ -53,7 +53,7 @@ class YieldGroup * @param \Google\AdsApi\AdManager\v202508\Targeting $targeting * @param \Google\AdsApi\AdManager\v202508\YieldAdSource[] $adSources */ - public function __construct($yieldGroupId = null, $yieldGroupName = null, $exchangeStatus = null, $format = null, $environmentType = null, $targeting = null, array $adSources = null) + public function __construct($yieldGroupId = null, $yieldGroupName = null, $exchangeStatus = null, $format = null, $environmentType = null, $targeting = null, ?array $adSources = null) { $this->yieldGroupId = $yieldGroupId; $this->yieldGroupName = $yieldGroupName; @@ -185,7 +185,7 @@ public function getAdSources() * @param \Google\AdsApi\AdManager\v202508\YieldAdSource[]|null $adSources * @return \Google\AdsApi\AdManager\v202508\YieldGroup */ - public function setAdSources(array $adSources = null) + public function setAdSources(?array $adSources = null) { $this->adSources = $adSources; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/YieldGroupPage.php b/src/Google/AdsApi/AdManager/v202508/YieldGroupPage.php index 71e440493..475a6ec8b 100644 --- a/src/Google/AdsApi/AdManager/v202508/YieldGroupPage.php +++ b/src/Google/AdsApi/AdManager/v202508/YieldGroupPage.php @@ -29,7 +29,7 @@ class YieldGroupPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202508\YieldGroup[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202508\YieldGroup[]|null $results * @return \Google\AdsApi\AdManager\v202508\YieldGroupPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/YieldPartner.php b/src/Google/AdsApi/AdManager/v202508/YieldPartner.php index f6904cd20..ef2a0538d 100644 --- a/src/Google/AdsApi/AdManager/v202508/YieldPartner.php +++ b/src/Google/AdsApi/AdManager/v202508/YieldPartner.php @@ -23,7 +23,7 @@ class YieldPartner * @param int $companyId * @param \Google\AdsApi\AdManager\v202508\YieldPartnerSettings[] $settings */ - public function __construct($companyId = null, array $settings = null) + public function __construct($companyId = null, ?array $settings = null) { $this->companyId = $companyId; $this->settings = $settings; @@ -60,7 +60,7 @@ public function getSettings() * @param \Google\AdsApi\AdManager\v202508\YieldPartnerSettings[]|null $settings * @return \Google\AdsApi\AdManager\v202508\YieldPartner */ - public function setSettings(array $settings = null) + public function setSettings(?array $settings = null) { $this->settings = $settings; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/YieldPartnerSettings.php b/src/Google/AdsApi/AdManager/v202508/YieldPartnerSettings.php index 418d79fac..3c9b47b3f 100644 --- a/src/Google/AdsApi/AdManager/v202508/YieldPartnerSettings.php +++ b/src/Google/AdsApi/AdManager/v202508/YieldPartnerSettings.php @@ -47,7 +47,7 @@ class YieldPartnerSettings * @param string $platform * @param \Google\AdsApi\AdManager\v202508\YieldParameter[] $parameters */ - public function __construct($status = null, $environment = null, $format = null, $integrationType = null, $platform = null, array $parameters = null) + public function __construct($status = null, $environment = null, $format = null, $integrationType = null, $platform = null, ?array $parameters = null) { $this->status = $status; $this->environment = $environment; @@ -159,7 +159,7 @@ public function getParameters() * @param \Google\AdsApi\AdManager\v202508\YieldParameter[]|null $parameters * @return \Google\AdsApi\AdManager\v202508\YieldPartnerSettings */ - public function setParameters(array $parameters = null) + public function setParameters(?array $parameters = null) { $this->parameters = $parameters; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createAdRulesResponse.php b/src/Google/AdsApi/AdManager/v202508/createAdRulesResponse.php index 45ae78b92..ab58c9126 100644 --- a/src/Google/AdsApi/AdManager/v202508/createAdRulesResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createAdRulesResponse.php @@ -17,7 +17,7 @@ class createAdRulesResponse /** * @param \Google\AdsApi\AdManager\v202508\AdRule[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\AdRule[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createAdRulesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createAdSpotsResponse.php b/src/Google/AdsApi/AdManager/v202508/createAdSpotsResponse.php index 329c15169..e689fa4aa 100644 --- a/src/Google/AdsApi/AdManager/v202508/createAdSpotsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createAdSpotsResponse.php @@ -17,7 +17,7 @@ class createAdSpotsResponse /** * @param \Google\AdsApi\AdManager\v202508\AdSpot[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\AdSpot[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createAdSpotsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createAdUnitsResponse.php b/src/Google/AdsApi/AdManager/v202508/createAdUnitsResponse.php index 07f67f05d..2013cda63 100644 --- a/src/Google/AdsApi/AdManager/v202508/createAdUnitsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createAdUnitsResponse.php @@ -17,7 +17,7 @@ class createAdUnitsResponse /** * @param \Google\AdsApi\AdManager\v202508\AdUnit[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\AdUnit[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createAdUnitsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createAudienceSegmentsResponse.php b/src/Google/AdsApi/AdManager/v202508/createAudienceSegmentsResponse.php index 83f541437..bd7e965a4 100644 --- a/src/Google/AdsApi/AdManager/v202508/createAudienceSegmentsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createAudienceSegmentsResponse.php @@ -17,7 +17,7 @@ class createAudienceSegmentsResponse /** * @param \Google\AdsApi\AdManager\v202508\FirstPartyAudienceSegment[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\FirstPartyAudienceSegment[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createAudienceSegmentsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createBreakTemplatesResponse.php b/src/Google/AdsApi/AdManager/v202508/createBreakTemplatesResponse.php index 2e8b291b6..b327c43b9 100644 --- a/src/Google/AdsApi/AdManager/v202508/createBreakTemplatesResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createBreakTemplatesResponse.php @@ -17,7 +17,7 @@ class createBreakTemplatesResponse /** * @param \Google\AdsApi\AdManager\v202508\BreakTemplate[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\BreakTemplate[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createBreakTemplatesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createCdnConfigurationsResponse.php b/src/Google/AdsApi/AdManager/v202508/createCdnConfigurationsResponse.php index 3ccba9d66..34fe4c701 100644 --- a/src/Google/AdsApi/AdManager/v202508/createCdnConfigurationsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createCdnConfigurationsResponse.php @@ -17,7 +17,7 @@ class createCdnConfigurationsResponse /** * @param \Google\AdsApi\AdManager\v202508\CdnConfiguration[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\CdnConfiguration[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createCdnConfigurationsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createCompaniesResponse.php b/src/Google/AdsApi/AdManager/v202508/createCompaniesResponse.php index 6a7ef496f..4eca2aa42 100644 --- a/src/Google/AdsApi/AdManager/v202508/createCompaniesResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createCompaniesResponse.php @@ -17,7 +17,7 @@ class createCompaniesResponse /** * @param \Google\AdsApi\AdManager\v202508\Company[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\Company[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createCompaniesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createContactsResponse.php b/src/Google/AdsApi/AdManager/v202508/createContactsResponse.php index 32db068a2..6a860671a 100644 --- a/src/Google/AdsApi/AdManager/v202508/createContactsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createContactsResponse.php @@ -17,7 +17,7 @@ class createContactsResponse /** * @param \Google\AdsApi\AdManager\v202508\Contact[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\Contact[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createContactsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createContentBundlesResponse.php b/src/Google/AdsApi/AdManager/v202508/createContentBundlesResponse.php index 53dd8650a..c9954511d 100644 --- a/src/Google/AdsApi/AdManager/v202508/createContentBundlesResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createContentBundlesResponse.php @@ -17,7 +17,7 @@ class createContentBundlesResponse /** * @param \Google\AdsApi\AdManager\v202508\ContentBundle[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\ContentBundle[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createContentBundlesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createCreativeWrappersResponse.php b/src/Google/AdsApi/AdManager/v202508/createCreativeWrappersResponse.php index 6c844897f..af5e30782 100644 --- a/src/Google/AdsApi/AdManager/v202508/createCreativeWrappersResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createCreativeWrappersResponse.php @@ -17,7 +17,7 @@ class createCreativeWrappersResponse /** * @param \Google\AdsApi\AdManager\v202508\CreativeWrapper[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\CreativeWrapper[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createCreativeWrappersResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createCreativesResponse.php b/src/Google/AdsApi/AdManager/v202508/createCreativesResponse.php index 99ab8aed6..e35389533 100644 --- a/src/Google/AdsApi/AdManager/v202508/createCreativesResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createCreativesResponse.php @@ -17,7 +17,7 @@ class createCreativesResponse /** * @param \Google\AdsApi\AdManager\v202508\Creative[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\Creative[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createCreativesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createCustomFieldOptionsResponse.php b/src/Google/AdsApi/AdManager/v202508/createCustomFieldOptionsResponse.php index eca20aa6b..2e8f19b30 100644 --- a/src/Google/AdsApi/AdManager/v202508/createCustomFieldOptionsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createCustomFieldOptionsResponse.php @@ -17,7 +17,7 @@ class createCustomFieldOptionsResponse /** * @param \Google\AdsApi\AdManager\v202508\CustomFieldOption[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\CustomFieldOption[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createCustomFieldOptionsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createCustomFieldsResponse.php b/src/Google/AdsApi/AdManager/v202508/createCustomFieldsResponse.php index 808cd6b94..565de0560 100644 --- a/src/Google/AdsApi/AdManager/v202508/createCustomFieldsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createCustomFieldsResponse.php @@ -17,7 +17,7 @@ class createCustomFieldsResponse /** * @param \Google\AdsApi\AdManager\v202508\CustomField[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\CustomField[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createCustomFieldsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createCustomTargetingKeysResponse.php b/src/Google/AdsApi/AdManager/v202508/createCustomTargetingKeysResponse.php index 70295c1be..3c5addc14 100644 --- a/src/Google/AdsApi/AdManager/v202508/createCustomTargetingKeysResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createCustomTargetingKeysResponse.php @@ -17,7 +17,7 @@ class createCustomTargetingKeysResponse /** * @param \Google\AdsApi\AdManager\v202508\CustomTargetingKey[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\CustomTargetingKey[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createCustomTargetingKeysResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createCustomTargetingValuesResponse.php b/src/Google/AdsApi/AdManager/v202508/createCustomTargetingValuesResponse.php index 150d89b79..6da71c655 100644 --- a/src/Google/AdsApi/AdManager/v202508/createCustomTargetingValuesResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createCustomTargetingValuesResponse.php @@ -17,7 +17,7 @@ class createCustomTargetingValuesResponse /** * @param \Google\AdsApi\AdManager\v202508\CustomTargetingValue[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\CustomTargetingValue[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createCustomTargetingValuesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createDaiAuthenticationKeysResponse.php b/src/Google/AdsApi/AdManager/v202508/createDaiAuthenticationKeysResponse.php index 5a8de2225..8fe9d6e09 100644 --- a/src/Google/AdsApi/AdManager/v202508/createDaiAuthenticationKeysResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createDaiAuthenticationKeysResponse.php @@ -17,7 +17,7 @@ class createDaiAuthenticationKeysResponse /** * @param \Google\AdsApi\AdManager\v202508\DaiAuthenticationKey[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\DaiAuthenticationKey[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createDaiAuthenticationKeysResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createDaiEncodingProfilesResponse.php b/src/Google/AdsApi/AdManager/v202508/createDaiEncodingProfilesResponse.php index 168625779..96cac46b5 100644 --- a/src/Google/AdsApi/AdManager/v202508/createDaiEncodingProfilesResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createDaiEncodingProfilesResponse.php @@ -17,7 +17,7 @@ class createDaiEncodingProfilesResponse /** * @param \Google\AdsApi\AdManager\v202508\DaiEncodingProfile[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\DaiEncodingProfile[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createDaiEncodingProfilesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createForecastAdjustmentsResponse.php b/src/Google/AdsApi/AdManager/v202508/createForecastAdjustmentsResponse.php index 6500d35a9..b5e0f6cd2 100644 --- a/src/Google/AdsApi/AdManager/v202508/createForecastAdjustmentsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createForecastAdjustmentsResponse.php @@ -17,7 +17,7 @@ class createForecastAdjustmentsResponse /** * @param \Google\AdsApi\AdManager\v202508\ForecastAdjustment[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\ForecastAdjustment[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createForecastAdjustmentsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createLabelsResponse.php b/src/Google/AdsApi/AdManager/v202508/createLabelsResponse.php index 61f6f27c4..bcae1423a 100644 --- a/src/Google/AdsApi/AdManager/v202508/createLabelsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createLabelsResponse.php @@ -17,7 +17,7 @@ class createLabelsResponse /** * @param \Google\AdsApi\AdManager\v202508\Label[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\Label[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createLabelsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createLineItemCreativeAssociationsResponse.php b/src/Google/AdsApi/AdManager/v202508/createLineItemCreativeAssociationsResponse.php index 6525a91b3..19c5e96b5 100644 --- a/src/Google/AdsApi/AdManager/v202508/createLineItemCreativeAssociationsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createLineItemCreativeAssociationsResponse.php @@ -17,7 +17,7 @@ class createLineItemCreativeAssociationsResponse /** * @param \Google\AdsApi\AdManager\v202508\LineItemCreativeAssociation[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\LineItemCreativeAssociation[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createLineItemCreativeAssociationsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createLineItemsResponse.php b/src/Google/AdsApi/AdManager/v202508/createLineItemsResponse.php index ec2199e22..3d4f1c6c8 100644 --- a/src/Google/AdsApi/AdManager/v202508/createLineItemsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createLineItemsResponse.php @@ -17,7 +17,7 @@ class createLineItemsResponse /** * @param \Google\AdsApi\AdManager\v202508\LineItem[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\LineItem[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createLineItemsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createLiveStreamEventsResponse.php b/src/Google/AdsApi/AdManager/v202508/createLiveStreamEventsResponse.php index 34344f534..59e962a93 100644 --- a/src/Google/AdsApi/AdManager/v202508/createLiveStreamEventsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createLiveStreamEventsResponse.php @@ -17,7 +17,7 @@ class createLiveStreamEventsResponse /** * @param \Google\AdsApi\AdManager\v202508\LiveStreamEvent[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\LiveStreamEvent[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createLiveStreamEventsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createMakegoodsResponse.php b/src/Google/AdsApi/AdManager/v202508/createMakegoodsResponse.php index 9134f5c48..3d237c5f3 100644 --- a/src/Google/AdsApi/AdManager/v202508/createMakegoodsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createMakegoodsResponse.php @@ -17,7 +17,7 @@ class createMakegoodsResponse /** * @param \Google\AdsApi\AdManager\v202508\ProposalLineItem[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\ProposalLineItem[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createMakegoodsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createMobileApplicationsResponse.php b/src/Google/AdsApi/AdManager/v202508/createMobileApplicationsResponse.php index f65b8a568..4cb180ebe 100644 --- a/src/Google/AdsApi/AdManager/v202508/createMobileApplicationsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createMobileApplicationsResponse.php @@ -17,7 +17,7 @@ class createMobileApplicationsResponse /** * @param \Google\AdsApi\AdManager\v202508\MobileApplication[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\MobileApplication[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createMobileApplicationsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createNativeStylesResponse.php b/src/Google/AdsApi/AdManager/v202508/createNativeStylesResponse.php index edb40c1a7..9a5dedb7b 100644 --- a/src/Google/AdsApi/AdManager/v202508/createNativeStylesResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createNativeStylesResponse.php @@ -17,7 +17,7 @@ class createNativeStylesResponse /** * @param \Google\AdsApi\AdManager\v202508\NativeStyle[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\NativeStyle[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createNativeStylesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createOrdersResponse.php b/src/Google/AdsApi/AdManager/v202508/createOrdersResponse.php index f8a455847..96df7eed4 100644 --- a/src/Google/AdsApi/AdManager/v202508/createOrdersResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createOrdersResponse.php @@ -17,7 +17,7 @@ class createOrdersResponse /** * @param \Google\AdsApi\AdManager\v202508\Order[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\Order[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createOrdersResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createPlacementsResponse.php b/src/Google/AdsApi/AdManager/v202508/createPlacementsResponse.php index 42a0f834b..26c69a6be 100644 --- a/src/Google/AdsApi/AdManager/v202508/createPlacementsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createPlacementsResponse.php @@ -17,7 +17,7 @@ class createPlacementsResponse /** * @param \Google\AdsApi\AdManager\v202508\Placement[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\Placement[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createPlacementsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createProposalLineItemsResponse.php b/src/Google/AdsApi/AdManager/v202508/createProposalLineItemsResponse.php index afc5a974d..04d121b48 100644 --- a/src/Google/AdsApi/AdManager/v202508/createProposalLineItemsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createProposalLineItemsResponse.php @@ -17,7 +17,7 @@ class createProposalLineItemsResponse /** * @param \Google\AdsApi\AdManager\v202508\ProposalLineItem[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\ProposalLineItem[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createProposalLineItemsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createProposalsResponse.php b/src/Google/AdsApi/AdManager/v202508/createProposalsResponse.php index d19f649c1..14b94b06b 100644 --- a/src/Google/AdsApi/AdManager/v202508/createProposalsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createProposalsResponse.php @@ -17,7 +17,7 @@ class createProposalsResponse /** * @param \Google\AdsApi\AdManager\v202508\Proposal[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\Proposal[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createProposalsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createSitesResponse.php b/src/Google/AdsApi/AdManager/v202508/createSitesResponse.php index 7a2e05730..939b0bf07 100644 --- a/src/Google/AdsApi/AdManager/v202508/createSitesResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createSitesResponse.php @@ -17,7 +17,7 @@ class createSitesResponse /** * @param \Google\AdsApi\AdManager\v202508\Site[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\Site[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createSitesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createSlatesResponse.php b/src/Google/AdsApi/AdManager/v202508/createSlatesResponse.php index 25c7bbede..418a41559 100644 --- a/src/Google/AdsApi/AdManager/v202508/createSlatesResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createSlatesResponse.php @@ -17,7 +17,7 @@ class createSlatesResponse /** * @param \Google\AdsApi\AdManager\v202508\Slate[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\Slate[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createSlatesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createTargetingPresetsResponse.php b/src/Google/AdsApi/AdManager/v202508/createTargetingPresetsResponse.php index 1cbd0bba5..90b3c4893 100644 --- a/src/Google/AdsApi/AdManager/v202508/createTargetingPresetsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createTargetingPresetsResponse.php @@ -17,7 +17,7 @@ class createTargetingPresetsResponse /** * @param \Google\AdsApi\AdManager\v202508\TargetingPreset[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\TargetingPreset[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createTargetingPresetsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createTeamsResponse.php b/src/Google/AdsApi/AdManager/v202508/createTeamsResponse.php index 14e869b9a..9f3e03b10 100644 --- a/src/Google/AdsApi/AdManager/v202508/createTeamsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createTeamsResponse.php @@ -17,7 +17,7 @@ class createTeamsResponse /** * @param \Google\AdsApi\AdManager\v202508\Team[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\Team[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createTeamsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createTrafficForecastSegmentsResponse.php b/src/Google/AdsApi/AdManager/v202508/createTrafficForecastSegmentsResponse.php index 9c40b7de0..c1f58537d 100644 --- a/src/Google/AdsApi/AdManager/v202508/createTrafficForecastSegmentsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createTrafficForecastSegmentsResponse.php @@ -17,7 +17,7 @@ class createTrafficForecastSegmentsResponse /** * @param \Google\AdsApi\AdManager\v202508\TrafficForecastSegment[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\TrafficForecastSegment[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createTrafficForecastSegmentsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createUserTeamAssociationsResponse.php b/src/Google/AdsApi/AdManager/v202508/createUserTeamAssociationsResponse.php index d68905318..b624b2ea6 100644 --- a/src/Google/AdsApi/AdManager/v202508/createUserTeamAssociationsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createUserTeamAssociationsResponse.php @@ -17,7 +17,7 @@ class createUserTeamAssociationsResponse /** * @param \Google\AdsApi\AdManager\v202508\UserTeamAssociation[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\UserTeamAssociation[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createUserTeamAssociationsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createUsersResponse.php b/src/Google/AdsApi/AdManager/v202508/createUsersResponse.php index c2ac920ec..107ce3c6d 100644 --- a/src/Google/AdsApi/AdManager/v202508/createUsersResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createUsersResponse.php @@ -17,7 +17,7 @@ class createUsersResponse /** * @param \Google\AdsApi\AdManager\v202508\User[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\User[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createUsersResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/createYieldGroupsResponse.php b/src/Google/AdsApi/AdManager/v202508/createYieldGroupsResponse.php index 55db9a752..f3b4ef6c8 100644 --- a/src/Google/AdsApi/AdManager/v202508/createYieldGroupsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/createYieldGroupsResponse.php @@ -17,7 +17,7 @@ class createYieldGroupsResponse /** * @param \Google\AdsApi\AdManager\v202508\YieldGroup[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\YieldGroup[]|null $rval * @return \Google\AdsApi\AdManager\v202508\createYieldGroupsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/getAdUnitSizesByStatementResponse.php b/src/Google/AdsApi/AdManager/v202508/getAdUnitSizesByStatementResponse.php index 0fafa3686..975655f84 100644 --- a/src/Google/AdsApi/AdManager/v202508/getAdUnitSizesByStatementResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/getAdUnitSizesByStatementResponse.php @@ -17,7 +17,7 @@ class getAdUnitSizesByStatementResponse /** * @param \Google\AdsApi\AdManager\v202508\AdUnitSize[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\AdUnitSize[]|null $rval * @return \Google\AdsApi\AdManager\v202508\getAdUnitSizesByStatementResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/getAllNetworksResponse.php b/src/Google/AdsApi/AdManager/v202508/getAllNetworksResponse.php index e5ebfd021..56f795563 100644 --- a/src/Google/AdsApi/AdManager/v202508/getAllNetworksResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/getAllNetworksResponse.php @@ -17,7 +17,7 @@ class getAllNetworksResponse /** * @param \Google\AdsApi\AdManager\v202508\Network[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\Network[]|null $rval * @return \Google\AdsApi\AdManager\v202508\getAllNetworksResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/getAllRolesResponse.php b/src/Google/AdsApi/AdManager/v202508/getAllRolesResponse.php index 3248bbed9..81c347205 100644 --- a/src/Google/AdsApi/AdManager/v202508/getAllRolesResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/getAllRolesResponse.php @@ -17,7 +17,7 @@ class getAllRolesResponse /** * @param \Google\AdsApi\AdManager\v202508\Role[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\Role[]|null $rval * @return \Google\AdsApi\AdManager\v202508\getAllRolesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/getPreviewUrlsForNativeStylesResponse.php b/src/Google/AdsApi/AdManager/v202508/getPreviewUrlsForNativeStylesResponse.php index ccdb2f505..8473267ba 100644 --- a/src/Google/AdsApi/AdManager/v202508/getPreviewUrlsForNativeStylesResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/getPreviewUrlsForNativeStylesResponse.php @@ -17,7 +17,7 @@ class getPreviewUrlsForNativeStylesResponse /** * @param \Google\AdsApi\AdManager\v202508\CreativeNativeStylePreview[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\CreativeNativeStylePreview[]|null $rval * @return \Google\AdsApi\AdManager\v202508\getPreviewUrlsForNativeStylesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/getSamSessionsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202508/getSamSessionsByStatementResponse.php index 28f6b20c7..4490e32c8 100644 --- a/src/Google/AdsApi/AdManager/v202508/getSamSessionsByStatementResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/getSamSessionsByStatementResponse.php @@ -17,7 +17,7 @@ class getSamSessionsByStatementResponse /** * @param \Google\AdsApi\AdManager\v202508\SamSession[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\SamSession[]|null $rval * @return \Google\AdsApi\AdManager\v202508\getSamSessionsByStatementResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/getSegmentPopulationResultsByIdsResponse.php b/src/Google/AdsApi/AdManager/v202508/getSegmentPopulationResultsByIdsResponse.php index 06a360bc7..461af897f 100644 --- a/src/Google/AdsApi/AdManager/v202508/getSegmentPopulationResultsByIdsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/getSegmentPopulationResultsByIdsResponse.php @@ -17,7 +17,7 @@ class getSegmentPopulationResultsByIdsResponse /** * @param \Google\AdsApi\AdManager\v202508\SegmentPopulationResults[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\SegmentPopulationResults[]|null $rval * @return \Google\AdsApi\AdManager\v202508\getSegmentPopulationResultsByIdsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/getYieldPartnersResponse.php b/src/Google/AdsApi/AdManager/v202508/getYieldPartnersResponse.php index ee28eed98..e937ae953 100644 --- a/src/Google/AdsApi/AdManager/v202508/getYieldPartnersResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/getYieldPartnersResponse.php @@ -17,7 +17,7 @@ class getYieldPartnersResponse /** * @param \Google\AdsApi\AdManager\v202508\YieldPartner[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\YieldPartner[]|null $rval * @return \Google\AdsApi\AdManager\v202508\getYieldPartnersResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/registerSessionsForMonitoringResponse.php b/src/Google/AdsApi/AdManager/v202508/registerSessionsForMonitoringResponse.php index 9b710c518..93f66505a 100644 --- a/src/Google/AdsApi/AdManager/v202508/registerSessionsForMonitoringResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/registerSessionsForMonitoringResponse.php @@ -17,7 +17,7 @@ class registerSessionsForMonitoringResponse /** * @param string[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param string[]|null $rval * @return \Google\AdsApi\AdManager\v202508\registerSessionsForMonitoringResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/updateAdRulesResponse.php b/src/Google/AdsApi/AdManager/v202508/updateAdRulesResponse.php index 73ab6ad36..c4f4f2e24 100644 --- a/src/Google/AdsApi/AdManager/v202508/updateAdRulesResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/updateAdRulesResponse.php @@ -17,7 +17,7 @@ class updateAdRulesResponse /** * @param \Google\AdsApi\AdManager\v202508\AdRule[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\AdRule[]|null $rval * @return \Google\AdsApi\AdManager\v202508\updateAdRulesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/updateAdSpotsResponse.php b/src/Google/AdsApi/AdManager/v202508/updateAdSpotsResponse.php index 0fdeb7074..2ced1428d 100644 --- a/src/Google/AdsApi/AdManager/v202508/updateAdSpotsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/updateAdSpotsResponse.php @@ -17,7 +17,7 @@ class updateAdSpotsResponse /** * @param \Google\AdsApi\AdManager\v202508\AdSpot[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\AdSpot[]|null $rval * @return \Google\AdsApi\AdManager\v202508\updateAdSpotsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/updateAdUnitsResponse.php b/src/Google/AdsApi/AdManager/v202508/updateAdUnitsResponse.php index 1dbeb5ddd..37a7ea66e 100644 --- a/src/Google/AdsApi/AdManager/v202508/updateAdUnitsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/updateAdUnitsResponse.php @@ -17,7 +17,7 @@ class updateAdUnitsResponse /** * @param \Google\AdsApi\AdManager\v202508\AdUnit[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\AdUnit[]|null $rval * @return \Google\AdsApi\AdManager\v202508\updateAdUnitsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/updateAudienceSegmentsResponse.php b/src/Google/AdsApi/AdManager/v202508/updateAudienceSegmentsResponse.php index edfdafb44..0dc0f45c2 100644 --- a/src/Google/AdsApi/AdManager/v202508/updateAudienceSegmentsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/updateAudienceSegmentsResponse.php @@ -17,7 +17,7 @@ class updateAudienceSegmentsResponse /** * @param \Google\AdsApi\AdManager\v202508\FirstPartyAudienceSegment[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\FirstPartyAudienceSegment[]|null $rval * @return \Google\AdsApi\AdManager\v202508\updateAudienceSegmentsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/updateBreakTemplatesResponse.php b/src/Google/AdsApi/AdManager/v202508/updateBreakTemplatesResponse.php index cca26ff51..d45361e02 100644 --- a/src/Google/AdsApi/AdManager/v202508/updateBreakTemplatesResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/updateBreakTemplatesResponse.php @@ -17,7 +17,7 @@ class updateBreakTemplatesResponse /** * @param \Google\AdsApi\AdManager\v202508\BreakTemplate[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\BreakTemplate[]|null $rval * @return \Google\AdsApi\AdManager\v202508\updateBreakTemplatesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/updateCdnConfigurationsResponse.php b/src/Google/AdsApi/AdManager/v202508/updateCdnConfigurationsResponse.php index 3f2d3fd2c..ae11ccc06 100644 --- a/src/Google/AdsApi/AdManager/v202508/updateCdnConfigurationsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/updateCdnConfigurationsResponse.php @@ -17,7 +17,7 @@ class updateCdnConfigurationsResponse /** * @param \Google\AdsApi\AdManager\v202508\CdnConfiguration[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\CdnConfiguration[]|null $rval * @return \Google\AdsApi\AdManager\v202508\updateCdnConfigurationsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/updateCompaniesResponse.php b/src/Google/AdsApi/AdManager/v202508/updateCompaniesResponse.php index 9d330cfee..8dd0683cc 100644 --- a/src/Google/AdsApi/AdManager/v202508/updateCompaniesResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/updateCompaniesResponse.php @@ -17,7 +17,7 @@ class updateCompaniesResponse /** * @param \Google\AdsApi\AdManager\v202508\Company[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\Company[]|null $rval * @return \Google\AdsApi\AdManager\v202508\updateCompaniesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/updateContactsResponse.php b/src/Google/AdsApi/AdManager/v202508/updateContactsResponse.php index f02ae1c4e..fbd14c25a 100644 --- a/src/Google/AdsApi/AdManager/v202508/updateContactsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/updateContactsResponse.php @@ -17,7 +17,7 @@ class updateContactsResponse /** * @param \Google\AdsApi\AdManager\v202508\Contact[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\Contact[]|null $rval * @return \Google\AdsApi\AdManager\v202508\updateContactsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/updateContentBundlesResponse.php b/src/Google/AdsApi/AdManager/v202508/updateContentBundlesResponse.php index 7dac85892..2ab83811d 100644 --- a/src/Google/AdsApi/AdManager/v202508/updateContentBundlesResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/updateContentBundlesResponse.php @@ -17,7 +17,7 @@ class updateContentBundlesResponse /** * @param \Google\AdsApi\AdManager\v202508\ContentBundle[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\ContentBundle[]|null $rval * @return \Google\AdsApi\AdManager\v202508\updateContentBundlesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/updateCreativeWrappersResponse.php b/src/Google/AdsApi/AdManager/v202508/updateCreativeWrappersResponse.php index e9976f32c..cdfe932b4 100644 --- a/src/Google/AdsApi/AdManager/v202508/updateCreativeWrappersResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/updateCreativeWrappersResponse.php @@ -17,7 +17,7 @@ class updateCreativeWrappersResponse /** * @param \Google\AdsApi\AdManager\v202508\CreativeWrapper[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\CreativeWrapper[]|null $rval * @return \Google\AdsApi\AdManager\v202508\updateCreativeWrappersResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/updateCreativesResponse.php b/src/Google/AdsApi/AdManager/v202508/updateCreativesResponse.php index c673a557c..5572b3201 100644 --- a/src/Google/AdsApi/AdManager/v202508/updateCreativesResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/updateCreativesResponse.php @@ -17,7 +17,7 @@ class updateCreativesResponse /** * @param \Google\AdsApi\AdManager\v202508\Creative[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\Creative[]|null $rval * @return \Google\AdsApi\AdManager\v202508\updateCreativesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/updateCustomFieldOptionsResponse.php b/src/Google/AdsApi/AdManager/v202508/updateCustomFieldOptionsResponse.php index 16b078fb1..18caf0a03 100644 --- a/src/Google/AdsApi/AdManager/v202508/updateCustomFieldOptionsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/updateCustomFieldOptionsResponse.php @@ -17,7 +17,7 @@ class updateCustomFieldOptionsResponse /** * @param \Google\AdsApi\AdManager\v202508\CustomFieldOption[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\CustomFieldOption[]|null $rval * @return \Google\AdsApi\AdManager\v202508\updateCustomFieldOptionsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/updateCustomFieldsResponse.php b/src/Google/AdsApi/AdManager/v202508/updateCustomFieldsResponse.php index 4d0c30051..2155bd61f 100644 --- a/src/Google/AdsApi/AdManager/v202508/updateCustomFieldsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/updateCustomFieldsResponse.php @@ -17,7 +17,7 @@ class updateCustomFieldsResponse /** * @param \Google\AdsApi\AdManager\v202508\CustomField[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\CustomField[]|null $rval * @return \Google\AdsApi\AdManager\v202508\updateCustomFieldsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/updateCustomTargetingKeysResponse.php b/src/Google/AdsApi/AdManager/v202508/updateCustomTargetingKeysResponse.php index 558361f8c..0cade024a 100644 --- a/src/Google/AdsApi/AdManager/v202508/updateCustomTargetingKeysResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/updateCustomTargetingKeysResponse.php @@ -17,7 +17,7 @@ class updateCustomTargetingKeysResponse /** * @param \Google\AdsApi\AdManager\v202508\CustomTargetingKey[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\CustomTargetingKey[]|null $rval * @return \Google\AdsApi\AdManager\v202508\updateCustomTargetingKeysResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/updateCustomTargetingValuesResponse.php b/src/Google/AdsApi/AdManager/v202508/updateCustomTargetingValuesResponse.php index 175fc7c8d..ed97b04b4 100644 --- a/src/Google/AdsApi/AdManager/v202508/updateCustomTargetingValuesResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/updateCustomTargetingValuesResponse.php @@ -17,7 +17,7 @@ class updateCustomTargetingValuesResponse /** * @param \Google\AdsApi\AdManager\v202508\CustomTargetingValue[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\CustomTargetingValue[]|null $rval * @return \Google\AdsApi\AdManager\v202508\updateCustomTargetingValuesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/updateDaiAuthenticationKeysResponse.php b/src/Google/AdsApi/AdManager/v202508/updateDaiAuthenticationKeysResponse.php index 93ca96d0f..db866ddb2 100644 --- a/src/Google/AdsApi/AdManager/v202508/updateDaiAuthenticationKeysResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/updateDaiAuthenticationKeysResponse.php @@ -17,7 +17,7 @@ class updateDaiAuthenticationKeysResponse /** * @param \Google\AdsApi\AdManager\v202508\DaiAuthenticationKey[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\DaiAuthenticationKey[]|null $rval * @return \Google\AdsApi\AdManager\v202508\updateDaiAuthenticationKeysResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/updateDaiEncodingProfilesResponse.php b/src/Google/AdsApi/AdManager/v202508/updateDaiEncodingProfilesResponse.php index 82e28e469..b263043d4 100644 --- a/src/Google/AdsApi/AdManager/v202508/updateDaiEncodingProfilesResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/updateDaiEncodingProfilesResponse.php @@ -17,7 +17,7 @@ class updateDaiEncodingProfilesResponse /** * @param \Google\AdsApi\AdManager\v202508\DaiEncodingProfile[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\DaiEncodingProfile[]|null $rval * @return \Google\AdsApi\AdManager\v202508\updateDaiEncodingProfilesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/updateForecastAdjustmentsResponse.php b/src/Google/AdsApi/AdManager/v202508/updateForecastAdjustmentsResponse.php index 9dbe4adfb..0b587db10 100644 --- a/src/Google/AdsApi/AdManager/v202508/updateForecastAdjustmentsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/updateForecastAdjustmentsResponse.php @@ -17,7 +17,7 @@ class updateForecastAdjustmentsResponse /** * @param \Google\AdsApi\AdManager\v202508\ForecastAdjustment[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\ForecastAdjustment[]|null $rval * @return \Google\AdsApi\AdManager\v202508\updateForecastAdjustmentsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/updateLabelsResponse.php b/src/Google/AdsApi/AdManager/v202508/updateLabelsResponse.php index 40865ea95..595674473 100644 --- a/src/Google/AdsApi/AdManager/v202508/updateLabelsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/updateLabelsResponse.php @@ -17,7 +17,7 @@ class updateLabelsResponse /** * @param \Google\AdsApi\AdManager\v202508\Label[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\Label[]|null $rval * @return \Google\AdsApi\AdManager\v202508\updateLabelsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/updateLineItemCreativeAssociationsResponse.php b/src/Google/AdsApi/AdManager/v202508/updateLineItemCreativeAssociationsResponse.php index 61b10278d..3e4114835 100644 --- a/src/Google/AdsApi/AdManager/v202508/updateLineItemCreativeAssociationsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/updateLineItemCreativeAssociationsResponse.php @@ -17,7 +17,7 @@ class updateLineItemCreativeAssociationsResponse /** * @param \Google\AdsApi\AdManager\v202508\LineItemCreativeAssociation[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\LineItemCreativeAssociation[]|null $rval * @return \Google\AdsApi\AdManager\v202508\updateLineItemCreativeAssociationsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/updateLineItemsResponse.php b/src/Google/AdsApi/AdManager/v202508/updateLineItemsResponse.php index 66bb10003..9e03be9b1 100644 --- a/src/Google/AdsApi/AdManager/v202508/updateLineItemsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/updateLineItemsResponse.php @@ -17,7 +17,7 @@ class updateLineItemsResponse /** * @param \Google\AdsApi\AdManager\v202508\LineItem[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\LineItem[]|null $rval * @return \Google\AdsApi\AdManager\v202508\updateLineItemsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/updateLiveStreamEventsResponse.php b/src/Google/AdsApi/AdManager/v202508/updateLiveStreamEventsResponse.php index 938e86db2..5fd7e8c4c 100644 --- a/src/Google/AdsApi/AdManager/v202508/updateLiveStreamEventsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/updateLiveStreamEventsResponse.php @@ -17,7 +17,7 @@ class updateLiveStreamEventsResponse /** * @param \Google\AdsApi\AdManager\v202508\LiveStreamEvent[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\LiveStreamEvent[]|null $rval * @return \Google\AdsApi\AdManager\v202508\updateLiveStreamEventsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/updateMobileApplicationsResponse.php b/src/Google/AdsApi/AdManager/v202508/updateMobileApplicationsResponse.php index ed22fe1f5..93365cc09 100644 --- a/src/Google/AdsApi/AdManager/v202508/updateMobileApplicationsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/updateMobileApplicationsResponse.php @@ -17,7 +17,7 @@ class updateMobileApplicationsResponse /** * @param \Google\AdsApi\AdManager\v202508\MobileApplication[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\MobileApplication[]|null $rval * @return \Google\AdsApi\AdManager\v202508\updateMobileApplicationsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/updateNativeStylesResponse.php b/src/Google/AdsApi/AdManager/v202508/updateNativeStylesResponse.php index 87de8c4b6..d0b076ef5 100644 --- a/src/Google/AdsApi/AdManager/v202508/updateNativeStylesResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/updateNativeStylesResponse.php @@ -17,7 +17,7 @@ class updateNativeStylesResponse /** * @param \Google\AdsApi\AdManager\v202508\NativeStyle[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\NativeStyle[]|null $rval * @return \Google\AdsApi\AdManager\v202508\updateNativeStylesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/updateOrdersResponse.php b/src/Google/AdsApi/AdManager/v202508/updateOrdersResponse.php index 4fea3a694..39d5692e4 100644 --- a/src/Google/AdsApi/AdManager/v202508/updateOrdersResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/updateOrdersResponse.php @@ -17,7 +17,7 @@ class updateOrdersResponse /** * @param \Google\AdsApi\AdManager\v202508\Order[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\Order[]|null $rval * @return \Google\AdsApi\AdManager\v202508\updateOrdersResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/updatePlacementsResponse.php b/src/Google/AdsApi/AdManager/v202508/updatePlacementsResponse.php index c4caf4e33..99c356b76 100644 --- a/src/Google/AdsApi/AdManager/v202508/updatePlacementsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/updatePlacementsResponse.php @@ -17,7 +17,7 @@ class updatePlacementsResponse /** * @param \Google\AdsApi\AdManager\v202508\Placement[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\Placement[]|null $rval * @return \Google\AdsApi\AdManager\v202508\updatePlacementsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/updateProposalLineItemsResponse.php b/src/Google/AdsApi/AdManager/v202508/updateProposalLineItemsResponse.php index ef08a02e8..6ca4d87dc 100644 --- a/src/Google/AdsApi/AdManager/v202508/updateProposalLineItemsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/updateProposalLineItemsResponse.php @@ -17,7 +17,7 @@ class updateProposalLineItemsResponse /** * @param \Google\AdsApi\AdManager\v202508\ProposalLineItem[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\ProposalLineItem[]|null $rval * @return \Google\AdsApi\AdManager\v202508\updateProposalLineItemsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/updateProposalsResponse.php b/src/Google/AdsApi/AdManager/v202508/updateProposalsResponse.php index 9259634ad..c8b6436ad 100644 --- a/src/Google/AdsApi/AdManager/v202508/updateProposalsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/updateProposalsResponse.php @@ -17,7 +17,7 @@ class updateProposalsResponse /** * @param \Google\AdsApi\AdManager\v202508\Proposal[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\Proposal[]|null $rval * @return \Google\AdsApi\AdManager\v202508\updateProposalsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/updateSitesResponse.php b/src/Google/AdsApi/AdManager/v202508/updateSitesResponse.php index d251448cb..c66b0ea42 100644 --- a/src/Google/AdsApi/AdManager/v202508/updateSitesResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/updateSitesResponse.php @@ -17,7 +17,7 @@ class updateSitesResponse /** * @param \Google\AdsApi\AdManager\v202508\Site[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\Site[]|null $rval * @return \Google\AdsApi\AdManager\v202508\updateSitesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/updateSlatesResponse.php b/src/Google/AdsApi/AdManager/v202508/updateSlatesResponse.php index fa6b0dbd8..a315a1ea2 100644 --- a/src/Google/AdsApi/AdManager/v202508/updateSlatesResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/updateSlatesResponse.php @@ -17,7 +17,7 @@ class updateSlatesResponse /** * @param \Google\AdsApi\AdManager\v202508\Slate[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\Slate[]|null $rval * @return \Google\AdsApi\AdManager\v202508\updateSlatesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/updateTargetingPresetsResponse.php b/src/Google/AdsApi/AdManager/v202508/updateTargetingPresetsResponse.php index 90cac50ca..c9c8c95f5 100644 --- a/src/Google/AdsApi/AdManager/v202508/updateTargetingPresetsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/updateTargetingPresetsResponse.php @@ -17,7 +17,7 @@ class updateTargetingPresetsResponse /** * @param \Google\AdsApi\AdManager\v202508\TargetingPreset[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\TargetingPreset[]|null $rval * @return \Google\AdsApi\AdManager\v202508\updateTargetingPresetsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/updateTeamsResponse.php b/src/Google/AdsApi/AdManager/v202508/updateTeamsResponse.php index 402ff6993..768c67931 100644 --- a/src/Google/AdsApi/AdManager/v202508/updateTeamsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/updateTeamsResponse.php @@ -17,7 +17,7 @@ class updateTeamsResponse /** * @param \Google\AdsApi\AdManager\v202508\Team[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\Team[]|null $rval * @return \Google\AdsApi\AdManager\v202508\updateTeamsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/updateTrafficForecastSegmentsResponse.php b/src/Google/AdsApi/AdManager/v202508/updateTrafficForecastSegmentsResponse.php index 1a63ce3c6..6579bdfbe 100644 --- a/src/Google/AdsApi/AdManager/v202508/updateTrafficForecastSegmentsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/updateTrafficForecastSegmentsResponse.php @@ -17,7 +17,7 @@ class updateTrafficForecastSegmentsResponse /** * @param \Google\AdsApi\AdManager\v202508\TrafficForecastSegment[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\TrafficForecastSegment[]|null $rval * @return \Google\AdsApi\AdManager\v202508\updateTrafficForecastSegmentsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/updateUserTeamAssociationsResponse.php b/src/Google/AdsApi/AdManager/v202508/updateUserTeamAssociationsResponse.php index bdf0df843..f2a7a0039 100644 --- a/src/Google/AdsApi/AdManager/v202508/updateUserTeamAssociationsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/updateUserTeamAssociationsResponse.php @@ -17,7 +17,7 @@ class updateUserTeamAssociationsResponse /** * @param \Google\AdsApi\AdManager\v202508\UserTeamAssociation[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\UserTeamAssociation[]|null $rval * @return \Google\AdsApi\AdManager\v202508\updateUserTeamAssociationsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/updateUsersResponse.php b/src/Google/AdsApi/AdManager/v202508/updateUsersResponse.php index f284165bd..56ddc907a 100644 --- a/src/Google/AdsApi/AdManager/v202508/updateUsersResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/updateUsersResponse.php @@ -17,7 +17,7 @@ class updateUsersResponse /** * @param \Google\AdsApi\AdManager\v202508\User[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\User[]|null $rval * @return \Google\AdsApi\AdManager\v202508\updateUsersResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202508/updateYieldGroupsResponse.php b/src/Google/AdsApi/AdManager/v202508/updateYieldGroupsResponse.php index 574a453ab..219578f56 100644 --- a/src/Google/AdsApi/AdManager/v202508/updateYieldGroupsResponse.php +++ b/src/Google/AdsApi/AdManager/v202508/updateYieldGroupsResponse.php @@ -17,7 +17,7 @@ class updateYieldGroupsResponse /** * @param \Google\AdsApi\AdManager\v202508\YieldGroup[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202508\YieldGroup[]|null $rval * @return \Google\AdsApi\AdManager\v202508\updateYieldGroupsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/AdBreak.php b/src/Google/AdsApi/AdManager/v202511/AdBreak.php index cd7104fb8..672773d62 100644 --- a/src/Google/AdsApi/AdManager/v202511/AdBreak.php +++ b/src/Google/AdsApi/AdManager/v202511/AdBreak.php @@ -89,7 +89,7 @@ class AdBreak * @param boolean $decisionedAds * @param \Google\AdsApi\AdManager\v202511\TrackingEvent[] $trackingEvents */ - public function __construct(array $rootAdResponses = null, array $adDecisionCreatives = null, $podNum = null, $linearAbsolutePodNum = null, $adBreakDurationMillis = null, $filledDurationMillis = null, $servedDurationMillis = null, $startDateTime = null, $startTimeOffsetMillis = null, $samError = null, $midrollIndex = null, $decisionedAds = null, array $trackingEvents = null) + public function __construct(?array $rootAdResponses = null, ?array $adDecisionCreatives = null, $podNum = null, $linearAbsolutePodNum = null, $adBreakDurationMillis = null, $filledDurationMillis = null, $servedDurationMillis = null, $startDateTime = null, $startTimeOffsetMillis = null, $samError = null, $midrollIndex = null, $decisionedAds = null, ?array $trackingEvents = null) { $this->rootAdResponses = $rootAdResponses; $this->adDecisionCreatives = $adDecisionCreatives; @@ -118,7 +118,7 @@ public function getRootAdResponses() * @param \Google\AdsApi\AdManager\v202511\AdResponse[]|null $rootAdResponses * @return \Google\AdsApi\AdManager\v202511\AdBreak */ - public function setRootAdResponses(array $rootAdResponses = null) + public function setRootAdResponses(?array $rootAdResponses = null) { $this->rootAdResponses = $rootAdResponses; return $this; @@ -136,7 +136,7 @@ public function getAdDecisionCreatives() * @param \Google\AdsApi\AdManager\v202511\AdDecisionCreative[]|null $adDecisionCreatives * @return \Google\AdsApi\AdManager\v202511\AdBreak */ - public function setAdDecisionCreatives(array $adDecisionCreatives = null) + public function setAdDecisionCreatives(?array $adDecisionCreatives = null) { $this->adDecisionCreatives = $adDecisionCreatives; return $this; @@ -338,7 +338,7 @@ public function getTrackingEvents() * @param \Google\AdsApi\AdManager\v202511\TrackingEvent[]|null $trackingEvents * @return \Google\AdsApi\AdManager\v202511\AdBreak */ - public function setTrackingEvents(array $trackingEvents = null) + public function setTrackingEvents(?array $trackingEvents = null) { $this->trackingEvents = $trackingEvents; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/AdBreakMarkupError.php b/src/Google/AdsApi/AdManager/v202511/AdBreakMarkupError.php index 705441d69..0c3abd74f 100644 --- a/src/Google/AdsApi/AdManager/v202511/AdBreakMarkupError.php +++ b/src/Google/AdsApi/AdManager/v202511/AdBreakMarkupError.php @@ -21,7 +21,7 @@ class AdBreakMarkupError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/AdExchangeCreative.php b/src/Google/AdsApi/AdManager/v202511/AdExchangeCreative.php index 133e42427..7185161de 100644 --- a/src/Google/AdsApi/AdManager/v202511/AdExchangeCreative.php +++ b/src/Google/AdsApi/AdManager/v202511/AdExchangeCreative.php @@ -43,7 +43,7 @@ class AdExchangeCreative extends \Google\AdsApi\AdManager\v202511\HasHtmlSnippet * @param boolean $isInterstitial * @param boolean $isAllowsAllRequestedSizes */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $codeSnippet = null, $isNativeEligible = null, $isInterstitial = null, $isAllowsAllRequestedSizes = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $codeSnippet = null, $isNativeEligible = null, $isInterstitial = null, $isAllowsAllRequestedSizes = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $thirdPartyDataDeclarationStatus, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent, $codeSnippet); $this->isNativeEligible = $isNativeEligible; diff --git a/src/Google/AdsApi/AdManager/v202511/AdResponse.php b/src/Google/AdsApi/AdManager/v202511/AdResponse.php index 711a0320a..43332b02d 100644 --- a/src/Google/AdsApi/AdManager/v202511/AdResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/AdResponse.php @@ -47,7 +47,7 @@ class AdResponse * @param \Google\AdsApi\AdManager\v202511\SamError $samError * @param \Google\AdsApi\AdManager\v202511\SamError[] $adErrors */ - public function __construct($requestUrl = null, $isVmapRequest = null, $responseBody = null, array $redirectResponses = null, $samError = null, array $adErrors = null) + public function __construct($requestUrl = null, $isVmapRequest = null, $responseBody = null, ?array $redirectResponses = null, $samError = null, ?array $adErrors = null) { $this->requestUrl = $requestUrl; $this->isVmapRequest = $isVmapRequest; @@ -123,7 +123,7 @@ public function getRedirectResponses() * @param \Google\AdsApi\AdManager\v202511\AdResponse[]|null $redirectResponses * @return \Google\AdsApi\AdManager\v202511\AdResponse */ - public function setRedirectResponses(array $redirectResponses = null) + public function setRedirectResponses(?array $redirectResponses = null) { $this->redirectResponses = $redirectResponses; return $this; @@ -159,7 +159,7 @@ public function getAdErrors() * @param \Google\AdsApi\AdManager\v202511\SamError[]|null $adErrors * @return \Google\AdsApi\AdManager\v202511\AdResponse */ - public function setAdErrors(array $adErrors = null) + public function setAdErrors(?array $adErrors = null) { $this->adErrors = $adErrors; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/AdRuleDateError.php b/src/Google/AdsApi/AdManager/v202511/AdRuleDateError.php index 90bc05db0..1b8e85f1d 100644 --- a/src/Google/AdsApi/AdManager/v202511/AdRuleDateError.php +++ b/src/Google/AdsApi/AdManager/v202511/AdRuleDateError.php @@ -21,7 +21,7 @@ class AdRuleDateError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/AdRuleError.php b/src/Google/AdsApi/AdManager/v202511/AdRuleError.php index 12300d94a..5b7ddd788 100644 --- a/src/Google/AdsApi/AdManager/v202511/AdRuleError.php +++ b/src/Google/AdsApi/AdManager/v202511/AdRuleError.php @@ -21,7 +21,7 @@ class AdRuleError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/AdRuleFrequencyCapError.php b/src/Google/AdsApi/AdManager/v202511/AdRuleFrequencyCapError.php index 87ed6ea39..9972464ee 100644 --- a/src/Google/AdsApi/AdManager/v202511/AdRuleFrequencyCapError.php +++ b/src/Google/AdsApi/AdManager/v202511/AdRuleFrequencyCapError.php @@ -21,7 +21,7 @@ class AdRuleFrequencyCapError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/AdRulePage.php b/src/Google/AdsApi/AdManager/v202511/AdRulePage.php index 8c41cf43f..4d0fccb8f 100644 --- a/src/Google/AdsApi/AdManager/v202511/AdRulePage.php +++ b/src/Google/AdsApi/AdManager/v202511/AdRulePage.php @@ -29,7 +29,7 @@ class AdRulePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\AdRule[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\AdRule[]|null $results * @return \Google\AdsApi\AdManager\v202511\AdRulePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/AdRulePriorityError.php b/src/Google/AdsApi/AdManager/v202511/AdRulePriorityError.php index c440e3595..e3b12082f 100644 --- a/src/Google/AdsApi/AdManager/v202511/AdRulePriorityError.php +++ b/src/Google/AdsApi/AdManager/v202511/AdRulePriorityError.php @@ -21,7 +21,7 @@ class AdRulePriorityError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/AdRuleSlotError.php b/src/Google/AdsApi/AdManager/v202511/AdRuleSlotError.php index ddbda1abe..06c7f5b9a 100644 --- a/src/Google/AdsApi/AdManager/v202511/AdRuleSlotError.php +++ b/src/Google/AdsApi/AdManager/v202511/AdRuleSlotError.php @@ -21,7 +21,7 @@ class AdRuleSlotError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/AdRuleTargetingError.php b/src/Google/AdsApi/AdManager/v202511/AdRuleTargetingError.php index bc5fa3702..e6ff91d29 100644 --- a/src/Google/AdsApi/AdManager/v202511/AdRuleTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202511/AdRuleTargetingError.php @@ -21,7 +21,7 @@ class AdRuleTargetingError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/AdSenseAccountError.php b/src/Google/AdsApi/AdManager/v202511/AdSenseAccountError.php index 6ac93cea4..875e4d191 100644 --- a/src/Google/AdsApi/AdManager/v202511/AdSenseAccountError.php +++ b/src/Google/AdsApi/AdManager/v202511/AdSenseAccountError.php @@ -21,7 +21,7 @@ class AdSenseAccountError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/AdSpot.php b/src/Google/AdsApi/AdManager/v202511/AdSpot.php index 4156aec13..8a1588c72 100644 --- a/src/Google/AdsApi/AdManager/v202511/AdSpot.php +++ b/src/Google/AdsApi/AdManager/v202511/AdSpot.php @@ -77,7 +77,7 @@ class AdSpot * @param string[] $allowedLineItemTypes * @param boolean $inventorySharingBlocked */ - public function __construct($id = null, $name = null, $displayName = null, $customSpot = null, $flexible = null, $maxDurationMillis = null, $maxNumberOfAds = null, $targetingType = null, $backfillBlocked = null, array $allowedLineItemTypes = null, $inventorySharingBlocked = null) + public function __construct($id = null, $name = null, $displayName = null, $customSpot = null, $flexible = null, $maxDurationMillis = null, $maxNumberOfAds = null, $targetingType = null, $backfillBlocked = null, ?array $allowedLineItemTypes = null, $inventorySharingBlocked = null) { $this->id = $id; $this->name = $name; @@ -268,7 +268,7 @@ public function getAllowedLineItemTypes() * @param string[]|null $allowedLineItemTypes * @return \Google\AdsApi\AdManager\v202511\AdSpot */ - public function setAllowedLineItemTypes(array $allowedLineItemTypes = null) + public function setAllowedLineItemTypes(?array $allowedLineItemTypes = null) { $this->allowedLineItemTypes = $allowedLineItemTypes; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/AdSpotPage.php b/src/Google/AdsApi/AdManager/v202511/AdSpotPage.php index fefcb8cb9..0458fd6fa 100644 --- a/src/Google/AdsApi/AdManager/v202511/AdSpotPage.php +++ b/src/Google/AdsApi/AdManager/v202511/AdSpotPage.php @@ -29,7 +29,7 @@ class AdSpotPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\AdSpot[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\AdSpot[]|null $results * @return \Google\AdsApi\AdManager\v202511\AdSpotPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/AdUnit.php b/src/Google/AdsApi/AdManager/v202511/AdUnit.php index f31edeaaa..1f4455ab6 100644 --- a/src/Google/AdsApi/AdManager/v202511/AdUnit.php +++ b/src/Google/AdsApi/AdManager/v202511/AdUnit.php @@ -179,7 +179,7 @@ class AdUnit * @param boolean $isSetTopBoxEnabled * @param int $applicationId */ - public function __construct($id = null, $parentId = null, $hasChildren = null, array $parentPath = null, $name = null, $description = null, $targetWindow = null, $status = null, $adUnitCode = null, array $adUnitSizes = null, $isInterstitial = null, $isNative = null, $isFluid = null, $explicitlyTargeted = null, $adSenseSettings = null, $adSenseSettingsSource = null, array $appliedLabelFrequencyCaps = null, array $effectiveLabelFrequencyCaps = null, array $appliedLabels = null, array $effectiveAppliedLabels = null, array $effectiveTeamIds = null, array $appliedTeamIds = null, $lastModifiedDateTime = null, $smartSizeMode = null, $refreshRate = null, $externalSetTopBoxChannelId = null, $isSetTopBoxEnabled = null, $applicationId = null) + public function __construct($id = null, $parentId = null, $hasChildren = null, ?array $parentPath = null, $name = null, $description = null, $targetWindow = null, $status = null, $adUnitCode = null, ?array $adUnitSizes = null, $isInterstitial = null, $isNative = null, $isFluid = null, $explicitlyTargeted = null, $adSenseSettings = null, $adSenseSettingsSource = null, ?array $appliedLabelFrequencyCaps = null, ?array $effectiveLabelFrequencyCaps = null, ?array $appliedLabels = null, ?array $effectiveAppliedLabels = null, ?array $effectiveTeamIds = null, ?array $appliedTeamIds = null, $lastModifiedDateTime = null, $smartSizeMode = null, $refreshRate = null, $externalSetTopBoxChannelId = null, $isSetTopBoxEnabled = null, $applicationId = null) { $this->id = $id; $this->parentId = $parentId; @@ -277,7 +277,7 @@ public function getParentPath() * @param \Google\AdsApi\AdManager\v202511\AdUnitParent[]|null $parentPath * @return \Google\AdsApi\AdManager\v202511\AdUnit */ - public function setParentPath(array $parentPath = null) + public function setParentPath(?array $parentPath = null) { $this->parentPath = $parentPath; return $this; @@ -385,7 +385,7 @@ public function getAdUnitSizes() * @param \Google\AdsApi\AdManager\v202511\AdUnitSize[]|null $adUnitSizes * @return \Google\AdsApi\AdManager\v202511\AdUnit */ - public function setAdUnitSizes(array $adUnitSizes = null) + public function setAdUnitSizes(?array $adUnitSizes = null) { $this->adUnitSizes = $adUnitSizes; return $this; @@ -511,7 +511,7 @@ public function getAppliedLabelFrequencyCaps() * @param \Google\AdsApi\AdManager\v202511\LabelFrequencyCap[]|null $appliedLabelFrequencyCaps * @return \Google\AdsApi\AdManager\v202511\AdUnit */ - public function setAppliedLabelFrequencyCaps(array $appliedLabelFrequencyCaps = null) + public function setAppliedLabelFrequencyCaps(?array $appliedLabelFrequencyCaps = null) { $this->appliedLabelFrequencyCaps = $appliedLabelFrequencyCaps; return $this; @@ -529,7 +529,7 @@ public function getEffectiveLabelFrequencyCaps() * @param \Google\AdsApi\AdManager\v202511\LabelFrequencyCap[]|null $effectiveLabelFrequencyCaps * @return \Google\AdsApi\AdManager\v202511\AdUnit */ - public function setEffectiveLabelFrequencyCaps(array $effectiveLabelFrequencyCaps = null) + public function setEffectiveLabelFrequencyCaps(?array $effectiveLabelFrequencyCaps = null) { $this->effectiveLabelFrequencyCaps = $effectiveLabelFrequencyCaps; return $this; @@ -547,7 +547,7 @@ public function getAppliedLabels() * @param \Google\AdsApi\AdManager\v202511\AppliedLabel[]|null $appliedLabels * @return \Google\AdsApi\AdManager\v202511\AdUnit */ - public function setAppliedLabels(array $appliedLabels = null) + public function setAppliedLabels(?array $appliedLabels = null) { $this->appliedLabels = $appliedLabels; return $this; @@ -565,7 +565,7 @@ public function getEffectiveAppliedLabels() * @param \Google\AdsApi\AdManager\v202511\AppliedLabel[]|null $effectiveAppliedLabels * @return \Google\AdsApi\AdManager\v202511\AdUnit */ - public function setEffectiveAppliedLabels(array $effectiveAppliedLabels = null) + public function setEffectiveAppliedLabels(?array $effectiveAppliedLabels = null) { $this->effectiveAppliedLabels = $effectiveAppliedLabels; return $this; @@ -583,7 +583,7 @@ public function getEffectiveTeamIds() * @param int[]|null $effectiveTeamIds * @return \Google\AdsApi\AdManager\v202511\AdUnit */ - public function setEffectiveTeamIds(array $effectiveTeamIds = null) + public function setEffectiveTeamIds(?array $effectiveTeamIds = null) { $this->effectiveTeamIds = $effectiveTeamIds; return $this; @@ -601,7 +601,7 @@ public function getAppliedTeamIds() * @param int[]|null $appliedTeamIds * @return \Google\AdsApi\AdManager\v202511\AdUnit */ - public function setAppliedTeamIds(array $appliedTeamIds = null) + public function setAppliedTeamIds(?array $appliedTeamIds = null) { $this->appliedTeamIds = $appliedTeamIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/AdUnitCodeError.php b/src/Google/AdsApi/AdManager/v202511/AdUnitCodeError.php index 04bcf737c..e587bb6d2 100644 --- a/src/Google/AdsApi/AdManager/v202511/AdUnitCodeError.php +++ b/src/Google/AdsApi/AdManager/v202511/AdUnitCodeError.php @@ -21,7 +21,7 @@ class AdUnitCodeError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/AdUnitHierarchyError.php b/src/Google/AdsApi/AdManager/v202511/AdUnitHierarchyError.php index 451f5da7a..ff6bedc8e 100644 --- a/src/Google/AdsApi/AdManager/v202511/AdUnitHierarchyError.php +++ b/src/Google/AdsApi/AdManager/v202511/AdUnitHierarchyError.php @@ -21,7 +21,7 @@ class AdUnitHierarchyError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/AdUnitPage.php b/src/Google/AdsApi/AdManager/v202511/AdUnitPage.php index 6896a8db7..6bed79ca3 100644 --- a/src/Google/AdsApi/AdManager/v202511/AdUnitPage.php +++ b/src/Google/AdsApi/AdManager/v202511/AdUnitPage.php @@ -29,7 +29,7 @@ class AdUnitPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\AdUnit[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\AdUnit[]|null $results * @return \Google\AdsApi\AdManager\v202511\AdUnitPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/AdUnitSize.php b/src/Google/AdsApi/AdManager/v202511/AdUnitSize.php index c16158a29..1cd97a1bc 100644 --- a/src/Google/AdsApi/AdManager/v202511/AdUnitSize.php +++ b/src/Google/AdsApi/AdManager/v202511/AdUnitSize.php @@ -41,7 +41,7 @@ class AdUnitSize * @param string $fullDisplayString * @param boolean $isAudio */ - public function __construct($size = null, $environmentType = null, array $companions = null, $fullDisplayString = null, $isAudio = null) + public function __construct($size = null, $environmentType = null, ?array $companions = null, $fullDisplayString = null, $isAudio = null) { $this->size = $size; $this->environmentType = $environmentType; @@ -98,7 +98,7 @@ public function getCompanions() * @param \Google\AdsApi\AdManager\v202511\AdUnitSize[]|null $companions * @return \Google\AdsApi\AdManager\v202511\AdUnitSize */ - public function setCompanions(array $companions = null) + public function setCompanions(?array $companions = null) { $this->companions = $companions; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/ApiError.php b/src/Google/AdsApi/AdManager/v202511/ApiError.php index 52d6d8e05..dbc89d43e 100644 --- a/src/Google/AdsApi/AdManager/v202511/ApiError.php +++ b/src/Google/AdsApi/AdManager/v202511/ApiError.php @@ -35,7 +35,7 @@ abstract class ApiError * @param string $trigger * @param string $errorString */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null) { $this->fieldPath = $fieldPath; $this->fieldPathElements = $fieldPathElements; @@ -73,7 +73,7 @@ public function getFieldPathElements() * @param \Google\AdsApi\AdManager\v202511\FieldPathElement[]|null $fieldPathElements * @return \Google\AdsApi\AdManager\v202511\ApiError */ - public function setFieldPathElements(array $fieldPathElements = null) + public function setFieldPathElements(?array $fieldPathElements = null) { $this->fieldPathElements = $fieldPathElements; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/ApiException.php b/src/Google/AdsApi/AdManager/v202511/ApiException.php index 94bc6ea90..2cf783f89 100644 --- a/src/Google/AdsApi/AdManager/v202511/ApiException.php +++ b/src/Google/AdsApi/AdManager/v202511/ApiException.php @@ -19,7 +19,7 @@ class ApiException extends \Google\AdsApi\AdManager\v202511\ApplicationException * @param string $message1 * @param \Google\AdsApi\AdManager\v202511\ApiError[] $errors */ - public function __construct($message = null, $message1 = null, array $errors = null) + public function __construct($message = null, $message1 = null, ?array $errors = null) { parent::__construct($message, $message1); $this->errors = $errors; @@ -37,7 +37,7 @@ public function getErrors() * @param \Google\AdsApi\AdManager\v202511\ApiError[]|null $errors * @return \Google\AdsApi\AdManager\v202511\ApiException */ - public function setErrors(array $errors = null) + public function setErrors(?array $errors = null) { $this->errors = $errors; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/ApiVersionError.php b/src/Google/AdsApi/AdManager/v202511/ApiVersionError.php index 2290e4822..6e95c5250 100644 --- a/src/Google/AdsApi/AdManager/v202511/ApiVersionError.php +++ b/src/Google/AdsApi/AdManager/v202511/ApiVersionError.php @@ -21,7 +21,7 @@ class ApiVersionError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/AspectRatioImageCreative.php b/src/Google/AdsApi/AdManager/v202511/AspectRatioImageCreative.php index 4aafc456c..02e374a50 100644 --- a/src/Google/AdsApi/AdManager/v202511/AspectRatioImageCreative.php +++ b/src/Google/AdsApi/AdManager/v202511/AspectRatioImageCreative.php @@ -50,7 +50,7 @@ class AspectRatioImageCreative extends \Google\AdsApi\AdManager\v202511\HasDesti * @param string[] $thirdPartyImpressionTrackingUrls * @param boolean $overrideSize */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, array $imageAssets = null, $altText = null, array $thirdPartyImpressionTrackingUrls = null, $overrideSize = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, ?array $imageAssets = null, $altText = null, ?array $thirdPartyImpressionTrackingUrls = null, $overrideSize = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $thirdPartyDataDeclarationStatus, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent, $destinationUrl, $destinationUrlType); $this->imageAssets = $imageAssets; @@ -71,7 +71,7 @@ public function getImageAssets() * @param \Google\AdsApi\AdManager\v202511\CreativeAsset[]|null $imageAssets * @return \Google\AdsApi\AdManager\v202511\AspectRatioImageCreative */ - public function setImageAssets(array $imageAssets = null) + public function setImageAssets(?array $imageAssets = null) { $this->imageAssets = $imageAssets; return $this; @@ -107,7 +107,7 @@ public function getThirdPartyImpressionTrackingUrls() * @param string[]|null $thirdPartyImpressionTrackingUrls * @return \Google\AdsApi\AdManager\v202511\AspectRatioImageCreative */ - public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) + public function setThirdPartyImpressionTrackingUrls(?array $thirdPartyImpressionTrackingUrls = null) { $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/AssetCreativeTemplateVariable.php b/src/Google/AdsApi/AdManager/v202511/AssetCreativeTemplateVariable.php index 0d00fbe5c..6bdae96a3 100644 --- a/src/Google/AdsApi/AdManager/v202511/AssetCreativeTemplateVariable.php +++ b/src/Google/AdsApi/AdManager/v202511/AssetCreativeTemplateVariable.php @@ -21,7 +21,7 @@ class AssetCreativeTemplateVariable extends \Google\AdsApi\AdManager\v202511\Cre * @param boolean $isRequired * @param string[] $mimeTypes */ - public function __construct($label = null, $uniqueName = null, $description = null, $isRequired = null, array $mimeTypes = null) + public function __construct($label = null, $uniqueName = null, $description = null, $isRequired = null, ?array $mimeTypes = null) { parent::__construct($label, $uniqueName, $description, $isRequired); $this->mimeTypes = $mimeTypes; @@ -39,7 +39,7 @@ public function getMimeTypes() * @param string[]|null $mimeTypes * @return \Google\AdsApi\AdManager\v202511\AssetCreativeTemplateVariable */ - public function setMimeTypes(array $mimeTypes = null) + public function setMimeTypes(?array $mimeTypes = null) { $this->mimeTypes = $mimeTypes; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/AssetError.php b/src/Google/AdsApi/AdManager/v202511/AssetError.php index e9a15b064..22d57898c 100644 --- a/src/Google/AdsApi/AdManager/v202511/AssetError.php +++ b/src/Google/AdsApi/AdManager/v202511/AssetError.php @@ -21,7 +21,7 @@ class AssetError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/AudienceExtensionError.php b/src/Google/AdsApi/AdManager/v202511/AudienceExtensionError.php index 70571fda9..5fdfaadd1 100644 --- a/src/Google/AdsApi/AdManager/v202511/AudienceExtensionError.php +++ b/src/Google/AdsApi/AdManager/v202511/AudienceExtensionError.php @@ -21,7 +21,7 @@ class AudienceExtensionError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/AudienceSegment.php b/src/Google/AdsApi/AdManager/v202511/AudienceSegment.php index 3c1f2e648..8cffff6e6 100644 --- a/src/Google/AdsApi/AdManager/v202511/AudienceSegment.php +++ b/src/Google/AdsApi/AdManager/v202511/AudienceSegment.php @@ -83,7 +83,7 @@ class AudienceSegment * @param \Google\AdsApi\AdManager\v202511\AudienceSegmentDataProvider $dataProvider * @param string $type */ - public function __construct($id = null, $name = null, array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null) + public function __construct($id = null, $name = null, ?array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null) { $this->id = $id; $this->name = $name; @@ -148,7 +148,7 @@ public function getCategoryIds() * @param int[]|null $categoryIds * @return \Google\AdsApi\AdManager\v202511\AudienceSegment */ - public function setCategoryIds(array $categoryIds = null) + public function setCategoryIds(?array $categoryIds = null) { $this->categoryIds = $categoryIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/AudienceSegmentCriteria.php b/src/Google/AdsApi/AdManager/v202511/AudienceSegmentCriteria.php index d2741bd51..097e5df58 100644 --- a/src/Google/AdsApi/AdManager/v202511/AudienceSegmentCriteria.php +++ b/src/Google/AdsApi/AdManager/v202511/AudienceSegmentCriteria.php @@ -23,7 +23,7 @@ class AudienceSegmentCriteria extends \Google\AdsApi\AdManager\v202511\CustomCri * @param string $operator * @param int[] $audienceSegmentIds */ - public function __construct($operator = null, array $audienceSegmentIds = null) + public function __construct($operator = null, ?array $audienceSegmentIds = null) { $this->operator = $operator; $this->audienceSegmentIds = $audienceSegmentIds; @@ -59,7 +59,7 @@ public function getAudienceSegmentIds() * @param int[]|null $audienceSegmentIds * @return \Google\AdsApi\AdManager\v202511\AudienceSegmentCriteria */ - public function setAudienceSegmentIds(array $audienceSegmentIds = null) + public function setAudienceSegmentIds(?array $audienceSegmentIds = null) { $this->audienceSegmentIds = $audienceSegmentIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/AudienceSegmentError.php b/src/Google/AdsApi/AdManager/v202511/AudienceSegmentError.php index 834a765a2..48ba8b311 100644 --- a/src/Google/AdsApi/AdManager/v202511/AudienceSegmentError.php +++ b/src/Google/AdsApi/AdManager/v202511/AudienceSegmentError.php @@ -21,7 +21,7 @@ class AudienceSegmentError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/AudienceSegmentPage.php b/src/Google/AdsApi/AdManager/v202511/AudienceSegmentPage.php index ccdfca968..21f63b549 100644 --- a/src/Google/AdsApi/AdManager/v202511/AudienceSegmentPage.php +++ b/src/Google/AdsApi/AdManager/v202511/AudienceSegmentPage.php @@ -29,7 +29,7 @@ class AudienceSegmentPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\AudienceSegment[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\AudienceSegment[]|null $results * @return \Google\AdsApi\AdManager\v202511\AudienceSegmentPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/AudioCreative.php b/src/Google/AdsApi/AdManager/v202511/AudioCreative.php index ec6a3920f..d044d4823 100644 --- a/src/Google/AdsApi/AdManager/v202511/AudioCreative.php +++ b/src/Google/AdsApi/AdManager/v202511/AudioCreative.php @@ -43,7 +43,7 @@ class AudioCreative extends \Google\AdsApi\AdManager\v202511\BaseAudioCreative * @param string $sslManualOverride * @param string $audioSourceUrl */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, array $trackingUrls = null, array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $audioSourceUrl = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, ?array $trackingUrls = null, ?array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $audioSourceUrl = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $thirdPartyDataDeclarationStatus, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent, $destinationUrl, $destinationUrlType, $duration, $allowDurationOverride, $trackingUrls, $companionCreativeIds, $customParameters, $adId, $adIdType, $skippableAdType, $vastPreviewUrl, $sslScanResult, $sslManualOverride); $this->audioSourceUrl = $audioSourceUrl; diff --git a/src/Google/AdsApi/AdManager/v202511/AudioRedirectCreative.php b/src/Google/AdsApi/AdManager/v202511/AudioRedirectCreative.php index 0d06cadd6..23fe2eb5d 100644 --- a/src/Google/AdsApi/AdManager/v202511/AudioRedirectCreative.php +++ b/src/Google/AdsApi/AdManager/v202511/AudioRedirectCreative.php @@ -49,7 +49,7 @@ class AudioRedirectCreative extends \Google\AdsApi\AdManager\v202511\BaseAudioCr * @param \Google\AdsApi\AdManager\v202511\VideoRedirectAsset[] $audioAssets * @param \Google\AdsApi\AdManager\v202511\VideoRedirectAsset $mezzanineFile */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, array $trackingUrls = null, array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, array $audioAssets = null, $mezzanineFile = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, ?array $trackingUrls = null, ?array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, ?array $audioAssets = null, $mezzanineFile = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $thirdPartyDataDeclarationStatus, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent, $destinationUrl, $destinationUrlType, $duration, $allowDurationOverride, $trackingUrls, $companionCreativeIds, $customParameters, $adId, $adIdType, $skippableAdType, $vastPreviewUrl, $sslScanResult, $sslManualOverride); $this->audioAssets = $audioAssets; @@ -68,7 +68,7 @@ public function getAudioAssets() * @param \Google\AdsApi\AdManager\v202511\VideoRedirectAsset[]|null $audioAssets * @return \Google\AdsApi\AdManager\v202511\AudioRedirectCreative */ - public function setAudioAssets(array $audioAssets = null) + public function setAudioAssets(?array $audioAssets = null) { $this->audioAssets = $audioAssets; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/AuthenticationError.php b/src/Google/AdsApi/AdManager/v202511/AuthenticationError.php index 4935fdf0d..b9d917dbe 100644 --- a/src/Google/AdsApi/AdManager/v202511/AuthenticationError.php +++ b/src/Google/AdsApi/AdManager/v202511/AuthenticationError.php @@ -21,7 +21,7 @@ class AuthenticationError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/AvailabilityForecast.php b/src/Google/AdsApi/AdManager/v202511/AvailabilityForecast.php index fe1502f1c..353d265b7 100644 --- a/src/Google/AdsApi/AdManager/v202511/AvailabilityForecast.php +++ b/src/Google/AdsApi/AdManager/v202511/AvailabilityForecast.php @@ -83,7 +83,7 @@ class AvailabilityForecast * @param \Google\AdsApi\AdManager\v202511\ContendingLineItem[] $contendingLineItems * @param \Google\AdsApi\AdManager\v202511\AlternativeUnitTypeForecast[] $alternativeUnitTypeForecasts */ - public function __construct($lineItemId = null, $orderId = null, $unitType = null, $availableUnits = null, $deliveredUnits = null, $matchedUnits = null, $possibleUnits = null, $reservedUnits = null, array $breakdowns = null, array $targetingCriteriaBreakdowns = null, array $contendingLineItems = null, array $alternativeUnitTypeForecasts = null) + public function __construct($lineItemId = null, $orderId = null, $unitType = null, $availableUnits = null, $deliveredUnits = null, $matchedUnits = null, $possibleUnits = null, $reservedUnits = null, ?array $breakdowns = null, ?array $targetingCriteriaBreakdowns = null, ?array $contendingLineItems = null, ?array $alternativeUnitTypeForecasts = null) { $this->lineItemId = $lineItemId; $this->orderId = $orderId; @@ -262,7 +262,7 @@ public function getBreakdowns() * @param \Google\AdsApi\AdManager\v202511\ForecastBreakdown[]|null $breakdowns * @return \Google\AdsApi\AdManager\v202511\AvailabilityForecast */ - public function setBreakdowns(array $breakdowns = null) + public function setBreakdowns(?array $breakdowns = null) { $this->breakdowns = $breakdowns; return $this; @@ -280,7 +280,7 @@ public function getTargetingCriteriaBreakdowns() * @param \Google\AdsApi\AdManager\v202511\TargetingCriteriaBreakdown[]|null $targetingCriteriaBreakdowns * @return \Google\AdsApi\AdManager\v202511\AvailabilityForecast */ - public function setTargetingCriteriaBreakdowns(array $targetingCriteriaBreakdowns = null) + public function setTargetingCriteriaBreakdowns(?array $targetingCriteriaBreakdowns = null) { $this->targetingCriteriaBreakdowns = $targetingCriteriaBreakdowns; return $this; @@ -298,7 +298,7 @@ public function getContendingLineItems() * @param \Google\AdsApi\AdManager\v202511\ContendingLineItem[]|null $contendingLineItems * @return \Google\AdsApi\AdManager\v202511\AvailabilityForecast */ - public function setContendingLineItems(array $contendingLineItems = null) + public function setContendingLineItems(?array $contendingLineItems = null) { $this->contendingLineItems = $contendingLineItems; return $this; @@ -316,7 +316,7 @@ public function getAlternativeUnitTypeForecasts() * @param \Google\AdsApi\AdManager\v202511\AlternativeUnitTypeForecast[]|null $alternativeUnitTypeForecasts * @return \Google\AdsApi\AdManager\v202511\AvailabilityForecast */ - public function setAlternativeUnitTypeForecasts(array $alternativeUnitTypeForecasts = null) + public function setAlternativeUnitTypeForecasts(?array $alternativeUnitTypeForecasts = null) { $this->alternativeUnitTypeForecasts = $alternativeUnitTypeForecasts; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/BandwidthGroupTargeting.php b/src/Google/AdsApi/AdManager/v202511/BandwidthGroupTargeting.php index 84a918c12..f632513a6 100644 --- a/src/Google/AdsApi/AdManager/v202511/BandwidthGroupTargeting.php +++ b/src/Google/AdsApi/AdManager/v202511/BandwidthGroupTargeting.php @@ -23,7 +23,7 @@ class BandwidthGroupTargeting * @param boolean $isTargeted * @param \Google\AdsApi\AdManager\v202511\Technology[] $bandwidthGroups */ - public function __construct($isTargeted = null, array $bandwidthGroups = null) + public function __construct($isTargeted = null, ?array $bandwidthGroups = null) { $this->isTargeted = $isTargeted; $this->bandwidthGroups = $bandwidthGroups; @@ -59,7 +59,7 @@ public function getBandwidthGroups() * @param \Google\AdsApi\AdManager\v202511\Technology[]|null $bandwidthGroups * @return \Google\AdsApi\AdManager\v202511\BandwidthGroupTargeting */ - public function setBandwidthGroups(array $bandwidthGroups = null) + public function setBandwidthGroups(?array $bandwidthGroups = null) { $this->bandwidthGroups = $bandwidthGroups; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/BaseAudioCreative.php b/src/Google/AdsApi/AdManager/v202511/BaseAudioCreative.php index 45e40a342..b51d69947 100644 --- a/src/Google/AdsApi/AdManager/v202511/BaseAudioCreative.php +++ b/src/Google/AdsApi/AdManager/v202511/BaseAudioCreative.php @@ -92,7 +92,7 @@ abstract class BaseAudioCreative extends \Google\AdsApi\AdManager\v202511\HasDes * @param string $sslScanResult * @param string $sslManualOverride */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, array $trackingUrls = null, array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, ?array $trackingUrls = null, ?array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $thirdPartyDataDeclarationStatus, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent, $destinationUrl, $destinationUrlType); $this->duration = $duration; @@ -156,7 +156,7 @@ public function getTrackingUrls() * @param \Google\AdsApi\AdManager\v202511\ConversionEvent_TrackingUrlsMapEntry[]|null $trackingUrls * @return \Google\AdsApi\AdManager\v202511\BaseAudioCreative */ - public function setTrackingUrls(array $trackingUrls = null) + public function setTrackingUrls(?array $trackingUrls = null) { $this->trackingUrls = $trackingUrls; return $this; @@ -174,7 +174,7 @@ public function getCompanionCreativeIds() * @param int[]|null $companionCreativeIds * @return \Google\AdsApi\AdManager\v202511\BaseAudioCreative */ - public function setCompanionCreativeIds(array $companionCreativeIds = null) + public function setCompanionCreativeIds(?array $companionCreativeIds = null) { $this->companionCreativeIds = $companionCreativeIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/BaseDynamicAllocationCreative.php b/src/Google/AdsApi/AdManager/v202511/BaseDynamicAllocationCreative.php index e77cb0756..49e93bcbc 100644 --- a/src/Google/AdsApi/AdManager/v202511/BaseDynamicAllocationCreative.php +++ b/src/Google/AdsApi/AdManager/v202511/BaseDynamicAllocationCreative.php @@ -24,7 +24,7 @@ abstract class BaseDynamicAllocationCreative extends \Google\AdsApi\AdManager\v2 * @param boolean $adBadgingEnabled * @param boolean $selfDeclaredEuropeanUnionPoliticalContent */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $thirdPartyDataDeclarationStatus, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent); } diff --git a/src/Google/AdsApi/AdManager/v202511/BaseImageCreative.php b/src/Google/AdsApi/AdManager/v202511/BaseImageCreative.php index 8c87a8f18..685bd2047 100644 --- a/src/Google/AdsApi/AdManager/v202511/BaseImageCreative.php +++ b/src/Google/AdsApi/AdManager/v202511/BaseImageCreative.php @@ -38,7 +38,7 @@ abstract class BaseImageCreative extends \Google\AdsApi\AdManager\v202511\HasDes * @param boolean $overrideSize * @param \Google\AdsApi\AdManager\v202511\CreativeAsset $primaryImageAsset */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $overrideSize = null, $primaryImageAsset = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $overrideSize = null, $primaryImageAsset = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $thirdPartyDataDeclarationStatus, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent, $destinationUrl, $destinationUrlType); $this->overrideSize = $overrideSize; diff --git a/src/Google/AdsApi/AdManager/v202511/BaseImageRedirectCreative.php b/src/Google/AdsApi/AdManager/v202511/BaseImageRedirectCreative.php index 47938d25a..b6c84dc76 100644 --- a/src/Google/AdsApi/AdManager/v202511/BaseImageRedirectCreative.php +++ b/src/Google/AdsApi/AdManager/v202511/BaseImageRedirectCreative.php @@ -32,7 +32,7 @@ abstract class BaseImageRedirectCreative extends \Google\AdsApi\AdManager\v20251 * @param string $destinationUrlType * @param string $imageUrl */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $imageUrl = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $imageUrl = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $thirdPartyDataDeclarationStatus, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent, $destinationUrl, $destinationUrlType); $this->imageUrl = $imageUrl; diff --git a/src/Google/AdsApi/AdManager/v202511/BaseRichMediaStudioCreative.php b/src/Google/AdsApi/AdManager/v202511/BaseRichMediaStudioCreative.php index 45b2f03a3..1a63cc819 100644 --- a/src/Google/AdsApi/AdManager/v202511/BaseRichMediaStudioCreative.php +++ b/src/Google/AdsApi/AdManager/v202511/BaseRichMediaStudioCreative.php @@ -126,7 +126,7 @@ abstract class BaseRichMediaStudioCreative extends \Google\AdsApi\AdManager\v202 * @param string $sslScanResult * @param string $sslManualOverride */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $studioCreativeId = null, $creativeFormat = null, $artworkType = null, $totalFileSize = null, array $adTagKeys = null, array $customKeyValues = null, $surveyUrl = null, $allImpressionsUrl = null, $richMediaImpressionsUrl = null, $backupImageImpressionsUrl = null, $overrideCss = null, $requiredFlashPluginVersion = null, $duration = null, $billingAttribute = null, array $richMediaStudioChildAssetProperties = null, $sslScanResult = null, $sslManualOverride = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $studioCreativeId = null, $creativeFormat = null, $artworkType = null, $totalFileSize = null, ?array $adTagKeys = null, ?array $customKeyValues = null, $surveyUrl = null, $allImpressionsUrl = null, $richMediaImpressionsUrl = null, $backupImageImpressionsUrl = null, $overrideCss = null, $requiredFlashPluginVersion = null, $duration = null, $billingAttribute = null, ?array $richMediaStudioChildAssetProperties = null, $sslScanResult = null, $sslManualOverride = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $thirdPartyDataDeclarationStatus, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent); $this->studioCreativeId = $studioCreativeId; @@ -234,7 +234,7 @@ public function getAdTagKeys() * @param string[]|null $adTagKeys * @return \Google\AdsApi\AdManager\v202511\BaseRichMediaStudioCreative */ - public function setAdTagKeys(array $adTagKeys = null) + public function setAdTagKeys(?array $adTagKeys = null) { $this->adTagKeys = $adTagKeys; return $this; @@ -252,7 +252,7 @@ public function getCustomKeyValues() * @param string[]|null $customKeyValues * @return \Google\AdsApi\AdManager\v202511\BaseRichMediaStudioCreative */ - public function setCustomKeyValues(array $customKeyValues = null) + public function setCustomKeyValues(?array $customKeyValues = null) { $this->customKeyValues = $customKeyValues; return $this; @@ -414,7 +414,7 @@ public function getRichMediaStudioChildAssetProperties() * @param \Google\AdsApi\AdManager\v202511\RichMediaStudioChildAssetProperty[]|null $richMediaStudioChildAssetProperties * @return \Google\AdsApi\AdManager\v202511\BaseRichMediaStudioCreative */ - public function setRichMediaStudioChildAssetProperties(array $richMediaStudioChildAssetProperties = null) + public function setRichMediaStudioChildAssetProperties(?array $richMediaStudioChildAssetProperties = null) { $this->richMediaStudioChildAssetProperties = $richMediaStudioChildAssetProperties; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/BaseVideoCreative.php b/src/Google/AdsApi/AdManager/v202511/BaseVideoCreative.php index 8e5fe2f4b..f7355e6b3 100644 --- a/src/Google/AdsApi/AdManager/v202511/BaseVideoCreative.php +++ b/src/Google/AdsApi/AdManager/v202511/BaseVideoCreative.php @@ -92,7 +92,7 @@ abstract class BaseVideoCreative extends \Google\AdsApi\AdManager\v202511\HasDes * @param string $sslScanResult * @param string $sslManualOverride */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, array $trackingUrls = null, array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, ?array $trackingUrls = null, ?array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $thirdPartyDataDeclarationStatus, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent, $destinationUrl, $destinationUrlType); $this->duration = $duration; @@ -156,7 +156,7 @@ public function getTrackingUrls() * @param \Google\AdsApi\AdManager\v202511\ConversionEvent_TrackingUrlsMapEntry[]|null $trackingUrls * @return \Google\AdsApi\AdManager\v202511\BaseVideoCreative */ - public function setTrackingUrls(array $trackingUrls = null) + public function setTrackingUrls(?array $trackingUrls = null) { $this->trackingUrls = $trackingUrls; return $this; @@ -174,7 +174,7 @@ public function getCompanionCreativeIds() * @param int[]|null $companionCreativeIds * @return \Google\AdsApi\AdManager\v202511\BaseVideoCreative */ - public function setCompanionCreativeIds(array $companionCreativeIds = null) + public function setCompanionCreativeIds(?array $companionCreativeIds = null) { $this->companionCreativeIds = $companionCreativeIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/BillingError.php b/src/Google/AdsApi/AdManager/v202511/BillingError.php index b67f4cca5..b85a91982 100644 --- a/src/Google/AdsApi/AdManager/v202511/BillingError.php +++ b/src/Google/AdsApi/AdManager/v202511/BillingError.php @@ -21,7 +21,7 @@ class BillingError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/BreakTemplate.php b/src/Google/AdsApi/AdManager/v202511/BreakTemplate.php index d0dbc1929..2f76c36c6 100644 --- a/src/Google/AdsApi/AdManager/v202511/BreakTemplate.php +++ b/src/Google/AdsApi/AdManager/v202511/BreakTemplate.php @@ -41,7 +41,7 @@ class BreakTemplate * @param string $displayName * @param \Google\AdsApi\AdManager\v202511\BreakTemplateBreakTemplateMember[] $breakTemplateMembers */ - public function __construct($id = null, $customTemplate = null, $name = null, $displayName = null, array $breakTemplateMembers = null) + public function __construct($id = null, $customTemplate = null, $name = null, $displayName = null, ?array $breakTemplateMembers = null) { $this->id = $id; $this->customTemplate = $customTemplate; @@ -135,7 +135,7 @@ public function getBreakTemplateMembers() * @param \Google\AdsApi\AdManager\v202511\BreakTemplateBreakTemplateMember[]|null $breakTemplateMembers * @return \Google\AdsApi\AdManager\v202511\BreakTemplate */ - public function setBreakTemplateMembers(array $breakTemplateMembers = null) + public function setBreakTemplateMembers(?array $breakTemplateMembers = null) { $this->breakTemplateMembers = $breakTemplateMembers; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/BreakTemplatePage.php b/src/Google/AdsApi/AdManager/v202511/BreakTemplatePage.php index f9ab9f66c..fc5a7edfa 100644 --- a/src/Google/AdsApi/AdManager/v202511/BreakTemplatePage.php +++ b/src/Google/AdsApi/AdManager/v202511/BreakTemplatePage.php @@ -29,7 +29,7 @@ class BreakTemplatePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\BreakTemplate[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\BreakTemplate[]|null $results * @return \Google\AdsApi\AdManager\v202511\BreakTemplatePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/BrowserLanguageTargeting.php b/src/Google/AdsApi/AdManager/v202511/BrowserLanguageTargeting.php index 9aea3a1a0..dc1fa5685 100644 --- a/src/Google/AdsApi/AdManager/v202511/BrowserLanguageTargeting.php +++ b/src/Google/AdsApi/AdManager/v202511/BrowserLanguageTargeting.php @@ -23,7 +23,7 @@ class BrowserLanguageTargeting * @param boolean $isTargeted * @param \Google\AdsApi\AdManager\v202511\Technology[] $browserLanguages */ - public function __construct($isTargeted = null, array $browserLanguages = null) + public function __construct($isTargeted = null, ?array $browserLanguages = null) { $this->isTargeted = $isTargeted; $this->browserLanguages = $browserLanguages; @@ -59,7 +59,7 @@ public function getBrowserLanguages() * @param \Google\AdsApi\AdManager\v202511\Technology[]|null $browserLanguages * @return \Google\AdsApi\AdManager\v202511\BrowserLanguageTargeting */ - public function setBrowserLanguages(array $browserLanguages = null) + public function setBrowserLanguages(?array $browserLanguages = null) { $this->browserLanguages = $browserLanguages; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/BrowserTargeting.php b/src/Google/AdsApi/AdManager/v202511/BrowserTargeting.php index 703daa216..d6a2cbce5 100644 --- a/src/Google/AdsApi/AdManager/v202511/BrowserTargeting.php +++ b/src/Google/AdsApi/AdManager/v202511/BrowserTargeting.php @@ -23,7 +23,7 @@ class BrowserTargeting * @param boolean $isTargeted * @param \Google\AdsApi\AdManager\v202511\Technology[] $browsers */ - public function __construct($isTargeted = null, array $browsers = null) + public function __construct($isTargeted = null, ?array $browsers = null) { $this->isTargeted = $isTargeted; $this->browsers = $browsers; @@ -59,7 +59,7 @@ public function getBrowsers() * @param \Google\AdsApi\AdManager\v202511\Technology[]|null $browsers * @return \Google\AdsApi\AdManager\v202511\BrowserTargeting */ - public function setBrowsers(array $browsers = null) + public function setBrowsers(?array $browsers = null) { $this->browsers = $browsers; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/BuyerRfp.php b/src/Google/AdsApi/AdManager/v202511/BuyerRfp.php index 9e95a9902..c7cbb5c80 100644 --- a/src/Google/AdsApi/AdManager/v202511/BuyerRfp.php +++ b/src/Google/AdsApi/AdManager/v202511/BuyerRfp.php @@ -83,7 +83,7 @@ class BuyerRfp * @param string $adExchangeEnvironment * @param string $rfpType */ - public function __construct($costPerUnit = null, $units = null, $budget = null, $currencyCode = null, $startDateTime = null, $endDateTime = null, $description = null, array $creativePlaceholders = null, $targeting = null, $additionalTerms = null, $adExchangeEnvironment = null, $rfpType = null) + public function __construct($costPerUnit = null, $units = null, $budget = null, $currencyCode = null, $startDateTime = null, $endDateTime = null, $description = null, ?array $creativePlaceholders = null, $targeting = null, $additionalTerms = null, $adExchangeEnvironment = null, $rfpType = null) { $this->costPerUnit = $costPerUnit; $this->units = $units; @@ -238,7 +238,7 @@ public function getCreativePlaceholders() * @param \Google\AdsApi\AdManager\v202511\CreativePlaceholder[]|null $creativePlaceholders * @return \Google\AdsApi\AdManager\v202511\BuyerRfp */ - public function setCreativePlaceholders(array $creativePlaceholders = null) + public function setCreativePlaceholders(?array $creativePlaceholders = null) { $this->creativePlaceholders = $creativePlaceholders; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/CdnConfigurationError.php b/src/Google/AdsApi/AdManager/v202511/CdnConfigurationError.php index 9374a9086..fde38ec40 100644 --- a/src/Google/AdsApi/AdManager/v202511/CdnConfigurationError.php +++ b/src/Google/AdsApi/AdManager/v202511/CdnConfigurationError.php @@ -21,7 +21,7 @@ class CdnConfigurationError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/CdnConfigurationPage.php b/src/Google/AdsApi/AdManager/v202511/CdnConfigurationPage.php index 97403db62..f8f900beb 100644 --- a/src/Google/AdsApi/AdManager/v202511/CdnConfigurationPage.php +++ b/src/Google/AdsApi/AdManager/v202511/CdnConfigurationPage.php @@ -29,7 +29,7 @@ class CdnConfigurationPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\CdnConfiguration[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\CdnConfiguration[]|null $results * @return \Google\AdsApi\AdManager\v202511\CdnConfigurationPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/ChildPublisher.php b/src/Google/AdsApi/AdManager/v202511/ChildPublisher.php index 97e2a063d..37a91d875 100644 --- a/src/Google/AdsApi/AdManager/v202511/ChildPublisher.php +++ b/src/Google/AdsApi/AdManager/v202511/ChildPublisher.php @@ -59,7 +59,7 @@ class ChildPublisher * @param int $proposedRevenueShareMillipercent * @param string[] $onboardingTasks */ - public function __construct($approvedDelegationType = null, $proposedDelegationType = null, $invitationStatus = null, $accountStatus = null, $childNetworkCode = null, $sellerId = null, $proposedRevenueShareMillipercent = null, array $onboardingTasks = null) + public function __construct($approvedDelegationType = null, $proposedDelegationType = null, $invitationStatus = null, $accountStatus = null, $childNetworkCode = null, $sellerId = null, $proposedRevenueShareMillipercent = null, ?array $onboardingTasks = null) { $this->approvedDelegationType = $approvedDelegationType; $this->proposedDelegationType = $proposedDelegationType; @@ -210,7 +210,7 @@ public function getOnboardingTasks() * @param string[]|null $onboardingTasks * @return \Google\AdsApi\AdManager\v202511\ChildPublisher */ - public function setOnboardingTasks(array $onboardingTasks = null) + public function setOnboardingTasks(?array $onboardingTasks = null) { $this->onboardingTasks = $onboardingTasks; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/ClickTrackingCreative.php b/src/Google/AdsApi/AdManager/v202511/ClickTrackingCreative.php index 9d32cc5f8..12274f317 100644 --- a/src/Google/AdsApi/AdManager/v202511/ClickTrackingCreative.php +++ b/src/Google/AdsApi/AdManager/v202511/ClickTrackingCreative.php @@ -30,7 +30,7 @@ class ClickTrackingCreative extends \Google\AdsApi\AdManager\v202511\Creative * @param boolean $selfDeclaredEuropeanUnionPoliticalContent * @param string $clickTrackingUrl */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $clickTrackingUrl = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $clickTrackingUrl = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $thirdPartyDataDeclarationStatus, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent); $this->clickTrackingUrl = $clickTrackingUrl; diff --git a/src/Google/AdsApi/AdManager/v202511/ClickTrackingLineItemError.php b/src/Google/AdsApi/AdManager/v202511/ClickTrackingLineItemError.php index eb67787d0..627136c96 100644 --- a/src/Google/AdsApi/AdManager/v202511/ClickTrackingLineItemError.php +++ b/src/Google/AdsApi/AdManager/v202511/ClickTrackingLineItemError.php @@ -21,7 +21,7 @@ class ClickTrackingLineItemError extends \Google\AdsApi\AdManager\v202511\ApiErr * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/CmsMetadataCriteria.php b/src/Google/AdsApi/AdManager/v202511/CmsMetadataCriteria.php index 33231cb27..e4ce2cf90 100644 --- a/src/Google/AdsApi/AdManager/v202511/CmsMetadataCriteria.php +++ b/src/Google/AdsApi/AdManager/v202511/CmsMetadataCriteria.php @@ -23,7 +23,7 @@ class CmsMetadataCriteria extends \Google\AdsApi\AdManager\v202511\CustomCriteri * @param string $operator * @param int[] $cmsMetadataValueIds */ - public function __construct($operator = null, array $cmsMetadataValueIds = null) + public function __construct($operator = null, ?array $cmsMetadataValueIds = null) { $this->operator = $operator; $this->cmsMetadataValueIds = $cmsMetadataValueIds; @@ -59,7 +59,7 @@ public function getCmsMetadataValueIds() * @param int[]|null $cmsMetadataValueIds * @return \Google\AdsApi\AdManager\v202511\CmsMetadataCriteria */ - public function setCmsMetadataValueIds(array $cmsMetadataValueIds = null) + public function setCmsMetadataValueIds(?array $cmsMetadataValueIds = null) { $this->cmsMetadataValueIds = $cmsMetadataValueIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/CmsMetadataKeyPage.php b/src/Google/AdsApi/AdManager/v202511/CmsMetadataKeyPage.php index 6c1da5287..356980b9f 100644 --- a/src/Google/AdsApi/AdManager/v202511/CmsMetadataKeyPage.php +++ b/src/Google/AdsApi/AdManager/v202511/CmsMetadataKeyPage.php @@ -29,7 +29,7 @@ class CmsMetadataKeyPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\CmsMetadataKey[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\CmsMetadataKey[]|null $results * @return \Google\AdsApi\AdManager\v202511\CmsMetadataKeyPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/CmsMetadataValuePage.php b/src/Google/AdsApi/AdManager/v202511/CmsMetadataValuePage.php index a8d08d20c..93a57641f 100644 --- a/src/Google/AdsApi/AdManager/v202511/CmsMetadataValuePage.php +++ b/src/Google/AdsApi/AdManager/v202511/CmsMetadataValuePage.php @@ -29,7 +29,7 @@ class CmsMetadataValuePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\CmsMetadataValue[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\CmsMetadataValue[]|null $results * @return \Google\AdsApi\AdManager\v202511\CmsMetadataValuePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/CollectionSizeError.php b/src/Google/AdsApi/AdManager/v202511/CollectionSizeError.php index f269663a3..a1132f947 100644 --- a/src/Google/AdsApi/AdManager/v202511/CollectionSizeError.php +++ b/src/Google/AdsApi/AdManager/v202511/CollectionSizeError.php @@ -21,7 +21,7 @@ class CollectionSizeError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/CommonError.php b/src/Google/AdsApi/AdManager/v202511/CommonError.php index 6d005b5bd..9efd97075 100644 --- a/src/Google/AdsApi/AdManager/v202511/CommonError.php +++ b/src/Google/AdsApi/AdManager/v202511/CommonError.php @@ -21,7 +21,7 @@ class CommonError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/Company.php b/src/Google/AdsApi/AdManager/v202511/Company.php index b0fa2d66a..84c2944f0 100644 --- a/src/Google/AdsApi/AdManager/v202511/Company.php +++ b/src/Google/AdsApi/AdManager/v202511/Company.php @@ -125,7 +125,7 @@ class Company * @param \Google\AdsApi\AdManager\v202511\ChildPublisher $childPublisher * @param \Google\AdsApi\AdManager\v202511\ViewabilityProvider $viewabilityProvider */ - public function __construct($id = null, $name = null, $type = null, $address = null, $email = null, $faxPhone = null, $primaryPhone = null, $externalId = null, $comment = null, $creditStatus = null, array $appliedLabels = null, $primaryContactId = null, array $appliedTeamIds = null, $thirdPartyCompanyId = null, $verifiedExchangeAdvertiserId = null, $verifiedExchangeBrandId = null, $lastModifiedDateTime = null, $childPublisher = null, $viewabilityProvider = null) + public function __construct($id = null, $name = null, $type = null, $address = null, $email = null, $faxPhone = null, $primaryPhone = null, $externalId = null, $comment = null, $creditStatus = null, ?array $appliedLabels = null, $primaryContactId = null, ?array $appliedTeamIds = null, $thirdPartyCompanyId = null, $verifiedExchangeAdvertiserId = null, $verifiedExchangeBrandId = null, $lastModifiedDateTime = null, $childPublisher = null, $viewabilityProvider = null) { $this->id = $id; $this->name = $name; @@ -341,7 +341,7 @@ public function getAppliedLabels() * @param \Google\AdsApi\AdManager\v202511\AppliedLabel[]|null $appliedLabels * @return \Google\AdsApi\AdManager\v202511\Company */ - public function setAppliedLabels(array $appliedLabels = null) + public function setAppliedLabels(?array $appliedLabels = null) { $this->appliedLabels = $appliedLabels; return $this; @@ -378,7 +378,7 @@ public function getAppliedTeamIds() * @param int[]|null $appliedTeamIds * @return \Google\AdsApi\AdManager\v202511\Company */ - public function setAppliedTeamIds(array $appliedTeamIds = null) + public function setAppliedTeamIds(?array $appliedTeamIds = null) { $this->appliedTeamIds = $appliedTeamIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/CompanyCreditStatusError.php b/src/Google/AdsApi/AdManager/v202511/CompanyCreditStatusError.php index 95a843737..456036305 100644 --- a/src/Google/AdsApi/AdManager/v202511/CompanyCreditStatusError.php +++ b/src/Google/AdsApi/AdManager/v202511/CompanyCreditStatusError.php @@ -21,7 +21,7 @@ class CompanyCreditStatusError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/CompanyError.php b/src/Google/AdsApi/AdManager/v202511/CompanyError.php index c8e52c0b8..079a3a1b8 100644 --- a/src/Google/AdsApi/AdManager/v202511/CompanyError.php +++ b/src/Google/AdsApi/AdManager/v202511/CompanyError.php @@ -21,7 +21,7 @@ class CompanyError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/CompanyPage.php b/src/Google/AdsApi/AdManager/v202511/CompanyPage.php index 1b43c7258..e95e9fc10 100644 --- a/src/Google/AdsApi/AdManager/v202511/CompanyPage.php +++ b/src/Google/AdsApi/AdManager/v202511/CompanyPage.php @@ -29,7 +29,7 @@ class CompanyPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\Company[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\Company[]|null $results * @return \Google\AdsApi\AdManager\v202511\CompanyPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/ContactError.php b/src/Google/AdsApi/AdManager/v202511/ContactError.php index 7c0067fff..f46891f4d 100644 --- a/src/Google/AdsApi/AdManager/v202511/ContactError.php +++ b/src/Google/AdsApi/AdManager/v202511/ContactError.php @@ -21,7 +21,7 @@ class ContactError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/ContactPage.php b/src/Google/AdsApi/AdManager/v202511/ContactPage.php index 26252c5ba..215a2d670 100644 --- a/src/Google/AdsApi/AdManager/v202511/ContactPage.php +++ b/src/Google/AdsApi/AdManager/v202511/ContactPage.php @@ -29,7 +29,7 @@ class ContactPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\Contact[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\Contact[]|null $results * @return \Google\AdsApi\AdManager\v202511\ContactPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/Content.php b/src/Google/AdsApi/AdManager/v202511/Content.php index 25f5b99fe..ae0413187 100644 --- a/src/Google/AdsApi/AdManager/v202511/Content.php +++ b/src/Google/AdsApi/AdManager/v202511/Content.php @@ -107,7 +107,7 @@ class Content * @param int[] $cmsMetadataValueIds * @param int $duration */ - public function __construct($id = null, $name = null, $status = null, $statusDefinedBy = null, $hlsIngestStatus = null, array $hlsIngestErrors = null, $lastHlsIngestDateTime = null, $dashIngestStatus = null, array $dashIngestErrors = null, $lastDashIngestDateTime = null, $importDateTime = null, $lastModifiedDateTime = null, array $cmsSources = null, array $contentBundleIds = null, array $cmsMetadataValueIds = null, $duration = null) + public function __construct($id = null, $name = null, $status = null, $statusDefinedBy = null, $hlsIngestStatus = null, ?array $hlsIngestErrors = null, $lastHlsIngestDateTime = null, $dashIngestStatus = null, ?array $dashIngestErrors = null, $lastDashIngestDateTime = null, $importDateTime = null, $lastModifiedDateTime = null, ?array $cmsSources = null, ?array $contentBundleIds = null, ?array $cmsMetadataValueIds = null, $duration = null) { $this->id = $id; $this->name = $name; @@ -230,7 +230,7 @@ public function getHlsIngestErrors() * @param \Google\AdsApi\AdManager\v202511\DaiIngestError[]|null $hlsIngestErrors * @return \Google\AdsApi\AdManager\v202511\Content */ - public function setHlsIngestErrors(array $hlsIngestErrors = null) + public function setHlsIngestErrors(?array $hlsIngestErrors = null) { $this->hlsIngestErrors = $hlsIngestErrors; return $this; @@ -284,7 +284,7 @@ public function getDashIngestErrors() * @param \Google\AdsApi\AdManager\v202511\DaiIngestError[]|null $dashIngestErrors * @return \Google\AdsApi\AdManager\v202511\Content */ - public function setDashIngestErrors(array $dashIngestErrors = null) + public function setDashIngestErrors(?array $dashIngestErrors = null) { $this->dashIngestErrors = $dashIngestErrors; return $this; @@ -356,7 +356,7 @@ public function getCmsSources() * @param \Google\AdsApi\AdManager\v202511\CmsContent[]|null $cmsSources * @return \Google\AdsApi\AdManager\v202511\Content */ - public function setCmsSources(array $cmsSources = null) + public function setCmsSources(?array $cmsSources = null) { $this->cmsSources = $cmsSources; return $this; @@ -374,7 +374,7 @@ public function getContentBundleIds() * @param int[]|null $contentBundleIds * @return \Google\AdsApi\AdManager\v202511\Content */ - public function setContentBundleIds(array $contentBundleIds = null) + public function setContentBundleIds(?array $contentBundleIds = null) { $this->contentBundleIds = $contentBundleIds; return $this; @@ -392,7 +392,7 @@ public function getCmsMetadataValueIds() * @param int[]|null $cmsMetadataValueIds * @return \Google\AdsApi\AdManager\v202511\Content */ - public function setCmsMetadataValueIds(array $cmsMetadataValueIds = null) + public function setCmsMetadataValueIds(?array $cmsMetadataValueIds = null) { $this->cmsMetadataValueIds = $cmsMetadataValueIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/ContentBundlePage.php b/src/Google/AdsApi/AdManager/v202511/ContentBundlePage.php index 9bc63d941..1daee294a 100644 --- a/src/Google/AdsApi/AdManager/v202511/ContentBundlePage.php +++ b/src/Google/AdsApi/AdManager/v202511/ContentBundlePage.php @@ -29,7 +29,7 @@ class ContentBundlePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\ContentBundle[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\ContentBundle[]|null $results * @return \Google\AdsApi\AdManager\v202511\ContentBundlePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/ContentFilterError.php b/src/Google/AdsApi/AdManager/v202511/ContentFilterError.php index 9cc732127..67d0fdec9 100644 --- a/src/Google/AdsApi/AdManager/v202511/ContentFilterError.php +++ b/src/Google/AdsApi/AdManager/v202511/ContentFilterError.php @@ -21,7 +21,7 @@ class ContentFilterError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/ContentLabelTargeting.php b/src/Google/AdsApi/AdManager/v202511/ContentLabelTargeting.php index 91f8233bd..de5d0cc1f 100644 --- a/src/Google/AdsApi/AdManager/v202511/ContentLabelTargeting.php +++ b/src/Google/AdsApi/AdManager/v202511/ContentLabelTargeting.php @@ -17,7 +17,7 @@ class ContentLabelTargeting /** * @param int[] $excludedContentLabelIds */ - public function __construct(array $excludedContentLabelIds = null) + public function __construct(?array $excludedContentLabelIds = null) { $this->excludedContentLabelIds = $excludedContentLabelIds; } @@ -34,7 +34,7 @@ public function getExcludedContentLabelIds() * @param int[]|null $excludedContentLabelIds * @return \Google\AdsApi\AdManager\v202511\ContentLabelTargeting */ - public function setExcludedContentLabelIds(array $excludedContentLabelIds = null) + public function setExcludedContentLabelIds(?array $excludedContentLabelIds = null) { $this->excludedContentLabelIds = $excludedContentLabelIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/ContentPage.php b/src/Google/AdsApi/AdManager/v202511/ContentPage.php index 8480076f7..694d5439b 100644 --- a/src/Google/AdsApi/AdManager/v202511/ContentPage.php +++ b/src/Google/AdsApi/AdManager/v202511/ContentPage.php @@ -29,7 +29,7 @@ class ContentPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\Content[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\Content[]|null $results * @return \Google\AdsApi\AdManager\v202511\ContentPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/ContentTargeting.php b/src/Google/AdsApi/AdManager/v202511/ContentTargeting.php index d6b2fd31c..3348fb552 100644 --- a/src/Google/AdsApi/AdManager/v202511/ContentTargeting.php +++ b/src/Google/AdsApi/AdManager/v202511/ContentTargeting.php @@ -35,7 +35,7 @@ class ContentTargeting * @param int[] $targetedVideoContentBundleIds * @param int[] $excludedVideoContentBundleIds */ - public function __construct(array $targetedContentIds = null, array $excludedContentIds = null, array $targetedVideoContentBundleIds = null, array $excludedVideoContentBundleIds = null) + public function __construct(?array $targetedContentIds = null, ?array $excludedContentIds = null, ?array $targetedVideoContentBundleIds = null, ?array $excludedVideoContentBundleIds = null) { $this->targetedContentIds = $targetedContentIds; $this->excludedContentIds = $excludedContentIds; @@ -55,7 +55,7 @@ public function getTargetedContentIds() * @param int[]|null $targetedContentIds * @return \Google\AdsApi\AdManager\v202511\ContentTargeting */ - public function setTargetedContentIds(array $targetedContentIds = null) + public function setTargetedContentIds(?array $targetedContentIds = null) { $this->targetedContentIds = $targetedContentIds; return $this; @@ -73,7 +73,7 @@ public function getExcludedContentIds() * @param int[]|null $excludedContentIds * @return \Google\AdsApi\AdManager\v202511\ContentTargeting */ - public function setExcludedContentIds(array $excludedContentIds = null) + public function setExcludedContentIds(?array $excludedContentIds = null) { $this->excludedContentIds = $excludedContentIds; return $this; @@ -91,7 +91,7 @@ public function getTargetedVideoContentBundleIds() * @param int[]|null $targetedVideoContentBundleIds * @return \Google\AdsApi\AdManager\v202511\ContentTargeting */ - public function setTargetedVideoContentBundleIds(array $targetedVideoContentBundleIds = null) + public function setTargetedVideoContentBundleIds(?array $targetedVideoContentBundleIds = null) { $this->targetedVideoContentBundleIds = $targetedVideoContentBundleIds; return $this; @@ -109,7 +109,7 @@ public function getExcludedVideoContentBundleIds() * @param int[]|null $excludedVideoContentBundleIds * @return \Google\AdsApi\AdManager\v202511\ContentTargeting */ - public function setExcludedVideoContentBundleIds(array $excludedVideoContentBundleIds = null) + public function setExcludedVideoContentBundleIds(?array $excludedVideoContentBundleIds = null) { $this->excludedVideoContentBundleIds = $excludedVideoContentBundleIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/Creative.php b/src/Google/AdsApi/AdManager/v202511/Creative.php index c129c10b3..11a6580a7 100644 --- a/src/Google/AdsApi/AdManager/v202511/Creative.php +++ b/src/Google/AdsApi/AdManager/v202511/Creative.php @@ -89,7 +89,7 @@ abstract class Creative * @param boolean $adBadgingEnabled * @param boolean $selfDeclaredEuropeanUnionPoliticalContent */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null) { $this->advertiserId = $advertiserId; $this->id = $id; @@ -210,7 +210,7 @@ public function getPolicyLabels() * @param string[]|null $policyLabels * @return \Google\AdsApi\AdManager\v202511\Creative */ - public function setPolicyLabels(array $policyLabels = null) + public function setPolicyLabels(?array $policyLabels = null) { $this->policyLabels = $policyLabels; return $this; @@ -228,7 +228,7 @@ public function getAppliedLabels() * @param \Google\AdsApi\AdManager\v202511\AppliedLabel[]|null $appliedLabels * @return \Google\AdsApi\AdManager\v202511\Creative */ - public function setAppliedLabels(array $appliedLabels = null) + public function setAppliedLabels(?array $appliedLabels = null) { $this->appliedLabels = $appliedLabels; return $this; @@ -264,7 +264,7 @@ public function getCustomFieldValues() * @param \Google\AdsApi\AdManager\v202511\BaseCustomFieldValue[]|null $customFieldValues * @return \Google\AdsApi\AdManager\v202511\Creative */ - public function setCustomFieldValues(array $customFieldValues = null) + public function setCustomFieldValues(?array $customFieldValues = null) { $this->customFieldValues = $customFieldValues; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/CreativeAsset.php b/src/Google/AdsApi/AdManager/v202511/CreativeAsset.php index da6b71183..6668ae4be 100644 --- a/src/Google/AdsApi/AdManager/v202511/CreativeAsset.php +++ b/src/Google/AdsApi/AdManager/v202511/CreativeAsset.php @@ -59,7 +59,7 @@ class CreativeAsset * @param \Google\AdsApi\AdManager\v202511\ClickTag[] $clickTags * @param string $imageDensity */ - public function __construct($assetId = null, $assetByteArray = null, $fileName = null, $fileSize = null, $assetUrl = null, $size = null, array $clickTags = null, $imageDensity = null) + public function __construct($assetId = null, $assetByteArray = null, $fileName = null, $fileSize = null, $assetUrl = null, $size = null, ?array $clickTags = null, $imageDensity = null) { $this->assetId = $assetId; $this->assetByteArray = $assetByteArray; @@ -193,7 +193,7 @@ public function getClickTags() * @param \Google\AdsApi\AdManager\v202511\ClickTag[]|null $clickTags * @return \Google\AdsApi\AdManager\v202511\CreativeAsset */ - public function setClickTags(array $clickTags = null) + public function setClickTags(?array $clickTags = null) { $this->clickTags = $clickTags; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/CreativeAssetMacroError.php b/src/Google/AdsApi/AdManager/v202511/CreativeAssetMacroError.php index d8fa42a20..7783ea9a3 100644 --- a/src/Google/AdsApi/AdManager/v202511/CreativeAssetMacroError.php +++ b/src/Google/AdsApi/AdManager/v202511/CreativeAssetMacroError.php @@ -21,7 +21,7 @@ class CreativeAssetMacroError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/CreativeError.php b/src/Google/AdsApi/AdManager/v202511/CreativeError.php index 19efc2e5c..f2a555ce2 100644 --- a/src/Google/AdsApi/AdManager/v202511/CreativeError.php +++ b/src/Google/AdsApi/AdManager/v202511/CreativeError.php @@ -21,7 +21,7 @@ class CreativeError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/CreativePage.php b/src/Google/AdsApi/AdManager/v202511/CreativePage.php index 8ba0fee96..10908e5ff 100644 --- a/src/Google/AdsApi/AdManager/v202511/CreativePage.php +++ b/src/Google/AdsApi/AdManager/v202511/CreativePage.php @@ -29,7 +29,7 @@ class CreativePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\Creative[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\Creative[]|null $results * @return \Google\AdsApi\AdManager\v202511\CreativePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/CreativePlaceholder.php b/src/Google/AdsApi/AdManager/v202511/CreativePlaceholder.php index 766aa2477..44c8b1eff 100644 --- a/src/Google/AdsApi/AdManager/v202511/CreativePlaceholder.php +++ b/src/Google/AdsApi/AdManager/v202511/CreativePlaceholder.php @@ -65,7 +65,7 @@ class CreativePlaceholder * @param string $targetingName * @param boolean $isAmpOnly */ - public function __construct($size = null, $creativeTemplateId = null, array $companions = null, array $appliedLabels = null, array $effectiveAppliedLabels = null, $expectedCreativeCount = null, $creativeSizeType = null, $targetingName = null, $isAmpOnly = null) + public function __construct($size = null, $creativeTemplateId = null, ?array $companions = null, ?array $appliedLabels = null, ?array $effectiveAppliedLabels = null, $expectedCreativeCount = null, $creativeSizeType = null, $targetingName = null, $isAmpOnly = null) { $this->size = $size; $this->creativeTemplateId = $creativeTemplateId; @@ -127,7 +127,7 @@ public function getCompanions() * @param \Google\AdsApi\AdManager\v202511\CreativePlaceholder[]|null $companions * @return \Google\AdsApi\AdManager\v202511\CreativePlaceholder */ - public function setCompanions(array $companions = null) + public function setCompanions(?array $companions = null) { $this->companions = $companions; return $this; @@ -145,7 +145,7 @@ public function getAppliedLabels() * @param \Google\AdsApi\AdManager\v202511\AppliedLabel[]|null $appliedLabels * @return \Google\AdsApi\AdManager\v202511\CreativePlaceholder */ - public function setAppliedLabels(array $appliedLabels = null) + public function setAppliedLabels(?array $appliedLabels = null) { $this->appliedLabels = $appliedLabels; return $this; @@ -163,7 +163,7 @@ public function getEffectiveAppliedLabels() * @param \Google\AdsApi\AdManager\v202511\AppliedLabel[]|null $effectiveAppliedLabels * @return \Google\AdsApi\AdManager\v202511\CreativePlaceholder */ - public function setEffectiveAppliedLabels(array $effectiveAppliedLabels = null) + public function setEffectiveAppliedLabels(?array $effectiveAppliedLabels = null) { $this->effectiveAppliedLabels = $effectiveAppliedLabels; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/CreativePreviewError.php b/src/Google/AdsApi/AdManager/v202511/CreativePreviewError.php index 9fe5a2cde..52cd1c47b 100644 --- a/src/Google/AdsApi/AdManager/v202511/CreativePreviewError.php +++ b/src/Google/AdsApi/AdManager/v202511/CreativePreviewError.php @@ -21,7 +21,7 @@ class CreativePreviewError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/CreativeSet.php b/src/Google/AdsApi/AdManager/v202511/CreativeSet.php index 0a2b44e85..8f8dbe87e 100644 --- a/src/Google/AdsApi/AdManager/v202511/CreativeSet.php +++ b/src/Google/AdsApi/AdManager/v202511/CreativeSet.php @@ -41,7 +41,7 @@ class CreativeSet * @param int[] $companionCreativeIds * @param \Google\AdsApi\AdManager\v202511\DateTime $lastModifiedDateTime */ - public function __construct($id = null, $name = null, $masterCreativeId = null, array $companionCreativeIds = null, $lastModifiedDateTime = null) + public function __construct($id = null, $name = null, $masterCreativeId = null, ?array $companionCreativeIds = null, $lastModifiedDateTime = null) { $this->id = $id; $this->name = $name; @@ -118,7 +118,7 @@ public function getCompanionCreativeIds() * @param int[]|null $companionCreativeIds * @return \Google\AdsApi\AdManager\v202511\CreativeSet */ - public function setCompanionCreativeIds(array $companionCreativeIds = null) + public function setCompanionCreativeIds(?array $companionCreativeIds = null) { $this->companionCreativeIds = $companionCreativeIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/CreativeSetError.php b/src/Google/AdsApi/AdManager/v202511/CreativeSetError.php index 7962ccdde..d36256b9f 100644 --- a/src/Google/AdsApi/AdManager/v202511/CreativeSetError.php +++ b/src/Google/AdsApi/AdManager/v202511/CreativeSetError.php @@ -21,7 +21,7 @@ class CreativeSetError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/CreativeSetPage.php b/src/Google/AdsApi/AdManager/v202511/CreativeSetPage.php index 73fbfbb92..bc83d42a7 100644 --- a/src/Google/AdsApi/AdManager/v202511/CreativeSetPage.php +++ b/src/Google/AdsApi/AdManager/v202511/CreativeSetPage.php @@ -29,7 +29,7 @@ class CreativeSetPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\CreativeSet[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\CreativeSet[]|null $results * @return \Google\AdsApi\AdManager\v202511\CreativeSetPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/CreativeTemplate.php b/src/Google/AdsApi/AdManager/v202511/CreativeTemplate.php index 720ffebe8..11a8b5f74 100644 --- a/src/Google/AdsApi/AdManager/v202511/CreativeTemplate.php +++ b/src/Google/AdsApi/AdManager/v202511/CreativeTemplate.php @@ -71,7 +71,7 @@ class CreativeTemplate * @param boolean $isNativeEligible * @param boolean $isSafeFrameCompatible */ - public function __construct($id = null, $name = null, $description = null, array $variables = null, $snippet = null, $status = null, $type = null, $isInterstitial = null, $isNativeEligible = null, $isSafeFrameCompatible = null) + public function __construct($id = null, $name = null, $description = null, ?array $variables = null, $snippet = null, $status = null, $type = null, $isInterstitial = null, $isNativeEligible = null, $isSafeFrameCompatible = null) { $this->id = $id; $this->name = $name; @@ -152,7 +152,7 @@ public function getVariables() * @param \Google\AdsApi\AdManager\v202511\CreativeTemplateVariable[]|null $variables * @return \Google\AdsApi\AdManager\v202511\CreativeTemplate */ - public function setVariables(array $variables = null) + public function setVariables(?array $variables = null) { $this->variables = $variables; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/CreativeTemplateError.php b/src/Google/AdsApi/AdManager/v202511/CreativeTemplateError.php index 849913898..23ff029aa 100644 --- a/src/Google/AdsApi/AdManager/v202511/CreativeTemplateError.php +++ b/src/Google/AdsApi/AdManager/v202511/CreativeTemplateError.php @@ -21,7 +21,7 @@ class CreativeTemplateError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/CreativeTemplateOperationError.php b/src/Google/AdsApi/AdManager/v202511/CreativeTemplateOperationError.php index e0d8c8242..285f77048 100644 --- a/src/Google/AdsApi/AdManager/v202511/CreativeTemplateOperationError.php +++ b/src/Google/AdsApi/AdManager/v202511/CreativeTemplateOperationError.php @@ -21,7 +21,7 @@ class CreativeTemplateOperationError extends \Google\AdsApi\AdManager\v202511\Ap * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/CreativeTemplatePage.php b/src/Google/AdsApi/AdManager/v202511/CreativeTemplatePage.php index a686a7765..53a0f8eeb 100644 --- a/src/Google/AdsApi/AdManager/v202511/CreativeTemplatePage.php +++ b/src/Google/AdsApi/AdManager/v202511/CreativeTemplatePage.php @@ -29,7 +29,7 @@ class CreativeTemplatePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\CreativeTemplate[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\CreativeTemplate[]|null $results * @return \Google\AdsApi\AdManager\v202511\CreativeTemplatePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/CreativeWrapper.php b/src/Google/AdsApi/AdManager/v202511/CreativeWrapper.php index 41d24b0c1..f3911de5d 100644 --- a/src/Google/AdsApi/AdManager/v202511/CreativeWrapper.php +++ b/src/Google/AdsApi/AdManager/v202511/CreativeWrapper.php @@ -77,7 +77,7 @@ class CreativeWrapper * @param string $ordering * @param string $status */ - public function __construct($id = null, $labelId = null, $creativeWrapperType = null, $htmlHeader = null, $htmlFooter = null, $ampHead = null, $ampBody = null, array $videoTrackingUrls = null, $thirdPartyDataDeclaration = null, $ordering = null, $status = null) + public function __construct($id = null, $labelId = null, $creativeWrapperType = null, $htmlHeader = null, $htmlFooter = null, $ampHead = null, $ampBody = null, ?array $videoTrackingUrls = null, $thirdPartyDataDeclaration = null, $ordering = null, $status = null) { $this->id = $id; $this->labelId = $labelId; @@ -232,7 +232,7 @@ public function getVideoTrackingUrls() * @param \Google\AdsApi\AdManager\v202511\ConversionEvent_TrackingUrlsMapEntry[]|null $videoTrackingUrls * @return \Google\AdsApi\AdManager\v202511\CreativeWrapper */ - public function setVideoTrackingUrls(array $videoTrackingUrls = null) + public function setVideoTrackingUrls(?array $videoTrackingUrls = null) { $this->videoTrackingUrls = $videoTrackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/CreativeWrapperError.php b/src/Google/AdsApi/AdManager/v202511/CreativeWrapperError.php index d16a91be9..b392e88de 100644 --- a/src/Google/AdsApi/AdManager/v202511/CreativeWrapperError.php +++ b/src/Google/AdsApi/AdManager/v202511/CreativeWrapperError.php @@ -21,7 +21,7 @@ class CreativeWrapperError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/CreativeWrapperPage.php b/src/Google/AdsApi/AdManager/v202511/CreativeWrapperPage.php index ba907eabe..02d0640c2 100644 --- a/src/Google/AdsApi/AdManager/v202511/CreativeWrapperPage.php +++ b/src/Google/AdsApi/AdManager/v202511/CreativeWrapperPage.php @@ -29,7 +29,7 @@ class CreativeWrapperPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\CreativeWrapper[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\CreativeWrapper[]|null $results * @return \Google\AdsApi\AdManager\v202511\CreativeWrapperPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/CrossSellError.php b/src/Google/AdsApi/AdManager/v202511/CrossSellError.php index 0942af466..7f7fcf2c5 100644 --- a/src/Google/AdsApi/AdManager/v202511/CrossSellError.php +++ b/src/Google/AdsApi/AdManager/v202511/CrossSellError.php @@ -21,7 +21,7 @@ class CrossSellError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/CurrencyCodeError.php b/src/Google/AdsApi/AdManager/v202511/CurrencyCodeError.php index ecc8bae3b..45135fb12 100644 --- a/src/Google/AdsApi/AdManager/v202511/CurrencyCodeError.php +++ b/src/Google/AdsApi/AdManager/v202511/CurrencyCodeError.php @@ -21,7 +21,7 @@ class CurrencyCodeError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/CustomCreative.php b/src/Google/AdsApi/AdManager/v202511/CustomCreative.php index 5432bb48d..6884b4641 100644 --- a/src/Google/AdsApi/AdManager/v202511/CustomCreative.php +++ b/src/Google/AdsApi/AdManager/v202511/CustomCreative.php @@ -74,7 +74,7 @@ class CustomCreative extends \Google\AdsApi\AdManager\v202511\HasDestinationUrlC * @param boolean $isSafeFrameCompatible * @param string[] $thirdPartyImpressionTrackingUrls */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $htmlSnippet = null, array $customCreativeAssets = null, $isInterstitial = null, $lockedOrientation = null, $sslScanResult = null, $sslManualOverride = null, $isSafeFrameCompatible = null, array $thirdPartyImpressionTrackingUrls = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $htmlSnippet = null, ?array $customCreativeAssets = null, $isInterstitial = null, $lockedOrientation = null, $sslScanResult = null, $sslManualOverride = null, $isSafeFrameCompatible = null, ?array $thirdPartyImpressionTrackingUrls = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $thirdPartyDataDeclarationStatus, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent, $destinationUrl, $destinationUrlType); $this->htmlSnippet = $htmlSnippet; @@ -117,7 +117,7 @@ public function getCustomCreativeAssets() * @param \Google\AdsApi\AdManager\v202511\CustomCreativeAsset[]|null $customCreativeAssets * @return \Google\AdsApi\AdManager\v202511\CustomCreative */ - public function setCustomCreativeAssets(array $customCreativeAssets = null) + public function setCustomCreativeAssets(?array $customCreativeAssets = null) { $this->customCreativeAssets = $customCreativeAssets; return $this; @@ -225,7 +225,7 @@ public function getThirdPartyImpressionTrackingUrls() * @param string[]|null $thirdPartyImpressionTrackingUrls * @return \Google\AdsApi\AdManager\v202511\CustomCreative */ - public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) + public function setThirdPartyImpressionTrackingUrls(?array $thirdPartyImpressionTrackingUrls = null) { $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/CustomCreativeError.php b/src/Google/AdsApi/AdManager/v202511/CustomCreativeError.php index 648ea31e8..f7625f95b 100644 --- a/src/Google/AdsApi/AdManager/v202511/CustomCreativeError.php +++ b/src/Google/AdsApi/AdManager/v202511/CustomCreativeError.php @@ -21,7 +21,7 @@ class CustomCreativeError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/CustomCriteria.php b/src/Google/AdsApi/AdManager/v202511/CustomCriteria.php index fe9749a52..2a91d07e6 100644 --- a/src/Google/AdsApi/AdManager/v202511/CustomCriteria.php +++ b/src/Google/AdsApi/AdManager/v202511/CustomCriteria.php @@ -29,7 +29,7 @@ class CustomCriteria extends \Google\AdsApi\AdManager\v202511\CustomCriteriaLeaf * @param int[] $valueIds * @param string $operator */ - public function __construct($keyId = null, array $valueIds = null, $operator = null) + public function __construct($keyId = null, ?array $valueIds = null, $operator = null) { $this->keyId = $keyId; $this->valueIds = $valueIds; @@ -67,7 +67,7 @@ public function getValueIds() * @param int[]|null $valueIds * @return \Google\AdsApi\AdManager\v202511\CustomCriteria */ - public function setValueIds(array $valueIds = null) + public function setValueIds(?array $valueIds = null) { $this->valueIds = $valueIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/CustomCriteriaSet.php b/src/Google/AdsApi/AdManager/v202511/CustomCriteriaSet.php index d9b22a8fc..8fd81cd58 100644 --- a/src/Google/AdsApi/AdManager/v202511/CustomCriteriaSet.php +++ b/src/Google/AdsApi/AdManager/v202511/CustomCriteriaSet.php @@ -23,7 +23,7 @@ class CustomCriteriaSet extends \Google\AdsApi\AdManager\v202511\CustomCriteriaN * @param string $logicalOperator * @param \Google\AdsApi\AdManager\v202511\CustomCriteriaNode[] $children */ - public function __construct($logicalOperator = null, array $children = null) + public function __construct($logicalOperator = null, ?array $children = null) { $this->logicalOperator = $logicalOperator; $this->children = $children; @@ -59,7 +59,7 @@ public function getChildren() * @param \Google\AdsApi\AdManager\v202511\CustomCriteriaNode[]|null $children * @return \Google\AdsApi\AdManager\v202511\CustomCriteriaSet */ - public function setChildren(array $children = null) + public function setChildren(?array $children = null) { $this->children = $children; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/CustomFieldError.php b/src/Google/AdsApi/AdManager/v202511/CustomFieldError.php index 17b0dece0..1ed6e25fe 100644 --- a/src/Google/AdsApi/AdManager/v202511/CustomFieldError.php +++ b/src/Google/AdsApi/AdManager/v202511/CustomFieldError.php @@ -21,7 +21,7 @@ class CustomFieldError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/CustomFieldPage.php b/src/Google/AdsApi/AdManager/v202511/CustomFieldPage.php index 3e924e904..36a3b546e 100644 --- a/src/Google/AdsApi/AdManager/v202511/CustomFieldPage.php +++ b/src/Google/AdsApi/AdManager/v202511/CustomFieldPage.php @@ -29,7 +29,7 @@ class CustomFieldPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\CustomField[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\CustomField[]|null $results * @return \Google\AdsApi\AdManager\v202511\CustomFieldPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/CustomFieldValueError.php b/src/Google/AdsApi/AdManager/v202511/CustomFieldValueError.php index fd34ab5b8..5b86c44b7 100644 --- a/src/Google/AdsApi/AdManager/v202511/CustomFieldValueError.php +++ b/src/Google/AdsApi/AdManager/v202511/CustomFieldValueError.php @@ -21,7 +21,7 @@ class CustomFieldValueError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/CustomPacingCurve.php b/src/Google/AdsApi/AdManager/v202511/CustomPacingCurve.php index 891040c88..5d3441523 100644 --- a/src/Google/AdsApi/AdManager/v202511/CustomPacingCurve.php +++ b/src/Google/AdsApi/AdManager/v202511/CustomPacingCurve.php @@ -23,7 +23,7 @@ class CustomPacingCurve * @param string $customPacingGoalUnit * @param \Google\AdsApi\AdManager\v202511\CustomPacingGoal[] $customPacingGoals */ - public function __construct($customPacingGoalUnit = null, array $customPacingGoals = null) + public function __construct($customPacingGoalUnit = null, ?array $customPacingGoals = null) { $this->customPacingGoalUnit = $customPacingGoalUnit; $this->customPacingGoals = $customPacingGoals; @@ -59,7 +59,7 @@ public function getCustomPacingGoals() * @param \Google\AdsApi\AdManager\v202511\CustomPacingGoal[]|null $customPacingGoals * @return \Google\AdsApi\AdManager\v202511\CustomPacingCurve */ - public function setCustomPacingGoals(array $customPacingGoals = null) + public function setCustomPacingGoals(?array $customPacingGoals = null) { $this->customPacingGoals = $customPacingGoals; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/CustomTargetingError.php b/src/Google/AdsApi/AdManager/v202511/CustomTargetingError.php index 33d363eb1..bafab60f6 100644 --- a/src/Google/AdsApi/AdManager/v202511/CustomTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202511/CustomTargetingError.php @@ -21,7 +21,7 @@ class CustomTargetingError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/CustomTargetingKeyPage.php b/src/Google/AdsApi/AdManager/v202511/CustomTargetingKeyPage.php index 70ff802c6..c880497df 100644 --- a/src/Google/AdsApi/AdManager/v202511/CustomTargetingKeyPage.php +++ b/src/Google/AdsApi/AdManager/v202511/CustomTargetingKeyPage.php @@ -29,7 +29,7 @@ class CustomTargetingKeyPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\CustomTargetingKey[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\CustomTargetingKey[]|null $results * @return \Google\AdsApi\AdManager\v202511\CustomTargetingKeyPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/CustomTargetingValuePage.php b/src/Google/AdsApi/AdManager/v202511/CustomTargetingValuePage.php index 5281ddf1b..81005d797 100644 --- a/src/Google/AdsApi/AdManager/v202511/CustomTargetingValuePage.php +++ b/src/Google/AdsApi/AdManager/v202511/CustomTargetingValuePage.php @@ -29,7 +29,7 @@ class CustomTargetingValuePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\CustomTargetingValue[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\CustomTargetingValue[]|null $results * @return \Google\AdsApi\AdManager\v202511\CustomTargetingValuePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/DaiAuthenticationKeyActionError.php b/src/Google/AdsApi/AdManager/v202511/DaiAuthenticationKeyActionError.php index 8167d3329..1f4ecb665 100644 --- a/src/Google/AdsApi/AdManager/v202511/DaiAuthenticationKeyActionError.php +++ b/src/Google/AdsApi/AdManager/v202511/DaiAuthenticationKeyActionError.php @@ -21,7 +21,7 @@ class DaiAuthenticationKeyActionError extends \Google\AdsApi\AdManager\v202511\A * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/DaiAuthenticationKeyPage.php b/src/Google/AdsApi/AdManager/v202511/DaiAuthenticationKeyPage.php index 8be32d014..939111109 100644 --- a/src/Google/AdsApi/AdManager/v202511/DaiAuthenticationKeyPage.php +++ b/src/Google/AdsApi/AdManager/v202511/DaiAuthenticationKeyPage.php @@ -29,7 +29,7 @@ class DaiAuthenticationKeyPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\DaiAuthenticationKey[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\DaiAuthenticationKey[]|null $results * @return \Google\AdsApi\AdManager\v202511\DaiAuthenticationKeyPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/DaiEncodingProfileAdMatchingError.php b/src/Google/AdsApi/AdManager/v202511/DaiEncodingProfileAdMatchingError.php index 97c4958c2..314a8729c 100644 --- a/src/Google/AdsApi/AdManager/v202511/DaiEncodingProfileAdMatchingError.php +++ b/src/Google/AdsApi/AdManager/v202511/DaiEncodingProfileAdMatchingError.php @@ -21,7 +21,7 @@ class DaiEncodingProfileAdMatchingError extends \Google\AdsApi\AdManager\v202511 * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/DaiEncodingProfileContainerSettingsError.php b/src/Google/AdsApi/AdManager/v202511/DaiEncodingProfileContainerSettingsError.php index 0c2b26627..cea45b382 100644 --- a/src/Google/AdsApi/AdManager/v202511/DaiEncodingProfileContainerSettingsError.php +++ b/src/Google/AdsApi/AdManager/v202511/DaiEncodingProfileContainerSettingsError.php @@ -21,7 +21,7 @@ class DaiEncodingProfileContainerSettingsError extends \Google\AdsApi\AdManager\ * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/DaiEncodingProfileNameError.php b/src/Google/AdsApi/AdManager/v202511/DaiEncodingProfileNameError.php index 9fd29a041..e4d806ecd 100644 --- a/src/Google/AdsApi/AdManager/v202511/DaiEncodingProfileNameError.php +++ b/src/Google/AdsApi/AdManager/v202511/DaiEncodingProfileNameError.php @@ -21,7 +21,7 @@ class DaiEncodingProfileNameError extends \Google\AdsApi\AdManager\v202511\ApiEr * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/DaiEncodingProfilePage.php b/src/Google/AdsApi/AdManager/v202511/DaiEncodingProfilePage.php index 592275ebf..c98eb1ca9 100644 --- a/src/Google/AdsApi/AdManager/v202511/DaiEncodingProfilePage.php +++ b/src/Google/AdsApi/AdManager/v202511/DaiEncodingProfilePage.php @@ -29,7 +29,7 @@ class DaiEncodingProfilePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\DaiEncodingProfile[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\DaiEncodingProfile[]|null $results * @return \Google\AdsApi\AdManager\v202511\DaiEncodingProfilePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/DaiEncodingProfileUpdateError.php b/src/Google/AdsApi/AdManager/v202511/DaiEncodingProfileUpdateError.php index 6ef69ca3a..828ab27af 100644 --- a/src/Google/AdsApi/AdManager/v202511/DaiEncodingProfileUpdateError.php +++ b/src/Google/AdsApi/AdManager/v202511/DaiEncodingProfileUpdateError.php @@ -21,7 +21,7 @@ class DaiEncodingProfileUpdateError extends \Google\AdsApi\AdManager\v202511\Api * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/DaiEncodingProfileVariantSettingsError.php b/src/Google/AdsApi/AdManager/v202511/DaiEncodingProfileVariantSettingsError.php index a0e19dfe0..299ded854 100644 --- a/src/Google/AdsApi/AdManager/v202511/DaiEncodingProfileVariantSettingsError.php +++ b/src/Google/AdsApi/AdManager/v202511/DaiEncodingProfileVariantSettingsError.php @@ -21,7 +21,7 @@ class DaiEncodingProfileVariantSettingsError extends \Google\AdsApi\AdManager\v2 * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/DailyVolumeSettings.php b/src/Google/AdsApi/AdManager/v202511/DailyVolumeSettings.php index c015f81c0..fca55414e 100644 --- a/src/Google/AdsApi/AdManager/v202511/DailyVolumeSettings.php +++ b/src/Google/AdsApi/AdManager/v202511/DailyVolumeSettings.php @@ -17,7 +17,7 @@ class DailyVolumeSettings /** * @param int[] $adOpportunityCounts */ - public function __construct(array $adOpportunityCounts = null) + public function __construct(?array $adOpportunityCounts = null) { $this->adOpportunityCounts = $adOpportunityCounts; } @@ -34,7 +34,7 @@ public function getAdOpportunityCounts() * @param int[]|null $adOpportunityCounts * @return \Google\AdsApi\AdManager\v202511\DailyVolumeSettings */ - public function setAdOpportunityCounts(array $adOpportunityCounts = null) + public function setAdOpportunityCounts(?array $adOpportunityCounts = null) { $this->adOpportunityCounts = $adOpportunityCounts; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/DateError.php b/src/Google/AdsApi/AdManager/v202511/DateError.php index fa6dc28a0..0e51e8307 100644 --- a/src/Google/AdsApi/AdManager/v202511/DateError.php +++ b/src/Google/AdsApi/AdManager/v202511/DateError.php @@ -21,7 +21,7 @@ class DateError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/DateTimeRangeTargeting.php b/src/Google/AdsApi/AdManager/v202511/DateTimeRangeTargeting.php index b5b148c2c..9fbd2dfbe 100644 --- a/src/Google/AdsApi/AdManager/v202511/DateTimeRangeTargeting.php +++ b/src/Google/AdsApi/AdManager/v202511/DateTimeRangeTargeting.php @@ -17,7 +17,7 @@ class DateTimeRangeTargeting /** * @param \Google\AdsApi\AdManager\v202511\DateTimeRange[] $targetedDateTimeRanges */ - public function __construct(array $targetedDateTimeRanges = null) + public function __construct(?array $targetedDateTimeRanges = null) { $this->targetedDateTimeRanges = $targetedDateTimeRanges; } @@ -34,7 +34,7 @@ public function getTargetedDateTimeRanges() * @param \Google\AdsApi\AdManager\v202511\DateTimeRange[]|null $targetedDateTimeRanges * @return \Google\AdsApi\AdManager\v202511\DateTimeRangeTargeting */ - public function setTargetedDateTimeRanges(array $targetedDateTimeRanges = null) + public function setTargetedDateTimeRanges(?array $targetedDateTimeRanges = null) { $this->targetedDateTimeRanges = $targetedDateTimeRanges; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/DateTimeRangeTargetingError.php b/src/Google/AdsApi/AdManager/v202511/DateTimeRangeTargetingError.php index 0c5e62d80..cd061594c 100644 --- a/src/Google/AdsApi/AdManager/v202511/DateTimeRangeTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202511/DateTimeRangeTargetingError.php @@ -21,7 +21,7 @@ class DateTimeRangeTargetingError extends \Google\AdsApi\AdManager\v202511\ApiEr * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/DayPartTargeting.php b/src/Google/AdsApi/AdManager/v202511/DayPartTargeting.php index 3f5df9c3f..4a8c4ec99 100644 --- a/src/Google/AdsApi/AdManager/v202511/DayPartTargeting.php +++ b/src/Google/AdsApi/AdManager/v202511/DayPartTargeting.php @@ -23,7 +23,7 @@ class DayPartTargeting * @param \Google\AdsApi\AdManager\v202511\DayPart[] $dayParts * @param string $timeZone */ - public function __construct(array $dayParts = null, $timeZone = null) + public function __construct(?array $dayParts = null, $timeZone = null) { $this->dayParts = $dayParts; $this->timeZone = $timeZone; @@ -41,7 +41,7 @@ public function getDayParts() * @param \Google\AdsApi\AdManager\v202511\DayPart[]|null $dayParts * @return \Google\AdsApi\AdManager\v202511\DayPartTargeting */ - public function setDayParts(array $dayParts = null) + public function setDayParts(?array $dayParts = null) { $this->dayParts = $dayParts; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/DayPartTargetingError.php b/src/Google/AdsApi/AdManager/v202511/DayPartTargetingError.php index 18fa6f9e9..6a7da44b3 100644 --- a/src/Google/AdsApi/AdManager/v202511/DayPartTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202511/DayPartTargetingError.php @@ -21,7 +21,7 @@ class DayPartTargetingError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/DealError.php b/src/Google/AdsApi/AdManager/v202511/DealError.php index 3a482964b..544a1065e 100644 --- a/src/Google/AdsApi/AdManager/v202511/DealError.php +++ b/src/Google/AdsApi/AdManager/v202511/DealError.php @@ -21,7 +21,7 @@ class DealError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/DeliveryData.php b/src/Google/AdsApi/AdManager/v202511/DeliveryData.php index ca6b5641d..3aa031114 100644 --- a/src/Google/AdsApi/AdManager/v202511/DeliveryData.php +++ b/src/Google/AdsApi/AdManager/v202511/DeliveryData.php @@ -17,7 +17,7 @@ class DeliveryData /** * @param int[] $units */ - public function __construct(array $units = null) + public function __construct(?array $units = null) { $this->units = $units; } @@ -34,7 +34,7 @@ public function getUnits() * @param int[]|null $units * @return \Google\AdsApi\AdManager\v202511\DeliveryData */ - public function setUnits(array $units = null) + public function setUnits(?array $units = null) { $this->units = $units; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/DeliveryForecast.php b/src/Google/AdsApi/AdManager/v202511/DeliveryForecast.php index 329b70a73..4a7105b20 100644 --- a/src/Google/AdsApi/AdManager/v202511/DeliveryForecast.php +++ b/src/Google/AdsApi/AdManager/v202511/DeliveryForecast.php @@ -17,7 +17,7 @@ class DeliveryForecast /** * @param \Google\AdsApi\AdManager\v202511\LineItemDeliveryForecast[] $lineItemDeliveryForecasts */ - public function __construct(array $lineItemDeliveryForecasts = null) + public function __construct(?array $lineItemDeliveryForecasts = null) { $this->lineItemDeliveryForecasts = $lineItemDeliveryForecasts; } @@ -34,7 +34,7 @@ public function getLineItemDeliveryForecasts() * @param \Google\AdsApi\AdManager\v202511\LineItemDeliveryForecast[]|null $lineItemDeliveryForecasts * @return \Google\AdsApi\AdManager\v202511\DeliveryForecast */ - public function setLineItemDeliveryForecasts(array $lineItemDeliveryForecasts = null) + public function setLineItemDeliveryForecasts(?array $lineItemDeliveryForecasts = null) { $this->lineItemDeliveryForecasts = $lineItemDeliveryForecasts; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/DeliveryForecastOptions.php b/src/Google/AdsApi/AdManager/v202511/DeliveryForecastOptions.php index 7bee68c30..d394a22de 100644 --- a/src/Google/AdsApi/AdManager/v202511/DeliveryForecastOptions.php +++ b/src/Google/AdsApi/AdManager/v202511/DeliveryForecastOptions.php @@ -17,7 +17,7 @@ class DeliveryForecastOptions /** * @param int[] $ignoredLineItemIds */ - public function __construct(array $ignoredLineItemIds = null) + public function __construct(?array $ignoredLineItemIds = null) { $this->ignoredLineItemIds = $ignoredLineItemIds; } @@ -34,7 +34,7 @@ public function getIgnoredLineItemIds() * @param int[]|null $ignoredLineItemIds * @return \Google\AdsApi\AdManager\v202511\DeliveryForecastOptions */ - public function setIgnoredLineItemIds(array $ignoredLineItemIds = null) + public function setIgnoredLineItemIds(?array $ignoredLineItemIds = null) { $this->ignoredLineItemIds = $ignoredLineItemIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/DeviceCapabilityTargeting.php b/src/Google/AdsApi/AdManager/v202511/DeviceCapabilityTargeting.php index c529518bd..2cb84d9ac 100644 --- a/src/Google/AdsApi/AdManager/v202511/DeviceCapabilityTargeting.php +++ b/src/Google/AdsApi/AdManager/v202511/DeviceCapabilityTargeting.php @@ -23,7 +23,7 @@ class DeviceCapabilityTargeting * @param \Google\AdsApi\AdManager\v202511\Technology[] $targetedDeviceCapabilities * @param \Google\AdsApi\AdManager\v202511\Technology[] $excludedDeviceCapabilities */ - public function __construct(array $targetedDeviceCapabilities = null, array $excludedDeviceCapabilities = null) + public function __construct(?array $targetedDeviceCapabilities = null, ?array $excludedDeviceCapabilities = null) { $this->targetedDeviceCapabilities = $targetedDeviceCapabilities; $this->excludedDeviceCapabilities = $excludedDeviceCapabilities; @@ -41,7 +41,7 @@ public function getTargetedDeviceCapabilities() * @param \Google\AdsApi\AdManager\v202511\Technology[]|null $targetedDeviceCapabilities * @return \Google\AdsApi\AdManager\v202511\DeviceCapabilityTargeting */ - public function setTargetedDeviceCapabilities(array $targetedDeviceCapabilities = null) + public function setTargetedDeviceCapabilities(?array $targetedDeviceCapabilities = null) { $this->targetedDeviceCapabilities = $targetedDeviceCapabilities; return $this; @@ -59,7 +59,7 @@ public function getExcludedDeviceCapabilities() * @param \Google\AdsApi\AdManager\v202511\Technology[]|null $excludedDeviceCapabilities * @return \Google\AdsApi\AdManager\v202511\DeviceCapabilityTargeting */ - public function setExcludedDeviceCapabilities(array $excludedDeviceCapabilities = null) + public function setExcludedDeviceCapabilities(?array $excludedDeviceCapabilities = null) { $this->excludedDeviceCapabilities = $excludedDeviceCapabilities; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/DeviceCategoryTargeting.php b/src/Google/AdsApi/AdManager/v202511/DeviceCategoryTargeting.php index b61e09afe..71b517d3d 100644 --- a/src/Google/AdsApi/AdManager/v202511/DeviceCategoryTargeting.php +++ b/src/Google/AdsApi/AdManager/v202511/DeviceCategoryTargeting.php @@ -23,7 +23,7 @@ class DeviceCategoryTargeting * @param \Google\AdsApi\AdManager\v202511\Technology[] $targetedDeviceCategories * @param \Google\AdsApi\AdManager\v202511\Technology[] $excludedDeviceCategories */ - public function __construct(array $targetedDeviceCategories = null, array $excludedDeviceCategories = null) + public function __construct(?array $targetedDeviceCategories = null, ?array $excludedDeviceCategories = null) { $this->targetedDeviceCategories = $targetedDeviceCategories; $this->excludedDeviceCategories = $excludedDeviceCategories; @@ -41,7 +41,7 @@ public function getTargetedDeviceCategories() * @param \Google\AdsApi\AdManager\v202511\Technology[]|null $targetedDeviceCategories * @return \Google\AdsApi\AdManager\v202511\DeviceCategoryTargeting */ - public function setTargetedDeviceCategories(array $targetedDeviceCategories = null) + public function setTargetedDeviceCategories(?array $targetedDeviceCategories = null) { $this->targetedDeviceCategories = $targetedDeviceCategories; return $this; @@ -59,7 +59,7 @@ public function getExcludedDeviceCategories() * @param \Google\AdsApi\AdManager\v202511\Technology[]|null $excludedDeviceCategories * @return \Google\AdsApi\AdManager\v202511\DeviceCategoryTargeting */ - public function setExcludedDeviceCategories(array $excludedDeviceCategories = null) + public function setExcludedDeviceCategories(?array $excludedDeviceCategories = null) { $this->excludedDeviceCategories = $excludedDeviceCategories; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/DeviceManufacturerTargeting.php b/src/Google/AdsApi/AdManager/v202511/DeviceManufacturerTargeting.php index e36e20ccb..041335f3b 100644 --- a/src/Google/AdsApi/AdManager/v202511/DeviceManufacturerTargeting.php +++ b/src/Google/AdsApi/AdManager/v202511/DeviceManufacturerTargeting.php @@ -23,7 +23,7 @@ class DeviceManufacturerTargeting * @param boolean $isTargeted * @param \Google\AdsApi\AdManager\v202511\Technology[] $deviceManufacturers */ - public function __construct($isTargeted = null, array $deviceManufacturers = null) + public function __construct($isTargeted = null, ?array $deviceManufacturers = null) { $this->isTargeted = $isTargeted; $this->deviceManufacturers = $deviceManufacturers; @@ -59,7 +59,7 @@ public function getDeviceManufacturers() * @param \Google\AdsApi\AdManager\v202511\Technology[]|null $deviceManufacturers * @return \Google\AdsApi\AdManager\v202511\DeviceManufacturerTargeting */ - public function setDeviceManufacturers(array $deviceManufacturers = null) + public function setDeviceManufacturers(?array $deviceManufacturers = null) { $this->deviceManufacturers = $deviceManufacturers; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/DistinctError.php b/src/Google/AdsApi/AdManager/v202511/DistinctError.php index b6afe100b..113a7ce71 100644 --- a/src/Google/AdsApi/AdManager/v202511/DistinctError.php +++ b/src/Google/AdsApi/AdManager/v202511/DistinctError.php @@ -21,7 +21,7 @@ class DistinctError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/DropDownCustomField.php b/src/Google/AdsApi/AdManager/v202511/DropDownCustomField.php index 4340dc383..cdf4956b1 100644 --- a/src/Google/AdsApi/AdManager/v202511/DropDownCustomField.php +++ b/src/Google/AdsApi/AdManager/v202511/DropDownCustomField.php @@ -24,7 +24,7 @@ class DropDownCustomField extends \Google\AdsApi\AdManager\v202511\CustomField * @param string $visibility * @param \Google\AdsApi\AdManager\v202511\CustomFieldOption[] $options */ - public function __construct($id = null, $name = null, $description = null, $isActive = null, $entityType = null, $dataType = null, $visibility = null, array $options = null) + public function __construct($id = null, $name = null, $description = null, $isActive = null, $entityType = null, $dataType = null, $visibility = null, ?array $options = null) { parent::__construct($id, $name, $description, $isActive, $entityType, $dataType, $visibility); $this->options = $options; @@ -42,7 +42,7 @@ public function getOptions() * @param \Google\AdsApi\AdManager\v202511\CustomFieldOption[]|null $options * @return \Google\AdsApi\AdManager\v202511\DropDownCustomField */ - public function setOptions(array $options = null) + public function setOptions(?array $options = null) { $this->options = $options; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/EntityChildrenLimitReachedError.php b/src/Google/AdsApi/AdManager/v202511/EntityChildrenLimitReachedError.php index 63dc405dd..553c95a09 100644 --- a/src/Google/AdsApi/AdManager/v202511/EntityChildrenLimitReachedError.php +++ b/src/Google/AdsApi/AdManager/v202511/EntityChildrenLimitReachedError.php @@ -21,7 +21,7 @@ class EntityChildrenLimitReachedError extends \Google\AdsApi\AdManager\v202511\A * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/EntityLimitReachedError.php b/src/Google/AdsApi/AdManager/v202511/EntityLimitReachedError.php index 1d82e7303..9f46ccaa3 100644 --- a/src/Google/AdsApi/AdManager/v202511/EntityLimitReachedError.php +++ b/src/Google/AdsApi/AdManager/v202511/EntityLimitReachedError.php @@ -21,7 +21,7 @@ class EntityLimitReachedError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/ExchangeRateError.php b/src/Google/AdsApi/AdManager/v202511/ExchangeRateError.php index 68ac75dc1..312d4f58d 100644 --- a/src/Google/AdsApi/AdManager/v202511/ExchangeRateError.php +++ b/src/Google/AdsApi/AdManager/v202511/ExchangeRateError.php @@ -21,7 +21,7 @@ class ExchangeRateError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/ExchangeSignupApiError.php b/src/Google/AdsApi/AdManager/v202511/ExchangeSignupApiError.php index cf2fa044c..fa957fe30 100644 --- a/src/Google/AdsApi/AdManager/v202511/ExchangeSignupApiError.php +++ b/src/Google/AdsApi/AdManager/v202511/ExchangeSignupApiError.php @@ -21,7 +21,7 @@ class ExchangeSignupApiError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/FeatureError.php b/src/Google/AdsApi/AdManager/v202511/FeatureError.php index 593ea6e1d..d942f889c 100644 --- a/src/Google/AdsApi/AdManager/v202511/FeatureError.php +++ b/src/Google/AdsApi/AdManager/v202511/FeatureError.php @@ -21,7 +21,7 @@ class FeatureError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/FileError.php b/src/Google/AdsApi/AdManager/v202511/FileError.php index 5b50823e6..688a74543 100644 --- a/src/Google/AdsApi/AdManager/v202511/FileError.php +++ b/src/Google/AdsApi/AdManager/v202511/FileError.php @@ -21,7 +21,7 @@ class FileError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/FirstPartyAudienceSegment.php b/src/Google/AdsApi/AdManager/v202511/FirstPartyAudienceSegment.php index 9da159325..0315c7bfa 100644 --- a/src/Google/AdsApi/AdManager/v202511/FirstPartyAudienceSegment.php +++ b/src/Google/AdsApi/AdManager/v202511/FirstPartyAudienceSegment.php @@ -23,7 +23,7 @@ abstract class FirstPartyAudienceSegment extends \Google\AdsApi\AdManager\v20251 * @param \Google\AdsApi\AdManager\v202511\AudienceSegmentDataProvider $dataProvider * @param string $type */ - public function __construct($id = null, $name = null, array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null) + public function __construct($id = null, $name = null, ?array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null) { parent::__construct($id, $name, $categoryIds, $description, $status, $size, $mobileWebSize, $idfaSize, $adIdSize, $ppidSize, $dataProvider, $type); } diff --git a/src/Google/AdsApi/AdManager/v202511/ForecastAdjustment.php b/src/Google/AdsApi/AdManager/v202511/ForecastAdjustment.php index 52726f2c8..bf0997b32 100644 --- a/src/Google/AdsApi/AdManager/v202511/ForecastAdjustment.php +++ b/src/Google/AdsApi/AdManager/v202511/ForecastAdjustment.php @@ -77,7 +77,7 @@ class ForecastAdjustment * @param \Google\AdsApi\AdManager\v202511\HistoricalBasisVolumeSettings $historicalBasisVolumeSettings * @param int[] $calculatedDailyAdOpportunityCounts */ - public function __construct($id = null, $trafficForecastSegmentId = null, $name = null, $dateRange = null, $status = null, $volumeType = null, $allowAdjustingForecastAboveRecommendedLimit = null, $dailyVolumeSettings = null, $totalVolumeSettings = null, $historicalBasisVolumeSettings = null, array $calculatedDailyAdOpportunityCounts = null) + public function __construct($id = null, $trafficForecastSegmentId = null, $name = null, $dateRange = null, $status = null, $volumeType = null, $allowAdjustingForecastAboveRecommendedLimit = null, $dailyVolumeSettings = null, $totalVolumeSettings = null, $historicalBasisVolumeSettings = null, ?array $calculatedDailyAdOpportunityCounts = null) { $this->id = $id; $this->trafficForecastSegmentId = $trafficForecastSegmentId; @@ -286,7 +286,7 @@ public function getCalculatedDailyAdOpportunityCounts() * @param int[]|null $calculatedDailyAdOpportunityCounts * @return \Google\AdsApi\AdManager\v202511\ForecastAdjustment */ - public function setCalculatedDailyAdOpportunityCounts(array $calculatedDailyAdOpportunityCounts = null) + public function setCalculatedDailyAdOpportunityCounts(?array $calculatedDailyAdOpportunityCounts = null) { $this->calculatedDailyAdOpportunityCounts = $calculatedDailyAdOpportunityCounts; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/ForecastAdjustmentError.php b/src/Google/AdsApi/AdManager/v202511/ForecastAdjustmentError.php index 2a470e1e1..b587c7b9f 100644 --- a/src/Google/AdsApi/AdManager/v202511/ForecastAdjustmentError.php +++ b/src/Google/AdsApi/AdManager/v202511/ForecastAdjustmentError.php @@ -21,7 +21,7 @@ class ForecastAdjustmentError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/ForecastAdjustmentPage.php b/src/Google/AdsApi/AdManager/v202511/ForecastAdjustmentPage.php index 4c950e3a9..92057d320 100644 --- a/src/Google/AdsApi/AdManager/v202511/ForecastAdjustmentPage.php +++ b/src/Google/AdsApi/AdManager/v202511/ForecastAdjustmentPage.php @@ -29,7 +29,7 @@ class ForecastAdjustmentPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\ForecastAdjustment[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\ForecastAdjustment[]|null $results * @return \Google\AdsApi\AdManager\v202511\ForecastAdjustmentPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/ForecastBreakdown.php b/src/Google/AdsApi/AdManager/v202511/ForecastBreakdown.php index 0d490f49a..13f760971 100644 --- a/src/Google/AdsApi/AdManager/v202511/ForecastBreakdown.php +++ b/src/Google/AdsApi/AdManager/v202511/ForecastBreakdown.php @@ -29,7 +29,7 @@ class ForecastBreakdown * @param \Google\AdsApi\AdManager\v202511\DateTime $endTime * @param \Google\AdsApi\AdManager\v202511\ForecastBreakdownEntry[] $breakdownEntries */ - public function __construct($startTime = null, $endTime = null, array $breakdownEntries = null) + public function __construct($startTime = null, $endTime = null, ?array $breakdownEntries = null) { $this->startTime = $startTime; $this->endTime = $endTime; @@ -84,7 +84,7 @@ public function getBreakdownEntries() * @param \Google\AdsApi\AdManager\v202511\ForecastBreakdownEntry[]|null $breakdownEntries * @return \Google\AdsApi\AdManager\v202511\ForecastBreakdown */ - public function setBreakdownEntries(array $breakdownEntries = null) + public function setBreakdownEntries(?array $breakdownEntries = null) { $this->breakdownEntries = $breakdownEntries; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/ForecastBreakdownOptions.php b/src/Google/AdsApi/AdManager/v202511/ForecastBreakdownOptions.php index 5e79efbec..32be2cbe7 100644 --- a/src/Google/AdsApi/AdManager/v202511/ForecastBreakdownOptions.php +++ b/src/Google/AdsApi/AdManager/v202511/ForecastBreakdownOptions.php @@ -23,7 +23,7 @@ class ForecastBreakdownOptions * @param \Google\AdsApi\AdManager\v202511\DateTime[] $timeWindows * @param \Google\AdsApi\AdManager\v202511\ForecastBreakdownTarget[] $targets */ - public function __construct(array $timeWindows = null, array $targets = null) + public function __construct(?array $timeWindows = null, ?array $targets = null) { $this->timeWindows = $timeWindows; $this->targets = $targets; @@ -41,7 +41,7 @@ public function getTimeWindows() * @param \Google\AdsApi\AdManager\v202511\DateTime[]|null $timeWindows * @return \Google\AdsApi\AdManager\v202511\ForecastBreakdownOptions */ - public function setTimeWindows(array $timeWindows = null) + public function setTimeWindows(?array $timeWindows = null) { $this->timeWindows = $timeWindows; return $this; @@ -59,7 +59,7 @@ public function getTargets() * @param \Google\AdsApi\AdManager\v202511\ForecastBreakdownTarget[]|null $targets * @return \Google\AdsApi\AdManager\v202511\ForecastBreakdownOptions */ - public function setTargets(array $targets = null) + public function setTargets(?array $targets = null) { $this->targets = $targets; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/ForecastError.php b/src/Google/AdsApi/AdManager/v202511/ForecastError.php index afd945d5c..5fc082172 100644 --- a/src/Google/AdsApi/AdManager/v202511/ForecastError.php +++ b/src/Google/AdsApi/AdManager/v202511/ForecastError.php @@ -21,7 +21,7 @@ class ForecastError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/FrequencyCapError.php b/src/Google/AdsApi/AdManager/v202511/FrequencyCapError.php index cbc5d2506..f13b118f8 100644 --- a/src/Google/AdsApi/AdManager/v202511/FrequencyCapError.php +++ b/src/Google/AdsApi/AdManager/v202511/FrequencyCapError.php @@ -21,7 +21,7 @@ class FrequencyCapError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/GenericTargetingError.php b/src/Google/AdsApi/AdManager/v202511/GenericTargetingError.php index fa9c62a82..938afb3d1 100644 --- a/src/Google/AdsApi/AdManager/v202511/GenericTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202511/GenericTargetingError.php @@ -21,7 +21,7 @@ class GenericTargetingError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/GeoTargeting.php b/src/Google/AdsApi/AdManager/v202511/GeoTargeting.php index 526629ca5..f1bd1eb9d 100644 --- a/src/Google/AdsApi/AdManager/v202511/GeoTargeting.php +++ b/src/Google/AdsApi/AdManager/v202511/GeoTargeting.php @@ -23,7 +23,7 @@ class GeoTargeting * @param \Google\AdsApi\AdManager\v202511\Location[] $targetedLocations * @param \Google\AdsApi\AdManager\v202511\Location[] $excludedLocations */ - public function __construct(array $targetedLocations = null, array $excludedLocations = null) + public function __construct(?array $targetedLocations = null, ?array $excludedLocations = null) { $this->targetedLocations = $targetedLocations; $this->excludedLocations = $excludedLocations; @@ -41,7 +41,7 @@ public function getTargetedLocations() * @param \Google\AdsApi\AdManager\v202511\Location[]|null $targetedLocations * @return \Google\AdsApi\AdManager\v202511\GeoTargeting */ - public function setTargetedLocations(array $targetedLocations = null) + public function setTargetedLocations(?array $targetedLocations = null) { $this->targetedLocations = $targetedLocations; return $this; @@ -59,7 +59,7 @@ public function getExcludedLocations() * @param \Google\AdsApi\AdManager\v202511\Location[]|null $excludedLocations * @return \Google\AdsApi\AdManager\v202511\GeoTargeting */ - public function setExcludedLocations(array $excludedLocations = null) + public function setExcludedLocations(?array $excludedLocations = null) { $this->excludedLocations = $excludedLocations; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/GeoTargetingError.php b/src/Google/AdsApi/AdManager/v202511/GeoTargetingError.php index 57a53183c..14a627eba 100644 --- a/src/Google/AdsApi/AdManager/v202511/GeoTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202511/GeoTargetingError.php @@ -21,7 +21,7 @@ class GeoTargetingError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/GrpSettingsError.php b/src/Google/AdsApi/AdManager/v202511/GrpSettingsError.php index 4e22fa2a0..6688e2526 100644 --- a/src/Google/AdsApi/AdManager/v202511/GrpSettingsError.php +++ b/src/Google/AdsApi/AdManager/v202511/GrpSettingsError.php @@ -21,7 +21,7 @@ class GrpSettingsError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/HasDestinationUrlCreative.php b/src/Google/AdsApi/AdManager/v202511/HasDestinationUrlCreative.php index aca8bd5a3..a88ae0b72 100644 --- a/src/Google/AdsApi/AdManager/v202511/HasDestinationUrlCreative.php +++ b/src/Google/AdsApi/AdManager/v202511/HasDestinationUrlCreative.php @@ -36,7 +36,8 @@ abstract class HasDestinationUrlCreative extends \Google\AdsApi\AdManager\v20251 * @param string $destinationUrl * @param string $destinationUrlType */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null) +>>>>>>> upstream/main:src/Google/AdsApi/AdManager/v202511/HasDestinationUrlCreative.php { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $thirdPartyDataDeclarationStatus, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent); $this->destinationUrl = $destinationUrl; diff --git a/src/Google/AdsApi/AdManager/v202511/HasHtmlSnippetDynamicAllocationCreative.php b/src/Google/AdsApi/AdManager/v202511/HasHtmlSnippetDynamicAllocationCreative.php index 384b00762..ec51ab992 100644 --- a/src/Google/AdsApi/AdManager/v202511/HasHtmlSnippetDynamicAllocationCreative.php +++ b/src/Google/AdsApi/AdManager/v202511/HasHtmlSnippetDynamicAllocationCreative.php @@ -30,7 +30,7 @@ abstract class HasHtmlSnippetDynamicAllocationCreative extends \Google\AdsApi\Ad * @param boolean $selfDeclaredEuropeanUnionPoliticalContent * @param string $codeSnippet */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $codeSnippet = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $codeSnippet = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $thirdPartyDataDeclarationStatus, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent); $this->codeSnippet = $codeSnippet; diff --git a/src/Google/AdsApi/AdManager/v202511/Html5Creative.php b/src/Google/AdsApi/AdManager/v202511/Html5Creative.php index 16e4f0560..5ab28a7fd 100644 --- a/src/Google/AdsApi/AdManager/v202511/Html5Creative.php +++ b/src/Google/AdsApi/AdManager/v202511/Html5Creative.php @@ -72,7 +72,7 @@ class Html5Creative extends \Google\AdsApi\AdManager\v202511\Creative * @param boolean $isSafeFrameCompatible * @param \Google\AdsApi\AdManager\v202511\CreativeAsset $html5Asset */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $overrideSize = null, array $thirdPartyImpressionTrackingUrls = null, $thirdPartyClickTrackingUrl = null, $lockedOrientation = null, $sslScanResult = null, $sslManualOverride = null, $isSafeFrameCompatible = null, $html5Asset = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $overrideSize = null, ?array $thirdPartyImpressionTrackingUrls = null, $thirdPartyClickTrackingUrl = null, $lockedOrientation = null, $sslScanResult = null, $sslManualOverride = null, $isSafeFrameCompatible = null, $html5Asset = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $thirdPartyDataDeclarationStatus, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent); $this->overrideSize = $overrideSize; @@ -115,7 +115,7 @@ public function getThirdPartyImpressionTrackingUrls() * @param string[]|null $thirdPartyImpressionTrackingUrls * @return \Google\AdsApi\AdManager\v202511\Html5Creative */ - public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) + public function setThirdPartyImpressionTrackingUrls(?array $thirdPartyImpressionTrackingUrls = null) { $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/HtmlBundleProcessorError.php b/src/Google/AdsApi/AdManager/v202511/HtmlBundleProcessorError.php index c108be114..30c09eeeb 100644 --- a/src/Google/AdsApi/AdManager/v202511/HtmlBundleProcessorError.php +++ b/src/Google/AdsApi/AdManager/v202511/HtmlBundleProcessorError.php @@ -21,7 +21,7 @@ class HtmlBundleProcessorError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/IdError.php b/src/Google/AdsApi/AdManager/v202511/IdError.php index b93b2fc77..c8af85770 100644 --- a/src/Google/AdsApi/AdManager/v202511/IdError.php +++ b/src/Google/AdsApi/AdManager/v202511/IdError.php @@ -21,7 +21,7 @@ class IdError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/ImageCreative.php b/src/Google/AdsApi/AdManager/v202511/ImageCreative.php index 6f80ef896..0911ad3dc 100644 --- a/src/Google/AdsApi/AdManager/v202511/ImageCreative.php +++ b/src/Google/AdsApi/AdManager/v202511/ImageCreative.php @@ -46,7 +46,7 @@ class ImageCreative extends \Google\AdsApi\AdManager\v202511\BaseImageCreative * @param string[] $thirdPartyImpressionTrackingUrls * @param \Google\AdsApi\AdManager\v202511\CreativeAsset[] $secondaryImageAssets */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $overrideSize = null, $primaryImageAsset = null, $altText = null, array $thirdPartyImpressionTrackingUrls = null, array $secondaryImageAssets = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $overrideSize = null, $primaryImageAsset = null, $altText = null, ?array $thirdPartyImpressionTrackingUrls = null, ?array $secondaryImageAssets = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $thirdPartyDataDeclarationStatus, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent, $destinationUrl, $destinationUrlType, $overrideSize, $primaryImageAsset); $this->altText = $altText; @@ -84,7 +84,7 @@ public function getThirdPartyImpressionTrackingUrls() * @param string[]|null $thirdPartyImpressionTrackingUrls * @return \Google\AdsApi\AdManager\v202511\ImageCreative */ - public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) + public function setThirdPartyImpressionTrackingUrls(?array $thirdPartyImpressionTrackingUrls = null) { $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; return $this; @@ -102,7 +102,7 @@ public function getSecondaryImageAssets() * @param \Google\AdsApi\AdManager\v202511\CreativeAsset[]|null $secondaryImageAssets * @return \Google\AdsApi\AdManager\v202511\ImageCreative */ - public function setSecondaryImageAssets(array $secondaryImageAssets = null) + public function setSecondaryImageAssets(?array $secondaryImageAssets = null) { $this->secondaryImageAssets = $secondaryImageAssets; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/ImageError.php b/src/Google/AdsApi/AdManager/v202511/ImageError.php index 5f87ed37d..c86695255 100644 --- a/src/Google/AdsApi/AdManager/v202511/ImageError.php +++ b/src/Google/AdsApi/AdManager/v202511/ImageError.php @@ -21,7 +21,7 @@ class ImageError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/ImageOverlayCreative.php b/src/Google/AdsApi/AdManager/v202511/ImageOverlayCreative.php index 6a9a4d045..1799c1a16 100644 --- a/src/Google/AdsApi/AdManager/v202511/ImageOverlayCreative.php +++ b/src/Google/AdsApi/AdManager/v202511/ImageOverlayCreative.php @@ -64,7 +64,7 @@ class ImageOverlayCreative extends \Google\AdsApi\AdManager\v202511\BaseImageCre * @param int $duration * @param string $vastPreviewUrl */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $overrideSize = null, $primaryImageAsset = null, array $companionCreativeIds = null, array $trackingUrls = null, $lockedOrientation = null, $customParameters = null, $duration = null, $vastPreviewUrl = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $overrideSize = null, $primaryImageAsset = null, ?array $companionCreativeIds = null, ?array $trackingUrls = null, $lockedOrientation = null, $customParameters = null, $duration = null, $vastPreviewUrl = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $thirdPartyDataDeclarationStatus, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent, $destinationUrl, $destinationUrlType, $overrideSize, $primaryImageAsset); $this->companionCreativeIds = $companionCreativeIds; @@ -87,7 +87,7 @@ public function getCompanionCreativeIds() * @param int[]|null $companionCreativeIds * @return \Google\AdsApi\AdManager\v202511\ImageOverlayCreative */ - public function setCompanionCreativeIds(array $companionCreativeIds = null) + public function setCompanionCreativeIds(?array $companionCreativeIds = null) { $this->companionCreativeIds = $companionCreativeIds; return $this; @@ -105,7 +105,7 @@ public function getTrackingUrls() * @param \Google\AdsApi\AdManager\v202511\ConversionEvent_TrackingUrlsMapEntry[]|null $trackingUrls * @return \Google\AdsApi\AdManager\v202511\ImageOverlayCreative */ - public function setTrackingUrls(array $trackingUrls = null) + public function setTrackingUrls(?array $trackingUrls = null) { $this->trackingUrls = $trackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/ImageRedirectCreative.php b/src/Google/AdsApi/AdManager/v202511/ImageRedirectCreative.php index 86f602630..226a5c193 100644 --- a/src/Google/AdsApi/AdManager/v202511/ImageRedirectCreative.php +++ b/src/Google/AdsApi/AdManager/v202511/ImageRedirectCreative.php @@ -39,7 +39,7 @@ class ImageRedirectCreative extends \Google\AdsApi\AdManager\v202511\BaseImageRe * @param string $altText * @param string[] $thirdPartyImpressionTrackingUrls */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $imageUrl = null, $altText = null, array $thirdPartyImpressionTrackingUrls = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $imageUrl = null, $altText = null, ?array $thirdPartyImpressionTrackingUrls = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $thirdPartyDataDeclarationStatus, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent, $destinationUrl, $destinationUrlType, $imageUrl); $this->altText = $altText; @@ -76,7 +76,7 @@ public function getThirdPartyImpressionTrackingUrls() * @param string[]|null $thirdPartyImpressionTrackingUrls * @return \Google\AdsApi\AdManager\v202511\ImageRedirectCreative */ - public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) + public function setThirdPartyImpressionTrackingUrls(?array $thirdPartyImpressionTrackingUrls = null) { $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/ImageRedirectOverlayCreative.php b/src/Google/AdsApi/AdManager/v202511/ImageRedirectOverlayCreative.php index 13327994c..c95d46e03 100644 --- a/src/Google/AdsApi/AdManager/v202511/ImageRedirectOverlayCreative.php +++ b/src/Google/AdsApi/AdManager/v202511/ImageRedirectOverlayCreative.php @@ -63,7 +63,7 @@ class ImageRedirectOverlayCreative extends \Google\AdsApi\AdManager\v202511\Base * @param string $customParameters * @param string $vastPreviewUrl */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $imageUrl = null, $assetSize = null, $duration = null, array $companionCreativeIds = null, array $trackingUrls = null, $customParameters = null, $vastPreviewUrl = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $imageUrl = null, $assetSize = null, $duration = null, ?array $companionCreativeIds = null, ?array $trackingUrls = null, $customParameters = null, $vastPreviewUrl = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $thirdPartyDataDeclarationStatus, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent, $destinationUrl, $destinationUrlType, $imageUrl); $this->assetSize = $assetSize; @@ -122,7 +122,7 @@ public function getCompanionCreativeIds() * @param int[]|null $companionCreativeIds * @return \Google\AdsApi\AdManager\v202511\ImageRedirectOverlayCreative */ - public function setCompanionCreativeIds(array $companionCreativeIds = null) + public function setCompanionCreativeIds(?array $companionCreativeIds = null) { $this->companionCreativeIds = $companionCreativeIds; return $this; @@ -140,7 +140,7 @@ public function getTrackingUrls() * @param \Google\AdsApi\AdManager\v202511\ConversionEvent_TrackingUrlsMapEntry[]|null $trackingUrls * @return \Google\AdsApi\AdManager\v202511\ImageRedirectOverlayCreative */ - public function setTrackingUrls(array $trackingUrls = null) + public function setTrackingUrls(?array $trackingUrls = null) { $this->trackingUrls = $trackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/InternalApiError.php b/src/Google/AdsApi/AdManager/v202511/InternalApiError.php index 8ef372b59..e416a8360 100644 --- a/src/Google/AdsApi/AdManager/v202511/InternalApiError.php +++ b/src/Google/AdsApi/AdManager/v202511/InternalApiError.php @@ -21,7 +21,7 @@ class InternalApiError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/InternalRedirectCreative.php b/src/Google/AdsApi/AdManager/v202511/InternalRedirectCreative.php index 5d4fce6c3..f5efae369 100644 --- a/src/Google/AdsApi/AdManager/v202511/InternalRedirectCreative.php +++ b/src/Google/AdsApi/AdManager/v202511/InternalRedirectCreative.php @@ -72,7 +72,7 @@ class InternalRedirectCreative extends \Google\AdsApi\AdManager\v202511\Creative * @param string $sslManualOverride * @param string[] $thirdPartyImpressionTrackingUrls */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $lockedOrientation = null, $assetSize = null, $internalRedirectUrl = null, $overrideSize = null, $isInterstitial = null, $sslScanResult = null, $sslManualOverride = null, array $thirdPartyImpressionTrackingUrls = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $lockedOrientation = null, $assetSize = null, $internalRedirectUrl = null, $overrideSize = null, $isInterstitial = null, $sslScanResult = null, $sslManualOverride = null, ?array $thirdPartyImpressionTrackingUrls = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $thirdPartyDataDeclarationStatus, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent); $this->lockedOrientation = $lockedOrientation; @@ -223,7 +223,7 @@ public function getThirdPartyImpressionTrackingUrls() * @param string[]|null $thirdPartyImpressionTrackingUrls * @return \Google\AdsApi\AdManager\v202511\InternalRedirectCreative */ - public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) + public function setThirdPartyImpressionTrackingUrls(?array $thirdPartyImpressionTrackingUrls = null) { $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/InvalidColorError.php b/src/Google/AdsApi/AdManager/v202511/InvalidColorError.php index 500e4d063..f59ac3887 100644 --- a/src/Google/AdsApi/AdManager/v202511/InvalidColorError.php +++ b/src/Google/AdsApi/AdManager/v202511/InvalidColorError.php @@ -21,7 +21,7 @@ class InvalidColorError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/InvalidEmailError.php b/src/Google/AdsApi/AdManager/v202511/InvalidEmailError.php index 6ea383e18..369955421 100644 --- a/src/Google/AdsApi/AdManager/v202511/InvalidEmailError.php +++ b/src/Google/AdsApi/AdManager/v202511/InvalidEmailError.php @@ -21,7 +21,7 @@ class InvalidEmailError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/InvalidPhoneNumberError.php b/src/Google/AdsApi/AdManager/v202511/InvalidPhoneNumberError.php index de1345974..82f3ad46b 100644 --- a/src/Google/AdsApi/AdManager/v202511/InvalidPhoneNumberError.php +++ b/src/Google/AdsApi/AdManager/v202511/InvalidPhoneNumberError.php @@ -21,7 +21,7 @@ class InvalidPhoneNumberError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/InvalidUrlError.php b/src/Google/AdsApi/AdManager/v202511/InvalidUrlError.php index 35310e19c..ee21e71b4 100644 --- a/src/Google/AdsApi/AdManager/v202511/InvalidUrlError.php +++ b/src/Google/AdsApi/AdManager/v202511/InvalidUrlError.php @@ -21,7 +21,7 @@ class InvalidUrlError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/InventoryClientApiError.php b/src/Google/AdsApi/AdManager/v202511/InventoryClientApiError.php index f9a18c550..21850d823 100644 --- a/src/Google/AdsApi/AdManager/v202511/InventoryClientApiError.php +++ b/src/Google/AdsApi/AdManager/v202511/InventoryClientApiError.php @@ -21,7 +21,7 @@ class InventoryClientApiError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/InventorySizeTargeting.php b/src/Google/AdsApi/AdManager/v202511/InventorySizeTargeting.php index 29436d436..047d88108 100644 --- a/src/Google/AdsApi/AdManager/v202511/InventorySizeTargeting.php +++ b/src/Google/AdsApi/AdManager/v202511/InventorySizeTargeting.php @@ -23,7 +23,7 @@ class InventorySizeTargeting * @param boolean $isTargeted * @param \Google\AdsApi\AdManager\v202511\TargetedSize[] $targetedSizes */ - public function __construct($isTargeted = null, array $targetedSizes = null) + public function __construct($isTargeted = null, ?array $targetedSizes = null) { $this->isTargeted = $isTargeted; $this->targetedSizes = $targetedSizes; @@ -59,7 +59,7 @@ public function getTargetedSizes() * @param \Google\AdsApi\AdManager\v202511\TargetedSize[]|null $targetedSizes * @return \Google\AdsApi\AdManager\v202511\InventorySizeTargeting */ - public function setTargetedSizes(array $targetedSizes = null) + public function setTargetedSizes(?array $targetedSizes = null) { $this->targetedSizes = $targetedSizes; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/InventoryTargeting.php b/src/Google/AdsApi/AdManager/v202511/InventoryTargeting.php index 6d234ce60..3a737bbd5 100644 --- a/src/Google/AdsApi/AdManager/v202511/InventoryTargeting.php +++ b/src/Google/AdsApi/AdManager/v202511/InventoryTargeting.php @@ -29,7 +29,7 @@ class InventoryTargeting * @param \Google\AdsApi\AdManager\v202511\AdUnitTargeting[] $excludedAdUnits * @param int[] $targetedPlacementIds */ - public function __construct(array $targetedAdUnits = null, array $excludedAdUnits = null, array $targetedPlacementIds = null) + public function __construct(?array $targetedAdUnits = null, ?array $excludedAdUnits = null, ?array $targetedPlacementIds = null) { $this->targetedAdUnits = $targetedAdUnits; $this->excludedAdUnits = $excludedAdUnits; @@ -48,7 +48,7 @@ public function getTargetedAdUnits() * @param \Google\AdsApi\AdManager\v202511\AdUnitTargeting[]|null $targetedAdUnits * @return \Google\AdsApi\AdManager\v202511\InventoryTargeting */ - public function setTargetedAdUnits(array $targetedAdUnits = null) + public function setTargetedAdUnits(?array $targetedAdUnits = null) { $this->targetedAdUnits = $targetedAdUnits; return $this; @@ -66,7 +66,7 @@ public function getExcludedAdUnits() * @param \Google\AdsApi\AdManager\v202511\AdUnitTargeting[]|null $excludedAdUnits * @return \Google\AdsApi\AdManager\v202511\InventoryTargeting */ - public function setExcludedAdUnits(array $excludedAdUnits = null) + public function setExcludedAdUnits(?array $excludedAdUnits = null) { $this->excludedAdUnits = $excludedAdUnits; return $this; @@ -84,7 +84,7 @@ public function getTargetedPlacementIds() * @param int[]|null $targetedPlacementIds * @return \Google\AdsApi\AdManager\v202511\InventoryTargeting */ - public function setTargetedPlacementIds(array $targetedPlacementIds = null) + public function setTargetedPlacementIds(?array $targetedPlacementIds = null) { $this->targetedPlacementIds = $targetedPlacementIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/InventoryTargetingError.php b/src/Google/AdsApi/AdManager/v202511/InventoryTargetingError.php index 1b1b84ed5..df01d3795 100644 --- a/src/Google/AdsApi/AdManager/v202511/InventoryTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202511/InventoryTargetingError.php @@ -21,7 +21,7 @@ class InventoryTargetingError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/InventoryUnitError.php b/src/Google/AdsApi/AdManager/v202511/InventoryUnitError.php index 83ba51791..66869d338 100644 --- a/src/Google/AdsApi/AdManager/v202511/InventoryUnitError.php +++ b/src/Google/AdsApi/AdManager/v202511/InventoryUnitError.php @@ -21,7 +21,7 @@ class InventoryUnitError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/InventoryUnitRefreshRateError.php b/src/Google/AdsApi/AdManager/v202511/InventoryUnitRefreshRateError.php index 842fe335b..e1d09c127 100644 --- a/src/Google/AdsApi/AdManager/v202511/InventoryUnitRefreshRateError.php +++ b/src/Google/AdsApi/AdManager/v202511/InventoryUnitRefreshRateError.php @@ -21,7 +21,7 @@ class InventoryUnitRefreshRateError extends \Google\AdsApi\AdManager\v202511\Api * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/InventoryUnitSizesError.php b/src/Google/AdsApi/AdManager/v202511/InventoryUnitSizesError.php index 1526c3e2e..e1000ce70 100644 --- a/src/Google/AdsApi/AdManager/v202511/InventoryUnitSizesError.php +++ b/src/Google/AdsApi/AdManager/v202511/InventoryUnitSizesError.php @@ -21,7 +21,7 @@ class InventoryUnitSizesError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/InventoryUrlTargeting.php b/src/Google/AdsApi/AdManager/v202511/InventoryUrlTargeting.php index c4d72ea15..397c8d062 100644 --- a/src/Google/AdsApi/AdManager/v202511/InventoryUrlTargeting.php +++ b/src/Google/AdsApi/AdManager/v202511/InventoryUrlTargeting.php @@ -23,7 +23,7 @@ class InventoryUrlTargeting * @param \Google\AdsApi\AdManager\v202511\InventoryUrl[] $targetedUrls * @param \Google\AdsApi\AdManager\v202511\InventoryUrl[] $excludedUrls */ - public function __construct(array $targetedUrls = null, array $excludedUrls = null) + public function __construct(?array $targetedUrls = null, ?array $excludedUrls = null) { $this->targetedUrls = $targetedUrls; $this->excludedUrls = $excludedUrls; @@ -41,7 +41,7 @@ public function getTargetedUrls() * @param \Google\AdsApi\AdManager\v202511\InventoryUrl[]|null $targetedUrls * @return \Google\AdsApi\AdManager\v202511\InventoryUrlTargeting */ - public function setTargetedUrls(array $targetedUrls = null) + public function setTargetedUrls(?array $targetedUrls = null) { $this->targetedUrls = $targetedUrls; return $this; @@ -59,7 +59,7 @@ public function getExcludedUrls() * @param \Google\AdsApi\AdManager\v202511\InventoryUrl[]|null $excludedUrls * @return \Google\AdsApi\AdManager\v202511\InventoryUrlTargeting */ - public function setExcludedUrls(array $excludedUrls = null) + public function setExcludedUrls(?array $excludedUrls = null) { $this->excludedUrls = $excludedUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/Label.php b/src/Google/AdsApi/AdManager/v202511/Label.php index 0697fd812..74f8e70bd 100644 --- a/src/Google/AdsApi/AdManager/v202511/Label.php +++ b/src/Google/AdsApi/AdManager/v202511/Label.php @@ -47,7 +47,7 @@ class Label * @param \Google\AdsApi\AdManager\v202511\AdCategoryDto $adCategory * @param string[] $types */ - public function __construct($id = null, $name = null, $description = null, $isActive = null, $adCategory = null, array $types = null) + public function __construct($id = null, $name = null, $description = null, $isActive = null, $adCategory = null, ?array $types = null) { $this->id = $id; $this->name = $name; @@ -160,7 +160,7 @@ public function getTypes() * @param string[]|null $types * @return \Google\AdsApi\AdManager\v202511\Label */ - public function setTypes(array $types = null) + public function setTypes(?array $types = null) { $this->types = $types; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/LabelEntityAssociationError.php b/src/Google/AdsApi/AdManager/v202511/LabelEntityAssociationError.php index 70c0c4428..f5902a21f 100644 --- a/src/Google/AdsApi/AdManager/v202511/LabelEntityAssociationError.php +++ b/src/Google/AdsApi/AdManager/v202511/LabelEntityAssociationError.php @@ -21,7 +21,7 @@ class LabelEntityAssociationError extends \Google\AdsApi\AdManager\v202511\ApiEr * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/LabelError.php b/src/Google/AdsApi/AdManager/v202511/LabelError.php index a9829e939..0cf45e5a8 100644 --- a/src/Google/AdsApi/AdManager/v202511/LabelError.php +++ b/src/Google/AdsApi/AdManager/v202511/LabelError.php @@ -21,7 +21,7 @@ class LabelError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/LabelPage.php b/src/Google/AdsApi/AdManager/v202511/LabelPage.php index ee17a35da..a3065d53a 100644 --- a/src/Google/AdsApi/AdManager/v202511/LabelPage.php +++ b/src/Google/AdsApi/AdManager/v202511/LabelPage.php @@ -29,7 +29,7 @@ class LabelPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\Label[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\Label[]|null $results * @return \Google\AdsApi\AdManager\v202511\LabelPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/LineItem.php b/src/Google/AdsApi/AdManager/v202511/LineItem.php index a34ab0f45..0424b55fe 100644 --- a/src/Google/AdsApi/AdManager/v202511/LineItem.php +++ b/src/Google/AdsApi/AdManager/v202511/LineItem.php @@ -87,7 +87,7 @@ class LineItem extends \Google\AdsApi\AdManager\v202511\LineItemSummary * @param \Google\AdsApi\AdManager\v202511\Targeting $targeting * @param \Google\AdsApi\AdManager\v202511\CreativeTargeting[] $creativeTargetings */ - public function __construct($orderId = null, $id = null, $name = null, $externalId = null, $orderName = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $autoExtensionDays = null, $unlimitedEndDateTime = null, $creativeRotationType = null, $deliveryRateType = null, $deliveryForecastSource = null, $customPacingCurve = null, $roadblockingType = null, $skippableAdType = null, array $frequencyCaps = null, $lineItemType = null, $priority = null, $costPerUnit = null, $valueCostPerUnit = null, $costType = null, $discountType = null, $discount = null, $contractedUnitsBought = null, array $creativePlaceholders = null, array $activityAssociations = null, $environmentType = null, array $allowedFormats = null, $companionDeliveryOption = null, $allowOverbook = null, $skipInventoryCheck = null, $skipCrossSellingRuleWarningChecks = null, $reserveAtCreation = null, $stats = null, $deliveryIndicator = null, $deliveryData = null, $budget = null, $status = null, $reservationStatus = null, $isArchived = null, $webPropertyCode = null, array $appliedLabels = null, array $effectiveAppliedLabels = null, $disableSameAdvertiserCompetitiveExclusion = null, $lastModifiedByApp = null, $notes = null, $competitiveConstraintScope = null, $lastModifiedDateTime = null, $creationDateTime = null, array $customFieldValues = null, $isMissingCreatives = null, $programmaticCreativeSource = null, $thirdPartyMeasurementSettings = null, $youtubeKidsRestricted = null, $videoMaxDuration = null, $primaryGoal = null, array $secondaryGoals = null, $grpSettings = null, $dealInfo = null, array $viewabilityProviderCompanyIds = null, $childContentEligibility = null, $customVastExtension = null, $repeatedCreativeServingEnabled = null, $targeting = null, array $creativeTargetings = null) + public function __construct($orderId = null, $id = null, $name = null, $externalId = null, $orderName = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $autoExtensionDays = null, $unlimitedEndDateTime = null, $creativeRotationType = null, $deliveryRateType = null, $deliveryForecastSource = null, $customPacingCurve = null, $roadblockingType = null, $skippableAdType = null, ?array $frequencyCaps = null, $lineItemType = null, $priority = null, $costPerUnit = null, $valueCostPerUnit = null, $costType = null, $discountType = null, $discount = null, $contractedUnitsBought = null, ?array $creativePlaceholders = null, ?array $activityAssociations = null, $environmentType = null, ?array $allowedFormats = null, $companionDeliveryOption = null, $allowOverbook = null, $skipInventoryCheck = null, $skipCrossSellingRuleWarningChecks = null, $reserveAtCreation = null, $stats = null, $deliveryIndicator = null, $deliveryData = null, $budget = null, $status = null, $reservationStatus = null, $isArchived = null, $webPropertyCode = null, ?array $appliedLabels = null, ?array $effectiveAppliedLabels = null, $disableSameAdvertiserCompetitiveExclusion = null, $lastModifiedByApp = null, $notes = null, $competitiveConstraintScope = null, $lastModifiedDateTime = null, $creationDateTime = null, ?array $customFieldValues = null, $isMissingCreatives = null, $programmaticCreativeSource = null, $thirdPartyMeasurementSettings = null, $youtubeKidsRestricted = null, $videoMaxDuration = null, $primaryGoal = null, ?array $secondaryGoals = null, $grpSettings = null, $dealInfo = null, ?array $viewabilityProviderCompanyIds = null, $childContentEligibility = null, $customVastExtension = null, $repeatedCreativeServingEnabled = null, $targeting = null, ?array $creativeTargetings = null) { parent::__construct($orderId, $id, $name, $externalId, $orderName, $startDateTime, $startDateTimeType, $endDateTime, $autoExtensionDays, $unlimitedEndDateTime, $creativeRotationType, $deliveryRateType, $deliveryForecastSource, $customPacingCurve, $roadblockingType, $skippableAdType, $frequencyCaps, $lineItemType, $priority, $costPerUnit, $valueCostPerUnit, $costType, $discountType, $discount, $contractedUnitsBought, $creativePlaceholders, $activityAssociations, $environmentType, $allowedFormats, $companionDeliveryOption, $allowOverbook, $skipInventoryCheck, $skipCrossSellingRuleWarningChecks, $reserveAtCreation, $stats, $deliveryIndicator, $deliveryData, $budget, $status, $reservationStatus, $isArchived, $webPropertyCode, $appliedLabels, $effectiveAppliedLabels, $disableSameAdvertiserCompetitiveExclusion, $lastModifiedByApp, $notes, $competitiveConstraintScope, $lastModifiedDateTime, $creationDateTime, $customFieldValues, $isMissingCreatives, $programmaticCreativeSource, $thirdPartyMeasurementSettings, $youtubeKidsRestricted, $videoMaxDuration, $primaryGoal, $secondaryGoals, $grpSettings, $dealInfo, $viewabilityProviderCompanyIds, $childContentEligibility, $customVastExtension, $repeatedCreativeServingEnabled); $this->targeting = $targeting; @@ -124,7 +124,7 @@ public function getCreativeTargetings() * @param \Google\AdsApi\AdManager\v202511\CreativeTargeting[]|null $creativeTargetings * @return \Google\AdsApi\AdManager\v202511\LineItem */ - public function setCreativeTargetings(array $creativeTargetings = null) + public function setCreativeTargetings(?array $creativeTargetings = null) { $this->creativeTargetings = $creativeTargetings; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/LineItemActivityAssociationError.php b/src/Google/AdsApi/AdManager/v202511/LineItemActivityAssociationError.php index 741a0af72..1af447f81 100644 --- a/src/Google/AdsApi/AdManager/v202511/LineItemActivityAssociationError.php +++ b/src/Google/AdsApi/AdManager/v202511/LineItemActivityAssociationError.php @@ -21,7 +21,7 @@ class LineItemActivityAssociationError extends \Google\AdsApi\AdManager\v202511\ * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/LineItemCreativeAssociation.php b/src/Google/AdsApi/AdManager/v202511/LineItemCreativeAssociation.php index d872bcc35..3fc5ea791 100644 --- a/src/Google/AdsApi/AdManager/v202511/LineItemCreativeAssociation.php +++ b/src/Google/AdsApi/AdManager/v202511/LineItemCreativeAssociation.php @@ -95,7 +95,7 @@ class LineItemCreativeAssociation * @param \Google\AdsApi\AdManager\v202511\DateTime $lastModifiedDateTime * @param string $targetingName */ - public function __construct($lineItemId = null, $creativeId = null, $creativeSetId = null, $manualCreativeRotationWeight = null, $sequentialCreativeRotationIndex = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $destinationUrl = null, array $sizes = null, $status = null, $stats = null, $lastModifiedDateTime = null, $targetingName = null) + public function __construct($lineItemId = null, $creativeId = null, $creativeSetId = null, $manualCreativeRotationWeight = null, $sequentialCreativeRotationIndex = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $destinationUrl = null, ?array $sizes = null, $status = null, $stats = null, $lastModifiedDateTime = null, $targetingName = null) { $this->lineItemId = $lineItemId; $this->creativeId = $creativeId; @@ -290,7 +290,7 @@ public function getSizes() * @param \Google\AdsApi\AdManager\v202511\Size[]|null $sizes * @return \Google\AdsApi\AdManager\v202511\LineItemCreativeAssociation */ - public function setSizes(array $sizes = null) + public function setSizes(?array $sizes = null) { $this->sizes = $sizes; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/LineItemCreativeAssociationError.php b/src/Google/AdsApi/AdManager/v202511/LineItemCreativeAssociationError.php index c08c6275d..7ac63e823 100644 --- a/src/Google/AdsApi/AdManager/v202511/LineItemCreativeAssociationError.php +++ b/src/Google/AdsApi/AdManager/v202511/LineItemCreativeAssociationError.php @@ -21,7 +21,7 @@ class LineItemCreativeAssociationError extends \Google\AdsApi\AdManager\v202511\ * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/LineItemCreativeAssociationOperationError.php b/src/Google/AdsApi/AdManager/v202511/LineItemCreativeAssociationOperationError.php index ef43d8e6e..00df6effd 100644 --- a/src/Google/AdsApi/AdManager/v202511/LineItemCreativeAssociationOperationError.php +++ b/src/Google/AdsApi/AdManager/v202511/LineItemCreativeAssociationOperationError.php @@ -21,7 +21,7 @@ class LineItemCreativeAssociationOperationError extends \Google\AdsApi\AdManager * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/LineItemCreativeAssociationPage.php b/src/Google/AdsApi/AdManager/v202511/LineItemCreativeAssociationPage.php index 894cb9f3c..44b744837 100644 --- a/src/Google/AdsApi/AdManager/v202511/LineItemCreativeAssociationPage.php +++ b/src/Google/AdsApi/AdManager/v202511/LineItemCreativeAssociationPage.php @@ -29,7 +29,7 @@ class LineItemCreativeAssociationPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\LineItemCreativeAssociation[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\LineItemCreativeAssociation[]|null $results * @return \Google\AdsApi\AdManager\v202511\LineItemCreativeAssociationPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/LineItemError.php b/src/Google/AdsApi/AdManager/v202511/LineItemError.php index a740431f4..a1feff28c 100644 --- a/src/Google/AdsApi/AdManager/v202511/LineItemError.php +++ b/src/Google/AdsApi/AdManager/v202511/LineItemError.php @@ -21,7 +21,7 @@ class LineItemError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/LineItemFlightDateError.php b/src/Google/AdsApi/AdManager/v202511/LineItemFlightDateError.php index e05cbb37b..bd2e8ee45 100644 --- a/src/Google/AdsApi/AdManager/v202511/LineItemFlightDateError.php +++ b/src/Google/AdsApi/AdManager/v202511/LineItemFlightDateError.php @@ -21,7 +21,7 @@ class LineItemFlightDateError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/LineItemOperationError.php b/src/Google/AdsApi/AdManager/v202511/LineItemOperationError.php index d3939943b..07e4fe791 100644 --- a/src/Google/AdsApi/AdManager/v202511/LineItemOperationError.php +++ b/src/Google/AdsApi/AdManager/v202511/LineItemOperationError.php @@ -21,7 +21,7 @@ class LineItemOperationError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/LineItemPage.php b/src/Google/AdsApi/AdManager/v202511/LineItemPage.php index fb74354cc..a6c707921 100644 --- a/src/Google/AdsApi/AdManager/v202511/LineItemPage.php +++ b/src/Google/AdsApi/AdManager/v202511/LineItemPage.php @@ -29,7 +29,7 @@ class LineItemPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\LineItem[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\LineItem[]|null $results * @return \Google\AdsApi\AdManager\v202511\LineItemPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/LineItemSummary.php b/src/Google/AdsApi/AdManager/v202511/LineItemSummary.php index 1d23dc7c2..86ad32713 100644 --- a/src/Google/AdsApi/AdManager/v202511/LineItemSummary.php +++ b/src/Google/AdsApi/AdManager/v202511/LineItemSummary.php @@ -395,7 +395,7 @@ class LineItemSummary * @param string $customVastExtension * @param boolean $repeatedCreativeServingEnabled */ - public function __construct($orderId = null, $id = null, $name = null, $externalId = null, $orderName = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $autoExtensionDays = null, $unlimitedEndDateTime = null, $creativeRotationType = null, $deliveryRateType = null, $deliveryForecastSource = null, $customPacingCurve = null, $roadblockingType = null, $skippableAdType = null, array $frequencyCaps = null, $lineItemType = null, $priority = null, $costPerUnit = null, $valueCostPerUnit = null, $costType = null, $discountType = null, $discount = null, $contractedUnitsBought = null, array $creativePlaceholders = null, array $activityAssociations = null, $environmentType = null, array $allowedFormats = null, $companionDeliveryOption = null, $allowOverbook = null, $skipInventoryCheck = null, $skipCrossSellingRuleWarningChecks = null, $reserveAtCreation = null, $stats = null, $deliveryIndicator = null, $deliveryData = null, $budget = null, $status = null, $reservationStatus = null, $isArchived = null, $webPropertyCode = null, array $appliedLabels = null, array $effectiveAppliedLabels = null, $disableSameAdvertiserCompetitiveExclusion = null, $lastModifiedByApp = null, $notes = null, $competitiveConstraintScope = null, $lastModifiedDateTime = null, $creationDateTime = null, array $customFieldValues = null, $isMissingCreatives = null, $programmaticCreativeSource = null, $thirdPartyMeasurementSettings = null, $youtubeKidsRestricted = null, $videoMaxDuration = null, $primaryGoal = null, array $secondaryGoals = null, $grpSettings = null, $dealInfo = null, array $viewabilityProviderCompanyIds = null, $childContentEligibility = null, $customVastExtension = null, $repeatedCreativeServingEnabled = null) + public function __construct($orderId = null, $id = null, $name = null, $externalId = null, $orderName = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $autoExtensionDays = null, $unlimitedEndDateTime = null, $creativeRotationType = null, $deliveryRateType = null, $deliveryForecastSource = null, $customPacingCurve = null, $roadblockingType = null, $skippableAdType = null, ?array $frequencyCaps = null, $lineItemType = null, $priority = null, $costPerUnit = null, $valueCostPerUnit = null, $costType = null, $discountType = null, $discount = null, $contractedUnitsBought = null, ?array $creativePlaceholders = null, ?array $activityAssociations = null, $environmentType = null, ?array $allowedFormats = null, $companionDeliveryOption = null, $allowOverbook = null, $skipInventoryCheck = null, $skipCrossSellingRuleWarningChecks = null, $reserveAtCreation = null, $stats = null, $deliveryIndicator = null, $deliveryData = null, $budget = null, $status = null, $reservationStatus = null, $isArchived = null, $webPropertyCode = null, ?array $appliedLabels = null, ?array $effectiveAppliedLabels = null, $disableSameAdvertiserCompetitiveExclusion = null, $lastModifiedByApp = null, $notes = null, $competitiveConstraintScope = null, $lastModifiedDateTime = null, $creationDateTime = null, ?array $customFieldValues = null, $isMissingCreatives = null, $programmaticCreativeSource = null, $thirdPartyMeasurementSettings = null, $youtubeKidsRestricted = null, $videoMaxDuration = null, $primaryGoal = null, ?array $secondaryGoals = null, $grpSettings = null, $dealInfo = null, ?array $viewabilityProviderCompanyIds = null, $childContentEligibility = null, $customVastExtension = null, $repeatedCreativeServingEnabled = null) { $this->orderId = $orderId; $this->id = $id; @@ -765,7 +765,7 @@ public function getFrequencyCaps() * @param \Google\AdsApi\AdManager\v202511\FrequencyCap[]|null $frequencyCaps * @return \Google\AdsApi\AdManager\v202511\LineItemSummary */ - public function setFrequencyCaps(array $frequencyCaps = null) + public function setFrequencyCaps(?array $frequencyCaps = null) { $this->frequencyCaps = $frequencyCaps; return $this; @@ -928,7 +928,7 @@ public function getCreativePlaceholders() * @param \Google\AdsApi\AdManager\v202511\CreativePlaceholder[]|null $creativePlaceholders * @return \Google\AdsApi\AdManager\v202511\LineItemSummary */ - public function setCreativePlaceholders(array $creativePlaceholders = null) + public function setCreativePlaceholders(?array $creativePlaceholders = null) { $this->creativePlaceholders = $creativePlaceholders; return $this; @@ -946,7 +946,7 @@ public function getActivityAssociations() * @param \Google\AdsApi\AdManager\v202511\LineItemActivityAssociation[]|null $activityAssociations * @return \Google\AdsApi\AdManager\v202511\LineItemSummary */ - public function setActivityAssociations(array $activityAssociations = null) + public function setActivityAssociations(?array $activityAssociations = null) { $this->activityAssociations = $activityAssociations; return $this; @@ -982,7 +982,7 @@ public function getAllowedFormats() * @param string[]|null $allowedFormats * @return \Google\AdsApi\AdManager\v202511\LineItemSummary */ - public function setAllowedFormats(array $allowedFormats = null) + public function setAllowedFormats(?array $allowedFormats = null) { $this->allowedFormats = $allowedFormats; return $this; @@ -1234,7 +1234,7 @@ public function getAppliedLabels() * @param \Google\AdsApi\AdManager\v202511\AppliedLabel[]|null $appliedLabels * @return \Google\AdsApi\AdManager\v202511\LineItemSummary */ - public function setAppliedLabels(array $appliedLabels = null) + public function setAppliedLabels(?array $appliedLabels = null) { $this->appliedLabels = $appliedLabels; return $this; @@ -1252,7 +1252,7 @@ public function getEffectiveAppliedLabels() * @param \Google\AdsApi\AdManager\v202511\AppliedLabel[]|null $effectiveAppliedLabels * @return \Google\AdsApi\AdManager\v202511\LineItemSummary */ - public function setEffectiveAppliedLabels(array $effectiveAppliedLabels = null) + public function setEffectiveAppliedLabels(?array $effectiveAppliedLabels = null) { $this->effectiveAppliedLabels = $effectiveAppliedLabels; return $this; @@ -1378,7 +1378,7 @@ public function getCustomFieldValues() * @param \Google\AdsApi\AdManager\v202511\BaseCustomFieldValue[]|null $customFieldValues * @return \Google\AdsApi\AdManager\v202511\LineItemSummary */ - public function setCustomFieldValues(array $customFieldValues = null) + public function setCustomFieldValues(?array $customFieldValues = null) { $this->customFieldValues = $customFieldValues; return $this; @@ -1505,7 +1505,7 @@ public function getSecondaryGoals() * @param \Google\AdsApi\AdManager\v202511\Goal[]|null $secondaryGoals * @return \Google\AdsApi\AdManager\v202511\LineItemSummary */ - public function setSecondaryGoals(array $secondaryGoals = null) + public function setSecondaryGoals(?array $secondaryGoals = null) { $this->secondaryGoals = $secondaryGoals; return $this; @@ -1559,7 +1559,7 @@ public function getViewabilityProviderCompanyIds() * @param int[]|null $viewabilityProviderCompanyIds * @return \Google\AdsApi\AdManager\v202511\LineItemSummary */ - public function setViewabilityProviderCompanyIds(array $viewabilityProviderCompanyIds = null) + public function setViewabilityProviderCompanyIds(?array $viewabilityProviderCompanyIds = null) { $this->viewabilityProviderCompanyIds = $viewabilityProviderCompanyIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/LineItemTemplatePage.php b/src/Google/AdsApi/AdManager/v202511/LineItemTemplatePage.php index 2c2621d18..4e2c71bae 100644 --- a/src/Google/AdsApi/AdManager/v202511/LineItemTemplatePage.php +++ b/src/Google/AdsApi/AdManager/v202511/LineItemTemplatePage.php @@ -29,7 +29,7 @@ class LineItemTemplatePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\LineItemTemplate[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\LineItemTemplate[]|null $results * @return \Google\AdsApi\AdManager\v202511\LineItemTemplatePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/ListStringCreativeTemplateVariable.php b/src/Google/AdsApi/AdManager/v202511/ListStringCreativeTemplateVariable.php index 8d8bcfe38..4cc8eaeeb 100644 --- a/src/Google/AdsApi/AdManager/v202511/ListStringCreativeTemplateVariable.php +++ b/src/Google/AdsApi/AdManager/v202511/ListStringCreativeTemplateVariable.php @@ -28,7 +28,7 @@ class ListStringCreativeTemplateVariable extends \Google\AdsApi\AdManager\v20251 * @param \Google\AdsApi\AdManager\v202511\ListStringCreativeTemplateVariableVariableChoice[] $choices * @param boolean $allowOtherChoice */ - public function __construct($label = null, $uniqueName = null, $description = null, $isRequired = null, $defaultValue = null, array $choices = null, $allowOtherChoice = null) + public function __construct($label = null, $uniqueName = null, $description = null, $isRequired = null, $defaultValue = null, ?array $choices = null, $allowOtherChoice = null) { parent::__construct($label, $uniqueName, $description, $isRequired, $defaultValue); $this->choices = $choices; @@ -47,7 +47,7 @@ public function getChoices() * @param \Google\AdsApi\AdManager\v202511\ListStringCreativeTemplateVariableVariableChoice[]|null $choices * @return \Google\AdsApi\AdManager\v202511\ListStringCreativeTemplateVariable */ - public function setChoices(array $choices = null) + public function setChoices(?array $choices = null) { $this->choices = $choices; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/LiveStreamEvent.php b/src/Google/AdsApi/AdManager/v202511/LiveStreamEvent.php index c82755fff..195c8d662 100644 --- a/src/Google/AdsApi/AdManager/v202511/LiveStreamEvent.php +++ b/src/Google/AdsApi/AdManager/v202511/LiveStreamEvent.php @@ -269,7 +269,7 @@ class LiveStreamEvent * @param string $adServingFormat * @param \Google\AdsApi\AdManager\v202511\LiveStreamConditioning $liveStreamConditioning */ - public function __construct($id = null, $name = null, $status = null, $creationDateTime = null, $lastModifiedDateTime = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $unlimitedEndDateTime = null, $totalEstimatedConcurrentUsers = null, array $contentUrls = null, array $adTags = null, $assetKey = null, $slateCreativeId = null, $dvrWindowSeconds = null, $enableDaiAuthenticationKeys = null, $adBreakFillType = null, $underfillAdBreakFillType = null, $adHolidayDuration = null, $enableMaxFillerDuration = null, $maxFillerDuration = null, $podServingSegmentDuration = null, $enableDurationlessAdBreaks = null, $defaultAdBreakDuration = null, array $streamCreateDaiAuthenticationKeyIds = null, array $sourceContentConfigurationIds = null, $prerollSettings = null, $hlsSettings = null, $enableAllowlistedIps = null, $dynamicAdInsertionType = null, $enableRelativePlaylistDelivery = null, $streamingFormat = null, $prefetchEnabled = null, $prefetchSettings = null, $enableForceCloseAdBreaks = null, $enableShortSegmentDropping = null, $customAssetKey = null, array $daiEncodingProfileIds = null, array $segmentUrlAuthenticationKeyIds = null, array $adBreakMarkups = null, $adBreakMarkupTypesEnabled = null, $adServingFormat = null, $liveStreamConditioning = null) + public function __construct($id = null, $name = null, $status = null, $creationDateTime = null, $lastModifiedDateTime = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $unlimitedEndDateTime = null, $totalEstimatedConcurrentUsers = null, ?array $contentUrls = null, ?array $adTags = null, $assetKey = null, $slateCreativeId = null, $dvrWindowSeconds = null, $enableDaiAuthenticationKeys = null, $adBreakFillType = null, $underfillAdBreakFillType = null, $adHolidayDuration = null, $enableMaxFillerDuration = null, $maxFillerDuration = null, $podServingSegmentDuration = null, $enableDurationlessAdBreaks = null, $defaultAdBreakDuration = null, ?array $streamCreateDaiAuthenticationKeyIds = null, ?array $sourceContentConfigurationIds = null, $prerollSettings = null, $hlsSettings = null, $enableAllowlistedIps = null, $dynamicAdInsertionType = null, $enableRelativePlaylistDelivery = null, $streamingFormat = null, $prefetchEnabled = null, $prefetchSettings = null, $enableForceCloseAdBreaks = null, $enableShortSegmentDropping = null, $customAssetKey = null, ?array $daiEncodingProfileIds = null, ?array $segmentUrlAuthenticationKeyIds = null, ?array $adBreakMarkups = null, $adBreakMarkupTypesEnabled = null, $adServingFormat = null, $liveStreamConditioning = null) { $this->id = $id; $this->name = $name; @@ -510,7 +510,7 @@ public function getContentUrls() * @param string[]|null $contentUrls * @return \Google\AdsApi\AdManager\v202511\LiveStreamEvent */ - public function setContentUrls(array $contentUrls = null) + public function setContentUrls(?array $contentUrls = null) { $this->contentUrls = $contentUrls; return $this; @@ -528,7 +528,7 @@ public function getAdTags() * @param string[]|null $adTags * @return \Google\AdsApi\AdManager\v202511\LiveStreamEvent */ - public function setAdTags(array $adTags = null) + public function setAdTags(?array $adTags = null) { $this->adTags = $adTags; return $this; @@ -767,7 +767,7 @@ public function getStreamCreateDaiAuthenticationKeyIds() * @param int[]|null $streamCreateDaiAuthenticationKeyIds * @return \Google\AdsApi\AdManager\v202511\LiveStreamEvent */ - public function setStreamCreateDaiAuthenticationKeyIds(array $streamCreateDaiAuthenticationKeyIds = null) + public function setStreamCreateDaiAuthenticationKeyIds(?array $streamCreateDaiAuthenticationKeyIds = null) { $this->streamCreateDaiAuthenticationKeyIds = $streamCreateDaiAuthenticationKeyIds; return $this; @@ -785,7 +785,7 @@ public function getSourceContentConfigurationIds() * @param int[]|null $sourceContentConfigurationIds * @return \Google\AdsApi\AdManager\v202511\LiveStreamEvent */ - public function setSourceContentConfigurationIds(array $sourceContentConfigurationIds = null) + public function setSourceContentConfigurationIds(?array $sourceContentConfigurationIds = null) { $this->sourceContentConfigurationIds = $sourceContentConfigurationIds; return $this; @@ -1001,7 +1001,7 @@ public function getDaiEncodingProfileIds() * @param int[]|null $daiEncodingProfileIds * @return \Google\AdsApi\AdManager\v202511\LiveStreamEvent */ - public function setDaiEncodingProfileIds(array $daiEncodingProfileIds = null) + public function setDaiEncodingProfileIds(?array $daiEncodingProfileIds = null) { $this->daiEncodingProfileIds = $daiEncodingProfileIds; return $this; @@ -1019,7 +1019,7 @@ public function getSegmentUrlAuthenticationKeyIds() * @param int[]|null $segmentUrlAuthenticationKeyIds * @return \Google\AdsApi\AdManager\v202511\LiveStreamEvent */ - public function setSegmentUrlAuthenticationKeyIds(array $segmentUrlAuthenticationKeyIds = null) + public function setSegmentUrlAuthenticationKeyIds(?array $segmentUrlAuthenticationKeyIds = null) { $this->segmentUrlAuthenticationKeyIds = $segmentUrlAuthenticationKeyIds; return $this; @@ -1037,7 +1037,7 @@ public function getAdBreakMarkups() * @param string[]|null $adBreakMarkups * @return \Google\AdsApi\AdManager\v202511\LiveStreamEvent */ - public function setAdBreakMarkups(array $adBreakMarkups = null) + public function setAdBreakMarkups(?array $adBreakMarkups = null) { $this->adBreakMarkups = $adBreakMarkups; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/LiveStreamEventActionError.php b/src/Google/AdsApi/AdManager/v202511/LiveStreamEventActionError.php index 4b848f0b3..16ce1c266 100644 --- a/src/Google/AdsApi/AdManager/v202511/LiveStreamEventActionError.php +++ b/src/Google/AdsApi/AdManager/v202511/LiveStreamEventActionError.php @@ -21,7 +21,7 @@ class LiveStreamEventActionError extends \Google\AdsApi\AdManager\v202511\ApiErr * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/LiveStreamEventCdnSettingsError.php b/src/Google/AdsApi/AdManager/v202511/LiveStreamEventCdnSettingsError.php index f8750a362..a92f82afc 100644 --- a/src/Google/AdsApi/AdManager/v202511/LiveStreamEventCdnSettingsError.php +++ b/src/Google/AdsApi/AdManager/v202511/LiveStreamEventCdnSettingsError.php @@ -21,7 +21,7 @@ class LiveStreamEventCdnSettingsError extends \Google\AdsApi\AdManager\v202511\A * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/LiveStreamEventConditioningError.php b/src/Google/AdsApi/AdManager/v202511/LiveStreamEventConditioningError.php index c539624d3..7fa6a486c 100644 --- a/src/Google/AdsApi/AdManager/v202511/LiveStreamEventConditioningError.php +++ b/src/Google/AdsApi/AdManager/v202511/LiveStreamEventConditioningError.php @@ -21,7 +21,7 @@ class LiveStreamEventConditioningError extends \Google\AdsApi\AdManager\v202511\ * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/LiveStreamEventCustomAssetKeyError.php b/src/Google/AdsApi/AdManager/v202511/LiveStreamEventCustomAssetKeyError.php index 2bf523010..5e5d451f5 100644 --- a/src/Google/AdsApi/AdManager/v202511/LiveStreamEventCustomAssetKeyError.php +++ b/src/Google/AdsApi/AdManager/v202511/LiveStreamEventCustomAssetKeyError.php @@ -21,7 +21,7 @@ class LiveStreamEventCustomAssetKeyError extends \Google\AdsApi\AdManager\v20251 * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/LiveStreamEventDateTimeError.php b/src/Google/AdsApi/AdManager/v202511/LiveStreamEventDateTimeError.php index 93eb4e99f..1605daa0e 100644 --- a/src/Google/AdsApi/AdManager/v202511/LiveStreamEventDateTimeError.php +++ b/src/Google/AdsApi/AdManager/v202511/LiveStreamEventDateTimeError.php @@ -21,7 +21,7 @@ class LiveStreamEventDateTimeError extends \Google\AdsApi\AdManager\v202511\ApiE * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/LiveStreamEventDvrWindowError.php b/src/Google/AdsApi/AdManager/v202511/LiveStreamEventDvrWindowError.php index 24944c2d2..f0ea28ca2 100644 --- a/src/Google/AdsApi/AdManager/v202511/LiveStreamEventDvrWindowError.php +++ b/src/Google/AdsApi/AdManager/v202511/LiveStreamEventDvrWindowError.php @@ -21,7 +21,7 @@ class LiveStreamEventDvrWindowError extends \Google\AdsApi\AdManager\v202511\Api * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/LiveStreamEventPage.php b/src/Google/AdsApi/AdManager/v202511/LiveStreamEventPage.php index 1e5eb8a40..c4eaa5d39 100644 --- a/src/Google/AdsApi/AdManager/v202511/LiveStreamEventPage.php +++ b/src/Google/AdsApi/AdManager/v202511/LiveStreamEventPage.php @@ -29,7 +29,7 @@ class LiveStreamEventPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\LiveStreamEvent[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\LiveStreamEvent[]|null $results * @return \Google\AdsApi\AdManager\v202511\LiveStreamEventPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/LiveStreamEventPrerollSettingsError.php b/src/Google/AdsApi/AdManager/v202511/LiveStreamEventPrerollSettingsError.php index 68f0c295e..0eae46dd8 100644 --- a/src/Google/AdsApi/AdManager/v202511/LiveStreamEventPrerollSettingsError.php +++ b/src/Google/AdsApi/AdManager/v202511/LiveStreamEventPrerollSettingsError.php @@ -21,7 +21,7 @@ class LiveStreamEventPrerollSettingsError extends \Google\AdsApi\AdManager\v2025 * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/LiveStreamEventSlateError.php b/src/Google/AdsApi/AdManager/v202511/LiveStreamEventSlateError.php index ea976ddfe..1c51ef5a1 100644 --- a/src/Google/AdsApi/AdManager/v202511/LiveStreamEventSlateError.php +++ b/src/Google/AdsApi/AdManager/v202511/LiveStreamEventSlateError.php @@ -21,7 +21,7 @@ class LiveStreamEventSlateError extends \Google\AdsApi\AdManager\v202511\ApiErro * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/MarketplaceCommentPage.php b/src/Google/AdsApi/AdManager/v202511/MarketplaceCommentPage.php index 4fe18f026..41ef4aead 100644 --- a/src/Google/AdsApi/AdManager/v202511/MarketplaceCommentPage.php +++ b/src/Google/AdsApi/AdManager/v202511/MarketplaceCommentPage.php @@ -23,7 +23,7 @@ class MarketplaceCommentPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\MarketplaceComment[] $results */ - public function __construct($startIndex = null, array $results = null) + public function __construct($startIndex = null, ?array $results = null) { $this->startIndex = $startIndex; $this->results = $results; @@ -59,7 +59,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\MarketplaceComment[]|null $results * @return \Google\AdsApi\AdManager\v202511\MarketplaceCommentPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/McmError.php b/src/Google/AdsApi/AdManager/v202511/McmError.php index db3fa7620..d23d0e04c 100644 --- a/src/Google/AdsApi/AdManager/v202511/McmError.php +++ b/src/Google/AdsApi/AdManager/v202511/McmError.php @@ -21,7 +21,7 @@ class McmError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/MetadataMergeSpecError.php b/src/Google/AdsApi/AdManager/v202511/MetadataMergeSpecError.php index 8823eafa1..227c4e760 100644 --- a/src/Google/AdsApi/AdManager/v202511/MetadataMergeSpecError.php +++ b/src/Google/AdsApi/AdManager/v202511/MetadataMergeSpecError.php @@ -21,7 +21,7 @@ class MetadataMergeSpecError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/MobileApplication.php b/src/Google/AdsApi/AdManager/v202511/MobileApplication.php index be136b59e..81b2ea96c 100644 --- a/src/Google/AdsApi/AdManager/v202511/MobileApplication.php +++ b/src/Google/AdsApi/AdManager/v202511/MobileApplication.php @@ -89,7 +89,7 @@ class MobileApplication * @param string $downloadUrl * @param string $approvalStatus */ - public function __construct($id = null, $applicationId = null, $displayName = null, $appStoreId = null, array $appStores = null, $isArchived = null, $appStoreName = null, $applicationCode = null, $developerName = null, $platform = null, $isFree = null, $downloadUrl = null, $approvalStatus = null) + public function __construct($id = null, $applicationId = null, $displayName = null, $appStoreId = null, ?array $appStores = null, $isArchived = null, $appStoreName = null, $applicationCode = null, $developerName = null, $platform = null, $isFree = null, $downloadUrl = null, $approvalStatus = null) { $this->id = $id; $this->applicationId = $applicationId; @@ -192,7 +192,7 @@ public function getAppStores() * @param string[]|null $appStores * @return \Google\AdsApi\AdManager\v202511\MobileApplication */ - public function setAppStores(array $appStores = null) + public function setAppStores(?array $appStores = null) { $this->appStores = $appStores; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/MobileApplicationActionError.php b/src/Google/AdsApi/AdManager/v202511/MobileApplicationActionError.php index eb75e828f..85d3872b0 100644 --- a/src/Google/AdsApi/AdManager/v202511/MobileApplicationActionError.php +++ b/src/Google/AdsApi/AdManager/v202511/MobileApplicationActionError.php @@ -21,7 +21,7 @@ class MobileApplicationActionError extends \Google\AdsApi\AdManager\v202511\ApiE * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/MobileApplicationError.php b/src/Google/AdsApi/AdManager/v202511/MobileApplicationError.php index 48b291579..359911228 100644 --- a/src/Google/AdsApi/AdManager/v202511/MobileApplicationError.php +++ b/src/Google/AdsApi/AdManager/v202511/MobileApplicationError.php @@ -21,7 +21,7 @@ class MobileApplicationError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/MobileApplicationPage.php b/src/Google/AdsApi/AdManager/v202511/MobileApplicationPage.php index 7d4b59909..d13795e2b 100644 --- a/src/Google/AdsApi/AdManager/v202511/MobileApplicationPage.php +++ b/src/Google/AdsApi/AdManager/v202511/MobileApplicationPage.php @@ -29,7 +29,7 @@ class MobileApplicationPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\MobileApplication[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\MobileApplication[]|null $results * @return \Google\AdsApi\AdManager\v202511\MobileApplicationPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/MobileApplicationTargeting.php b/src/Google/AdsApi/AdManager/v202511/MobileApplicationTargeting.php index 41b9ead55..de0529634 100644 --- a/src/Google/AdsApi/AdManager/v202511/MobileApplicationTargeting.php +++ b/src/Google/AdsApi/AdManager/v202511/MobileApplicationTargeting.php @@ -23,7 +23,7 @@ class MobileApplicationTargeting * @param int[] $mobileApplicationIds * @param boolean $isTargeted */ - public function __construct(array $mobileApplicationIds = null, $isTargeted = null) + public function __construct(?array $mobileApplicationIds = null, $isTargeted = null) { $this->mobileApplicationIds = $mobileApplicationIds; $this->isTargeted = $isTargeted; @@ -41,7 +41,7 @@ public function getMobileApplicationIds() * @param int[]|null $mobileApplicationIds * @return \Google\AdsApi\AdManager\v202511\MobileApplicationTargeting */ - public function setMobileApplicationIds(array $mobileApplicationIds = null) + public function setMobileApplicationIds(?array $mobileApplicationIds = null) { $this->mobileApplicationIds = $mobileApplicationIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/MobileApplicationTargetingError.php b/src/Google/AdsApi/AdManager/v202511/MobileApplicationTargetingError.php index 36f80408f..01e78300f 100644 --- a/src/Google/AdsApi/AdManager/v202511/MobileApplicationTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202511/MobileApplicationTargetingError.php @@ -21,7 +21,7 @@ class MobileApplicationTargetingError extends \Google\AdsApi\AdManager\v202511\A * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/MobileCarrierTargeting.php b/src/Google/AdsApi/AdManager/v202511/MobileCarrierTargeting.php index d3a27df84..7160dc32b 100644 --- a/src/Google/AdsApi/AdManager/v202511/MobileCarrierTargeting.php +++ b/src/Google/AdsApi/AdManager/v202511/MobileCarrierTargeting.php @@ -23,7 +23,7 @@ class MobileCarrierTargeting * @param boolean $isTargeted * @param \Google\AdsApi\AdManager\v202511\Technology[] $mobileCarriers */ - public function __construct($isTargeted = null, array $mobileCarriers = null) + public function __construct($isTargeted = null, ?array $mobileCarriers = null) { $this->isTargeted = $isTargeted; $this->mobileCarriers = $mobileCarriers; @@ -59,7 +59,7 @@ public function getMobileCarriers() * @param \Google\AdsApi\AdManager\v202511\Technology[]|null $mobileCarriers * @return \Google\AdsApi\AdManager\v202511\MobileCarrierTargeting */ - public function setMobileCarriers(array $mobileCarriers = null) + public function setMobileCarriers(?array $mobileCarriers = null) { $this->mobileCarriers = $mobileCarriers; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/MobileDeviceSubmodelTargeting.php b/src/Google/AdsApi/AdManager/v202511/MobileDeviceSubmodelTargeting.php index 42a800e25..a5cdf2348 100644 --- a/src/Google/AdsApi/AdManager/v202511/MobileDeviceSubmodelTargeting.php +++ b/src/Google/AdsApi/AdManager/v202511/MobileDeviceSubmodelTargeting.php @@ -23,7 +23,7 @@ class MobileDeviceSubmodelTargeting * @param \Google\AdsApi\AdManager\v202511\Technology[] $targetedMobileDeviceSubmodels * @param \Google\AdsApi\AdManager\v202511\Technology[] $excludedMobileDeviceSubmodels */ - public function __construct(array $targetedMobileDeviceSubmodels = null, array $excludedMobileDeviceSubmodels = null) + public function __construct(?array $targetedMobileDeviceSubmodels = null, ?array $excludedMobileDeviceSubmodels = null) { $this->targetedMobileDeviceSubmodels = $targetedMobileDeviceSubmodels; $this->excludedMobileDeviceSubmodels = $excludedMobileDeviceSubmodels; @@ -41,7 +41,7 @@ public function getTargetedMobileDeviceSubmodels() * @param \Google\AdsApi\AdManager\v202511\Technology[]|null $targetedMobileDeviceSubmodels * @return \Google\AdsApi\AdManager\v202511\MobileDeviceSubmodelTargeting */ - public function setTargetedMobileDeviceSubmodels(array $targetedMobileDeviceSubmodels = null) + public function setTargetedMobileDeviceSubmodels(?array $targetedMobileDeviceSubmodels = null) { $this->targetedMobileDeviceSubmodels = $targetedMobileDeviceSubmodels; return $this; @@ -59,7 +59,7 @@ public function getExcludedMobileDeviceSubmodels() * @param \Google\AdsApi\AdManager\v202511\Technology[]|null $excludedMobileDeviceSubmodels * @return \Google\AdsApi\AdManager\v202511\MobileDeviceSubmodelTargeting */ - public function setExcludedMobileDeviceSubmodels(array $excludedMobileDeviceSubmodels = null) + public function setExcludedMobileDeviceSubmodels(?array $excludedMobileDeviceSubmodels = null) { $this->excludedMobileDeviceSubmodels = $excludedMobileDeviceSubmodels; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/MobileDeviceTargeting.php b/src/Google/AdsApi/AdManager/v202511/MobileDeviceTargeting.php index a630c0d40..2a8371678 100644 --- a/src/Google/AdsApi/AdManager/v202511/MobileDeviceTargeting.php +++ b/src/Google/AdsApi/AdManager/v202511/MobileDeviceTargeting.php @@ -23,7 +23,7 @@ class MobileDeviceTargeting * @param \Google\AdsApi\AdManager\v202511\Technology[] $targetedMobileDevices * @param \Google\AdsApi\AdManager\v202511\Technology[] $excludedMobileDevices */ - public function __construct(array $targetedMobileDevices = null, array $excludedMobileDevices = null) + public function __construct(?array $targetedMobileDevices = null, ?array $excludedMobileDevices = null) { $this->targetedMobileDevices = $targetedMobileDevices; $this->excludedMobileDevices = $excludedMobileDevices; @@ -41,7 +41,7 @@ public function getTargetedMobileDevices() * @param \Google\AdsApi\AdManager\v202511\Technology[]|null $targetedMobileDevices * @return \Google\AdsApi\AdManager\v202511\MobileDeviceTargeting */ - public function setTargetedMobileDevices(array $targetedMobileDevices = null) + public function setTargetedMobileDevices(?array $targetedMobileDevices = null) { $this->targetedMobileDevices = $targetedMobileDevices; return $this; @@ -59,7 +59,7 @@ public function getExcludedMobileDevices() * @param \Google\AdsApi\AdManager\v202511\Technology[]|null $excludedMobileDevices * @return \Google\AdsApi\AdManager\v202511\MobileDeviceTargeting */ - public function setExcludedMobileDevices(array $excludedMobileDevices = null) + public function setExcludedMobileDevices(?array $excludedMobileDevices = null) { $this->excludedMobileDevices = $excludedMobileDevices; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/NativeStyleError.php b/src/Google/AdsApi/AdManager/v202511/NativeStyleError.php index 6f1e7a0d9..f4ee2b05c 100644 --- a/src/Google/AdsApi/AdManager/v202511/NativeStyleError.php +++ b/src/Google/AdsApi/AdManager/v202511/NativeStyleError.php @@ -21,7 +21,7 @@ class NativeStyleError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/NativeStylePage.php b/src/Google/AdsApi/AdManager/v202511/NativeStylePage.php index 3d1d9d777..ba265d4f5 100644 --- a/src/Google/AdsApi/AdManager/v202511/NativeStylePage.php +++ b/src/Google/AdsApi/AdManager/v202511/NativeStylePage.php @@ -29,7 +29,7 @@ class NativeStylePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\NativeStyle[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\NativeStyle[]|null $results * @return \Google\AdsApi\AdManager\v202511\NativeStylePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/Network.php b/src/Google/AdsApi/AdManager/v202511/Network.php index 2bf084311..625756352 100644 --- a/src/Google/AdsApi/AdManager/v202511/Network.php +++ b/src/Google/AdsApi/AdManager/v202511/Network.php @@ -65,7 +65,7 @@ class Network * @param string $effectiveRootAdUnitId * @param boolean $isTest */ - public function __construct($id = null, $displayName = null, $networkCode = null, $propertyCode = null, $timeZone = null, $currencyCode = null, array $secondaryCurrencyCodes = null, $effectiveRootAdUnitId = null, $isTest = null) + public function __construct($id = null, $displayName = null, $networkCode = null, $propertyCode = null, $timeZone = null, $currencyCode = null, ?array $secondaryCurrencyCodes = null, $effectiveRootAdUnitId = null, $isTest = null) { $this->id = $id; $this->displayName = $displayName; @@ -199,7 +199,7 @@ public function getSecondaryCurrencyCodes() * @param string[]|null $secondaryCurrencyCodes * @return \Google\AdsApi\AdManager\v202511\Network */ - public function setSecondaryCurrencyCodes(array $secondaryCurrencyCodes = null) + public function setSecondaryCurrencyCodes(?array $secondaryCurrencyCodes = null) { $this->secondaryCurrencyCodes = $secondaryCurrencyCodes; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/NetworkError.php b/src/Google/AdsApi/AdManager/v202511/NetworkError.php index 939a92b4e..0d85e25f1 100644 --- a/src/Google/AdsApi/AdManager/v202511/NetworkError.php +++ b/src/Google/AdsApi/AdManager/v202511/NetworkError.php @@ -21,7 +21,7 @@ class NetworkError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/NonRuleBasedFirstPartyAudienceSegment.php b/src/Google/AdsApi/AdManager/v202511/NonRuleBasedFirstPartyAudienceSegment.php index 755f12cea..b90958613 100644 --- a/src/Google/AdsApi/AdManager/v202511/NonRuleBasedFirstPartyAudienceSegment.php +++ b/src/Google/AdsApi/AdManager/v202511/NonRuleBasedFirstPartyAudienceSegment.php @@ -29,7 +29,7 @@ class NonRuleBasedFirstPartyAudienceSegment extends \Google\AdsApi\AdManager\v20 * @param string $type * @param int $membershipExpirationDays */ - public function __construct($id = null, $name = null, array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null, $membershipExpirationDays = null) + public function __construct($id = null, $name = null, ?array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null, $membershipExpirationDays = null) { parent::__construct($id, $name, $categoryIds, $description, $status, $size, $mobileWebSize, $idfaSize, $adIdSize, $ppidSize, $dataProvider, $type); $this->membershipExpirationDays = $membershipExpirationDays; diff --git a/src/Google/AdsApi/AdManager/v202511/NotNullError.php b/src/Google/AdsApi/AdManager/v202511/NotNullError.php index f65cddd06..0954afbf0 100644 --- a/src/Google/AdsApi/AdManager/v202511/NotNullError.php +++ b/src/Google/AdsApi/AdManager/v202511/NotNullError.php @@ -21,7 +21,7 @@ class NotNullError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/NullError.php b/src/Google/AdsApi/AdManager/v202511/NullError.php index 9430b8bb6..6b81d6706 100644 --- a/src/Google/AdsApi/AdManager/v202511/NullError.php +++ b/src/Google/AdsApi/AdManager/v202511/NullError.php @@ -21,7 +21,7 @@ class NullError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/OperatingSystemTargeting.php b/src/Google/AdsApi/AdManager/v202511/OperatingSystemTargeting.php index f33fef98e..76f637a67 100644 --- a/src/Google/AdsApi/AdManager/v202511/OperatingSystemTargeting.php +++ b/src/Google/AdsApi/AdManager/v202511/OperatingSystemTargeting.php @@ -23,7 +23,7 @@ class OperatingSystemTargeting * @param boolean $isTargeted * @param \Google\AdsApi\AdManager\v202511\Technology[] $operatingSystems */ - public function __construct($isTargeted = null, array $operatingSystems = null) + public function __construct($isTargeted = null, ?array $operatingSystems = null) { $this->isTargeted = $isTargeted; $this->operatingSystems = $operatingSystems; @@ -59,7 +59,7 @@ public function getOperatingSystems() * @param \Google\AdsApi\AdManager\v202511\Technology[]|null $operatingSystems * @return \Google\AdsApi\AdManager\v202511\OperatingSystemTargeting */ - public function setOperatingSystems(array $operatingSystems = null) + public function setOperatingSystems(?array $operatingSystems = null) { $this->operatingSystems = $operatingSystems; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/OperatingSystemVersionTargeting.php b/src/Google/AdsApi/AdManager/v202511/OperatingSystemVersionTargeting.php index 00b47b8ea..14f5ef2b9 100644 --- a/src/Google/AdsApi/AdManager/v202511/OperatingSystemVersionTargeting.php +++ b/src/Google/AdsApi/AdManager/v202511/OperatingSystemVersionTargeting.php @@ -23,7 +23,7 @@ class OperatingSystemVersionTargeting * @param \Google\AdsApi\AdManager\v202511\Technology[] $targetedOperatingSystemVersions * @param \Google\AdsApi\AdManager\v202511\Technology[] $excludedOperatingSystemVersions */ - public function __construct(array $targetedOperatingSystemVersions = null, array $excludedOperatingSystemVersions = null) + public function __construct(?array $targetedOperatingSystemVersions = null, ?array $excludedOperatingSystemVersions = null) { $this->targetedOperatingSystemVersions = $targetedOperatingSystemVersions; $this->excludedOperatingSystemVersions = $excludedOperatingSystemVersions; @@ -41,7 +41,7 @@ public function getTargetedOperatingSystemVersions() * @param \Google\AdsApi\AdManager\v202511\Technology[]|null $targetedOperatingSystemVersions * @return \Google\AdsApi\AdManager\v202511\OperatingSystemVersionTargeting */ - public function setTargetedOperatingSystemVersions(array $targetedOperatingSystemVersions = null) + public function setTargetedOperatingSystemVersions(?array $targetedOperatingSystemVersions = null) { $this->targetedOperatingSystemVersions = $targetedOperatingSystemVersions; return $this; @@ -59,7 +59,7 @@ public function getExcludedOperatingSystemVersions() * @param \Google\AdsApi\AdManager\v202511\Technology[]|null $excludedOperatingSystemVersions * @return \Google\AdsApi\AdManager\v202511\OperatingSystemVersionTargeting */ - public function setExcludedOperatingSystemVersions(array $excludedOperatingSystemVersions = null) + public function setExcludedOperatingSystemVersions(?array $excludedOperatingSystemVersions = null) { $this->excludedOperatingSystemVersions = $excludedOperatingSystemVersions; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/Order.php b/src/Google/AdsApi/AdManager/v202511/Order.php index 199df4de6..d7d8c6965 100644 --- a/src/Google/AdsApi/AdManager/v202511/Order.php +++ b/src/Google/AdsApi/AdManager/v202511/Order.php @@ -197,7 +197,7 @@ class Order * @param \Google\AdsApi\AdManager\v202511\DateTime $lastModifiedDateTime * @param \Google\AdsApi\AdManager\v202511\BaseCustomFieldValue[] $customFieldValues */ - public function __construct($id = null, $name = null, $startDateTime = null, $endDateTime = null, $unlimitedEndDateTime = null, $status = null, $isArchived = null, $notes = null, $externalOrderId = null, $poNumber = null, $currencyCode = null, $advertiserId = null, array $advertiserContactIds = null, $agencyId = null, array $agencyContactIds = null, $creatorId = null, $traffickerId = null, array $secondaryTraffickerIds = null, $salespersonId = null, array $secondarySalespersonIds = null, $totalImpressionsDelivered = null, $totalClicksDelivered = null, $totalViewableImpressionsDelivered = null, $totalBudget = null, array $appliedLabels = null, array $effectiveAppliedLabels = null, $lastModifiedByApp = null, $isProgrammatic = null, array $appliedTeamIds = null, $lastModifiedDateTime = null, array $customFieldValues = null) + public function __construct($id = null, $name = null, $startDateTime = null, $endDateTime = null, $unlimitedEndDateTime = null, $status = null, $isArchived = null, $notes = null, $externalOrderId = null, $poNumber = null, $currencyCode = null, $advertiserId = null, ?array $advertiserContactIds = null, $agencyId = null, ?array $agencyContactIds = null, $creatorId = null, $traffickerId = null, ?array $secondaryTraffickerIds = null, $salespersonId = null, ?array $secondarySalespersonIds = null, $totalImpressionsDelivered = null, $totalClicksDelivered = null, $totalViewableImpressionsDelivered = null, $totalBudget = null, ?array $appliedLabels = null, ?array $effectiveAppliedLabels = null, $lastModifiedByApp = null, $isProgrammatic = null, ?array $appliedTeamIds = null, $lastModifiedDateTime = null, ?array $customFieldValues = null) { $this->id = $id; $this->name = $name; @@ -462,7 +462,7 @@ public function getAdvertiserContactIds() * @param int[]|null $advertiserContactIds * @return \Google\AdsApi\AdManager\v202511\Order */ - public function setAdvertiserContactIds(array $advertiserContactIds = null) + public function setAdvertiserContactIds(?array $advertiserContactIds = null) { $this->advertiserContactIds = $advertiserContactIds; return $this; @@ -499,7 +499,7 @@ public function getAgencyContactIds() * @param int[]|null $agencyContactIds * @return \Google\AdsApi\AdManager\v202511\Order */ - public function setAgencyContactIds(array $agencyContactIds = null) + public function setAgencyContactIds(?array $agencyContactIds = null) { $this->agencyContactIds = $agencyContactIds; return $this; @@ -555,7 +555,7 @@ public function getSecondaryTraffickerIds() * @param int[]|null $secondaryTraffickerIds * @return \Google\AdsApi\AdManager\v202511\Order */ - public function setSecondaryTraffickerIds(array $secondaryTraffickerIds = null) + public function setSecondaryTraffickerIds(?array $secondaryTraffickerIds = null) { $this->secondaryTraffickerIds = $secondaryTraffickerIds; return $this; @@ -592,7 +592,7 @@ public function getSecondarySalespersonIds() * @param int[]|null $secondarySalespersonIds * @return \Google\AdsApi\AdManager\v202511\Order */ - public function setSecondarySalespersonIds(array $secondarySalespersonIds = null) + public function setSecondarySalespersonIds(?array $secondarySalespersonIds = null) { $this->secondarySalespersonIds = $secondarySalespersonIds; return $this; @@ -685,7 +685,7 @@ public function getAppliedLabels() * @param \Google\AdsApi\AdManager\v202511\AppliedLabel[]|null $appliedLabels * @return \Google\AdsApi\AdManager\v202511\Order */ - public function setAppliedLabels(array $appliedLabels = null) + public function setAppliedLabels(?array $appliedLabels = null) { $this->appliedLabels = $appliedLabels; return $this; @@ -703,7 +703,7 @@ public function getEffectiveAppliedLabels() * @param \Google\AdsApi\AdManager\v202511\AppliedLabel[]|null $effectiveAppliedLabels * @return \Google\AdsApi\AdManager\v202511\Order */ - public function setEffectiveAppliedLabels(array $effectiveAppliedLabels = null) + public function setEffectiveAppliedLabels(?array $effectiveAppliedLabels = null) { $this->effectiveAppliedLabels = $effectiveAppliedLabels; return $this; @@ -757,7 +757,7 @@ public function getAppliedTeamIds() * @param int[]|null $appliedTeamIds * @return \Google\AdsApi\AdManager\v202511\Order */ - public function setAppliedTeamIds(array $appliedTeamIds = null) + public function setAppliedTeamIds(?array $appliedTeamIds = null) { $this->appliedTeamIds = $appliedTeamIds; return $this; @@ -793,7 +793,7 @@ public function getCustomFieldValues() * @param \Google\AdsApi\AdManager\v202511\BaseCustomFieldValue[]|null $customFieldValues * @return \Google\AdsApi\AdManager\v202511\Order */ - public function setCustomFieldValues(array $customFieldValues = null) + public function setCustomFieldValues(?array $customFieldValues = null) { $this->customFieldValues = $customFieldValues; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/OrderActionError.php b/src/Google/AdsApi/AdManager/v202511/OrderActionError.php index 695749cbc..52e81fc94 100644 --- a/src/Google/AdsApi/AdManager/v202511/OrderActionError.php +++ b/src/Google/AdsApi/AdManager/v202511/OrderActionError.php @@ -21,7 +21,7 @@ class OrderActionError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/OrderError.php b/src/Google/AdsApi/AdManager/v202511/OrderError.php index 1736f26b6..7f47b7f13 100644 --- a/src/Google/AdsApi/AdManager/v202511/OrderError.php +++ b/src/Google/AdsApi/AdManager/v202511/OrderError.php @@ -21,7 +21,7 @@ class OrderError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/OrderPage.php b/src/Google/AdsApi/AdManager/v202511/OrderPage.php index eb81ceed2..eab15ddc0 100644 --- a/src/Google/AdsApi/AdManager/v202511/OrderPage.php +++ b/src/Google/AdsApi/AdManager/v202511/OrderPage.php @@ -29,7 +29,7 @@ class OrderPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\Order[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\Order[]|null $results * @return \Google\AdsApi\AdManager\v202511\OrderPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/ParseError.php b/src/Google/AdsApi/AdManager/v202511/ParseError.php index af10a4ab4..e0984861c 100644 --- a/src/Google/AdsApi/AdManager/v202511/ParseError.php +++ b/src/Google/AdsApi/AdManager/v202511/ParseError.php @@ -21,7 +21,7 @@ class ParseError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/PermissionError.php b/src/Google/AdsApi/AdManager/v202511/PermissionError.php index d05652992..c03a44625 100644 --- a/src/Google/AdsApi/AdManager/v202511/PermissionError.php +++ b/src/Google/AdsApi/AdManager/v202511/PermissionError.php @@ -21,7 +21,7 @@ class PermissionError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/Placement.php b/src/Google/AdsApi/AdManager/v202511/Placement.php index 7168de507..01401315d 100644 --- a/src/Google/AdsApi/AdManager/v202511/Placement.php +++ b/src/Google/AdsApi/AdManager/v202511/Placement.php @@ -53,7 +53,7 @@ class Placement extends \Google\AdsApi\AdManager\v202511\SiteTargetingInfo * @param string[] $targetedAdUnitIds * @param \Google\AdsApi\AdManager\v202511\DateTime $lastModifiedDateTime */ - public function __construct($id = null, $name = null, $description = null, $placementCode = null, $status = null, array $targetedAdUnitIds = null, $lastModifiedDateTime = null) + public function __construct($id = null, $name = null, $description = null, $placementCode = null, $status = null, ?array $targetedAdUnitIds = null, $lastModifiedDateTime = null) { $this->id = $id; $this->name = $name; @@ -167,7 +167,7 @@ public function getTargetedAdUnitIds() * @param string[]|null $targetedAdUnitIds * @return \Google\AdsApi\AdManager\v202511\Placement */ - public function setTargetedAdUnitIds(array $targetedAdUnitIds = null) + public function setTargetedAdUnitIds(?array $targetedAdUnitIds = null) { $this->targetedAdUnitIds = $targetedAdUnitIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/PlacementError.php b/src/Google/AdsApi/AdManager/v202511/PlacementError.php index eb0532b37..f00311c26 100644 --- a/src/Google/AdsApi/AdManager/v202511/PlacementError.php +++ b/src/Google/AdsApi/AdManager/v202511/PlacementError.php @@ -21,7 +21,7 @@ class PlacementError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/PlacementPage.php b/src/Google/AdsApi/AdManager/v202511/PlacementPage.php index c6b5ecf44..29d324d89 100644 --- a/src/Google/AdsApi/AdManager/v202511/PlacementPage.php +++ b/src/Google/AdsApi/AdManager/v202511/PlacementPage.php @@ -29,7 +29,7 @@ class PlacementPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\Placement[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\Placement[]|null $results * @return \Google\AdsApi\AdManager\v202511\PlacementPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/PoddingError.php b/src/Google/AdsApi/AdManager/v202511/PoddingError.php index 82d7eddc3..b80b52cc8 100644 --- a/src/Google/AdsApi/AdManager/v202511/PoddingError.php +++ b/src/Google/AdsApi/AdManager/v202511/PoddingError.php @@ -21,7 +21,7 @@ class PoddingError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/PrecisionError.php b/src/Google/AdsApi/AdManager/v202511/PrecisionError.php index b1cd60118..c0d927e2a 100644 --- a/src/Google/AdsApi/AdManager/v202511/PrecisionError.php +++ b/src/Google/AdsApi/AdManager/v202511/PrecisionError.php @@ -21,7 +21,7 @@ class PrecisionError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/PreferredDealError.php b/src/Google/AdsApi/AdManager/v202511/PreferredDealError.php index 85673a139..24eaf08a1 100644 --- a/src/Google/AdsApi/AdManager/v202511/PreferredDealError.php +++ b/src/Google/AdsApi/AdManager/v202511/PreferredDealError.php @@ -21,7 +21,7 @@ class PreferredDealError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/ProgrammaticCreative.php b/src/Google/AdsApi/AdManager/v202511/ProgrammaticCreative.php index 1d38931c2..487af3025 100644 --- a/src/Google/AdsApi/AdManager/v202511/ProgrammaticCreative.php +++ b/src/Google/AdsApi/AdManager/v202511/ProgrammaticCreative.php @@ -24,7 +24,7 @@ class ProgrammaticCreative extends \Google\AdsApi\AdManager\v202511\Creative * @param boolean $adBadgingEnabled * @param boolean $selfDeclaredEuropeanUnionPoliticalContent */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $thirdPartyDataDeclarationStatus, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent); } diff --git a/src/Google/AdsApi/AdManager/v202511/ProgrammaticError.php b/src/Google/AdsApi/AdManager/v202511/ProgrammaticError.php index 2b1dc4075..9c72b62d5 100644 --- a/src/Google/AdsApi/AdManager/v202511/ProgrammaticError.php +++ b/src/Google/AdsApi/AdManager/v202511/ProgrammaticError.php @@ -21,7 +21,7 @@ class ProgrammaticError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/Proposal.php b/src/Google/AdsApi/AdManager/v202511/Proposal.php index 8044646f5..540007a99 100644 --- a/src/Google/AdsApi/AdManager/v202511/Proposal.php +++ b/src/Google/AdsApi/AdManager/v202511/Proposal.php @@ -173,7 +173,7 @@ class Proposal * @param boolean $hasBuyerRfp * @param boolean $deliveryPausingEnabled */ - public function __construct($id = null, $isProgrammatic = null, $dfpOrderId = null, $name = null, $startDateTime = null, $endDateTime = null, $status = null, $isArchived = null, $advertiser = null, array $agencies = null, $internalNotes = null, $primarySalesperson = null, array $salesPlannerIds = null, $primaryTraffickerId = null, array $sellerContactIds = null, array $appliedTeamIds = null, array $customFieldValues = null, array $appliedLabels = null, array $effectiveAppliedLabels = null, $currencyCode = null, $isSold = null, $supplyPath = null, $lastModifiedDateTime = null, $marketplaceInfo = null, $buyerRfp = null, $hasBuyerRfp = null, $deliveryPausingEnabled = null) + public function __construct($id = null, $isProgrammatic = null, $dfpOrderId = null, $name = null, $startDateTime = null, $endDateTime = null, $status = null, $isArchived = null, $advertiser = null, ?array $agencies = null, $internalNotes = null, $primarySalesperson = null, ?array $salesPlannerIds = null, $primaryTraffickerId = null, ?array $sellerContactIds = null, ?array $appliedTeamIds = null, ?array $customFieldValues = null, ?array $appliedLabels = null, ?array $effectiveAppliedLabels = null, $currencyCode = null, $isSold = null, $supplyPath = null, $lastModifiedDateTime = null, $marketplaceInfo = null, $buyerRfp = null, $hasBuyerRfp = null, $deliveryPausingEnabled = null) { $this->id = $id; $this->isProgrammatic = $isProgrammatic; @@ -380,7 +380,7 @@ public function getAgencies() * @param \Google\AdsApi\AdManager\v202511\ProposalCompanyAssociation[]|null $agencies * @return \Google\AdsApi\AdManager\v202511\Proposal */ - public function setAgencies(array $agencies = null) + public function setAgencies(?array $agencies = null) { $this->agencies = $agencies; return $this; @@ -434,7 +434,7 @@ public function getSalesPlannerIds() * @param int[]|null $salesPlannerIds * @return \Google\AdsApi\AdManager\v202511\Proposal */ - public function setSalesPlannerIds(array $salesPlannerIds = null) + public function setSalesPlannerIds(?array $salesPlannerIds = null) { $this->salesPlannerIds = $salesPlannerIds; return $this; @@ -471,7 +471,7 @@ public function getSellerContactIds() * @param int[]|null $sellerContactIds * @return \Google\AdsApi\AdManager\v202511\Proposal */ - public function setSellerContactIds(array $sellerContactIds = null) + public function setSellerContactIds(?array $sellerContactIds = null) { $this->sellerContactIds = $sellerContactIds; return $this; @@ -489,7 +489,7 @@ public function getAppliedTeamIds() * @param int[]|null $appliedTeamIds * @return \Google\AdsApi\AdManager\v202511\Proposal */ - public function setAppliedTeamIds(array $appliedTeamIds = null) + public function setAppliedTeamIds(?array $appliedTeamIds = null) { $this->appliedTeamIds = $appliedTeamIds; return $this; @@ -507,7 +507,7 @@ public function getCustomFieldValues() * @param \Google\AdsApi\AdManager\v202511\BaseCustomFieldValue[]|null $customFieldValues * @return \Google\AdsApi\AdManager\v202511\Proposal */ - public function setCustomFieldValues(array $customFieldValues = null) + public function setCustomFieldValues(?array $customFieldValues = null) { $this->customFieldValues = $customFieldValues; return $this; @@ -525,7 +525,7 @@ public function getAppliedLabels() * @param \Google\AdsApi\AdManager\v202511\AppliedLabel[]|null $appliedLabels * @return \Google\AdsApi\AdManager\v202511\Proposal */ - public function setAppliedLabels(array $appliedLabels = null) + public function setAppliedLabels(?array $appliedLabels = null) { $this->appliedLabels = $appliedLabels; return $this; @@ -543,7 +543,7 @@ public function getEffectiveAppliedLabels() * @param \Google\AdsApi\AdManager\v202511\AppliedLabel[]|null $effectiveAppliedLabels * @return \Google\AdsApi\AdManager\v202511\Proposal */ - public function setEffectiveAppliedLabels(array $effectiveAppliedLabels = null) + public function setEffectiveAppliedLabels(?array $effectiveAppliedLabels = null) { $this->effectiveAppliedLabels = $effectiveAppliedLabels; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/ProposalActionError.php b/src/Google/AdsApi/AdManager/v202511/ProposalActionError.php index 29f24ee98..a28ef9398 100644 --- a/src/Google/AdsApi/AdManager/v202511/ProposalActionError.php +++ b/src/Google/AdsApi/AdManager/v202511/ProposalActionError.php @@ -21,7 +21,7 @@ class ProposalActionError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/ProposalCompanyAssociation.php b/src/Google/AdsApi/AdManager/v202511/ProposalCompanyAssociation.php index 64355b84e..1a0e610a0 100644 --- a/src/Google/AdsApi/AdManager/v202511/ProposalCompanyAssociation.php +++ b/src/Google/AdsApi/AdManager/v202511/ProposalCompanyAssociation.php @@ -29,7 +29,7 @@ class ProposalCompanyAssociation * @param string $type * @param int[] $contactIds */ - public function __construct($companyId = null, $type = null, array $contactIds = null) + public function __construct($companyId = null, $type = null, ?array $contactIds = null) { $this->companyId = $companyId; $this->type = $type; @@ -85,7 +85,7 @@ public function getContactIds() * @param int[]|null $contactIds * @return \Google\AdsApi\AdManager\v202511\ProposalCompanyAssociation */ - public function setContactIds(array $contactIds = null) + public function setContactIds(?array $contactIds = null) { $this->contactIds = $contactIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/ProposalError.php b/src/Google/AdsApi/AdManager/v202511/ProposalError.php index 6448b2740..024d6152c 100644 --- a/src/Google/AdsApi/AdManager/v202511/ProposalError.php +++ b/src/Google/AdsApi/AdManager/v202511/ProposalError.php @@ -21,7 +21,7 @@ class ProposalError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/ProposalLineItem.php b/src/Google/AdsApi/AdManager/v202511/ProposalLineItem.php index cd822bb8e..865559ec1 100644 --- a/src/Google/AdsApi/AdManager/v202511/ProposalLineItem.php +++ b/src/Google/AdsApi/AdManager/v202511/ProposalLineItem.php @@ -305,7 +305,7 @@ class ProposalLineItem * @param string $pauseRole * @param string $pauseReason */ - public function __construct($id = null, $proposalId = null, $name = null, $startDateTime = null, $endDateTime = null, $supplyPath = null, $internalNotes = null, $isArchived = null, $goal = null, array $secondaryGoals = null, $contractedUnitsBought = null, $deliveryRateType = null, $roadblockingType = null, $buyerPermissionType = null, $companionDeliveryOption = null, $videoMaxDuration = null, $videoCreativeSkippableAdType = null, array $frequencyCaps = null, $dfpLineItemId = null, $lineItemType = null, $lineItemPriority = null, $rateType = null, array $creativePlaceholders = null, $targeting = null, array $customFieldValues = null, array $appliedLabels = null, array $effectiveAppliedLabels = null, $disableSameAdvertiserCompetitiveExclusion = null, $isSold = null, $netRate = null, $netCost = null, $deliveryIndicator = null, $deliveryData = null, $computedStatus = null, $lastModifiedDateTime = null, $reservationStatus = null, $lastReservationDateTime = null, $environmentType = null, array $allowedFormats = null, $additionalTerms = null, $programmaticCreativeSource = null, $grpSettings = null, $estimatedMinimumImpressions = null, $thirdPartyMeasurementSettings = null, $makegoodInfo = null, $hasMakegood = null, $canCreateMakegood = null, $pauseRole = null, $pauseReason = null) + public function __construct($id = null, $proposalId = null, $name = null, $startDateTime = null, $endDateTime = null, $supplyPath = null, $internalNotes = null, $isArchived = null, $goal = null, ?array $secondaryGoals = null, $contractedUnitsBought = null, $deliveryRateType = null, $roadblockingType = null, $buyerPermissionType = null, $companionDeliveryOption = null, $videoMaxDuration = null, $videoCreativeSkippableAdType = null, ?array $frequencyCaps = null, $dfpLineItemId = null, $lineItemType = null, $lineItemPriority = null, $rateType = null, ?array $creativePlaceholders = null, $targeting = null, ?array $customFieldValues = null, ?array $appliedLabels = null, ?array $effectiveAppliedLabels = null, $disableSameAdvertiserCompetitiveExclusion = null, $isSold = null, $netRate = null, $netCost = null, $deliveryIndicator = null, $deliveryData = null, $computedStatus = null, $lastModifiedDateTime = null, $reservationStatus = null, $lastReservationDateTime = null, $environmentType = null, ?array $allowedFormats = null, $additionalTerms = null, $programmaticCreativeSource = null, $grpSettings = null, $estimatedMinimumImpressions = null, $thirdPartyMeasurementSettings = null, $makegoodInfo = null, $hasMakegood = null, $canCreateMakegood = null, $pauseRole = null, $pauseReason = null) { $this->id = $id; $this->proposalId = $proposalId; @@ -534,7 +534,7 @@ public function getSecondaryGoals() * @param \Google\AdsApi\AdManager\v202511\Goal[]|null $secondaryGoals * @return \Google\AdsApi\AdManager\v202511\ProposalLineItem */ - public function setSecondaryGoals(array $secondaryGoals = null) + public function setSecondaryGoals(?array $secondaryGoals = null) { $this->secondaryGoals = $secondaryGoals; return $this; @@ -680,7 +680,7 @@ public function getFrequencyCaps() * @param \Google\AdsApi\AdManager\v202511\FrequencyCap[]|null $frequencyCaps * @return \Google\AdsApi\AdManager\v202511\ProposalLineItem */ - public function setFrequencyCaps(array $frequencyCaps = null) + public function setFrequencyCaps(?array $frequencyCaps = null) { $this->frequencyCaps = $frequencyCaps; return $this; @@ -771,7 +771,7 @@ public function getCreativePlaceholders() * @param \Google\AdsApi\AdManager\v202511\CreativePlaceholder[]|null $creativePlaceholders * @return \Google\AdsApi\AdManager\v202511\ProposalLineItem */ - public function setCreativePlaceholders(array $creativePlaceholders = null) + public function setCreativePlaceholders(?array $creativePlaceholders = null) { $this->creativePlaceholders = $creativePlaceholders; return $this; @@ -807,7 +807,7 @@ public function getCustomFieldValues() * @param \Google\AdsApi\AdManager\v202511\BaseCustomFieldValue[]|null $customFieldValues * @return \Google\AdsApi\AdManager\v202511\ProposalLineItem */ - public function setCustomFieldValues(array $customFieldValues = null) + public function setCustomFieldValues(?array $customFieldValues = null) { $this->customFieldValues = $customFieldValues; return $this; @@ -825,7 +825,7 @@ public function getAppliedLabels() * @param \Google\AdsApi\AdManager\v202511\AppliedLabel[]|null $appliedLabels * @return \Google\AdsApi\AdManager\v202511\ProposalLineItem */ - public function setAppliedLabels(array $appliedLabels = null) + public function setAppliedLabels(?array $appliedLabels = null) { $this->appliedLabels = $appliedLabels; return $this; @@ -843,7 +843,7 @@ public function getEffectiveAppliedLabels() * @param \Google\AdsApi\AdManager\v202511\AppliedLabel[]|null $effectiveAppliedLabels * @return \Google\AdsApi\AdManager\v202511\ProposalLineItem */ - public function setEffectiveAppliedLabels(array $effectiveAppliedLabels = null) + public function setEffectiveAppliedLabels(?array $effectiveAppliedLabels = null) { $this->effectiveAppliedLabels = $effectiveAppliedLabels; return $this; @@ -1059,7 +1059,7 @@ public function getAllowedFormats() * @param string[]|null $allowedFormats * @return \Google\AdsApi\AdManager\v202511\ProposalLineItem */ - public function setAllowedFormats(array $allowedFormats = null) + public function setAllowedFormats(?array $allowedFormats = null) { $this->allowedFormats = $allowedFormats; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/ProposalLineItemActionError.php b/src/Google/AdsApi/AdManager/v202511/ProposalLineItemActionError.php index d871817aa..fe1d00466 100644 --- a/src/Google/AdsApi/AdManager/v202511/ProposalLineItemActionError.php +++ b/src/Google/AdsApi/AdManager/v202511/ProposalLineItemActionError.php @@ -21,7 +21,7 @@ class ProposalLineItemActionError extends \Google\AdsApi\AdManager\v202511\ApiEr * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/ProposalLineItemError.php b/src/Google/AdsApi/AdManager/v202511/ProposalLineItemError.php index 838a1e865..ed7a8c948 100644 --- a/src/Google/AdsApi/AdManager/v202511/ProposalLineItemError.php +++ b/src/Google/AdsApi/AdManager/v202511/ProposalLineItemError.php @@ -21,7 +21,7 @@ class ProposalLineItemError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/ProposalLineItemMakegoodError.php b/src/Google/AdsApi/AdManager/v202511/ProposalLineItemMakegoodError.php index bfdd21b56..35dd683db 100644 --- a/src/Google/AdsApi/AdManager/v202511/ProposalLineItemMakegoodError.php +++ b/src/Google/AdsApi/AdManager/v202511/ProposalLineItemMakegoodError.php @@ -21,7 +21,7 @@ class ProposalLineItemMakegoodError extends \Google\AdsApi\AdManager\v202511\Api * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/ProposalLineItemPage.php b/src/Google/AdsApi/AdManager/v202511/ProposalLineItemPage.php index 002bdacb5..aed975e2a 100644 --- a/src/Google/AdsApi/AdManager/v202511/ProposalLineItemPage.php +++ b/src/Google/AdsApi/AdManager/v202511/ProposalLineItemPage.php @@ -29,7 +29,7 @@ class ProposalLineItemPage * @param int $startIndex * @param int $totalResultSetSize */ - public function __construct(array $results = null, $startIndex = null, $totalResultSetSize = null) + public function __construct(?array $results = null, $startIndex = null, $totalResultSetSize = null) { $this->results = $results; $this->startIndex = $startIndex; @@ -48,7 +48,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\ProposalLineItem[]|null $results * @return \Google\AdsApi\AdManager\v202511\ProposalLineItemPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/ProposalLineItemProgrammaticError.php b/src/Google/AdsApi/AdManager/v202511/ProposalLineItemProgrammaticError.php index 61e6fc605..ccf40cd2a 100644 --- a/src/Google/AdsApi/AdManager/v202511/ProposalLineItemProgrammaticError.php +++ b/src/Google/AdsApi/AdManager/v202511/ProposalLineItemProgrammaticError.php @@ -21,7 +21,7 @@ class ProposalLineItemProgrammaticError extends \Google\AdsApi\AdManager\v202511 * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/ProposalPage.php b/src/Google/AdsApi/AdManager/v202511/ProposalPage.php index 6793cac7c..7967efdfe 100644 --- a/src/Google/AdsApi/AdManager/v202511/ProposalPage.php +++ b/src/Google/AdsApi/AdManager/v202511/ProposalPage.php @@ -29,7 +29,7 @@ class ProposalPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\Proposal[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\Proposal[]|null $results * @return \Google\AdsApi\AdManager\v202511\ProposalPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/PublisherQueryLanguageContextError.php b/src/Google/AdsApi/AdManager/v202511/PublisherQueryLanguageContextError.php index 931a97099..5fa5f4c7d 100644 --- a/src/Google/AdsApi/AdManager/v202511/PublisherQueryLanguageContextError.php +++ b/src/Google/AdsApi/AdManager/v202511/PublisherQueryLanguageContextError.php @@ -21,7 +21,7 @@ class PublisherQueryLanguageContextError extends \Google\AdsApi\AdManager\v20251 * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/PublisherQueryLanguageSyntaxError.php b/src/Google/AdsApi/AdManager/v202511/PublisherQueryLanguageSyntaxError.php index f93d02df4..c49b79a47 100644 --- a/src/Google/AdsApi/AdManager/v202511/PublisherQueryLanguageSyntaxError.php +++ b/src/Google/AdsApi/AdManager/v202511/PublisherQueryLanguageSyntaxError.php @@ -21,7 +21,7 @@ class PublisherQueryLanguageSyntaxError extends \Google\AdsApi\AdManager\v202511 * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/QuotaError.php b/src/Google/AdsApi/AdManager/v202511/QuotaError.php index ad9b9c4e0..917b9f948 100644 --- a/src/Google/AdsApi/AdManager/v202511/QuotaError.php +++ b/src/Google/AdsApi/AdManager/v202511/QuotaError.php @@ -21,7 +21,7 @@ class QuotaError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/RangeError.php b/src/Google/AdsApi/AdManager/v202511/RangeError.php index 6802889b4..0767e8de6 100644 --- a/src/Google/AdsApi/AdManager/v202511/RangeError.php +++ b/src/Google/AdsApi/AdManager/v202511/RangeError.php @@ -21,7 +21,7 @@ class RangeError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/RegExError.php b/src/Google/AdsApi/AdManager/v202511/RegExError.php index de6533f2e..42d728a5b 100644 --- a/src/Google/AdsApi/AdManager/v202511/RegExError.php +++ b/src/Google/AdsApi/AdManager/v202511/RegExError.php @@ -21,7 +21,7 @@ class RegExError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/ReportError.php b/src/Google/AdsApi/AdManager/v202511/ReportError.php index ae38435e5..b300828ed 100644 --- a/src/Google/AdsApi/AdManager/v202511/ReportError.php +++ b/src/Google/AdsApi/AdManager/v202511/ReportError.php @@ -21,7 +21,7 @@ class ReportError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/ReportQuery.php b/src/Google/AdsApi/AdManager/v202511/ReportQuery.php index b7bd2cd6a..c605147ee 100644 --- a/src/Google/AdsApi/AdManager/v202511/ReportQuery.php +++ b/src/Google/AdsApi/AdManager/v202511/ReportQuery.php @@ -89,7 +89,7 @@ class ReportQuery * @param string $reportCurrency * @param string $timeZoneType */ - public function __construct(array $dimensions = null, $adUnitView = null, array $columns = null, array $dimensionAttributes = null, array $customFieldIds = null, array $cmsMetadataKeyIds = null, array $customDimensionKeyIds = null, $startDate = null, $endDate = null, $dateRangeType = null, $statement = null, $reportCurrency = null, $timeZoneType = null) + public function __construct(?array $dimensions = null, $adUnitView = null, ?array $columns = null, ?array $dimensionAttributes = null, ?array $customFieldIds = null, ?array $cmsMetadataKeyIds = null, ?array $customDimensionKeyIds = null, $startDate = null, $endDate = null, $dateRangeType = null, $statement = null, $reportCurrency = null, $timeZoneType = null) { $this->dimensions = $dimensions; $this->adUnitView = $adUnitView; @@ -118,7 +118,7 @@ public function getDimensions() * @param string[]|null $dimensions * @return \Google\AdsApi\AdManager\v202511\ReportQuery */ - public function setDimensions(array $dimensions = null) + public function setDimensions(?array $dimensions = null) { $this->dimensions = $dimensions; return $this; @@ -154,7 +154,7 @@ public function getColumns() * @param string[]|null $columns * @return \Google\AdsApi\AdManager\v202511\ReportQuery */ - public function setColumns(array $columns = null) + public function setColumns(?array $columns = null) { $this->columns = $columns; return $this; @@ -172,7 +172,7 @@ public function getDimensionAttributes() * @param string[]|null $dimensionAttributes * @return \Google\AdsApi\AdManager\v202511\ReportQuery */ - public function setDimensionAttributes(array $dimensionAttributes = null) + public function setDimensionAttributes(?array $dimensionAttributes = null) { $this->dimensionAttributes = $dimensionAttributes; return $this; @@ -190,7 +190,7 @@ public function getCustomFieldIds() * @param int[]|null $customFieldIds * @return \Google\AdsApi\AdManager\v202511\ReportQuery */ - public function setCustomFieldIds(array $customFieldIds = null) + public function setCustomFieldIds(?array $customFieldIds = null) { $this->customFieldIds = $customFieldIds; return $this; @@ -208,7 +208,7 @@ public function getCmsMetadataKeyIds() * @param int[]|null $cmsMetadataKeyIds * @return \Google\AdsApi\AdManager\v202511\ReportQuery */ - public function setCmsMetadataKeyIds(array $cmsMetadataKeyIds = null) + public function setCmsMetadataKeyIds(?array $cmsMetadataKeyIds = null) { $this->cmsMetadataKeyIds = $cmsMetadataKeyIds; return $this; @@ -226,7 +226,7 @@ public function getCustomDimensionKeyIds() * @param int[]|null $customDimensionKeyIds * @return \Google\AdsApi\AdManager\v202511\ReportQuery */ - public function setCustomDimensionKeyIds(array $customDimensionKeyIds = null) + public function setCustomDimensionKeyIds(?array $customDimensionKeyIds = null) { $this->customDimensionKeyIds = $customDimensionKeyIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/RequestError.php b/src/Google/AdsApi/AdManager/v202511/RequestError.php index 4fcd4f0c0..fc4dbecf9 100644 --- a/src/Google/AdsApi/AdManager/v202511/RequestError.php +++ b/src/Google/AdsApi/AdManager/v202511/RequestError.php @@ -21,7 +21,7 @@ class RequestError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/RequestPlatformTargeting.php b/src/Google/AdsApi/AdManager/v202511/RequestPlatformTargeting.php index 89700323b..5814ebbce 100644 --- a/src/Google/AdsApi/AdManager/v202511/RequestPlatformTargeting.php +++ b/src/Google/AdsApi/AdManager/v202511/RequestPlatformTargeting.php @@ -17,7 +17,7 @@ class RequestPlatformTargeting /** * @param string[] $targetedRequestPlatforms */ - public function __construct(array $targetedRequestPlatforms = null) + public function __construct(?array $targetedRequestPlatforms = null) { $this->targetedRequestPlatforms = $targetedRequestPlatforms; } @@ -34,7 +34,7 @@ public function getTargetedRequestPlatforms() * @param string[]|null $targetedRequestPlatforms * @return \Google\AdsApi\AdManager\v202511\RequestPlatformTargeting */ - public function setTargetedRequestPlatforms(array $targetedRequestPlatforms = null) + public function setTargetedRequestPlatforms(?array $targetedRequestPlatforms = null) { $this->targetedRequestPlatforms = $targetedRequestPlatforms; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/RequestPlatformTargetingError.php b/src/Google/AdsApi/AdManager/v202511/RequestPlatformTargetingError.php index 897541e5c..dea1bb85f 100644 --- a/src/Google/AdsApi/AdManager/v202511/RequestPlatformTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202511/RequestPlatformTargetingError.php @@ -21,7 +21,7 @@ class RequestPlatformTargetingError extends \Google\AdsApi\AdManager\v202511\Api * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/RequiredCollectionError.php b/src/Google/AdsApi/AdManager/v202511/RequiredCollectionError.php index 90362273b..fa1c9d2ea 100644 --- a/src/Google/AdsApi/AdManager/v202511/RequiredCollectionError.php +++ b/src/Google/AdsApi/AdManager/v202511/RequiredCollectionError.php @@ -21,7 +21,7 @@ class RequiredCollectionError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/RequiredError.php b/src/Google/AdsApi/AdManager/v202511/RequiredError.php index 411e28cbb..4bd75c7f2 100644 --- a/src/Google/AdsApi/AdManager/v202511/RequiredError.php +++ b/src/Google/AdsApi/AdManager/v202511/RequiredError.php @@ -21,7 +21,7 @@ class RequiredError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/RequiredNumberError.php b/src/Google/AdsApi/AdManager/v202511/RequiredNumberError.php index 9e05421ce..048dc7f0c 100644 --- a/src/Google/AdsApi/AdManager/v202511/RequiredNumberError.php +++ b/src/Google/AdsApi/AdManager/v202511/RequiredNumberError.php @@ -21,7 +21,7 @@ class RequiredNumberError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/RequiredSizeError.php b/src/Google/AdsApi/AdManager/v202511/RequiredSizeError.php index c11504468..1747c92b4 100644 --- a/src/Google/AdsApi/AdManager/v202511/RequiredSizeError.php +++ b/src/Google/AdsApi/AdManager/v202511/RequiredSizeError.php @@ -21,7 +21,7 @@ class RequiredSizeError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/ReservationDetailsError.php b/src/Google/AdsApi/AdManager/v202511/ReservationDetailsError.php index 84dac93cd..98f7c9a76 100644 --- a/src/Google/AdsApi/AdManager/v202511/ReservationDetailsError.php +++ b/src/Google/AdsApi/AdManager/v202511/ReservationDetailsError.php @@ -21,7 +21,7 @@ class ReservationDetailsError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/ResultSet.php b/src/Google/AdsApi/AdManager/v202511/ResultSet.php index 5d627b96a..ed988b50f 100644 --- a/src/Google/AdsApi/AdManager/v202511/ResultSet.php +++ b/src/Google/AdsApi/AdManager/v202511/ResultSet.php @@ -23,7 +23,7 @@ class ResultSet * @param \Google\AdsApi\AdManager\v202511\ColumnType[] $columnTypes * @param \Google\AdsApi\AdManager\v202511\Row[] $rows */ - public function __construct(array $columnTypes = null, array $rows = null) + public function __construct(?array $columnTypes = null, ?array $rows = null) { $this->columnTypes = $columnTypes; $this->rows = $rows; @@ -41,7 +41,7 @@ public function getColumnTypes() * @param \Google\AdsApi\AdManager\v202511\ColumnType[]|null $columnTypes * @return \Google\AdsApi\AdManager\v202511\ResultSet */ - public function setColumnTypes(array $columnTypes = null) + public function setColumnTypes(?array $columnTypes = null) { $this->columnTypes = $columnTypes; return $this; @@ -59,7 +59,7 @@ public function getRows() * @param \Google\AdsApi\AdManager\v202511\Row[]|null $rows * @return \Google\AdsApi\AdManager\v202511\ResultSet */ - public function setRows(array $rows = null) + public function setRows(?array $rows = null) { $this->rows = $rows; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/RichMediaStudioCreative.php b/src/Google/AdsApi/AdManager/v202511/RichMediaStudioCreative.php index 7098da4e6..c787d3c90 100644 --- a/src/Google/AdsApi/AdManager/v202511/RichMediaStudioCreative.php +++ b/src/Google/AdsApi/AdManager/v202511/RichMediaStudioCreative.php @@ -53,7 +53,7 @@ class RichMediaStudioCreative extends \Google\AdsApi\AdManager\v202511\BaseRichM * @param string $lockedOrientation * @param boolean $isInterstitial */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $studioCreativeId = null, $creativeFormat = null, $artworkType = null, $totalFileSize = null, array $adTagKeys = null, array $customKeyValues = null, $surveyUrl = null, $allImpressionsUrl = null, $richMediaImpressionsUrl = null, $backupImageImpressionsUrl = null, $overrideCss = null, $requiredFlashPluginVersion = null, $duration = null, $billingAttribute = null, array $richMediaStudioChildAssetProperties = null, $sslScanResult = null, $sslManualOverride = null, $lockedOrientation = null, $isInterstitial = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $studioCreativeId = null, $creativeFormat = null, $artworkType = null, $totalFileSize = null, ?array $adTagKeys = null, ?array $customKeyValues = null, $surveyUrl = null, $allImpressionsUrl = null, $richMediaImpressionsUrl = null, $backupImageImpressionsUrl = null, $overrideCss = null, $requiredFlashPluginVersion = null, $duration = null, $billingAttribute = null, ?array $richMediaStudioChildAssetProperties = null, $sslScanResult = null, $sslManualOverride = null, $lockedOrientation = null, $isInterstitial = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $thirdPartyDataDeclarationStatus, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent, $studioCreativeId, $creativeFormat, $artworkType, $totalFileSize, $adTagKeys, $customKeyValues, $surveyUrl, $allImpressionsUrl, $richMediaImpressionsUrl, $backupImageImpressionsUrl, $overrideCss, $requiredFlashPluginVersion, $duration, $billingAttribute, $richMediaStudioChildAssetProperties, $sslScanResult, $sslManualOverride); $this->lockedOrientation = $lockedOrientation; diff --git a/src/Google/AdsApi/AdManager/v202511/RichMediaStudioCreativeError.php b/src/Google/AdsApi/AdManager/v202511/RichMediaStudioCreativeError.php index 0f2939d38..01b7f8831 100644 --- a/src/Google/AdsApi/AdManager/v202511/RichMediaStudioCreativeError.php +++ b/src/Google/AdsApi/AdManager/v202511/RichMediaStudioCreativeError.php @@ -21,7 +21,7 @@ class RichMediaStudioCreativeError extends \Google\AdsApi\AdManager\v202511\ApiE * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/Row.php b/src/Google/AdsApi/AdManager/v202511/Row.php index 69454b2d8..ac9fcf113 100644 --- a/src/Google/AdsApi/AdManager/v202511/Row.php +++ b/src/Google/AdsApi/AdManager/v202511/Row.php @@ -17,7 +17,7 @@ class Row /** * @param \Google\AdsApi\AdManager\v202511\Value[] $values */ - public function __construct(array $values = null) + public function __construct(?array $values = null) { $this->values = $values; } @@ -34,7 +34,7 @@ public function getValues() * @param \Google\AdsApi\AdManager\v202511\Value[]|null $values * @return \Google\AdsApi\AdManager\v202511\Row */ - public function setValues(array $values = null) + public function setValues(?array $values = null) { $this->values = $values; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/RuleBasedFirstPartyAudienceSegment.php b/src/Google/AdsApi/AdManager/v202511/RuleBasedFirstPartyAudienceSegment.php index f80a56c5c..bfd20bba7 100644 --- a/src/Google/AdsApi/AdManager/v202511/RuleBasedFirstPartyAudienceSegment.php +++ b/src/Google/AdsApi/AdManager/v202511/RuleBasedFirstPartyAudienceSegment.php @@ -32,7 +32,7 @@ class RuleBasedFirstPartyAudienceSegment extends \Google\AdsApi\AdManager\v20251 * @param int $membershipExpirationDays * @param \Google\AdsApi\AdManager\v202511\FirstPartyAudienceSegmentRule $rule */ - public function __construct($id = null, $name = null, array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null, $pageViews = null, $recencyDays = null, $membershipExpirationDays = null, $rule = null) + public function __construct($id = null, $name = null, ?array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null, $pageViews = null, $recencyDays = null, $membershipExpirationDays = null, $rule = null) { parent::__construct($id, $name, $categoryIds, $description, $status, $size, $mobileWebSize, $idfaSize, $adIdSize, $ppidSize, $dataProvider, $type, $pageViews, $recencyDays, $membershipExpirationDays); $this->rule = $rule; diff --git a/src/Google/AdsApi/AdManager/v202511/RuleBasedFirstPartyAudienceSegmentSummary.php b/src/Google/AdsApi/AdManager/v202511/RuleBasedFirstPartyAudienceSegmentSummary.php index c23d2d847..40965eca4 100644 --- a/src/Google/AdsApi/AdManager/v202511/RuleBasedFirstPartyAudienceSegmentSummary.php +++ b/src/Google/AdsApi/AdManager/v202511/RuleBasedFirstPartyAudienceSegmentSummary.php @@ -41,7 +41,7 @@ class RuleBasedFirstPartyAudienceSegmentSummary extends \Google\AdsApi\AdManager * @param int $recencyDays * @param int $membershipExpirationDays */ - public function __construct($id = null, $name = null, array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null, $pageViews = null, $recencyDays = null, $membershipExpirationDays = null) + public function __construct($id = null, $name = null, ?array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null, $pageViews = null, $recencyDays = null, $membershipExpirationDays = null) { parent::__construct($id, $name, $categoryIds, $description, $status, $size, $mobileWebSize, $idfaSize, $adIdSize, $ppidSize, $dataProvider, $type); $this->pageViews = $pageViews; diff --git a/src/Google/AdsApi/AdManager/v202511/SamSession.php b/src/Google/AdsApi/AdManager/v202511/SamSession.php index df7a056f9..600e96b08 100644 --- a/src/Google/AdsApi/AdManager/v202511/SamSession.php +++ b/src/Google/AdsApi/AdManager/v202511/SamSession.php @@ -53,7 +53,7 @@ class SamSession * @param int $sessionDurationMillis * @param int $contentDurationMillis */ - public function __construct($sessionId = null, $isVodSession = null, $streamCreateRequest = null, array $adBreaks = null, $startDateTime = null, $sessionDurationMillis = null, $contentDurationMillis = null) + public function __construct($sessionId = null, $isVodSession = null, $streamCreateRequest = null, ?array $adBreaks = null, $startDateTime = null, $sessionDurationMillis = null, $contentDurationMillis = null) { $this->sessionId = $sessionId; $this->isVodSession = $isVodSession; @@ -130,7 +130,7 @@ public function getAdBreaks() * @param \Google\AdsApi\AdManager\v202511\AdBreak[]|null $adBreaks * @return \Google\AdsApi\AdManager\v202511\SamSession */ - public function setAdBreaks(array $adBreaks = null) + public function setAdBreaks(?array $adBreaks = null) { $this->adBreaks = $adBreaks; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/SamSessionError.php b/src/Google/AdsApi/AdManager/v202511/SamSessionError.php index 053e65c3f..0a2e0dd21 100644 --- a/src/Google/AdsApi/AdManager/v202511/SamSessionError.php +++ b/src/Google/AdsApi/AdManager/v202511/SamSessionError.php @@ -21,7 +21,7 @@ class SamSessionError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/SavedQueryPage.php b/src/Google/AdsApi/AdManager/v202511/SavedQueryPage.php index e31c18ab4..d08584208 100644 --- a/src/Google/AdsApi/AdManager/v202511/SavedQueryPage.php +++ b/src/Google/AdsApi/AdManager/v202511/SavedQueryPage.php @@ -29,7 +29,7 @@ class SavedQueryPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\SavedQuery[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\SavedQuery[]|null $results * @return \Google\AdsApi\AdManager\v202511\SavedQueryPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/SdkMediationSettings.php b/src/Google/AdsApi/AdManager/v202511/SdkMediationSettings.php index 2fac7f047..a0bfb6681 100644 --- a/src/Google/AdsApi/AdManager/v202511/SdkMediationSettings.php +++ b/src/Google/AdsApi/AdManager/v202511/SdkMediationSettings.php @@ -29,7 +29,7 @@ class SdkMediationSettings extends \Google\AdsApi\AdManager\v202511\AbstractDisp * @param string $yieldIntegrationType * @param string $platform */ - public function __construct(array $parameters = null, $yieldIntegrationType = null, $platform = null) + public function __construct(?array $parameters = null, $yieldIntegrationType = null, $platform = null) { $this->parameters = $parameters; $this->yieldIntegrationType = $yieldIntegrationType; @@ -48,7 +48,7 @@ public function getParameters() * @param \Google\AdsApi\AdManager\v202511\YieldParameter_StringMapEntry[]|null $parameters * @return \Google\AdsApi\AdManager\v202511\SdkMediationSettings */ - public function setParameters(array $parameters = null) + public function setParameters(?array $parameters = null) { $this->parameters = $parameters; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/SegmentPopulationError.php b/src/Google/AdsApi/AdManager/v202511/SegmentPopulationError.php index 108ca4fcf..3e6acd210 100644 --- a/src/Google/AdsApi/AdManager/v202511/SegmentPopulationError.php +++ b/src/Google/AdsApi/AdManager/v202511/SegmentPopulationError.php @@ -21,7 +21,7 @@ class SegmentPopulationError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/SegmentPopulationRequest.php b/src/Google/AdsApi/AdManager/v202511/SegmentPopulationRequest.php index 55c7c9567..16d077314 100644 --- a/src/Google/AdsApi/AdManager/v202511/SegmentPopulationRequest.php +++ b/src/Google/AdsApi/AdManager/v202511/SegmentPopulationRequest.php @@ -47,7 +47,7 @@ class SegmentPopulationRequest * @param string[] $ids * @param string $consentType */ - public function __construct($batchUploadId = null, $segmentId = null, $isDeletion = null, $identifierType = null, array $ids = null, $consentType = null) + public function __construct($batchUploadId = null, $segmentId = null, $isDeletion = null, $identifierType = null, ?array $ids = null, $consentType = null) { $this->batchUploadId = $batchUploadId; $this->segmentId = $segmentId; @@ -143,7 +143,7 @@ public function getIds() * @param string[]|null $ids * @return \Google\AdsApi\AdManager\v202511\SegmentPopulationRequest */ - public function setIds(array $ids = null) + public function setIds(?array $ids = null) { $this->ids = $ids; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/SegmentPopulationResponse.php b/src/Google/AdsApi/AdManager/v202511/SegmentPopulationResponse.php index e2a384916..561f79131 100644 --- a/src/Google/AdsApi/AdManager/v202511/SegmentPopulationResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/SegmentPopulationResponse.php @@ -23,7 +23,7 @@ class SegmentPopulationResponse * @param int $batchUploadId * @param \Google\AdsApi\AdManager\v202511\IdError[] $idErrors */ - public function __construct($batchUploadId = null, array $idErrors = null) + public function __construct($batchUploadId = null, ?array $idErrors = null) { $this->batchUploadId = $batchUploadId; $this->idErrors = $idErrors; @@ -60,7 +60,7 @@ public function getIdErrors() * @param \Google\AdsApi\AdManager\v202511\IdError[]|null $idErrors * @return \Google\AdsApi\AdManager\v202511\SegmentPopulationResponse */ - public function setIdErrors(array $idErrors = null) + public function setIdErrors(?array $idErrors = null) { $this->idErrors = $idErrors; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/SegmentPopulationResults.php b/src/Google/AdsApi/AdManager/v202511/SegmentPopulationResults.php index 36363234c..ca3de125a 100644 --- a/src/Google/AdsApi/AdManager/v202511/SegmentPopulationResults.php +++ b/src/Google/AdsApi/AdManager/v202511/SegmentPopulationResults.php @@ -41,7 +41,7 @@ class SegmentPopulationResults * @param int $numSuccessfulIdsProcessed * @param \Google\AdsApi\AdManager\v202511\IdError[] $errors */ - public function __construct($batchUploadId = null, $segmentId = null, $status = null, $numSuccessfulIdsProcessed = null, array $errors = null) + public function __construct($batchUploadId = null, $segmentId = null, $status = null, $numSuccessfulIdsProcessed = null, ?array $errors = null) { $this->batchUploadId = $batchUploadId; $this->segmentId = $segmentId; @@ -137,7 +137,7 @@ public function getErrors() * @param \Google\AdsApi\AdManager\v202511\IdError[]|null $errors * @return \Google\AdsApi\AdManager\v202511\SegmentPopulationResults */ - public function setErrors(array $errors = null) + public function setErrors(?array $errors = null) { $this->errors = $errors; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/ServerError.php b/src/Google/AdsApi/AdManager/v202511/ServerError.php index c926a9046..ea69d32a3 100644 --- a/src/Google/AdsApi/AdManager/v202511/ServerError.php +++ b/src/Google/AdsApi/AdManager/v202511/ServerError.php @@ -21,7 +21,7 @@ class ServerError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/ServiceFactory.php b/src/Google/AdsApi/AdManager/v202511/ServiceFactory.php index b9ecd461f..3c01121d2 100644 --- a/src/Google/AdsApi/AdManager/v202511/ServiceFactory.php +++ b/src/Google/AdsApi/AdManager/v202511/ServiceFactory.php @@ -16,7 +16,7 @@ final class ServiceFactory { private $services; - public function __construct(AdManagerServices $services = null) + public function __construct(?AdManagerServices $services = null) { $this->services = is_null($services) ? new AdManagerServices() : $services; } diff --git a/src/Google/AdsApi/AdManager/v202511/SetTopBoxCreative.php b/src/Google/AdsApi/AdManager/v202511/SetTopBoxCreative.php index 68035370d..45452ca11 100644 --- a/src/Google/AdsApi/AdManager/v202511/SetTopBoxCreative.php +++ b/src/Google/AdsApi/AdManager/v202511/SetTopBoxCreative.php @@ -67,7 +67,7 @@ class SetTopBoxCreative extends \Google\AdsApi\AdManager\v202511\BaseVideoCreati * @param \Google\AdsApi\AdManager\v202511\DateTime $licenseWindowStartDateTime * @param \Google\AdsApi\AdManager\v202511\DateTime $licenseWindowEndDateTime */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, array $trackingUrls = null, array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $externalAssetId = null, $providerId = null, array $availabilityRegionIds = null, $licenseWindowStartDateTime = null, $licenseWindowEndDateTime = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, ?array $trackingUrls = null, ?array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $externalAssetId = null, $providerId = null, ?array $availabilityRegionIds = null, $licenseWindowStartDateTime = null, $licenseWindowEndDateTime = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $thirdPartyDataDeclarationStatus, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent, $destinationUrl, $destinationUrlType, $duration, $allowDurationOverride, $trackingUrls, $companionCreativeIds, $customParameters, $adId, $adIdType, $skippableAdType, $vastPreviewUrl, $sslScanResult, $sslManualOverride); $this->externalAssetId = $externalAssetId; @@ -125,7 +125,7 @@ public function getAvailabilityRegionIds() * @param string[]|null $availabilityRegionIds * @return \Google\AdsApi\AdManager\v202511\SetTopBoxCreative */ - public function setAvailabilityRegionIds(array $availabilityRegionIds = null) + public function setAvailabilityRegionIds(?array $availabilityRegionIds = null) { $this->availabilityRegionIds = $availabilityRegionIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/SetTopBoxCreativeError.php b/src/Google/AdsApi/AdManager/v202511/SetTopBoxCreativeError.php index 5032134a6..1e2d441a8 100644 --- a/src/Google/AdsApi/AdManager/v202511/SetTopBoxCreativeError.php +++ b/src/Google/AdsApi/AdManager/v202511/SetTopBoxCreativeError.php @@ -21,7 +21,7 @@ class SetTopBoxCreativeError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/SetTopBoxLineItemError.php b/src/Google/AdsApi/AdManager/v202511/SetTopBoxLineItemError.php index 4a1782144..154d70ddd 100644 --- a/src/Google/AdsApi/AdManager/v202511/SetTopBoxLineItemError.php +++ b/src/Google/AdsApi/AdManager/v202511/SetTopBoxLineItemError.php @@ -21,7 +21,7 @@ class SetTopBoxLineItemError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/SetValue.php b/src/Google/AdsApi/AdManager/v202511/SetValue.php index 1b5dfd8b1..f0bf207b8 100644 --- a/src/Google/AdsApi/AdManager/v202511/SetValue.php +++ b/src/Google/AdsApi/AdManager/v202511/SetValue.php @@ -17,7 +17,7 @@ class SetValue extends \Google\AdsApi\AdManager\v202511\Value /** * @param \Google\AdsApi\AdManager\v202511\Value[] $values */ - public function __construct(array $values = null) + public function __construct(?array $values = null) { $this->values = $values; } @@ -34,7 +34,7 @@ public function getValues() * @param \Google\AdsApi\AdManager\v202511\Value[]|null $values * @return \Google\AdsApi\AdManager\v202511\SetValue */ - public function setValues(array $values = null) + public function setValues(?array $values = null) { $this->values = $values; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/SharedAudienceSegment.php b/src/Google/AdsApi/AdManager/v202511/SharedAudienceSegment.php index ad34600c2..4dbb3fbdf 100644 --- a/src/Google/AdsApi/AdManager/v202511/SharedAudienceSegment.php +++ b/src/Google/AdsApi/AdManager/v202511/SharedAudienceSegment.php @@ -23,7 +23,7 @@ class SharedAudienceSegment extends \Google\AdsApi\AdManager\v202511\AudienceSeg * @param \Google\AdsApi\AdManager\v202511\AudienceSegmentDataProvider $dataProvider * @param string $type */ - public function __construct($id = null, $name = null, array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null) + public function __construct($id = null, $name = null, ?array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null) { parent::__construct($id, $name, $categoryIds, $description, $status, $size, $mobileWebSize, $idfaSize, $adIdSize, $ppidSize, $dataProvider, $type); } diff --git a/src/Google/AdsApi/AdManager/v202511/Site.php b/src/Google/AdsApi/AdManager/v202511/Site.php index d213bbe90..f51a5d5cb 100644 --- a/src/Google/AdsApi/AdManager/v202511/Site.php +++ b/src/Google/AdsApi/AdManager/v202511/Site.php @@ -47,7 +47,7 @@ class Site * @param \Google\AdsApi\AdManager\v202511\DateTime $approvalStatusUpdateTime * @param \Google\AdsApi\AdManager\v202511\DisapprovalReason[] $disapprovalReasons */ - public function __construct($id = null, $url = null, $childNetworkCode = null, $approvalStatus = null, $approvalStatusUpdateTime = null, array $disapprovalReasons = null) + public function __construct($id = null, $url = null, $childNetworkCode = null, $approvalStatus = null, $approvalStatusUpdateTime = null, ?array $disapprovalReasons = null) { $this->id = $id; $this->url = $url; @@ -160,7 +160,7 @@ public function getDisapprovalReasons() * @param \Google\AdsApi\AdManager\v202511\DisapprovalReason[]|null $disapprovalReasons * @return \Google\AdsApi\AdManager\v202511\Site */ - public function setDisapprovalReasons(array $disapprovalReasons = null) + public function setDisapprovalReasons(?array $disapprovalReasons = null) { $this->disapprovalReasons = $disapprovalReasons; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/SiteError.php b/src/Google/AdsApi/AdManager/v202511/SiteError.php index 3a655efad..608957516 100644 --- a/src/Google/AdsApi/AdManager/v202511/SiteError.php +++ b/src/Google/AdsApi/AdManager/v202511/SiteError.php @@ -21,7 +21,7 @@ class SiteError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/SitePage.php b/src/Google/AdsApi/AdManager/v202511/SitePage.php index e0571a0ba..ed3bd4f5c 100644 --- a/src/Google/AdsApi/AdManager/v202511/SitePage.php +++ b/src/Google/AdsApi/AdManager/v202511/SitePage.php @@ -29,7 +29,7 @@ class SitePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\Site[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\Site[]|null $results * @return \Google\AdsApi\AdManager\v202511\SitePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/SlatePage.php b/src/Google/AdsApi/AdManager/v202511/SlatePage.php index c64e96bb3..26e657c97 100644 --- a/src/Google/AdsApi/AdManager/v202511/SlatePage.php +++ b/src/Google/AdsApi/AdManager/v202511/SlatePage.php @@ -29,7 +29,7 @@ class SlatePage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\Slate[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\Slate[]|null $results * @return \Google\AdsApi\AdManager\v202511\SlatePage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/Statement.php b/src/Google/AdsApi/AdManager/v202511/Statement.php index 4b17d4b3b..0683f2a97 100644 --- a/src/Google/AdsApi/AdManager/v202511/Statement.php +++ b/src/Google/AdsApi/AdManager/v202511/Statement.php @@ -23,7 +23,7 @@ class Statement * @param string $query * @param \Google\AdsApi\AdManager\v202511\String_ValueMapEntry[] $values */ - public function __construct($query = null, array $values = null) + public function __construct($query = null, ?array $values = null) { $this->query = $query; $this->values = $values; @@ -59,7 +59,7 @@ public function getValues() * @param \Google\AdsApi\AdManager\v202511\String_ValueMapEntry[]|null $values * @return \Google\AdsApi\AdManager\v202511\Statement */ - public function setValues(array $values = null) + public function setValues(?array $values = null) { $this->values = $values; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/StatementError.php b/src/Google/AdsApi/AdManager/v202511/StatementError.php index b7e473714..8acc04611 100644 --- a/src/Google/AdsApi/AdManager/v202511/StatementError.php +++ b/src/Google/AdsApi/AdManager/v202511/StatementError.php @@ -21,7 +21,7 @@ class StatementError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/StringFormatError.php b/src/Google/AdsApi/AdManager/v202511/StringFormatError.php index 2a7ce5dd2..a79800c27 100644 --- a/src/Google/AdsApi/AdManager/v202511/StringFormatError.php +++ b/src/Google/AdsApi/AdManager/v202511/StringFormatError.php @@ -21,7 +21,7 @@ class StringFormatError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/StringLengthError.php b/src/Google/AdsApi/AdManager/v202511/StringLengthError.php index ff00b7d5e..c947dc395 100644 --- a/src/Google/AdsApi/AdManager/v202511/StringLengthError.php +++ b/src/Google/AdsApi/AdManager/v202511/StringLengthError.php @@ -21,7 +21,7 @@ class StringLengthError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/SuggestedAdUnit.php b/src/Google/AdsApi/AdManager/v202511/SuggestedAdUnit.php index b0c0c7da8..9a92da10b 100644 --- a/src/Google/AdsApi/AdManager/v202511/SuggestedAdUnit.php +++ b/src/Google/AdsApi/AdManager/v202511/SuggestedAdUnit.php @@ -53,7 +53,7 @@ class SuggestedAdUnit * @param string $targetPlatform * @param \Google\AdsApi\AdManager\v202511\AdUnitSize[] $suggestedAdUnitSizes */ - public function __construct($id = null, $numRequests = null, array $path = null, array $parentPath = null, $targetWindow = null, $targetPlatform = null, array $suggestedAdUnitSizes = null) + public function __construct($id = null, $numRequests = null, ?array $path = null, ?array $parentPath = null, $targetWindow = null, $targetPlatform = null, ?array $suggestedAdUnitSizes = null) { $this->id = $id; $this->numRequests = $numRequests; @@ -113,7 +113,7 @@ public function getPath() * @param string[]|null $path * @return \Google\AdsApi\AdManager\v202511\SuggestedAdUnit */ - public function setPath(array $path = null) + public function setPath(?array $path = null) { $this->path = $path; return $this; @@ -131,7 +131,7 @@ public function getParentPath() * @param \Google\AdsApi\AdManager\v202511\AdUnitParent[]|null $parentPath * @return \Google\AdsApi\AdManager\v202511\SuggestedAdUnit */ - public function setParentPath(array $parentPath = null) + public function setParentPath(?array $parentPath = null) { $this->parentPath = $parentPath; return $this; @@ -185,7 +185,7 @@ public function getSuggestedAdUnitSizes() * @param \Google\AdsApi\AdManager\v202511\AdUnitSize[]|null $suggestedAdUnitSizes * @return \Google\AdsApi\AdManager\v202511\SuggestedAdUnit */ - public function setSuggestedAdUnitSizes(array $suggestedAdUnitSizes = null) + public function setSuggestedAdUnitSizes(?array $suggestedAdUnitSizes = null) { $this->suggestedAdUnitSizes = $suggestedAdUnitSizes; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/SuggestedAdUnitPage.php b/src/Google/AdsApi/AdManager/v202511/SuggestedAdUnitPage.php index 053d71bc6..104f7e2bd 100644 --- a/src/Google/AdsApi/AdManager/v202511/SuggestedAdUnitPage.php +++ b/src/Google/AdsApi/AdManager/v202511/SuggestedAdUnitPage.php @@ -29,7 +29,7 @@ class SuggestedAdUnitPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\SuggestedAdUnit[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\SuggestedAdUnit[]|null $results * @return \Google\AdsApi\AdManager\v202511\SuggestedAdUnitPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/SuggestedAdUnitUpdateResult.php b/src/Google/AdsApi/AdManager/v202511/SuggestedAdUnitUpdateResult.php index fad667f6b..cd23a3520 100644 --- a/src/Google/AdsApi/AdManager/v202511/SuggestedAdUnitUpdateResult.php +++ b/src/Google/AdsApi/AdManager/v202511/SuggestedAdUnitUpdateResult.php @@ -23,7 +23,7 @@ class SuggestedAdUnitUpdateResult * @param string[] $newAdUnitIds * @param int $numChanges */ - public function __construct(array $newAdUnitIds = null, $numChanges = null) + public function __construct(?array $newAdUnitIds = null, $numChanges = null) { $this->newAdUnitIds = $newAdUnitIds; $this->numChanges = $numChanges; @@ -41,7 +41,7 @@ public function getNewAdUnitIds() * @param string[]|null $newAdUnitIds * @return \Google\AdsApi\AdManager\v202511\SuggestedAdUnitUpdateResult */ - public function setNewAdUnitIds(array $newAdUnitIds = null) + public function setNewAdUnitIds(?array $newAdUnitIds = null) { $this->newAdUnitIds = $newAdUnitIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/SwiffyConversionError.php b/src/Google/AdsApi/AdManager/v202511/SwiffyConversionError.php index 54377a099..c4d9b82cf 100644 --- a/src/Google/AdsApi/AdManager/v202511/SwiffyConversionError.php +++ b/src/Google/AdsApi/AdManager/v202511/SwiffyConversionError.php @@ -21,7 +21,7 @@ class SwiffyConversionError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/TargetingPresetPage.php b/src/Google/AdsApi/AdManager/v202511/TargetingPresetPage.php index eb1a5f0fb..02f8936dc 100644 --- a/src/Google/AdsApi/AdManager/v202511/TargetingPresetPage.php +++ b/src/Google/AdsApi/AdManager/v202511/TargetingPresetPage.php @@ -29,7 +29,7 @@ class TargetingPresetPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\TargetingPreset[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\TargetingPreset[]|null $results * @return \Google\AdsApi\AdManager\v202511\TargetingPresetPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/TeamError.php b/src/Google/AdsApi/AdManager/v202511/TeamError.php index 3e5290a97..5b83e0335 100644 --- a/src/Google/AdsApi/AdManager/v202511/TeamError.php +++ b/src/Google/AdsApi/AdManager/v202511/TeamError.php @@ -21,7 +21,7 @@ class TeamError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/TeamPage.php b/src/Google/AdsApi/AdManager/v202511/TeamPage.php index 56214a783..66697d0eb 100644 --- a/src/Google/AdsApi/AdManager/v202511/TeamPage.php +++ b/src/Google/AdsApi/AdManager/v202511/TeamPage.php @@ -29,7 +29,7 @@ class TeamPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\Team[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\Team[]|null $results * @return \Google\AdsApi\AdManager\v202511\TeamPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/TechnologyTargetingError.php b/src/Google/AdsApi/AdManager/v202511/TechnologyTargetingError.php index 6e2fcf633..1244a4265 100644 --- a/src/Google/AdsApi/AdManager/v202511/TechnologyTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202511/TechnologyTargetingError.php @@ -21,7 +21,7 @@ class TechnologyTargetingError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/TemplateCreative.php b/src/Google/AdsApi/AdManager/v202511/TemplateCreative.php index 5c3221e04..e7b445b88 100644 --- a/src/Google/AdsApi/AdManager/v202511/TemplateCreative.php +++ b/src/Google/AdsApi/AdManager/v202511/TemplateCreative.php @@ -78,7 +78,7 @@ class TemplateCreative extends \Google\AdsApi\AdManager\v202511\Creative * @param string $sslManualOverride * @param string $lockedOrientation */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $creativeTemplateId = null, $isInterstitial = null, $isNativeEligible = null, $isSafeFrameCompatible = null, $destinationUrl = null, array $creativeTemplateVariableValues = null, $sslScanResult = null, $sslManualOverride = null, $lockedOrientation = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $creativeTemplateId = null, $isInterstitial = null, $isNativeEligible = null, $isSafeFrameCompatible = null, $destinationUrl = null, ?array $creativeTemplateVariableValues = null, $sslScanResult = null, $sslManualOverride = null, $lockedOrientation = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $thirdPartyDataDeclarationStatus, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent); $this->creativeTemplateId = $creativeTemplateId; @@ -195,7 +195,7 @@ public function getCreativeTemplateVariableValues() * @param \Google\AdsApi\AdManager\v202511\BaseCreativeTemplateVariableValue[]|null $creativeTemplateVariableValues * @return \Google\AdsApi\AdManager\v202511\TemplateCreative */ - public function setCreativeTemplateVariableValues(array $creativeTemplateVariableValues = null) + public function setCreativeTemplateVariableValues(?array $creativeTemplateVariableValues = null) { $this->creativeTemplateVariableValues = $creativeTemplateVariableValues; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/TemplateInstantiatedCreativeError.php b/src/Google/AdsApi/AdManager/v202511/TemplateInstantiatedCreativeError.php index eba19064c..15093f0c2 100644 --- a/src/Google/AdsApi/AdManager/v202511/TemplateInstantiatedCreativeError.php +++ b/src/Google/AdsApi/AdManager/v202511/TemplateInstantiatedCreativeError.php @@ -21,7 +21,7 @@ class TemplateInstantiatedCreativeError extends \Google\AdsApi\AdManager\v202511 * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/ThirdPartyAudienceSegment.php b/src/Google/AdsApi/AdManager/v202511/ThirdPartyAudienceSegment.php index 12809951f..4f034647f 100644 --- a/src/Google/AdsApi/AdManager/v202511/ThirdPartyAudienceSegment.php +++ b/src/Google/AdsApi/AdManager/v202511/ThirdPartyAudienceSegment.php @@ -53,7 +53,7 @@ class ThirdPartyAudienceSegment extends \Google\AdsApi\AdManager\v202511\Audienc * @param \Google\AdsApi\AdManager\v202511\DateTime $startDateTime * @param \Google\AdsApi\AdManager\v202511\DateTime $endDateTime */ - public function __construct($id = null, $name = null, array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null, $approvalStatus = null, $cost = null, $licenseType = null, $startDateTime = null, $endDateTime = null) + public function __construct($id = null, $name = null, ?array $categoryIds = null, $description = null, $status = null, $size = null, $mobileWebSize = null, $idfaSize = null, $adIdSize = null, $ppidSize = null, $dataProvider = null, $type = null, $approvalStatus = null, $cost = null, $licenseType = null, $startDateTime = null, $endDateTime = null) { parent::__construct($id, $name, $categoryIds, $description, $status, $size, $mobileWebSize, $idfaSize, $adIdSize, $ppidSize, $dataProvider, $type); $this->approvalStatus = $approvalStatus; diff --git a/src/Google/AdsApi/AdManager/v202511/ThirdPartyCreative.php b/src/Google/AdsApi/AdManager/v202511/ThirdPartyCreative.php index 0563af373..3f00140ca 100644 --- a/src/Google/AdsApi/AdManager/v202511/ThirdPartyCreative.php +++ b/src/Google/AdsApi/AdManager/v202511/ThirdPartyCreative.php @@ -72,7 +72,7 @@ class ThirdPartyCreative extends \Google\AdsApi\AdManager\v202511\Creative * @param string[] $thirdPartyImpressionTrackingUrls * @param string $ampRedirectUrl */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $snippet = null, $expandedSnippet = null, $sslScanResult = null, $sslManualOverride = null, $lockedOrientation = null, $isSafeFrameCompatible = null, array $thirdPartyImpressionTrackingUrls = null, $ampRedirectUrl = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $snippet = null, $expandedSnippet = null, $sslScanResult = null, $sslManualOverride = null, $lockedOrientation = null, $isSafeFrameCompatible = null, ?array $thirdPartyImpressionTrackingUrls = null, $ampRedirectUrl = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $thirdPartyDataDeclarationStatus, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent); $this->snippet = $snippet; @@ -205,7 +205,7 @@ public function getThirdPartyImpressionTrackingUrls() * @param string[]|null $thirdPartyImpressionTrackingUrls * @return \Google\AdsApi\AdManager\v202511\ThirdPartyCreative */ - public function setThirdPartyImpressionTrackingUrls(array $thirdPartyImpressionTrackingUrls = null) + public function setThirdPartyImpressionTrackingUrls(?array $thirdPartyImpressionTrackingUrls = null) { $this->thirdPartyImpressionTrackingUrls = $thirdPartyImpressionTrackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/ThirdPartyDataDeclaration.php b/src/Google/AdsApi/AdManager/v202511/ThirdPartyDataDeclaration.php index e06089cd5..dbc59d528 100644 --- a/src/Google/AdsApi/AdManager/v202511/ThirdPartyDataDeclaration.php +++ b/src/Google/AdsApi/AdManager/v202511/ThirdPartyDataDeclaration.php @@ -23,7 +23,7 @@ class ThirdPartyDataDeclaration * @param string $declarationType * @param int[] $thirdPartyCompanyIds */ - public function __construct($declarationType = null, array $thirdPartyCompanyIds = null) + public function __construct($declarationType = null, ?array $thirdPartyCompanyIds = null) { $this->declarationType = $declarationType; $this->thirdPartyCompanyIds = $thirdPartyCompanyIds; @@ -59,7 +59,7 @@ public function getThirdPartyCompanyIds() * @param int[]|null $thirdPartyCompanyIds * @return \Google\AdsApi\AdManager\v202511\ThirdPartyDataDeclaration */ - public function setThirdPartyCompanyIds(array $thirdPartyCompanyIds = null) + public function setThirdPartyCompanyIds(?array $thirdPartyCompanyIds = null) { $this->thirdPartyCompanyIds = $thirdPartyCompanyIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/TimeSeries.php b/src/Google/AdsApi/AdManager/v202511/TimeSeries.php index 9e4183ba3..f0b2cd400 100644 --- a/src/Google/AdsApi/AdManager/v202511/TimeSeries.php +++ b/src/Google/AdsApi/AdManager/v202511/TimeSeries.php @@ -23,7 +23,7 @@ class TimeSeries * @param \Google\AdsApi\AdManager\v202511\DateRange $timeSeriesDateRange * @param int[] $values */ - public function __construct($timeSeriesDateRange = null, array $values = null) + public function __construct($timeSeriesDateRange = null, ?array $values = null) { $this->timeSeriesDateRange = $timeSeriesDateRange; $this->values = $values; @@ -59,7 +59,7 @@ public function getValues() * @param int[]|null $values * @return \Google\AdsApi\AdManager\v202511\TimeSeries */ - public function setValues(array $values = null) + public function setValues(?array $values = null) { $this->values = $values; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/TimeZoneError.php b/src/Google/AdsApi/AdManager/v202511/TimeZoneError.php index e5e86a63e..db8c1d1d9 100644 --- a/src/Google/AdsApi/AdManager/v202511/TimeZoneError.php +++ b/src/Google/AdsApi/AdManager/v202511/TimeZoneError.php @@ -21,7 +21,7 @@ class TimeZoneError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/TokenError.php b/src/Google/AdsApi/AdManager/v202511/TokenError.php index 350cb3e76..5869fa344 100644 --- a/src/Google/AdsApi/AdManager/v202511/TokenError.php +++ b/src/Google/AdsApi/AdManager/v202511/TokenError.php @@ -21,7 +21,7 @@ class TokenError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/TrackingEvent.php b/src/Google/AdsApi/AdManager/v202511/TrackingEvent.php index cff0ac2f2..0f9ab0eb5 100644 --- a/src/Google/AdsApi/AdManager/v202511/TrackingEvent.php +++ b/src/Google/AdsApi/AdManager/v202511/TrackingEvent.php @@ -17,7 +17,7 @@ class TrackingEvent /** * @param \Google\AdsApi\AdManager\v202511\TrackingEventPing[] $pings */ - public function __construct(array $pings = null) + public function __construct(?array $pings = null) { $this->pings = $pings; } @@ -34,7 +34,7 @@ public function getPings() * @param \Google\AdsApi\AdManager\v202511\TrackingEventPing[]|null $pings * @return \Google\AdsApi\AdManager\v202511\TrackingEvent */ - public function setPings(array $pings = null) + public function setPings(?array $pings = null) { $this->pings = $pings; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/TrackingUrls.php b/src/Google/AdsApi/AdManager/v202511/TrackingUrls.php index 4d98ed494..3f3567bb1 100644 --- a/src/Google/AdsApi/AdManager/v202511/TrackingUrls.php +++ b/src/Google/AdsApi/AdManager/v202511/TrackingUrls.php @@ -17,7 +17,7 @@ class TrackingUrls /** * @param string[] $urls */ - public function __construct(array $urls = null) + public function __construct(?array $urls = null) { $this->urls = $urls; } @@ -34,7 +34,7 @@ public function getUrls() * @param string[]|null $urls * @return \Google\AdsApi\AdManager\v202511\TrackingUrls */ - public function setUrls(array $urls = null) + public function setUrls(?array $urls = null) { $this->urls = $urls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/TrafficForecastSegmentError.php b/src/Google/AdsApi/AdManager/v202511/TrafficForecastSegmentError.php index 43099700d..a37fc7549 100644 --- a/src/Google/AdsApi/AdManager/v202511/TrafficForecastSegmentError.php +++ b/src/Google/AdsApi/AdManager/v202511/TrafficForecastSegmentError.php @@ -21,7 +21,7 @@ class TrafficForecastSegmentError extends \Google\AdsApi\AdManager\v202511\ApiEr * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/TrafficForecastSegmentPage.php b/src/Google/AdsApi/AdManager/v202511/TrafficForecastSegmentPage.php index 94ead78e2..e18472f9d 100644 --- a/src/Google/AdsApi/AdManager/v202511/TrafficForecastSegmentPage.php +++ b/src/Google/AdsApi/AdManager/v202511/TrafficForecastSegmentPage.php @@ -29,7 +29,7 @@ class TrafficForecastSegmentPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\TrafficForecastSegment[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\TrafficForecastSegment[]|null $results * @return \Google\AdsApi\AdManager\v202511\TrafficForecastSegmentPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/TranscodingError.php b/src/Google/AdsApi/AdManager/v202511/TranscodingError.php index 236bac279..968a425d4 100644 --- a/src/Google/AdsApi/AdManager/v202511/TranscodingError.php +++ b/src/Google/AdsApi/AdManager/v202511/TranscodingError.php @@ -21,7 +21,7 @@ class TranscodingError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/TypeError.php b/src/Google/AdsApi/AdManager/v202511/TypeError.php index 343034492..b6f37b1db 100644 --- a/src/Google/AdsApi/AdManager/v202511/TypeError.php +++ b/src/Google/AdsApi/AdManager/v202511/TypeError.php @@ -15,7 +15,7 @@ class TypeError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $trigger * @param string $errorString */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); } diff --git a/src/Google/AdsApi/AdManager/v202511/UniqueError.php b/src/Google/AdsApi/AdManager/v202511/UniqueError.php index aeb9e24cf..e0a19b730 100644 --- a/src/Google/AdsApi/AdManager/v202511/UniqueError.php +++ b/src/Google/AdsApi/AdManager/v202511/UniqueError.php @@ -15,7 +15,7 @@ class UniqueError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $trigger * @param string $errorString */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); } diff --git a/src/Google/AdsApi/AdManager/v202511/UnsupportedCreative.php b/src/Google/AdsApi/AdManager/v202511/UnsupportedCreative.php index 853a10587..66d9515a2 100644 --- a/src/Google/AdsApi/AdManager/v202511/UnsupportedCreative.php +++ b/src/Google/AdsApi/AdManager/v202511/UnsupportedCreative.php @@ -30,7 +30,7 @@ class UnsupportedCreative extends \Google\AdsApi\AdManager\v202511\Creative * @param boolean $selfDeclaredEuropeanUnionPoliticalContent * @param string $unsupportedCreativeType */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $unsupportedCreativeType = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $unsupportedCreativeType = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $thirdPartyDataDeclarationStatus, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent); $this->unsupportedCreativeType = $unsupportedCreativeType; diff --git a/src/Google/AdsApi/AdManager/v202511/UrlError.php b/src/Google/AdsApi/AdManager/v202511/UrlError.php index 9b296e2b6..a35214b11 100644 --- a/src/Google/AdsApi/AdManager/v202511/UrlError.php +++ b/src/Google/AdsApi/AdManager/v202511/UrlError.php @@ -21,7 +21,7 @@ class UrlError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/UserDomainTargeting.php b/src/Google/AdsApi/AdManager/v202511/UserDomainTargeting.php index 4731e5ef1..54b8bb185 100644 --- a/src/Google/AdsApi/AdManager/v202511/UserDomainTargeting.php +++ b/src/Google/AdsApi/AdManager/v202511/UserDomainTargeting.php @@ -23,7 +23,7 @@ class UserDomainTargeting * @param string[] $domains * @param boolean $targeted */ - public function __construct(array $domains = null, $targeted = null) + public function __construct(?array $domains = null, $targeted = null) { $this->domains = $domains; $this->targeted = $targeted; @@ -41,7 +41,7 @@ public function getDomains() * @param string[]|null $domains * @return \Google\AdsApi\AdManager\v202511\UserDomainTargeting */ - public function setDomains(array $domains = null) + public function setDomains(?array $domains = null) { $this->domains = $domains; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/UserDomainTargetingError.php b/src/Google/AdsApi/AdManager/v202511/UserDomainTargetingError.php index b64b221ff..4fc432cc3 100644 --- a/src/Google/AdsApi/AdManager/v202511/UserDomainTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202511/UserDomainTargetingError.php @@ -21,7 +21,7 @@ class UserDomainTargetingError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/UserPage.php b/src/Google/AdsApi/AdManager/v202511/UserPage.php index dd3a94aa4..7b55d6166 100644 --- a/src/Google/AdsApi/AdManager/v202511/UserPage.php +++ b/src/Google/AdsApi/AdManager/v202511/UserPage.php @@ -29,7 +29,7 @@ class UserPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\User[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\User[]|null $results * @return \Google\AdsApi\AdManager\v202511\UserPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/UserTeamAssociationPage.php b/src/Google/AdsApi/AdManager/v202511/UserTeamAssociationPage.php index 0acc15138..2de791867 100644 --- a/src/Google/AdsApi/AdManager/v202511/UserTeamAssociationPage.php +++ b/src/Google/AdsApi/AdManager/v202511/UserTeamAssociationPage.php @@ -29,7 +29,7 @@ class UserTeamAssociationPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\UserTeamAssociation[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\UserTeamAssociation[]|null $results * @return \Google\AdsApi\AdManager\v202511\UserTeamAssociationPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/VastRedirectCreative.php b/src/Google/AdsApi/AdManager/v202511/VastRedirectCreative.php index 422b792b5..448aac005 100644 --- a/src/Google/AdsApi/AdManager/v202511/VastRedirectCreative.php +++ b/src/Google/AdsApi/AdManager/v202511/VastRedirectCreative.php @@ -78,7 +78,7 @@ class VastRedirectCreative extends \Google\AdsApi\AdManager\v202511\Creative * @param string $sslManualOverride * @param boolean $isAudio */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $vastXmlUrl = null, $vastRedirectType = null, $duration = null, array $companionCreativeIds = null, array $trackingUrls = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $isAudio = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $vastXmlUrl = null, $vastRedirectType = null, $duration = null, ?array $companionCreativeIds = null, ?array $trackingUrls = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $isAudio = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $thirdPartyDataDeclarationStatus, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent); $this->vastXmlUrl = $vastXmlUrl; @@ -158,7 +158,7 @@ public function getCompanionCreativeIds() * @param int[]|null $companionCreativeIds * @return \Google\AdsApi\AdManager\v202511\VastRedirectCreative */ - public function setCompanionCreativeIds(array $companionCreativeIds = null) + public function setCompanionCreativeIds(?array $companionCreativeIds = null) { $this->companionCreativeIds = $companionCreativeIds; return $this; @@ -176,7 +176,7 @@ public function getTrackingUrls() * @param \Google\AdsApi\AdManager\v202511\ConversionEvent_TrackingUrlsMapEntry[]|null $trackingUrls * @return \Google\AdsApi\AdManager\v202511\VastRedirectCreative */ - public function setTrackingUrls(array $trackingUrls = null) + public function setTrackingUrls(?array $trackingUrls = null) { $this->trackingUrls = $trackingUrls; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/VerticalTargeting.php b/src/Google/AdsApi/AdManager/v202511/VerticalTargeting.php index be460aa89..a097a7dc3 100644 --- a/src/Google/AdsApi/AdManager/v202511/VerticalTargeting.php +++ b/src/Google/AdsApi/AdManager/v202511/VerticalTargeting.php @@ -23,7 +23,7 @@ class VerticalTargeting * @param int[] $targetedVerticalIds * @param int[] $excludedVerticalIds */ - public function __construct(array $targetedVerticalIds = null, array $excludedVerticalIds = null) + public function __construct(?array $targetedVerticalIds = null, ?array $excludedVerticalIds = null) { $this->targetedVerticalIds = $targetedVerticalIds; $this->excludedVerticalIds = $excludedVerticalIds; @@ -41,7 +41,7 @@ public function getTargetedVerticalIds() * @param int[]|null $targetedVerticalIds * @return \Google\AdsApi\AdManager\v202511\VerticalTargeting */ - public function setTargetedVerticalIds(array $targetedVerticalIds = null) + public function setTargetedVerticalIds(?array $targetedVerticalIds = null) { $this->targetedVerticalIds = $targetedVerticalIds; return $this; @@ -59,7 +59,7 @@ public function getExcludedVerticalIds() * @param int[]|null $excludedVerticalIds * @return \Google\AdsApi\AdManager\v202511\VerticalTargeting */ - public function setExcludedVerticalIds(array $excludedVerticalIds = null) + public function setExcludedVerticalIds(?array $excludedVerticalIds = null) { $this->excludedVerticalIds = $excludedVerticalIds; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/VideoAdTagError.php b/src/Google/AdsApi/AdManager/v202511/VideoAdTagError.php index 00073d79e..5c6271d56 100644 --- a/src/Google/AdsApi/AdManager/v202511/VideoAdTagError.php +++ b/src/Google/AdsApi/AdManager/v202511/VideoAdTagError.php @@ -21,7 +21,7 @@ class VideoAdTagError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/VideoCreative.php b/src/Google/AdsApi/AdManager/v202511/VideoCreative.php index 66485a733..fd53c552e 100644 --- a/src/Google/AdsApi/AdManager/v202511/VideoCreative.php +++ b/src/Google/AdsApi/AdManager/v202511/VideoCreative.php @@ -43,7 +43,7 @@ class VideoCreative extends \Google\AdsApi\AdManager\v202511\BaseVideoCreative * @param string $sslManualOverride * @param string $videoSourceUrl */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, array $trackingUrls = null, array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $videoSourceUrl = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, ?array $trackingUrls = null, ?array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $videoSourceUrl = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $thirdPartyDataDeclarationStatus, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent, $destinationUrl, $destinationUrlType, $duration, $allowDurationOverride, $trackingUrls, $companionCreativeIds, $customParameters, $adId, $adIdType, $skippableAdType, $vastPreviewUrl, $sslScanResult, $sslManualOverride); $this->videoSourceUrl = $videoSourceUrl; diff --git a/src/Google/AdsApi/AdManager/v202511/VideoMetadata.php b/src/Google/AdsApi/AdManager/v202511/VideoMetadata.php index 177264577..01f1fae32 100644 --- a/src/Google/AdsApi/AdManager/v202511/VideoMetadata.php +++ b/src/Google/AdsApi/AdManager/v202511/VideoMetadata.php @@ -65,7 +65,7 @@ class VideoMetadata * @param string $deliveryType * @param string[] $codecs */ - public function __construct($scalableType = null, $duration = null, $bitRate = null, $minimumBitRate = null, $maximumBitRate = null, $size = null, $mimeType = null, $deliveryType = null, array $codecs = null) + public function __construct($scalableType = null, $duration = null, $bitRate = null, $minimumBitRate = null, $maximumBitRate = null, $size = null, $mimeType = null, $deliveryType = null, ?array $codecs = null) { $this->scalableType = $scalableType; $this->duration = $duration; @@ -234,7 +234,7 @@ public function getCodecs() * @param string[]|null $codecs * @return \Google\AdsApi\AdManager\v202511\VideoMetadata */ - public function setCodecs(array $codecs = null) + public function setCodecs(?array $codecs = null) { $this->codecs = $codecs; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/VideoPositionTargeting.php b/src/Google/AdsApi/AdManager/v202511/VideoPositionTargeting.php index 6b7b8cab5..0713d15e9 100644 --- a/src/Google/AdsApi/AdManager/v202511/VideoPositionTargeting.php +++ b/src/Google/AdsApi/AdManager/v202511/VideoPositionTargeting.php @@ -17,7 +17,7 @@ class VideoPositionTargeting /** * @param \Google\AdsApi\AdManager\v202511\VideoPositionTarget[] $targetedPositions */ - public function __construct(array $targetedPositions = null) + public function __construct(?array $targetedPositions = null) { $this->targetedPositions = $targetedPositions; } @@ -34,7 +34,7 @@ public function getTargetedPositions() * @param \Google\AdsApi\AdManager\v202511\VideoPositionTarget[]|null $targetedPositions * @return \Google\AdsApi\AdManager\v202511\VideoPositionTargeting */ - public function setTargetedPositions(array $targetedPositions = null) + public function setTargetedPositions(?array $targetedPositions = null) { $this->targetedPositions = $targetedPositions; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/VideoPositionTargetingError.php b/src/Google/AdsApi/AdManager/v202511/VideoPositionTargetingError.php index e83e3d5e6..3a5f13ec6 100644 --- a/src/Google/AdsApi/AdManager/v202511/VideoPositionTargetingError.php +++ b/src/Google/AdsApi/AdManager/v202511/VideoPositionTargetingError.php @@ -21,7 +21,7 @@ class VideoPositionTargetingError extends \Google\AdsApi\AdManager\v202511\ApiEr * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/VideoRedirectCreative.php b/src/Google/AdsApi/AdManager/v202511/VideoRedirectCreative.php index 60191e847..65005bcb5 100644 --- a/src/Google/AdsApi/AdManager/v202511/VideoRedirectCreative.php +++ b/src/Google/AdsApi/AdManager/v202511/VideoRedirectCreative.php @@ -49,7 +49,7 @@ class VideoRedirectCreative extends \Google\AdsApi\AdManager\v202511\BaseVideoCr * @param \Google\AdsApi\AdManager\v202511\VideoRedirectAsset[] $videoAssets * @param \Google\AdsApi\AdManager\v202511\VideoRedirectAsset $mezzanineFile */ - public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, array $policyLabels = null, array $appliedLabels = null, $lastModifiedDateTime = null, array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, array $trackingUrls = null, array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, array $videoAssets = null, $mezzanineFile = null) + public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, ?array $policyLabels = null, ?array $appliedLabels = null, $lastModifiedDateTime = null, ?array $customFieldValues = null, $thirdPartyDataDeclaration = null, $thirdPartyDataDeclarationStatus = null, $adBadgingEnabled = null, $selfDeclaredEuropeanUnionPoliticalContent = null, $destinationUrl = null, $destinationUrlType = null, $duration = null, $allowDurationOverride = null, ?array $trackingUrls = null, ?array $companionCreativeIds = null, $customParameters = null, $adId = null, $adIdType = null, $skippableAdType = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, ?array $videoAssets = null, $mezzanineFile = null) { parent::__construct($advertiserId, $id, $name, $size, $previewUrl, $policyLabels, $appliedLabels, $lastModifiedDateTime, $customFieldValues, $thirdPartyDataDeclaration, $thirdPartyDataDeclarationStatus, $adBadgingEnabled, $selfDeclaredEuropeanUnionPoliticalContent, $destinationUrl, $destinationUrlType, $duration, $allowDurationOverride, $trackingUrls, $companionCreativeIds, $customParameters, $adId, $adIdType, $skippableAdType, $vastPreviewUrl, $sslScanResult, $sslManualOverride); $this->videoAssets = $videoAssets; @@ -68,7 +68,7 @@ public function getVideoAssets() * @param \Google\AdsApi\AdManager\v202511\VideoRedirectAsset[]|null $videoAssets * @return \Google\AdsApi\AdManager\v202511\VideoRedirectCreative */ - public function setVideoAssets(array $videoAssets = null) + public function setVideoAssets(?array $videoAssets = null) { $this->videoAssets = $videoAssets; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/VodStreamCreateRequest.php b/src/Google/AdsApi/AdManager/v202511/VodStreamCreateRequest.php index 4b5b47b5a..cf1b257d3 100644 --- a/src/Google/AdsApi/AdManager/v202511/VodStreamCreateRequest.php +++ b/src/Google/AdsApi/AdManager/v202511/VodStreamCreateRequest.php @@ -50,7 +50,7 @@ class VodStreamCreateRequest extends \Google\AdsApi\AdManager\v202511\StreamCrea * @param string $podServingSessionTitle * @param int[] $cuePoints */ - public function __construct($url = null, $userAgent = null, $reportingType = null, $contentSourceId = null, $videoId = null, $contentId = null, $contentName = null, $podServingSessionTitle = null, array $cuePoints = null) + public function __construct($url = null, $userAgent = null, $reportingType = null, $contentSourceId = null, $videoId = null, $contentId = null, $contentName = null, $podServingSessionTitle = null, ?array $cuePoints = null) { parent::__construct($url, $userAgent, $reportingType); $this->contentSourceId = $contentSourceId; @@ -165,7 +165,7 @@ public function getCuePoints() * @param int[]|null $cuePoints * @return \Google\AdsApi\AdManager\v202511\VodStreamCreateRequest */ - public function setCuePoints(array $cuePoints = null) + public function setCuePoints(?array $cuePoints = null) { $this->cuePoints = $cuePoints; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/YieldError.php b/src/Google/AdsApi/AdManager/v202511/YieldError.php index 9d62fb548..4218f2b74 100644 --- a/src/Google/AdsApi/AdManager/v202511/YieldError.php +++ b/src/Google/AdsApi/AdManager/v202511/YieldError.php @@ -21,7 +21,7 @@ class YieldError extends \Google\AdsApi\AdManager\v202511\ApiError * @param string $errorString * @param string $reason */ - public function __construct($fieldPath = null, array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) + public function __construct($fieldPath = null, ?array $fieldPathElements = null, $trigger = null, $errorString = null, $reason = null) { parent::__construct($fieldPath, $fieldPathElements, $trigger, $errorString); $this->reason = $reason; diff --git a/src/Google/AdsApi/AdManager/v202511/YieldGroup.php b/src/Google/AdsApi/AdManager/v202511/YieldGroup.php index 84d99c519..93c8e510f 100644 --- a/src/Google/AdsApi/AdManager/v202511/YieldGroup.php +++ b/src/Google/AdsApi/AdManager/v202511/YieldGroup.php @@ -53,7 +53,7 @@ class YieldGroup * @param \Google\AdsApi\AdManager\v202511\Targeting $targeting * @param \Google\AdsApi\AdManager\v202511\YieldAdSource[] $adSources */ - public function __construct($yieldGroupId = null, $yieldGroupName = null, $exchangeStatus = null, $format = null, $environmentType = null, $targeting = null, array $adSources = null) + public function __construct($yieldGroupId = null, $yieldGroupName = null, $exchangeStatus = null, $format = null, $environmentType = null, $targeting = null, ?array $adSources = null) { $this->yieldGroupId = $yieldGroupId; $this->yieldGroupName = $yieldGroupName; @@ -185,7 +185,7 @@ public function getAdSources() * @param \Google\AdsApi\AdManager\v202511\YieldAdSource[]|null $adSources * @return \Google\AdsApi\AdManager\v202511\YieldGroup */ - public function setAdSources(array $adSources = null) + public function setAdSources(?array $adSources = null) { $this->adSources = $adSources; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/YieldGroupPage.php b/src/Google/AdsApi/AdManager/v202511/YieldGroupPage.php index 8b59e0075..d02166fe3 100644 --- a/src/Google/AdsApi/AdManager/v202511/YieldGroupPage.php +++ b/src/Google/AdsApi/AdManager/v202511/YieldGroupPage.php @@ -29,7 +29,7 @@ class YieldGroupPage * @param int $startIndex * @param \Google\AdsApi\AdManager\v202511\YieldGroup[] $results */ - public function __construct($totalResultSetSize = null, $startIndex = null, array $results = null) + public function __construct($totalResultSetSize = null, $startIndex = null, ?array $results = null) { $this->totalResultSetSize = $totalResultSetSize; $this->startIndex = $startIndex; @@ -84,7 +84,7 @@ public function getResults() * @param \Google\AdsApi\AdManager\v202511\YieldGroup[]|null $results * @return \Google\AdsApi\AdManager\v202511\YieldGroupPage */ - public function setResults(array $results = null) + public function setResults(?array $results = null) { $this->results = $results; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/YieldPartner.php b/src/Google/AdsApi/AdManager/v202511/YieldPartner.php index 7668b06b9..3e11a7e34 100644 --- a/src/Google/AdsApi/AdManager/v202511/YieldPartner.php +++ b/src/Google/AdsApi/AdManager/v202511/YieldPartner.php @@ -23,7 +23,7 @@ class YieldPartner * @param int $companyId * @param \Google\AdsApi\AdManager\v202511\YieldPartnerSettings[] $settings */ - public function __construct($companyId = null, array $settings = null) + public function __construct($companyId = null, ?array $settings = null) { $this->companyId = $companyId; $this->settings = $settings; @@ -60,7 +60,7 @@ public function getSettings() * @param \Google\AdsApi\AdManager\v202511\YieldPartnerSettings[]|null $settings * @return \Google\AdsApi\AdManager\v202511\YieldPartner */ - public function setSettings(array $settings = null) + public function setSettings(?array $settings = null) { $this->settings = $settings; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/YieldPartnerSettings.php b/src/Google/AdsApi/AdManager/v202511/YieldPartnerSettings.php index 2d6257791..f0ae01584 100644 --- a/src/Google/AdsApi/AdManager/v202511/YieldPartnerSettings.php +++ b/src/Google/AdsApi/AdManager/v202511/YieldPartnerSettings.php @@ -47,7 +47,7 @@ class YieldPartnerSettings * @param string $platform * @param \Google\AdsApi\AdManager\v202511\YieldParameter[] $parameters */ - public function __construct($status = null, $environment = null, $format = null, $integrationType = null, $platform = null, array $parameters = null) + public function __construct($status = null, $environment = null, $format = null, $integrationType = null, $platform = null, ?array $parameters = null) { $this->status = $status; $this->environment = $environment; @@ -159,7 +159,7 @@ public function getParameters() * @param \Google\AdsApi\AdManager\v202511\YieldParameter[]|null $parameters * @return \Google\AdsApi\AdManager\v202511\YieldPartnerSettings */ - public function setParameters(array $parameters = null) + public function setParameters(?array $parameters = null) { $this->parameters = $parameters; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createAdRulesResponse.php b/src/Google/AdsApi/AdManager/v202511/createAdRulesResponse.php index 4acdb3633..74448b65c 100644 --- a/src/Google/AdsApi/AdManager/v202511/createAdRulesResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createAdRulesResponse.php @@ -17,7 +17,7 @@ class createAdRulesResponse /** * @param \Google\AdsApi\AdManager\v202511\AdRule[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\AdRule[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createAdRulesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createAdSpotsResponse.php b/src/Google/AdsApi/AdManager/v202511/createAdSpotsResponse.php index 7de54dbe4..833d2d6be 100644 --- a/src/Google/AdsApi/AdManager/v202511/createAdSpotsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createAdSpotsResponse.php @@ -17,7 +17,7 @@ class createAdSpotsResponse /** * @param \Google\AdsApi\AdManager\v202511\AdSpot[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\AdSpot[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createAdSpotsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createAdUnitsResponse.php b/src/Google/AdsApi/AdManager/v202511/createAdUnitsResponse.php index c0f1ef264..0f3301bff 100644 --- a/src/Google/AdsApi/AdManager/v202511/createAdUnitsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createAdUnitsResponse.php @@ -17,7 +17,7 @@ class createAdUnitsResponse /** * @param \Google\AdsApi\AdManager\v202511\AdUnit[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\AdUnit[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createAdUnitsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createAudienceSegmentsResponse.php b/src/Google/AdsApi/AdManager/v202511/createAudienceSegmentsResponse.php index a3d778c76..f71da2d25 100644 --- a/src/Google/AdsApi/AdManager/v202511/createAudienceSegmentsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createAudienceSegmentsResponse.php @@ -17,7 +17,7 @@ class createAudienceSegmentsResponse /** * @param \Google\AdsApi\AdManager\v202511\FirstPartyAudienceSegment[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\FirstPartyAudienceSegment[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createAudienceSegmentsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createBreakTemplatesResponse.php b/src/Google/AdsApi/AdManager/v202511/createBreakTemplatesResponse.php index 651e43b39..376e3fb4d 100644 --- a/src/Google/AdsApi/AdManager/v202511/createBreakTemplatesResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createBreakTemplatesResponse.php @@ -17,7 +17,7 @@ class createBreakTemplatesResponse /** * @param \Google\AdsApi\AdManager\v202511\BreakTemplate[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\BreakTemplate[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createBreakTemplatesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createCdnConfigurationsResponse.php b/src/Google/AdsApi/AdManager/v202511/createCdnConfigurationsResponse.php index 7b09cc494..769e1f6f2 100644 --- a/src/Google/AdsApi/AdManager/v202511/createCdnConfigurationsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createCdnConfigurationsResponse.php @@ -17,7 +17,7 @@ class createCdnConfigurationsResponse /** * @param \Google\AdsApi\AdManager\v202511\CdnConfiguration[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\CdnConfiguration[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createCdnConfigurationsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createCompaniesResponse.php b/src/Google/AdsApi/AdManager/v202511/createCompaniesResponse.php index 5ff5511af..6044d4823 100644 --- a/src/Google/AdsApi/AdManager/v202511/createCompaniesResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createCompaniesResponse.php @@ -17,7 +17,7 @@ class createCompaniesResponse /** * @param \Google\AdsApi\AdManager\v202511\Company[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\Company[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createCompaniesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createContactsResponse.php b/src/Google/AdsApi/AdManager/v202511/createContactsResponse.php index 675e90aa2..3c6d0fa71 100644 --- a/src/Google/AdsApi/AdManager/v202511/createContactsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createContactsResponse.php @@ -17,7 +17,7 @@ class createContactsResponse /** * @param \Google\AdsApi\AdManager\v202511\Contact[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\Contact[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createContactsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createContentBundlesResponse.php b/src/Google/AdsApi/AdManager/v202511/createContentBundlesResponse.php index f06f7ec41..598b40914 100644 --- a/src/Google/AdsApi/AdManager/v202511/createContentBundlesResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createContentBundlesResponse.php @@ -17,7 +17,7 @@ class createContentBundlesResponse /** * @param \Google\AdsApi\AdManager\v202511\ContentBundle[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\ContentBundle[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createContentBundlesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createCreativeWrappersResponse.php b/src/Google/AdsApi/AdManager/v202511/createCreativeWrappersResponse.php index 5e061c3b4..14348df8c 100644 --- a/src/Google/AdsApi/AdManager/v202511/createCreativeWrappersResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createCreativeWrappersResponse.php @@ -17,7 +17,7 @@ class createCreativeWrappersResponse /** * @param \Google\AdsApi\AdManager\v202511\CreativeWrapper[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\CreativeWrapper[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createCreativeWrappersResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createCreativesResponse.php b/src/Google/AdsApi/AdManager/v202511/createCreativesResponse.php index 5b8093848..fe29f9622 100644 --- a/src/Google/AdsApi/AdManager/v202511/createCreativesResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createCreativesResponse.php @@ -17,7 +17,7 @@ class createCreativesResponse /** * @param \Google\AdsApi\AdManager\v202511\Creative[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\Creative[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createCreativesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createCustomFieldOptionsResponse.php b/src/Google/AdsApi/AdManager/v202511/createCustomFieldOptionsResponse.php index fcb33142c..2370a8933 100644 --- a/src/Google/AdsApi/AdManager/v202511/createCustomFieldOptionsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createCustomFieldOptionsResponse.php @@ -17,7 +17,7 @@ class createCustomFieldOptionsResponse /** * @param \Google\AdsApi\AdManager\v202511\CustomFieldOption[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\CustomFieldOption[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createCustomFieldOptionsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createCustomFieldsResponse.php b/src/Google/AdsApi/AdManager/v202511/createCustomFieldsResponse.php index 916c62ebd..ae5e62451 100644 --- a/src/Google/AdsApi/AdManager/v202511/createCustomFieldsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createCustomFieldsResponse.php @@ -17,7 +17,7 @@ class createCustomFieldsResponse /** * @param \Google\AdsApi\AdManager\v202511\CustomField[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\CustomField[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createCustomFieldsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createCustomTargetingKeysResponse.php b/src/Google/AdsApi/AdManager/v202511/createCustomTargetingKeysResponse.php index 45501eb02..2fda06428 100644 --- a/src/Google/AdsApi/AdManager/v202511/createCustomTargetingKeysResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createCustomTargetingKeysResponse.php @@ -17,7 +17,7 @@ class createCustomTargetingKeysResponse /** * @param \Google\AdsApi\AdManager\v202511\CustomTargetingKey[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\CustomTargetingKey[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createCustomTargetingKeysResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createCustomTargetingValuesResponse.php b/src/Google/AdsApi/AdManager/v202511/createCustomTargetingValuesResponse.php index e52237dd7..6cd492d2d 100644 --- a/src/Google/AdsApi/AdManager/v202511/createCustomTargetingValuesResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createCustomTargetingValuesResponse.php @@ -17,7 +17,7 @@ class createCustomTargetingValuesResponse /** * @param \Google\AdsApi\AdManager\v202511\CustomTargetingValue[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\CustomTargetingValue[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createCustomTargetingValuesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createDaiAuthenticationKeysResponse.php b/src/Google/AdsApi/AdManager/v202511/createDaiAuthenticationKeysResponse.php index 5ed85307a..471e9ed7b 100644 --- a/src/Google/AdsApi/AdManager/v202511/createDaiAuthenticationKeysResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createDaiAuthenticationKeysResponse.php @@ -17,7 +17,7 @@ class createDaiAuthenticationKeysResponse /** * @param \Google\AdsApi\AdManager\v202511\DaiAuthenticationKey[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\DaiAuthenticationKey[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createDaiAuthenticationKeysResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createDaiEncodingProfilesResponse.php b/src/Google/AdsApi/AdManager/v202511/createDaiEncodingProfilesResponse.php index a1c942cd2..87dd46e8e 100644 --- a/src/Google/AdsApi/AdManager/v202511/createDaiEncodingProfilesResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createDaiEncodingProfilesResponse.php @@ -17,7 +17,7 @@ class createDaiEncodingProfilesResponse /** * @param \Google\AdsApi\AdManager\v202511\DaiEncodingProfile[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\DaiEncodingProfile[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createDaiEncodingProfilesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createForecastAdjustmentsResponse.php b/src/Google/AdsApi/AdManager/v202511/createForecastAdjustmentsResponse.php index ab5040716..7f245d5bb 100644 --- a/src/Google/AdsApi/AdManager/v202511/createForecastAdjustmentsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createForecastAdjustmentsResponse.php @@ -17,7 +17,7 @@ class createForecastAdjustmentsResponse /** * @param \Google\AdsApi\AdManager\v202511\ForecastAdjustment[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\ForecastAdjustment[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createForecastAdjustmentsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createLabelsResponse.php b/src/Google/AdsApi/AdManager/v202511/createLabelsResponse.php index e34bf3c49..b2d457460 100644 --- a/src/Google/AdsApi/AdManager/v202511/createLabelsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createLabelsResponse.php @@ -17,7 +17,7 @@ class createLabelsResponse /** * @param \Google\AdsApi\AdManager\v202511\Label[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\Label[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createLabelsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createLineItemCreativeAssociationsResponse.php b/src/Google/AdsApi/AdManager/v202511/createLineItemCreativeAssociationsResponse.php index 994b3e556..34e9f5ccb 100644 --- a/src/Google/AdsApi/AdManager/v202511/createLineItemCreativeAssociationsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createLineItemCreativeAssociationsResponse.php @@ -17,7 +17,7 @@ class createLineItemCreativeAssociationsResponse /** * @param \Google\AdsApi\AdManager\v202511\LineItemCreativeAssociation[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\LineItemCreativeAssociation[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createLineItemCreativeAssociationsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createLineItemsResponse.php b/src/Google/AdsApi/AdManager/v202511/createLineItemsResponse.php index 50817639b..09167d35c 100644 --- a/src/Google/AdsApi/AdManager/v202511/createLineItemsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createLineItemsResponse.php @@ -17,7 +17,7 @@ class createLineItemsResponse /** * @param \Google\AdsApi\AdManager\v202511\LineItem[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\LineItem[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createLineItemsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createLiveStreamEventsResponse.php b/src/Google/AdsApi/AdManager/v202511/createLiveStreamEventsResponse.php index fd131f090..d8ef5b44f 100644 --- a/src/Google/AdsApi/AdManager/v202511/createLiveStreamEventsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createLiveStreamEventsResponse.php @@ -17,7 +17,7 @@ class createLiveStreamEventsResponse /** * @param \Google\AdsApi\AdManager\v202511\LiveStreamEvent[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\LiveStreamEvent[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createLiveStreamEventsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createMakegoodsResponse.php b/src/Google/AdsApi/AdManager/v202511/createMakegoodsResponse.php index b9d93168c..a0de1ddaa 100644 --- a/src/Google/AdsApi/AdManager/v202511/createMakegoodsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createMakegoodsResponse.php @@ -17,7 +17,7 @@ class createMakegoodsResponse /** * @param \Google\AdsApi\AdManager\v202511\ProposalLineItem[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\ProposalLineItem[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createMakegoodsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createMobileApplicationsResponse.php b/src/Google/AdsApi/AdManager/v202511/createMobileApplicationsResponse.php index 8f324d4d6..827069364 100644 --- a/src/Google/AdsApi/AdManager/v202511/createMobileApplicationsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createMobileApplicationsResponse.php @@ -17,7 +17,7 @@ class createMobileApplicationsResponse /** * @param \Google\AdsApi\AdManager\v202511\MobileApplication[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\MobileApplication[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createMobileApplicationsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createNativeStylesResponse.php b/src/Google/AdsApi/AdManager/v202511/createNativeStylesResponse.php index c21d7f793..78452a295 100644 --- a/src/Google/AdsApi/AdManager/v202511/createNativeStylesResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createNativeStylesResponse.php @@ -17,7 +17,7 @@ class createNativeStylesResponse /** * @param \Google\AdsApi\AdManager\v202511\NativeStyle[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\NativeStyle[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createNativeStylesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createOrdersResponse.php b/src/Google/AdsApi/AdManager/v202511/createOrdersResponse.php index 67d8bbe30..a80c98445 100644 --- a/src/Google/AdsApi/AdManager/v202511/createOrdersResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createOrdersResponse.php @@ -17,7 +17,7 @@ class createOrdersResponse /** * @param \Google\AdsApi\AdManager\v202511\Order[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\Order[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createOrdersResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createPlacementsResponse.php b/src/Google/AdsApi/AdManager/v202511/createPlacementsResponse.php index 310b6be0a..a95822c44 100644 --- a/src/Google/AdsApi/AdManager/v202511/createPlacementsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createPlacementsResponse.php @@ -17,7 +17,7 @@ class createPlacementsResponse /** * @param \Google\AdsApi\AdManager\v202511\Placement[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\Placement[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createPlacementsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createProposalLineItemsResponse.php b/src/Google/AdsApi/AdManager/v202511/createProposalLineItemsResponse.php index 94532ac65..aedada269 100644 --- a/src/Google/AdsApi/AdManager/v202511/createProposalLineItemsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createProposalLineItemsResponse.php @@ -17,7 +17,7 @@ class createProposalLineItemsResponse /** * @param \Google\AdsApi\AdManager\v202511\ProposalLineItem[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\ProposalLineItem[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createProposalLineItemsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createProposalsResponse.php b/src/Google/AdsApi/AdManager/v202511/createProposalsResponse.php index b78b10b31..70ff010de 100644 --- a/src/Google/AdsApi/AdManager/v202511/createProposalsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createProposalsResponse.php @@ -17,7 +17,7 @@ class createProposalsResponse /** * @param \Google\AdsApi\AdManager\v202511\Proposal[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\Proposal[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createProposalsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createSitesResponse.php b/src/Google/AdsApi/AdManager/v202511/createSitesResponse.php index f95a3618c..cfdabfa04 100644 --- a/src/Google/AdsApi/AdManager/v202511/createSitesResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createSitesResponse.php @@ -17,7 +17,7 @@ class createSitesResponse /** * @param \Google\AdsApi\AdManager\v202511\Site[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\Site[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createSitesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createSlatesResponse.php b/src/Google/AdsApi/AdManager/v202511/createSlatesResponse.php index c8f0f5fd9..d4244704a 100644 --- a/src/Google/AdsApi/AdManager/v202511/createSlatesResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createSlatesResponse.php @@ -17,7 +17,7 @@ class createSlatesResponse /** * @param \Google\AdsApi\AdManager\v202511\Slate[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\Slate[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createSlatesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createTargetingPresetsResponse.php b/src/Google/AdsApi/AdManager/v202511/createTargetingPresetsResponse.php index dab74d536..689105bad 100644 --- a/src/Google/AdsApi/AdManager/v202511/createTargetingPresetsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createTargetingPresetsResponse.php @@ -17,7 +17,7 @@ class createTargetingPresetsResponse /** * @param \Google\AdsApi\AdManager\v202511\TargetingPreset[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\TargetingPreset[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createTargetingPresetsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createTeamsResponse.php b/src/Google/AdsApi/AdManager/v202511/createTeamsResponse.php index 2671b0e4d..066614eed 100644 --- a/src/Google/AdsApi/AdManager/v202511/createTeamsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createTeamsResponse.php @@ -17,7 +17,7 @@ class createTeamsResponse /** * @param \Google\AdsApi\AdManager\v202511\Team[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\Team[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createTeamsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createTrafficForecastSegmentsResponse.php b/src/Google/AdsApi/AdManager/v202511/createTrafficForecastSegmentsResponse.php index 276bbfda1..6a6b8927f 100644 --- a/src/Google/AdsApi/AdManager/v202511/createTrafficForecastSegmentsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createTrafficForecastSegmentsResponse.php @@ -17,7 +17,7 @@ class createTrafficForecastSegmentsResponse /** * @param \Google\AdsApi\AdManager\v202511\TrafficForecastSegment[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\TrafficForecastSegment[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createTrafficForecastSegmentsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createUserTeamAssociationsResponse.php b/src/Google/AdsApi/AdManager/v202511/createUserTeamAssociationsResponse.php index 73ef023b7..bade2c797 100644 --- a/src/Google/AdsApi/AdManager/v202511/createUserTeamAssociationsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createUserTeamAssociationsResponse.php @@ -17,7 +17,7 @@ class createUserTeamAssociationsResponse /** * @param \Google\AdsApi\AdManager\v202511\UserTeamAssociation[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\UserTeamAssociation[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createUserTeamAssociationsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createUsersResponse.php b/src/Google/AdsApi/AdManager/v202511/createUsersResponse.php index 5249fb874..ef2ab70ca 100644 --- a/src/Google/AdsApi/AdManager/v202511/createUsersResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createUsersResponse.php @@ -17,7 +17,7 @@ class createUsersResponse /** * @param \Google\AdsApi\AdManager\v202511\User[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\User[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createUsersResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/createYieldGroupsResponse.php b/src/Google/AdsApi/AdManager/v202511/createYieldGroupsResponse.php index 4242fb3db..4bb51f6bf 100644 --- a/src/Google/AdsApi/AdManager/v202511/createYieldGroupsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/createYieldGroupsResponse.php @@ -17,7 +17,7 @@ class createYieldGroupsResponse /** * @param \Google\AdsApi\AdManager\v202511\YieldGroup[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\YieldGroup[]|null $rval * @return \Google\AdsApi\AdManager\v202511\createYieldGroupsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/getAdUnitSizesByStatementResponse.php b/src/Google/AdsApi/AdManager/v202511/getAdUnitSizesByStatementResponse.php index 388f4e359..2c13e7950 100644 --- a/src/Google/AdsApi/AdManager/v202511/getAdUnitSizesByStatementResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/getAdUnitSizesByStatementResponse.php @@ -17,7 +17,7 @@ class getAdUnitSizesByStatementResponse /** * @param \Google\AdsApi\AdManager\v202511\AdUnitSize[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\AdUnitSize[]|null $rval * @return \Google\AdsApi\AdManager\v202511\getAdUnitSizesByStatementResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/getAllNetworksResponse.php b/src/Google/AdsApi/AdManager/v202511/getAllNetworksResponse.php index 9172f1fbf..0e3ad0dea 100644 --- a/src/Google/AdsApi/AdManager/v202511/getAllNetworksResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/getAllNetworksResponse.php @@ -17,7 +17,7 @@ class getAllNetworksResponse /** * @param \Google\AdsApi\AdManager\v202511\Network[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\Network[]|null $rval * @return \Google\AdsApi\AdManager\v202511\getAllNetworksResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/getAllRolesResponse.php b/src/Google/AdsApi/AdManager/v202511/getAllRolesResponse.php index 89a893319..cb3e2a3b1 100644 --- a/src/Google/AdsApi/AdManager/v202511/getAllRolesResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/getAllRolesResponse.php @@ -17,7 +17,7 @@ class getAllRolesResponse /** * @param \Google\AdsApi\AdManager\v202511\Role[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\Role[]|null $rval * @return \Google\AdsApi\AdManager\v202511\getAllRolesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/getPreviewUrlsForNativeStylesResponse.php b/src/Google/AdsApi/AdManager/v202511/getPreviewUrlsForNativeStylesResponse.php index 29790ebb2..3868f9fbc 100644 --- a/src/Google/AdsApi/AdManager/v202511/getPreviewUrlsForNativeStylesResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/getPreviewUrlsForNativeStylesResponse.php @@ -17,7 +17,7 @@ class getPreviewUrlsForNativeStylesResponse /** * @param \Google\AdsApi\AdManager\v202511\CreativeNativeStylePreview[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\CreativeNativeStylePreview[]|null $rval * @return \Google\AdsApi\AdManager\v202511\getPreviewUrlsForNativeStylesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/getSamSessionsByStatementResponse.php b/src/Google/AdsApi/AdManager/v202511/getSamSessionsByStatementResponse.php index a8dde6c98..956f475fd 100644 --- a/src/Google/AdsApi/AdManager/v202511/getSamSessionsByStatementResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/getSamSessionsByStatementResponse.php @@ -17,7 +17,7 @@ class getSamSessionsByStatementResponse /** * @param \Google\AdsApi\AdManager\v202511\SamSession[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\SamSession[]|null $rval * @return \Google\AdsApi\AdManager\v202511\getSamSessionsByStatementResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/getSegmentPopulationResultsByIdsResponse.php b/src/Google/AdsApi/AdManager/v202511/getSegmentPopulationResultsByIdsResponse.php index 21f2abc62..8e30705aa 100644 --- a/src/Google/AdsApi/AdManager/v202511/getSegmentPopulationResultsByIdsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/getSegmentPopulationResultsByIdsResponse.php @@ -17,7 +17,7 @@ class getSegmentPopulationResultsByIdsResponse /** * @param \Google\AdsApi\AdManager\v202511\SegmentPopulationResults[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\SegmentPopulationResults[]|null $rval * @return \Google\AdsApi\AdManager\v202511\getSegmentPopulationResultsByIdsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/getYieldPartnersResponse.php b/src/Google/AdsApi/AdManager/v202511/getYieldPartnersResponse.php index 4be720f2a..5f6206e5a 100644 --- a/src/Google/AdsApi/AdManager/v202511/getYieldPartnersResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/getYieldPartnersResponse.php @@ -17,7 +17,7 @@ class getYieldPartnersResponse /** * @param \Google\AdsApi\AdManager\v202511\YieldPartner[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\YieldPartner[]|null $rval * @return \Google\AdsApi\AdManager\v202511\getYieldPartnersResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/registerSessionsForMonitoringResponse.php b/src/Google/AdsApi/AdManager/v202511/registerSessionsForMonitoringResponse.php index 71c968137..56bd69be6 100644 --- a/src/Google/AdsApi/AdManager/v202511/registerSessionsForMonitoringResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/registerSessionsForMonitoringResponse.php @@ -17,7 +17,7 @@ class registerSessionsForMonitoringResponse /** * @param string[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param string[]|null $rval * @return \Google\AdsApi\AdManager\v202511\registerSessionsForMonitoringResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/updateAdRulesResponse.php b/src/Google/AdsApi/AdManager/v202511/updateAdRulesResponse.php index b28ed6503..d9a8f1ff3 100644 --- a/src/Google/AdsApi/AdManager/v202511/updateAdRulesResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/updateAdRulesResponse.php @@ -17,7 +17,7 @@ class updateAdRulesResponse /** * @param \Google\AdsApi\AdManager\v202511\AdRule[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\AdRule[]|null $rval * @return \Google\AdsApi\AdManager\v202511\updateAdRulesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/updateAdSpotsResponse.php b/src/Google/AdsApi/AdManager/v202511/updateAdSpotsResponse.php index 99c91abef..db82dd6df 100644 --- a/src/Google/AdsApi/AdManager/v202511/updateAdSpotsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/updateAdSpotsResponse.php @@ -17,7 +17,7 @@ class updateAdSpotsResponse /** * @param \Google\AdsApi\AdManager\v202511\AdSpot[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\AdSpot[]|null $rval * @return \Google\AdsApi\AdManager\v202511\updateAdSpotsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/updateAdUnitsResponse.php b/src/Google/AdsApi/AdManager/v202511/updateAdUnitsResponse.php index 2ad558ac2..9be939b0d 100644 --- a/src/Google/AdsApi/AdManager/v202511/updateAdUnitsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/updateAdUnitsResponse.php @@ -17,7 +17,7 @@ class updateAdUnitsResponse /** * @param \Google\AdsApi\AdManager\v202511\AdUnit[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\AdUnit[]|null $rval * @return \Google\AdsApi\AdManager\v202511\updateAdUnitsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/updateAudienceSegmentsResponse.php b/src/Google/AdsApi/AdManager/v202511/updateAudienceSegmentsResponse.php index 95e29fed2..9d262a0d5 100644 --- a/src/Google/AdsApi/AdManager/v202511/updateAudienceSegmentsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/updateAudienceSegmentsResponse.php @@ -17,7 +17,7 @@ class updateAudienceSegmentsResponse /** * @param \Google\AdsApi\AdManager\v202511\FirstPartyAudienceSegment[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\FirstPartyAudienceSegment[]|null $rval * @return \Google\AdsApi\AdManager\v202511\updateAudienceSegmentsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/updateBreakTemplatesResponse.php b/src/Google/AdsApi/AdManager/v202511/updateBreakTemplatesResponse.php index 43b6b681b..47d1a27b4 100644 --- a/src/Google/AdsApi/AdManager/v202511/updateBreakTemplatesResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/updateBreakTemplatesResponse.php @@ -17,7 +17,7 @@ class updateBreakTemplatesResponse /** * @param \Google\AdsApi\AdManager\v202511\BreakTemplate[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\BreakTemplate[]|null $rval * @return \Google\AdsApi\AdManager\v202511\updateBreakTemplatesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/updateCdnConfigurationsResponse.php b/src/Google/AdsApi/AdManager/v202511/updateCdnConfigurationsResponse.php index 24e209f8a..7c110c996 100644 --- a/src/Google/AdsApi/AdManager/v202511/updateCdnConfigurationsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/updateCdnConfigurationsResponse.php @@ -17,7 +17,7 @@ class updateCdnConfigurationsResponse /** * @param \Google\AdsApi\AdManager\v202511\CdnConfiguration[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\CdnConfiguration[]|null $rval * @return \Google\AdsApi\AdManager\v202511\updateCdnConfigurationsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/updateCompaniesResponse.php b/src/Google/AdsApi/AdManager/v202511/updateCompaniesResponse.php index a2cdc0823..81b31afb7 100644 --- a/src/Google/AdsApi/AdManager/v202511/updateCompaniesResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/updateCompaniesResponse.php @@ -17,7 +17,7 @@ class updateCompaniesResponse /** * @param \Google\AdsApi\AdManager\v202511\Company[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\Company[]|null $rval * @return \Google\AdsApi\AdManager\v202511\updateCompaniesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/updateContactsResponse.php b/src/Google/AdsApi/AdManager/v202511/updateContactsResponse.php index c1a5eb9bf..215536625 100644 --- a/src/Google/AdsApi/AdManager/v202511/updateContactsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/updateContactsResponse.php @@ -17,7 +17,7 @@ class updateContactsResponse /** * @param \Google\AdsApi\AdManager\v202511\Contact[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\Contact[]|null $rval * @return \Google\AdsApi\AdManager\v202511\updateContactsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/updateContentBundlesResponse.php b/src/Google/AdsApi/AdManager/v202511/updateContentBundlesResponse.php index 558aa4301..92562d986 100644 --- a/src/Google/AdsApi/AdManager/v202511/updateContentBundlesResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/updateContentBundlesResponse.php @@ -17,7 +17,7 @@ class updateContentBundlesResponse /** * @param \Google\AdsApi\AdManager\v202511\ContentBundle[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\ContentBundle[]|null $rval * @return \Google\AdsApi\AdManager\v202511\updateContentBundlesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/updateCreativeWrappersResponse.php b/src/Google/AdsApi/AdManager/v202511/updateCreativeWrappersResponse.php index a4300899b..1a00b4cfb 100644 --- a/src/Google/AdsApi/AdManager/v202511/updateCreativeWrappersResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/updateCreativeWrappersResponse.php @@ -17,7 +17,7 @@ class updateCreativeWrappersResponse /** * @param \Google\AdsApi\AdManager\v202511\CreativeWrapper[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\CreativeWrapper[]|null $rval * @return \Google\AdsApi\AdManager\v202511\updateCreativeWrappersResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/updateCreativesResponse.php b/src/Google/AdsApi/AdManager/v202511/updateCreativesResponse.php index 755cef391..10b1231a4 100644 --- a/src/Google/AdsApi/AdManager/v202511/updateCreativesResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/updateCreativesResponse.php @@ -17,7 +17,7 @@ class updateCreativesResponse /** * @param \Google\AdsApi\AdManager\v202511\Creative[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\Creative[]|null $rval * @return \Google\AdsApi\AdManager\v202511\updateCreativesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/updateCustomFieldOptionsResponse.php b/src/Google/AdsApi/AdManager/v202511/updateCustomFieldOptionsResponse.php index 54f2d4ecb..f0d10d68d 100644 --- a/src/Google/AdsApi/AdManager/v202511/updateCustomFieldOptionsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/updateCustomFieldOptionsResponse.php @@ -17,7 +17,7 @@ class updateCustomFieldOptionsResponse /** * @param \Google\AdsApi\AdManager\v202511\CustomFieldOption[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\CustomFieldOption[]|null $rval * @return \Google\AdsApi\AdManager\v202511\updateCustomFieldOptionsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/updateCustomFieldsResponse.php b/src/Google/AdsApi/AdManager/v202511/updateCustomFieldsResponse.php index 44f81b4e6..b926c7042 100644 --- a/src/Google/AdsApi/AdManager/v202511/updateCustomFieldsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/updateCustomFieldsResponse.php @@ -17,7 +17,7 @@ class updateCustomFieldsResponse /** * @param \Google\AdsApi\AdManager\v202511\CustomField[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\CustomField[]|null $rval * @return \Google\AdsApi\AdManager\v202511\updateCustomFieldsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/updateCustomTargetingKeysResponse.php b/src/Google/AdsApi/AdManager/v202511/updateCustomTargetingKeysResponse.php index 4821d5f31..fe9c25c62 100644 --- a/src/Google/AdsApi/AdManager/v202511/updateCustomTargetingKeysResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/updateCustomTargetingKeysResponse.php @@ -17,7 +17,7 @@ class updateCustomTargetingKeysResponse /** * @param \Google\AdsApi\AdManager\v202511\CustomTargetingKey[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\CustomTargetingKey[]|null $rval * @return \Google\AdsApi\AdManager\v202511\updateCustomTargetingKeysResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/updateCustomTargetingValuesResponse.php b/src/Google/AdsApi/AdManager/v202511/updateCustomTargetingValuesResponse.php index ae5087d8e..f4a5ece98 100644 --- a/src/Google/AdsApi/AdManager/v202511/updateCustomTargetingValuesResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/updateCustomTargetingValuesResponse.php @@ -17,7 +17,7 @@ class updateCustomTargetingValuesResponse /** * @param \Google\AdsApi\AdManager\v202511\CustomTargetingValue[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\CustomTargetingValue[]|null $rval * @return \Google\AdsApi\AdManager\v202511\updateCustomTargetingValuesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/updateDaiAuthenticationKeysResponse.php b/src/Google/AdsApi/AdManager/v202511/updateDaiAuthenticationKeysResponse.php index e2abd590b..d52a1e119 100644 --- a/src/Google/AdsApi/AdManager/v202511/updateDaiAuthenticationKeysResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/updateDaiAuthenticationKeysResponse.php @@ -17,7 +17,7 @@ class updateDaiAuthenticationKeysResponse /** * @param \Google\AdsApi\AdManager\v202511\DaiAuthenticationKey[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\DaiAuthenticationKey[]|null $rval * @return \Google\AdsApi\AdManager\v202511\updateDaiAuthenticationKeysResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/updateDaiEncodingProfilesResponse.php b/src/Google/AdsApi/AdManager/v202511/updateDaiEncodingProfilesResponse.php index b5018fa6d..b604bd795 100644 --- a/src/Google/AdsApi/AdManager/v202511/updateDaiEncodingProfilesResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/updateDaiEncodingProfilesResponse.php @@ -17,7 +17,7 @@ class updateDaiEncodingProfilesResponse /** * @param \Google\AdsApi\AdManager\v202511\DaiEncodingProfile[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\DaiEncodingProfile[]|null $rval * @return \Google\AdsApi\AdManager\v202511\updateDaiEncodingProfilesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/updateForecastAdjustmentsResponse.php b/src/Google/AdsApi/AdManager/v202511/updateForecastAdjustmentsResponse.php index 7179e10cc..ca4e9d52b 100644 --- a/src/Google/AdsApi/AdManager/v202511/updateForecastAdjustmentsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/updateForecastAdjustmentsResponse.php @@ -17,7 +17,7 @@ class updateForecastAdjustmentsResponse /** * @param \Google\AdsApi\AdManager\v202511\ForecastAdjustment[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\ForecastAdjustment[]|null $rval * @return \Google\AdsApi\AdManager\v202511\updateForecastAdjustmentsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/updateLabelsResponse.php b/src/Google/AdsApi/AdManager/v202511/updateLabelsResponse.php index acf3a7ed7..36db49a73 100644 --- a/src/Google/AdsApi/AdManager/v202511/updateLabelsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/updateLabelsResponse.php @@ -17,7 +17,7 @@ class updateLabelsResponse /** * @param \Google\AdsApi\AdManager\v202511\Label[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\Label[]|null $rval * @return \Google\AdsApi\AdManager\v202511\updateLabelsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/updateLineItemCreativeAssociationsResponse.php b/src/Google/AdsApi/AdManager/v202511/updateLineItemCreativeAssociationsResponse.php index af2551325..148fa8ab0 100644 --- a/src/Google/AdsApi/AdManager/v202511/updateLineItemCreativeAssociationsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/updateLineItemCreativeAssociationsResponse.php @@ -17,7 +17,7 @@ class updateLineItemCreativeAssociationsResponse /** * @param \Google\AdsApi\AdManager\v202511\LineItemCreativeAssociation[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\LineItemCreativeAssociation[]|null $rval * @return \Google\AdsApi\AdManager\v202511\updateLineItemCreativeAssociationsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/updateLineItemsResponse.php b/src/Google/AdsApi/AdManager/v202511/updateLineItemsResponse.php index 45820c172..f84156a22 100644 --- a/src/Google/AdsApi/AdManager/v202511/updateLineItemsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/updateLineItemsResponse.php @@ -17,7 +17,7 @@ class updateLineItemsResponse /** * @param \Google\AdsApi\AdManager\v202511\LineItem[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\LineItem[]|null $rval * @return \Google\AdsApi\AdManager\v202511\updateLineItemsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/updateLiveStreamEventsResponse.php b/src/Google/AdsApi/AdManager/v202511/updateLiveStreamEventsResponse.php index 92bb13917..37ac9f0bd 100644 --- a/src/Google/AdsApi/AdManager/v202511/updateLiveStreamEventsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/updateLiveStreamEventsResponse.php @@ -17,7 +17,7 @@ class updateLiveStreamEventsResponse /** * @param \Google\AdsApi\AdManager\v202511\LiveStreamEvent[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\LiveStreamEvent[]|null $rval * @return \Google\AdsApi\AdManager\v202511\updateLiveStreamEventsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/updateMobileApplicationsResponse.php b/src/Google/AdsApi/AdManager/v202511/updateMobileApplicationsResponse.php index 650390d0b..afaea4b4b 100644 --- a/src/Google/AdsApi/AdManager/v202511/updateMobileApplicationsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/updateMobileApplicationsResponse.php @@ -17,7 +17,7 @@ class updateMobileApplicationsResponse /** * @param \Google\AdsApi\AdManager\v202511\MobileApplication[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\MobileApplication[]|null $rval * @return \Google\AdsApi\AdManager\v202511\updateMobileApplicationsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/updateNativeStylesResponse.php b/src/Google/AdsApi/AdManager/v202511/updateNativeStylesResponse.php index e6f8ffc3a..4852d26f6 100644 --- a/src/Google/AdsApi/AdManager/v202511/updateNativeStylesResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/updateNativeStylesResponse.php @@ -17,7 +17,7 @@ class updateNativeStylesResponse /** * @param \Google\AdsApi\AdManager\v202511\NativeStyle[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\NativeStyle[]|null $rval * @return \Google\AdsApi\AdManager\v202511\updateNativeStylesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/updateOrdersResponse.php b/src/Google/AdsApi/AdManager/v202511/updateOrdersResponse.php index f5b12c2eb..bed614971 100644 --- a/src/Google/AdsApi/AdManager/v202511/updateOrdersResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/updateOrdersResponse.php @@ -17,7 +17,7 @@ class updateOrdersResponse /** * @param \Google\AdsApi\AdManager\v202511\Order[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\Order[]|null $rval * @return \Google\AdsApi\AdManager\v202511\updateOrdersResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/updatePlacementsResponse.php b/src/Google/AdsApi/AdManager/v202511/updatePlacementsResponse.php index ae1b1cf0b..dae6cedb5 100644 --- a/src/Google/AdsApi/AdManager/v202511/updatePlacementsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/updatePlacementsResponse.php @@ -17,7 +17,7 @@ class updatePlacementsResponse /** * @param \Google\AdsApi\AdManager\v202511\Placement[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\Placement[]|null $rval * @return \Google\AdsApi\AdManager\v202511\updatePlacementsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/updateProposalLineItemsResponse.php b/src/Google/AdsApi/AdManager/v202511/updateProposalLineItemsResponse.php index 090edb78a..0b762c920 100644 --- a/src/Google/AdsApi/AdManager/v202511/updateProposalLineItemsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/updateProposalLineItemsResponse.php @@ -17,7 +17,7 @@ class updateProposalLineItemsResponse /** * @param \Google\AdsApi\AdManager\v202511\ProposalLineItem[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\ProposalLineItem[]|null $rval * @return \Google\AdsApi\AdManager\v202511\updateProposalLineItemsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/updateProposalsResponse.php b/src/Google/AdsApi/AdManager/v202511/updateProposalsResponse.php index 4938fe698..1e9bd3efd 100644 --- a/src/Google/AdsApi/AdManager/v202511/updateProposalsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/updateProposalsResponse.php @@ -17,7 +17,7 @@ class updateProposalsResponse /** * @param \Google\AdsApi\AdManager\v202511\Proposal[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\Proposal[]|null $rval * @return \Google\AdsApi\AdManager\v202511\updateProposalsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/updateSitesResponse.php b/src/Google/AdsApi/AdManager/v202511/updateSitesResponse.php index 131a7191b..520ec0c9c 100644 --- a/src/Google/AdsApi/AdManager/v202511/updateSitesResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/updateSitesResponse.php @@ -17,7 +17,7 @@ class updateSitesResponse /** * @param \Google\AdsApi\AdManager\v202511\Site[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\Site[]|null $rval * @return \Google\AdsApi\AdManager\v202511\updateSitesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/updateSlatesResponse.php b/src/Google/AdsApi/AdManager/v202511/updateSlatesResponse.php index 535002703..211c1e139 100644 --- a/src/Google/AdsApi/AdManager/v202511/updateSlatesResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/updateSlatesResponse.php @@ -17,7 +17,7 @@ class updateSlatesResponse /** * @param \Google\AdsApi\AdManager\v202511\Slate[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\Slate[]|null $rval * @return \Google\AdsApi\AdManager\v202511\updateSlatesResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/updateTargetingPresetsResponse.php b/src/Google/AdsApi/AdManager/v202511/updateTargetingPresetsResponse.php index 2236bcdcb..1c6af8f51 100644 --- a/src/Google/AdsApi/AdManager/v202511/updateTargetingPresetsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/updateTargetingPresetsResponse.php @@ -17,7 +17,7 @@ class updateTargetingPresetsResponse /** * @param \Google\AdsApi\AdManager\v202511\TargetingPreset[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\TargetingPreset[]|null $rval * @return \Google\AdsApi\AdManager\v202511\updateTargetingPresetsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/updateTeamsResponse.php b/src/Google/AdsApi/AdManager/v202511/updateTeamsResponse.php index 3fea60040..384f55c4a 100644 --- a/src/Google/AdsApi/AdManager/v202511/updateTeamsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/updateTeamsResponse.php @@ -17,7 +17,7 @@ class updateTeamsResponse /** * @param \Google\AdsApi\AdManager\v202511\Team[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\Team[]|null $rval * @return \Google\AdsApi\AdManager\v202511\updateTeamsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/updateTrafficForecastSegmentsResponse.php b/src/Google/AdsApi/AdManager/v202511/updateTrafficForecastSegmentsResponse.php index 88791f775..bdb8f0d15 100644 --- a/src/Google/AdsApi/AdManager/v202511/updateTrafficForecastSegmentsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/updateTrafficForecastSegmentsResponse.php @@ -17,7 +17,7 @@ class updateTrafficForecastSegmentsResponse /** * @param \Google\AdsApi\AdManager\v202511\TrafficForecastSegment[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\TrafficForecastSegment[]|null $rval * @return \Google\AdsApi\AdManager\v202511\updateTrafficForecastSegmentsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/updateUserTeamAssociationsResponse.php b/src/Google/AdsApi/AdManager/v202511/updateUserTeamAssociationsResponse.php index d52cc9752..87797024b 100644 --- a/src/Google/AdsApi/AdManager/v202511/updateUserTeamAssociationsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/updateUserTeamAssociationsResponse.php @@ -17,7 +17,7 @@ class updateUserTeamAssociationsResponse /** * @param \Google\AdsApi\AdManager\v202511\UserTeamAssociation[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\UserTeamAssociation[]|null $rval * @return \Google\AdsApi\AdManager\v202511\updateUserTeamAssociationsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/updateUsersResponse.php b/src/Google/AdsApi/AdManager/v202511/updateUsersResponse.php index ef54727f6..7a133e38a 100644 --- a/src/Google/AdsApi/AdManager/v202511/updateUsersResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/updateUsersResponse.php @@ -17,7 +17,7 @@ class updateUsersResponse /** * @param \Google\AdsApi\AdManager\v202511\User[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\User[]|null $rval * @return \Google\AdsApi\AdManager\v202511\updateUsersResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/AdManager/v202511/updateYieldGroupsResponse.php b/src/Google/AdsApi/AdManager/v202511/updateYieldGroupsResponse.php index de83b1f59..ccbb3f8dd 100644 --- a/src/Google/AdsApi/AdManager/v202511/updateYieldGroupsResponse.php +++ b/src/Google/AdsApi/AdManager/v202511/updateYieldGroupsResponse.php @@ -17,7 +17,7 @@ class updateYieldGroupsResponse /** * @param \Google\AdsApi\AdManager\v202511\YieldGroup[] $rval */ - public function __construct(array $rval = null) + public function __construct(?array $rval = null) { $this->rval = $rval; } @@ -34,7 +34,7 @@ public function getRval() * @param \Google\AdsApi\AdManager\v202511\YieldGroup[]|null $rval * @return \Google\AdsApi\AdManager\v202511\updateYieldGroupsResponse */ - public function setRval(array $rval = null) + public function setRval(?array $rval = null) { $this->rval = $rval; return $this; diff --git a/src/Google/AdsApi/Common/AdsGuzzleProxyHttpHandler.php b/src/Google/AdsApi/Common/AdsGuzzleProxyHttpHandler.php index 965de1e7d..b8ece7b0b 100644 --- a/src/Google/AdsApi/Common/AdsGuzzleProxyHttpHandler.php +++ b/src/Google/AdsApi/Common/AdsGuzzleProxyHttpHandler.php @@ -42,7 +42,7 @@ final class AdsGuzzleProxyHttpHandler */ public function __construct( AdsSession $session, - ClientInterface $httpClient = null + ?ClientInterface $httpClient = null ) { $this->proxyUrl = $session->getConnectionSettings() ->getProxyUrl(); diff --git a/src/Google/AdsApi/Common/AdsHeaderFormatter.php b/src/Google/AdsApi/Common/AdsHeaderFormatter.php index f8976b993..6a98e728d 100644 --- a/src/Google/AdsApi/Common/AdsHeaderFormatter.php +++ b/src/Google/AdsApi/Common/AdsHeaderFormatter.php @@ -34,8 +34,8 @@ final class AdsHeaderFormatter * metadata provider */ public function __construct( - AdsUtilityRegistry $adsUtilityRegistry = null, - LibraryMetadataProvider $libraryMetadataProvider = null + ?AdsUtilityRegistry $adsUtilityRegistry = null, + ?LibraryMetadataProvider $libraryMetadataProvider = null ) { $this->adsUtilityRegistry = ($adsUtilityRegistry === null) ? AdsUtilityRegistry::getInstance() diff --git a/src/Google/AdsApi/Common/AdsSoapClient.php b/src/Google/AdsApi/Common/AdsSoapClient.php index 1e07b20f9..5eb8655db 100644 --- a/src/Google/AdsApi/Common/AdsSoapClient.php +++ b/src/Google/AdsApi/Common/AdsSoapClient.php @@ -64,7 +64,7 @@ class AdsSoapClient extends SoapClient * mode * @param array|null $options the SOAP client options */ - public function __construct($wsdl, array $options = null) + public function __construct($wsdl, ?array $options = null) { $this->wsdlUri = $wsdl; if (array_key_exists('classmap', $options)) { @@ -133,10 +133,18 @@ function ($headerName, $headerValue) { $httpHeaders ) ); - stream_context_set_option( - $this->streamContext, - $existingStreamContextOptions - ); + + if (PHP_VERSION_ID >= 80300) { + stream_context_set_options( + $this->streamContext, + $existingStreamContextOptions + ); + } else { + stream_context_set_option( + $this->streamContext, + $existingStreamContextOptions + ); + } // Generate the SOAP headers for this API request. $input_headers[] = $this->headerHandler->generateSoapHeaders( @@ -241,7 +249,7 @@ private function processResponse($methodName, $soapFault = null) $this->logSoapCall($methodName, $soapFault); } - private function logSoapCall($methodName, SoapFault $soapFault = null) + private function logSoapCall($methodName, ?SoapFault $soapFault = null) { $summary = $this->soapLogMessageFormatter->formatSummary( $this->serviceDescriptor->getServiceName(), diff --git a/src/Google/AdsApi/Common/AdsSoapClientFactory.php b/src/Google/AdsApi/Common/AdsSoapClientFactory.php index cea454542..bf0ad2729 100644 --- a/src/Google/AdsApi/Common/AdsSoapClientFactory.php +++ b/src/Google/AdsApi/Common/AdsSoapClientFactory.php @@ -46,7 +46,7 @@ final class AdsSoapClientFactory */ public function __construct( SoapLogMessageFormatter $soapLogMessageFormatter, - Reflection $reflection = null, + ?Reflection $reflection = null, $soapCallTimeout = null ) { $this->soapLogMessageFormatter = $soapLogMessageFormatter; @@ -111,7 +111,7 @@ public function generateSoapClient( private function populateOptions( AdsSession $session, array $options, - SoapSettings $soapSettings = null + ?SoapSettings $soapSettings = null ) { $contextOptions = []; if ($soapSettings !== null) { diff --git a/src/Google/AdsApi/Common/ConfigurationLoader.php b/src/Google/AdsApi/Common/ConfigurationLoader.php index 98a9691f5..3847232f6 100644 --- a/src/Google/AdsApi/Common/ConfigurationLoader.php +++ b/src/Google/AdsApi/Common/ConfigurationLoader.php @@ -35,7 +35,7 @@ final class ConfigurationLoader * @param EnvironmentalVariables $environmentalVariables */ public function __construct( - EnvironmentalVariables $environmentalVariables = null + ?EnvironmentalVariables $environmentalVariables = null ) { $this->environmentalVariables = $environmentalVariables === null ? new EnvironmentalVariables() diff --git a/src/Google/AdsApi/Common/SoapLogMessageFormatter.php b/src/Google/AdsApi/Common/SoapLogMessageFormatter.php index 3837bd306..a02c74e28 100644 --- a/src/Google/AdsApi/Common/SoapLogMessageFormatter.php +++ b/src/Google/AdsApi/Common/SoapLogMessageFormatter.php @@ -55,11 +55,11 @@ final class SoapLogMessageFormatter * fault messages to in the info log */ public function __construct( - array $requestHttpHeadersToScrub = null, - array $requestSoapHeadersToScrub = null, - array $requestSoapBodyTagsToScrub = null, - array $additionalRequestSummaryHeaders = null, - array $additionalResponseSummaryHeaders = null, + ?array $requestHttpHeadersToScrub = null, + ?array $requestSoapHeadersToScrub = null, + ?array $requestSoapBodyTagsToScrub = null, + ?array $additionalRequestSummaryHeaders = null, + ?array $additionalResponseSummaryHeaders = null, $faultMsgMaxLength = null ) { $this->requestHttpHeadersToScrub = diff --git a/src/Google/AdsApi/Common/Util/OAuth2TokenRefresher.php b/src/Google/AdsApi/Common/Util/OAuth2TokenRefresher.php index d3e6bf294..71e8498d9 100644 --- a/src/Google/AdsApi/Common/Util/OAuth2TokenRefresher.php +++ b/src/Google/AdsApi/Common/Util/OAuth2TokenRefresher.php @@ -60,7 +60,7 @@ public function __construct($refreshWindowSeconds = null) */ public function getOrFetchAccessToken( FetchAuthTokenInterface $fetchAuthTokenInterface, - callable $httpHandler = null + ?callable $httpHandler = null ) { if ($this->shouldFetchAccessToken($fetchAuthTokenInterface)) { $authToken = $fetchAuthTokenInterface->fetchAuthToken($httpHandler);