gestione documentale avanzata 1 parte

This commit is contained in:
2026-05-28 09:34:28 +02:00
parent 3471befb1a
commit f2b0833b90
34482 changed files with 4312269 additions and 546 deletions
@@ -0,0 +1,505 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class Account extends \Google\Collection
{
/**
* Basic profile has fewer features and lower CPM.
*/
public const ACCOUNT_PROFILE_ACCOUNT_PROFILE_BASIC = 'ACCOUNT_PROFILE_BASIC';
/**
* Standard profile as a higher CPM and all the features.
*/
public const ACCOUNT_PROFILE_ACCOUNT_PROFILE_STANDARD = 'ACCOUNT_PROFILE_STANDARD';
public const ACTIVE_ADS_LIMIT_TIER_ACTIVE_ADS_TIER_40K = 'ACTIVE_ADS_TIER_40K';
public const ACTIVE_ADS_LIMIT_TIER_ACTIVE_ADS_TIER_75K = 'ACTIVE_ADS_TIER_75K';
public const ACTIVE_ADS_LIMIT_TIER_ACTIVE_ADS_TIER_100K = 'ACTIVE_ADS_TIER_100K';
public const ACTIVE_ADS_LIMIT_TIER_ACTIVE_ADS_TIER_200K = 'ACTIVE_ADS_TIER_200K';
public const ACTIVE_ADS_LIMIT_TIER_ACTIVE_ADS_TIER_300K = 'ACTIVE_ADS_TIER_300K';
public const ACTIVE_ADS_LIMIT_TIER_ACTIVE_ADS_TIER_500K = 'ACTIVE_ADS_TIER_500K';
public const ACTIVE_ADS_LIMIT_TIER_ACTIVE_ADS_TIER_750K = 'ACTIVE_ADS_TIER_750K';
public const ACTIVE_ADS_LIMIT_TIER_ACTIVE_ADS_TIER_1M = 'ACTIVE_ADS_TIER_1M';
protected $collection_key = 'availablePermissionIds';
/**
* Account permissions assigned to this account.
*
* @var string[]
*/
public $accountPermissionIds;
/**
* Profile for this account. This is a read-only field that can be left blank.
*
* @var string
*/
public $accountProfile;
/**
* Whether this account is active.
*
* @var bool
*/
public $active;
/**
* Maximum number of active ads allowed for this account.
*
* @var string
*/
public $activeAdsLimitTier;
/**
* Whether to serve creatives with Active View tags. If disabled, viewability
* data will not be available for any impressions.
*
* @var bool
*/
public $activeViewOptOut;
/**
* User role permissions available to the user roles of this account.
*
* @var string[]
*/
public $availablePermissionIds;
/**
* ID of the country associated with this account.
*
* @var string
*/
public $countryId;
/**
* ID of currency associated with this account. This is a required field.
* Acceptable values are: - "1" for USD - "2" for GBP - "3" for ESP - "4" for
* SEK - "5" for CAD - "6" for JPY - "7" for DEM - "8" for AUD - "9" for FRF -
* "10" for ITL - "11" for DKK - "12" for NOK - "13" for FIM - "14" for ZAR -
* "15" for IEP - "16" for NLG - "17" for EUR - "18" for KRW - "19" for TWD -
* "20" for SGD - "21" for CNY - "22" for HKD - "23" for NZD - "24" for MYR -
* "25" for BRL - "26" for PTE - "28" for CLP - "29" for TRY - "30" for ARS -
* "31" for PEN - "32" for ILS - "33" for CHF - "34" for VEF - "35" for COP -
* "36" for GTQ - "37" for PLN - "39" for INR - "40" for THB - "41" for IDR -
* "42" for CZK - "43" for RON - "44" for HUF - "45" for RUB - "46" for AED -
* "47" for BGN - "48" for HRK - "49" for MXN - "50" for NGN - "51" for EGP
*
* @var string
*/
public $currencyId;
/**
* Default placement dimensions for this account.
*
* @var string
*/
public $defaultCreativeSizeId;
/**
* Description of this account.
*
* @var string
*/
public $description;
/**
* ID of this account. This is a read-only, auto-generated field.
*
* @var string
*/
public $id;
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#account".
*
* @var string
*/
public $kind;
/**
* Locale of this account. Acceptable values are: - "cs" (Czech) - "de"
* (German) - "en" (English) - "en-GB" (English United Kingdom) - "es"
* (Spanish) - "fr" (French) - "it" (Italian) - "ja" (Japanese) - "ko"
* (Korean) - "pl" (Polish) - "pt-BR" (Portuguese Brazil) - "ru" (Russian) -
* "sv" (Swedish) - "tr" (Turkish) - "zh-CN" (Chinese Simplified) - "zh-TW"
* (Chinese Traditional)
*
* @var string
*/
public $locale;
/**
* Maximum image size allowed for this account, in kilobytes. Value must be
* greater than or equal to 1.
*
* @var string
*/
public $maximumImageSize;
/**
* Name of this account. This is a required field, and must be less than 128
* characters long and be globally unique.
*
* @var string
*/
public $name;
/**
* Whether campaigns created in this account will be enabled for Nielsen OCR
* reach ratings by default.
*
* @var bool
*/
public $nielsenOcrEnabled;
protected $reportsConfigurationType = ReportsConfiguration::class;
protected $reportsConfigurationDataType = '';
/**
* Share Path to Conversion reports with Twitter.
*
* @var bool
*/
public $shareReportsWithTwitter;
/**
* File size limit in kilobytes of Rich Media teaser creatives. Acceptable
* values are 1 to 10240, inclusive.
*
* @var string
*/
public $teaserSizeLimit;
/**
* Account permissions assigned to this account.
*
* @param string[] $accountPermissionIds
*/
public function setAccountPermissionIds($accountPermissionIds)
{
$this->accountPermissionIds = $accountPermissionIds;
}
/**
* @return string[]
*/
public function getAccountPermissionIds()
{
return $this->accountPermissionIds;
}
/**
* Profile for this account. This is a read-only field that can be left blank.
*
* Accepted values: ACCOUNT_PROFILE_BASIC, ACCOUNT_PROFILE_STANDARD
*
* @param self::ACCOUNT_PROFILE_* $accountProfile
*/
public function setAccountProfile($accountProfile)
{
$this->accountProfile = $accountProfile;
}
/**
* @return self::ACCOUNT_PROFILE_*
*/
public function getAccountProfile()
{
return $this->accountProfile;
}
/**
* Whether this account is active.
*
* @param bool $active
*/
public function setActive($active)
{
$this->active = $active;
}
/**
* @return bool
*/
public function getActive()
{
return $this->active;
}
/**
* Maximum number of active ads allowed for this account.
*
* Accepted values: ACTIVE_ADS_TIER_40K, ACTIVE_ADS_TIER_75K,
* ACTIVE_ADS_TIER_100K, ACTIVE_ADS_TIER_200K, ACTIVE_ADS_TIER_300K,
* ACTIVE_ADS_TIER_500K, ACTIVE_ADS_TIER_750K, ACTIVE_ADS_TIER_1M
*
* @param self::ACTIVE_ADS_LIMIT_TIER_* $activeAdsLimitTier
*/
public function setActiveAdsLimitTier($activeAdsLimitTier)
{
$this->activeAdsLimitTier = $activeAdsLimitTier;
}
/**
* @return self::ACTIVE_ADS_LIMIT_TIER_*
*/
public function getActiveAdsLimitTier()
{
return $this->activeAdsLimitTier;
}
/**
* Whether to serve creatives with Active View tags. If disabled, viewability
* data will not be available for any impressions.
*
* @param bool $activeViewOptOut
*/
public function setActiveViewOptOut($activeViewOptOut)
{
$this->activeViewOptOut = $activeViewOptOut;
}
/**
* @return bool
*/
public function getActiveViewOptOut()
{
return $this->activeViewOptOut;
}
/**
* User role permissions available to the user roles of this account.
*
* @param string[] $availablePermissionIds
*/
public function setAvailablePermissionIds($availablePermissionIds)
{
$this->availablePermissionIds = $availablePermissionIds;
}
/**
* @return string[]
*/
public function getAvailablePermissionIds()
{
return $this->availablePermissionIds;
}
/**
* ID of the country associated with this account.
*
* @param string $countryId
*/
public function setCountryId($countryId)
{
$this->countryId = $countryId;
}
/**
* @return string
*/
public function getCountryId()
{
return $this->countryId;
}
/**
* ID of currency associated with this account. This is a required field.
* Acceptable values are: - "1" for USD - "2" for GBP - "3" for ESP - "4" for
* SEK - "5" for CAD - "6" for JPY - "7" for DEM - "8" for AUD - "9" for FRF -
* "10" for ITL - "11" for DKK - "12" for NOK - "13" for FIM - "14" for ZAR -
* "15" for IEP - "16" for NLG - "17" for EUR - "18" for KRW - "19" for TWD -
* "20" for SGD - "21" for CNY - "22" for HKD - "23" for NZD - "24" for MYR -
* "25" for BRL - "26" for PTE - "28" for CLP - "29" for TRY - "30" for ARS -
* "31" for PEN - "32" for ILS - "33" for CHF - "34" for VEF - "35" for COP -
* "36" for GTQ - "37" for PLN - "39" for INR - "40" for THB - "41" for IDR -
* "42" for CZK - "43" for RON - "44" for HUF - "45" for RUB - "46" for AED -
* "47" for BGN - "48" for HRK - "49" for MXN - "50" for NGN - "51" for EGP
*
* @param string $currencyId
*/
public function setCurrencyId($currencyId)
{
$this->currencyId = $currencyId;
}
/**
* @return string
*/
public function getCurrencyId()
{
return $this->currencyId;
}
/**
* Default placement dimensions for this account.
*
* @param string $defaultCreativeSizeId
*/
public function setDefaultCreativeSizeId($defaultCreativeSizeId)
{
$this->defaultCreativeSizeId = $defaultCreativeSizeId;
}
/**
* @return string
*/
public function getDefaultCreativeSizeId()
{
return $this->defaultCreativeSizeId;
}
/**
* Description of this account.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* ID of this account. This is a read-only, auto-generated field.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#account".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Locale of this account. Acceptable values are: - "cs" (Czech) - "de"
* (German) - "en" (English) - "en-GB" (English United Kingdom) - "es"
* (Spanish) - "fr" (French) - "it" (Italian) - "ja" (Japanese) - "ko"
* (Korean) - "pl" (Polish) - "pt-BR" (Portuguese Brazil) - "ru" (Russian) -
* "sv" (Swedish) - "tr" (Turkish) - "zh-CN" (Chinese Simplified) - "zh-TW"
* (Chinese Traditional)
*
* @param string $locale
*/
public function setLocale($locale)
{
$this->locale = $locale;
}
/**
* @return string
*/
public function getLocale()
{
return $this->locale;
}
/**
* Maximum image size allowed for this account, in kilobytes. Value must be
* greater than or equal to 1.
*
* @param string $maximumImageSize
*/
public function setMaximumImageSize($maximumImageSize)
{
$this->maximumImageSize = $maximumImageSize;
}
/**
* @return string
*/
public function getMaximumImageSize()
{
return $this->maximumImageSize;
}
/**
* Name of this account. This is a required field, and must be less than 128
* characters long and be globally unique.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Whether campaigns created in this account will be enabled for Nielsen OCR
* reach ratings by default.
*
* @param bool $nielsenOcrEnabled
*/
public function setNielsenOcrEnabled($nielsenOcrEnabled)
{
$this->nielsenOcrEnabled = $nielsenOcrEnabled;
}
/**
* @return bool
*/
public function getNielsenOcrEnabled()
{
return $this->nielsenOcrEnabled;
}
/**
* Reporting configuration of this account.
*
* @param ReportsConfiguration $reportsConfiguration
*/
public function setReportsConfiguration(ReportsConfiguration $reportsConfiguration)
{
$this->reportsConfiguration = $reportsConfiguration;
}
/**
* @return ReportsConfiguration
*/
public function getReportsConfiguration()
{
return $this->reportsConfiguration;
}
/**
* Share Path to Conversion reports with Twitter.
*
* @param bool $shareReportsWithTwitter
*/
public function setShareReportsWithTwitter($shareReportsWithTwitter)
{
$this->shareReportsWithTwitter = $shareReportsWithTwitter;
}
/**
* @return bool
*/
public function getShareReportsWithTwitter()
{
return $this->shareReportsWithTwitter;
}
/**
* File size limit in kilobytes of Rich Media teaser creatives. Acceptable
* values are 1 to 10240, inclusive.
*
* @param string $teaserSizeLimit
*/
public function setTeaserSizeLimit($teaserSizeLimit)
{
$this->teaserSizeLimit = $teaserSizeLimit;
}
/**
* @return string
*/
public function getTeaserSizeLimit()
{
return $this->teaserSizeLimit;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Account::class, 'Google_Service_Dfareporting_Account');
@@ -0,0 +1,150 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class AccountActiveAdSummary extends \Google\Model
{
public const ACTIVE_ADS_LIMIT_TIER_ACTIVE_ADS_TIER_40K = 'ACTIVE_ADS_TIER_40K';
public const ACTIVE_ADS_LIMIT_TIER_ACTIVE_ADS_TIER_75K = 'ACTIVE_ADS_TIER_75K';
public const ACTIVE_ADS_LIMIT_TIER_ACTIVE_ADS_TIER_100K = 'ACTIVE_ADS_TIER_100K';
public const ACTIVE_ADS_LIMIT_TIER_ACTIVE_ADS_TIER_200K = 'ACTIVE_ADS_TIER_200K';
public const ACTIVE_ADS_LIMIT_TIER_ACTIVE_ADS_TIER_300K = 'ACTIVE_ADS_TIER_300K';
public const ACTIVE_ADS_LIMIT_TIER_ACTIVE_ADS_TIER_500K = 'ACTIVE_ADS_TIER_500K';
public const ACTIVE_ADS_LIMIT_TIER_ACTIVE_ADS_TIER_750K = 'ACTIVE_ADS_TIER_750K';
public const ACTIVE_ADS_LIMIT_TIER_ACTIVE_ADS_TIER_1M = 'ACTIVE_ADS_TIER_1M';
/**
* ID of the account.
*
* @var string
*/
public $accountId;
/**
* Ads that have been activated for the account
*
* @var string
*/
public $activeAds;
/**
* Maximum number of active ads allowed for the account.
*
* @var string
*/
public $activeAdsLimitTier;
/**
* Ads that can be activated for the account.
*
* @var string
*/
public $availableAds;
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#accountActiveAdSummary".
*
* @var string
*/
public $kind;
/**
* ID of the account.
*
* @param string $accountId
*/
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
/**
* @return string
*/
public function getAccountId()
{
return $this->accountId;
}
/**
* Ads that have been activated for the account
*
* @param string $activeAds
*/
public function setActiveAds($activeAds)
{
$this->activeAds = $activeAds;
}
/**
* @return string
*/
public function getActiveAds()
{
return $this->activeAds;
}
/**
* Maximum number of active ads allowed for the account.
*
* Accepted values: ACTIVE_ADS_TIER_40K, ACTIVE_ADS_TIER_75K,
* ACTIVE_ADS_TIER_100K, ACTIVE_ADS_TIER_200K, ACTIVE_ADS_TIER_300K,
* ACTIVE_ADS_TIER_500K, ACTIVE_ADS_TIER_750K, ACTIVE_ADS_TIER_1M
*
* @param self::ACTIVE_ADS_LIMIT_TIER_* $activeAdsLimitTier
*/
public function setActiveAdsLimitTier($activeAdsLimitTier)
{
$this->activeAdsLimitTier = $activeAdsLimitTier;
}
/**
* @return self::ACTIVE_ADS_LIMIT_TIER_*
*/
public function getActiveAdsLimitTier()
{
return $this->activeAdsLimitTier;
}
/**
* Ads that can be activated for the account.
*
* @param string $availableAds
*/
public function setAvailableAds($availableAds)
{
$this->availableAds = $availableAds;
}
/**
* @return string
*/
public function getAvailableAds()
{
return $this->availableAds;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#accountActiveAdSummary".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccountActiveAdSummary::class, 'Google_Service_Dfareporting_AccountActiveAdSummary');
@@ -0,0 +1,167 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class AccountPermission extends \Google\Collection
{
public const LEVEL_USER = 'USER';
public const LEVEL_ADMINISTRATOR = 'ADMINISTRATOR';
protected $collection_key = 'accountProfiles';
/**
* Account profiles associated with this account permission. Possible values
* are: - "ACCOUNT_PROFILE_BASIC" - "ACCOUNT_PROFILE_STANDARD"
*
* @var string[]
*/
public $accountProfiles;
/**
* ID of this account permission.
*
* @var string
*/
public $id;
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#accountPermission".
*
* @var string
*/
public $kind;
/**
* Administrative level required to enable this account permission.
*
* @var string
*/
public $level;
/**
* Name of this account permission.
*
* @var string
*/
public $name;
/**
* Permission group of this account permission.
*
* @var string
*/
public $permissionGroupId;
/**
* Account profiles associated with this account permission. Possible values
* are: - "ACCOUNT_PROFILE_BASIC" - "ACCOUNT_PROFILE_STANDARD"
*
* @param string[] $accountProfiles
*/
public function setAccountProfiles($accountProfiles)
{
$this->accountProfiles = $accountProfiles;
}
/**
* @return string[]
*/
public function getAccountProfiles()
{
return $this->accountProfiles;
}
/**
* ID of this account permission.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#accountPermission".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Administrative level required to enable this account permission.
*
* Accepted values: USER, ADMINISTRATOR
*
* @param self::LEVEL_* $level
*/
public function setLevel($level)
{
$this->level = $level;
}
/**
* @return self::LEVEL_*
*/
public function getLevel()
{
return $this->level;
}
/**
* Name of this account permission.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Permission group of this account permission.
*
* @param string $permissionGroupId
*/
public function setPermissionGroupId($permissionGroupId)
{
$this->permissionGroupId = $permissionGroupId;
}
/**
* @return string
*/
public function getPermissionGroupId()
{
return $this->permissionGroupId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccountPermission::class, 'Google_Service_Dfareporting_AccountPermission');
@@ -0,0 +1,94 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class AccountPermissionGroup extends \Google\Model
{
/**
* ID of this account permission group.
*
* @var string
*/
public $id;
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#accountPermissionGroup".
*
* @var string
*/
public $kind;
/**
* Name of this account permission group.
*
* @var string
*/
public $name;
/**
* ID of this account permission group.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#accountPermissionGroup".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Name of this account permission group.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccountPermissionGroup::class, 'Google_Service_Dfareporting_AccountPermissionGroup');
@@ -0,0 +1,69 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class AccountPermissionGroupsListResponse extends \Google\Collection
{
protected $collection_key = 'accountPermissionGroups';
protected $accountPermissionGroupsType = AccountPermissionGroup::class;
protected $accountPermissionGroupsDataType = 'array';
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#accountPermissionGroupGroupsListResponse".
*
* @var string
*/
public $kind;
/**
* Account permission group collection.
*
* @param AccountPermissionGroup[] $accountPermissionGroups
*/
public function setAccountPermissionGroups($accountPermissionGroups)
{
$this->accountPermissionGroups = $accountPermissionGroups;
}
/**
* @return AccountPermissionGroup[]
*/
public function getAccountPermissionGroups()
{
return $this->accountPermissionGroups;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#accountPermissionGroupGroupsListResponse".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccountPermissionGroupsListResponse::class, 'Google_Service_Dfareporting_AccountPermissionGroupsListResponse');
@@ -0,0 +1,69 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class AccountPermissionsListResponse extends \Google\Collection
{
protected $collection_key = 'accountPermissions';
protected $accountPermissionsType = AccountPermission::class;
protected $accountPermissionsDataType = 'array';
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#accountPermissionsListResponse".
*
* @var string
*/
public $kind;
/**
* Account permission collection.
*
* @param AccountPermission[] $accountPermissions
*/
public function setAccountPermissions($accountPermissions)
{
$this->accountPermissions = $accountPermissions;
}
/**
* @return AccountPermission[]
*/
public function getAccountPermissions()
{
return $this->accountPermissions;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#accountPermissionsListResponse".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccountPermissionsListResponse::class, 'Google_Service_Dfareporting_AccountPermissionsListResponse');
@@ -0,0 +1,425 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class AccountUserProfile extends \Google\Model
{
/**
* Internal profile, but is not a trafficker.
*/
public const TRAFFICKER_TYPE_INTERNAL_NON_TRAFFICKER = 'INTERNAL_NON_TRAFFICKER';
/**
* Internal profile who is a trafficker.
*/
public const TRAFFICKER_TYPE_INTERNAL_TRAFFICKER = 'INTERNAL_TRAFFICKER';
/**
* External profile who is a trafficker.
*/
public const TRAFFICKER_TYPE_EXTERNAL_TRAFFICKER = 'EXTERNAL_TRAFFICKER';
/**
* Normal user managed by the customer.
*/
public const USER_ACCESS_TYPE_NORMAL_USER = 'NORMAL_USER';
/**
* Super user managed by internal support teams.
*/
public const USER_ACCESS_TYPE_SUPER_USER = 'SUPER_USER';
/**
* Internal administrator having super user access to only a specific set of
* networks.
*/
public const USER_ACCESS_TYPE_INTERNAL_ADMINISTRATOR = 'INTERNAL_ADMINISTRATOR';
/**
* A super-user without permission to mutate any data.
*/
public const USER_ACCESS_TYPE_READ_ONLY_SUPER_USER = 'READ_ONLY_SUPER_USER';
/**
* Account ID of the user profile. This is a read-only field that can be left
* blank.
*
* @var string
*/
public $accountId;
/**
* Whether this user profile is active. This defaults to false, and must be
* set true on insert for the user profile to be usable.
*
* @var bool
*/
public $active;
protected $advertiserFilterType = ObjectFilter::class;
protected $advertiserFilterDataType = '';
protected $campaignFilterType = ObjectFilter::class;
protected $campaignFilterDataType = '';
/**
* Comments for this user profile.
*
* @var string
*/
public $comments;
/**
* Email of the user profile. The email address must be linked to a Google
* Account. This field is required on insertion and is read-only after
* insertion.
*
* @var string
*/
public $email;
/**
* ID of the user profile. This is a read-only, auto-generated field.
*
* @var string
*/
public $id;
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#accountUserProfile".
*
* @var string
*/
public $kind;
/**
* Locale of the user profile. This is a required field. Acceptable values
* are: - "cs" (Czech) - "de" (German) - "en" (English) - "en-GB" (English
* United Kingdom) - "es" (Spanish) - "fr" (French) - "it" (Italian) - "ja"
* (Japanese) - "ko" (Korean) - "pl" (Polish) - "pt-BR" (Portuguese Brazil) -
* "ru" (Russian) - "sv" (Swedish) - "tr" (Turkish) - "zh-CN" (Chinese
* Simplified) - "zh-TW" (Chinese Traditional)
*
* @var string
*/
public $locale;
/**
* Name of the user profile. This is a required field. Must be less than 64
* characters long, must be globally unique, and cannot contain whitespace or
* any of the following characters: "&;<>"#%,".
*
* @var string
*/
public $name;
protected $siteFilterType = ObjectFilter::class;
protected $siteFilterDataType = '';
/**
* Subaccount ID of the user profile. This is a read-only field that can be
* left blank.
*
* @var string
*/
public $subaccountId;
/**
* Trafficker type of this user profile. This is a read-only field.
*
* @var string
*/
public $traffickerType;
/**
* User type of the user profile. This is a read-only field that can be left
* blank.
*
* @var string
*/
public $userAccessType;
protected $userRoleFilterType = ObjectFilter::class;
protected $userRoleFilterDataType = '';
/**
* User role ID of the user profile. This is a required field.
*
* @var string
*/
public $userRoleId;
/**
* Account ID of the user profile. This is a read-only field that can be left
* blank.
*
* @param string $accountId
*/
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
/**
* @return string
*/
public function getAccountId()
{
return $this->accountId;
}
/**
* Whether this user profile is active. This defaults to false, and must be
* set true on insert for the user profile to be usable.
*
* @param bool $active
*/
public function setActive($active)
{
$this->active = $active;
}
/**
* @return bool
*/
public function getActive()
{
return $this->active;
}
/**
* Filter that describes which advertisers are visible to the user profile.
*
* @param ObjectFilter $advertiserFilter
*/
public function setAdvertiserFilter(ObjectFilter $advertiserFilter)
{
$this->advertiserFilter = $advertiserFilter;
}
/**
* @return ObjectFilter
*/
public function getAdvertiserFilter()
{
return $this->advertiserFilter;
}
/**
* Filter that describes which campaigns are visible to the user profile.
*
* @param ObjectFilter $campaignFilter
*/
public function setCampaignFilter(ObjectFilter $campaignFilter)
{
$this->campaignFilter = $campaignFilter;
}
/**
* @return ObjectFilter
*/
public function getCampaignFilter()
{
return $this->campaignFilter;
}
/**
* Comments for this user profile.
*
* @param string $comments
*/
public function setComments($comments)
{
$this->comments = $comments;
}
/**
* @return string
*/
public function getComments()
{
return $this->comments;
}
/**
* Email of the user profile. The email address must be linked to a Google
* Account. This field is required on insertion and is read-only after
* insertion.
*
* @param string $email
*/
public function setEmail($email)
{
$this->email = $email;
}
/**
* @return string
*/
public function getEmail()
{
return $this->email;
}
/**
* ID of the user profile. This is a read-only, auto-generated field.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#accountUserProfile".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Locale of the user profile. This is a required field. Acceptable values
* are: - "cs" (Czech) - "de" (German) - "en" (English) - "en-GB" (English
* United Kingdom) - "es" (Spanish) - "fr" (French) - "it" (Italian) - "ja"
* (Japanese) - "ko" (Korean) - "pl" (Polish) - "pt-BR" (Portuguese Brazil) -
* "ru" (Russian) - "sv" (Swedish) - "tr" (Turkish) - "zh-CN" (Chinese
* Simplified) - "zh-TW" (Chinese Traditional)
*
* @param string $locale
*/
public function setLocale($locale)
{
$this->locale = $locale;
}
/**
* @return string
*/
public function getLocale()
{
return $this->locale;
}
/**
* Name of the user profile. This is a required field. Must be less than 64
* characters long, must be globally unique, and cannot contain whitespace or
* any of the following characters: "&;<>"#%,".
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Filter that describes which sites are visible to the user profile.
*
* @param ObjectFilter $siteFilter
*/
public function setSiteFilter(ObjectFilter $siteFilter)
{
$this->siteFilter = $siteFilter;
}
/**
* @return ObjectFilter
*/
public function getSiteFilter()
{
return $this->siteFilter;
}
/**
* Subaccount ID of the user profile. This is a read-only field that can be
* left blank.
*
* @param string $subaccountId
*/
public function setSubaccountId($subaccountId)
{
$this->subaccountId = $subaccountId;
}
/**
* @return string
*/
public function getSubaccountId()
{
return $this->subaccountId;
}
/**
* Trafficker type of this user profile. This is a read-only field.
*
* Accepted values: INTERNAL_NON_TRAFFICKER, INTERNAL_TRAFFICKER,
* EXTERNAL_TRAFFICKER
*
* @param self::TRAFFICKER_TYPE_* $traffickerType
*/
public function setTraffickerType($traffickerType)
{
$this->traffickerType = $traffickerType;
}
/**
* @return self::TRAFFICKER_TYPE_*
*/
public function getTraffickerType()
{
return $this->traffickerType;
}
/**
* User type of the user profile. This is a read-only field that can be left
* blank.
*
* Accepted values: NORMAL_USER, SUPER_USER, INTERNAL_ADMINISTRATOR,
* READ_ONLY_SUPER_USER
*
* @param self::USER_ACCESS_TYPE_* $userAccessType
*/
public function setUserAccessType($userAccessType)
{
$this->userAccessType = $userAccessType;
}
/**
* @return self::USER_ACCESS_TYPE_*
*/
public function getUserAccessType()
{
return $this->userAccessType;
}
/**
* Filter that describes which user roles are visible to the user profile.
*
* @param ObjectFilter $userRoleFilter
*/
public function setUserRoleFilter(ObjectFilter $userRoleFilter)
{
$this->userRoleFilter = $userRoleFilter;
}
/**
* @return ObjectFilter
*/
public function getUserRoleFilter()
{
return $this->userRoleFilter;
}
/**
* User role ID of the user profile. This is a required field.
*
* @param string $userRoleId
*/
public function setUserRoleId($userRoleId)
{
$this->userRoleId = $userRoleId;
}
/**
* @return string
*/
public function getUserRoleId()
{
return $this->userRoleId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccountUserProfile::class, 'Google_Service_Dfareporting_AccountUserProfile');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class AccountUserProfilesListResponse extends \Google\Collection
{
protected $collection_key = 'accountUserProfiles';
protected $accountUserProfilesType = AccountUserProfile::class;
protected $accountUserProfilesDataType = 'array';
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#accountUserProfilesListResponse".
*
* @var string
*/
public $kind;
/**
* Pagination token to be used for the next list operation.
*
* @var string
*/
public $nextPageToken;
/**
* Account user profile collection.
*
* @param AccountUserProfile[] $accountUserProfiles
*/
public function setAccountUserProfiles($accountUserProfiles)
{
$this->accountUserProfiles = $accountUserProfiles;
}
/**
* @return AccountUserProfile[]
*/
public function getAccountUserProfiles()
{
return $this->accountUserProfiles;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#accountUserProfilesListResponse".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Pagination token to be used for the next list operation.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccountUserProfilesListResponse::class, 'Google_Service_Dfareporting_AccountUserProfilesListResponse');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class AccountsListResponse extends \Google\Collection
{
protected $collection_key = 'accounts';
protected $accountsType = Account::class;
protected $accountsDataType = 'array';
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#accountsListResponse".
*
* @var string
*/
public $kind;
/**
* Pagination token to be used for the next list operation.
*
* @var string
*/
public $nextPageToken;
/**
* Account collection.
*
* @param Account[] $accounts
*/
public function setAccounts($accounts)
{
$this->accounts = $accounts;
}
/**
* @return Account[]
*/
public function getAccounts()
{
return $this->accounts;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#accountsListResponse".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Pagination token to be used for the next list operation.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccountsListResponse::class, 'Google_Service_Dfareporting_AccountsListResponse');
@@ -0,0 +1,90 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class Activities extends \Google\Collection
{
protected $collection_key = 'metricNames';
protected $filtersType = DimensionValue::class;
protected $filtersDataType = 'array';
/**
* The kind of resource this is, in this case dfareporting#activities.
*
* @var string
*/
public $kind;
/**
* List of names of floodlight activity metrics.
*
* @var string[]
*/
public $metricNames;
/**
* List of activity filters. The dimension values need to be all either of
* type "dfa:activity" or "dfa:activityGroup".
*
* @param DimensionValue[] $filters
*/
public function setFilters($filters)
{
$this->filters = $filters;
}
/**
* @return DimensionValue[]
*/
public function getFilters()
{
return $this->filters;
}
/**
* The kind of resource this is, in this case dfareporting#activities.
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* List of names of floodlight activity metrics.
*
* @param string[] $metricNames
*/
public function setMetricNames($metricNames)
{
$this->metricNames = $metricNames;
}
/**
* @return string[]
*/
public function getMetricNames()
{
return $this->metricNames;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Activities::class, 'Google_Service_Dfareporting_Activities');
+902
View File
@@ -0,0 +1,902 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class Ad extends \Google\Collection
{
public const COMPATIBILITY_DISPLAY = 'DISPLAY';
public const COMPATIBILITY_DISPLAY_INTERSTITIAL = 'DISPLAY_INTERSTITIAL';
/**
* Deprecated enum value. No longer supported.
*/
public const COMPATIBILITY_APP = 'APP';
/**
* Deprecated enum value. No longer supported.
*/
public const COMPATIBILITY_APP_INTERSTITIAL = 'APP_INTERSTITIAL';
public const COMPATIBILITY_IN_STREAM_VIDEO = 'IN_STREAM_VIDEO';
public const COMPATIBILITY_IN_STREAM_AUDIO = 'IN_STREAM_AUDIO';
public const TYPE_AD_SERVING_STANDARD_AD = 'AD_SERVING_STANDARD_AD';
public const TYPE_AD_SERVING_DEFAULT_AD = 'AD_SERVING_DEFAULT_AD';
public const TYPE_AD_SERVING_CLICK_TRACKER = 'AD_SERVING_CLICK_TRACKER';
public const TYPE_AD_SERVING_TRACKING = 'AD_SERVING_TRACKING';
public const TYPE_AD_SERVING_BRAND_SAFE_AD = 'AD_SERVING_BRAND_SAFE_AD';
protected $collection_key = 'placementAssignments';
/**
* Account ID of this ad. This is a read-only field that can be left blank.
*
* @var string
*/
public $accountId;
/**
* Whether this ad is active. When true, archived must be false.
*
* @var bool
*/
public $active;
/**
* Advertiser ID of this ad. This is a required field on insertion.
*
* @var string
*/
public $advertiserId;
protected $advertiserIdDimensionValueType = DimensionValue::class;
protected $advertiserIdDimensionValueDataType = '';
/**
* Whether this ad is archived. When true, active must be false.
*
* @var bool
*/
public $archived;
/**
* Audience segment ID that is being targeted for this ad. Applicable when
* type is AD_SERVING_STANDARD_AD.
*
* @var string
*/
public $audienceSegmentId;
/**
* Campaign ID of this ad. This is a required field on insertion.
*
* @var string
*/
public $campaignId;
protected $campaignIdDimensionValueType = DimensionValue::class;
protected $campaignIdDimensionValueDataType = '';
protected $clickThroughUrlType = ClickThroughUrl::class;
protected $clickThroughUrlDataType = '';
protected $clickThroughUrlSuffixPropertiesType = ClickThroughUrlSuffixProperties::class;
protected $clickThroughUrlSuffixPropertiesDataType = '';
/**
* Comments for this ad.
*
* @var string
*/
public $comments;
/**
* Compatibility of this ad. Applicable when type is AD_SERVING_DEFAULT_AD.
* DISPLAY and DISPLAY_INTERSTITIAL refer to either rendering on desktop or on
* mobile devices or in mobile apps for regular or interstitial ads,
* respectively. APP and APP_INTERSTITIAL are only used for existing default
* ads. New mobile placements must be assigned DISPLAY or DISPLAY_INTERSTITIAL
* and default ads created for those placements will be limited to those
* compatibility types. IN_STREAM_VIDEO refers to rendering in-stream video
* ads developed with the VAST standard.
*
* @var string
*/
public $compatibility;
protected $contextualKeywordTargetingType = ContextualKeywordTargeting::class;
protected $contextualKeywordTargetingDataType = '';
protected $createInfoType = LastModifiedInfo::class;
protected $createInfoDataType = '';
protected $creativeGroupAssignmentsType = CreativeGroupAssignment::class;
protected $creativeGroupAssignmentsDataType = 'array';
protected $creativeRotationType = CreativeRotation::class;
protected $creativeRotationDataType = '';
protected $dayPartTargetingType = DayPartTargeting::class;
protected $dayPartTargetingDataType = '';
protected $defaultClickThroughEventTagPropertiesType = DefaultClickThroughEventTagProperties::class;
protected $defaultClickThroughEventTagPropertiesDataType = '';
protected $deliveryScheduleType = DeliverySchedule::class;
protected $deliveryScheduleDataType = '';
/**
* Whether this ad is a dynamic click tracker. Applicable when type is
* AD_SERVING_CLICK_TRACKER. This is a required field on insert, and is read-
* only after insert.
*
* @var bool
*/
public $dynamicClickTracker;
/**
* @var string
*/
public $endTime;
protected $eventTagOverridesType = EventTagOverride::class;
protected $eventTagOverridesDataType = 'array';
protected $geoTargetingType = GeoTargeting::class;
protected $geoTargetingDataType = '';
/**
* ID of this ad. This is a read-only, auto-generated field.
*
* @var string
*/
public $id;
protected $idDimensionValueType = DimensionValue::class;
protected $idDimensionValueDataType = '';
protected $keyValueTargetingExpressionType = KeyValueTargetingExpression::class;
protected $keyValueTargetingExpressionDataType = '';
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#ad".
*
* @var string
*/
public $kind;
protected $languageTargetingType = LanguageTargeting::class;
protected $languageTargetingDataType = '';
protected $lastModifiedInfoType = LastModifiedInfo::class;
protected $lastModifiedInfoDataType = '';
/**
* Name of this ad. This is a required field and must be less than 256
* characters long.
*
* @var string
*/
public $name;
protected $placementAssignmentsType = PlacementAssignment::class;
protected $placementAssignmentsDataType = 'array';
protected $remarketingListExpressionType = ListTargetingExpression::class;
protected $remarketingListExpressionDataType = '';
protected $sizeType = Size::class;
protected $sizeDataType = '';
/**
* Whether this ad is ssl compliant. This is a read-only field that is auto-
* generated when the ad is inserted or updated.
*
* @var bool
*/
public $sslCompliant;
/**
* Whether this ad requires ssl. This is a read-only field that is auto-
* generated when the ad is inserted or updated.
*
* @var bool
*/
public $sslRequired;
/**
* @var string
*/
public $startTime;
/**
* Subaccount ID of this ad. This is a read-only field that can be left blank.
*
* @var string
*/
public $subaccountId;
/**
* Targeting template ID, used to apply preconfigured targeting information to
* this ad. This cannot be set while any of dayPartTargeting, geoTargeting,
* keyValueTargetingExpression, languageTargeting, remarketingListExpression,
* or technologyTargeting are set. Applicable when type is
* AD_SERVING_STANDARD_AD.
*
* @var string
*/
public $targetingTemplateId;
protected $technologyTargetingType = TechnologyTargeting::class;
protected $technologyTargetingDataType = '';
/**
* Type of ad. This is a required field on insertion. Note that default ads (
* AD_SERVING_DEFAULT_AD) cannot be created directly (see Creative resource).
*
* @var string
*/
public $type;
/**
* Account ID of this ad. This is a read-only field that can be left blank.
*
* @param string $accountId
*/
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
/**
* @return string
*/
public function getAccountId()
{
return $this->accountId;
}
/**
* Whether this ad is active. When true, archived must be false.
*
* @param bool $active
*/
public function setActive($active)
{
$this->active = $active;
}
/**
* @return bool
*/
public function getActive()
{
return $this->active;
}
/**
* Advertiser ID of this ad. This is a required field on insertion.
*
* @param string $advertiserId
*/
public function setAdvertiserId($advertiserId)
{
$this->advertiserId = $advertiserId;
}
/**
* @return string
*/
public function getAdvertiserId()
{
return $this->advertiserId;
}
/**
* Dimension value for the ID of the advertiser. This is a read-only, auto-
* generated field.
*
* @param DimensionValue $advertiserIdDimensionValue
*/
public function setAdvertiserIdDimensionValue(DimensionValue $advertiserIdDimensionValue)
{
$this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
}
/**
* @return DimensionValue
*/
public function getAdvertiserIdDimensionValue()
{
return $this->advertiserIdDimensionValue;
}
/**
* Whether this ad is archived. When true, active must be false.
*
* @param bool $archived
*/
public function setArchived($archived)
{
$this->archived = $archived;
}
/**
* @return bool
*/
public function getArchived()
{
return $this->archived;
}
/**
* Audience segment ID that is being targeted for this ad. Applicable when
* type is AD_SERVING_STANDARD_AD.
*
* @param string $audienceSegmentId
*/
public function setAudienceSegmentId($audienceSegmentId)
{
$this->audienceSegmentId = $audienceSegmentId;
}
/**
* @return string
*/
public function getAudienceSegmentId()
{
return $this->audienceSegmentId;
}
/**
* Campaign ID of this ad. This is a required field on insertion.
*
* @param string $campaignId
*/
public function setCampaignId($campaignId)
{
$this->campaignId = $campaignId;
}
/**
* @return string
*/
public function getCampaignId()
{
return $this->campaignId;
}
/**
* Dimension value for the ID of the campaign. This is a read-only, auto-
* generated field.
*
* @param DimensionValue $campaignIdDimensionValue
*/
public function setCampaignIdDimensionValue(DimensionValue $campaignIdDimensionValue)
{
$this->campaignIdDimensionValue = $campaignIdDimensionValue;
}
/**
* @return DimensionValue
*/
public function getCampaignIdDimensionValue()
{
return $this->campaignIdDimensionValue;
}
/**
* Click-through URL for this ad. This is a required field on insertion.
* Applicable when type is AD_SERVING_CLICK_TRACKER.
*
* @param ClickThroughUrl $clickThroughUrl
*/
public function setClickThroughUrl(ClickThroughUrl $clickThroughUrl)
{
$this->clickThroughUrl = $clickThroughUrl;
}
/**
* @return ClickThroughUrl
*/
public function getClickThroughUrl()
{
return $this->clickThroughUrl;
}
/**
* Click-through URL suffix properties for this ad. Applies to the URL in the
* ad or (if overriding ad properties) the URL in the creative.
*
* @param ClickThroughUrlSuffixProperties $clickThroughUrlSuffixProperties
*/
public function setClickThroughUrlSuffixProperties(ClickThroughUrlSuffixProperties $clickThroughUrlSuffixProperties)
{
$this->clickThroughUrlSuffixProperties = $clickThroughUrlSuffixProperties;
}
/**
* @return ClickThroughUrlSuffixProperties
*/
public function getClickThroughUrlSuffixProperties()
{
return $this->clickThroughUrlSuffixProperties;
}
/**
* Comments for this ad.
*
* @param string $comments
*/
public function setComments($comments)
{
$this->comments = $comments;
}
/**
* @return string
*/
public function getComments()
{
return $this->comments;
}
/**
* Compatibility of this ad. Applicable when type is AD_SERVING_DEFAULT_AD.
* DISPLAY and DISPLAY_INTERSTITIAL refer to either rendering on desktop or on
* mobile devices or in mobile apps for regular or interstitial ads,
* respectively. APP and APP_INTERSTITIAL are only used for existing default
* ads. New mobile placements must be assigned DISPLAY or DISPLAY_INTERSTITIAL
* and default ads created for those placements will be limited to those
* compatibility types. IN_STREAM_VIDEO refers to rendering in-stream video
* ads developed with the VAST standard.
*
* Accepted values: DISPLAY, DISPLAY_INTERSTITIAL, APP, APP_INTERSTITIAL,
* IN_STREAM_VIDEO, IN_STREAM_AUDIO
*
* @param self::COMPATIBILITY_* $compatibility
*/
public function setCompatibility($compatibility)
{
$this->compatibility = $compatibility;
}
/**
* @return self::COMPATIBILITY_*
*/
public function getCompatibility()
{
return $this->compatibility;
}
/**
* Optional. Contextual keyword targeting information for this ad.
*
* @param ContextualKeywordTargeting $contextualKeywordTargeting
*/
public function setContextualKeywordTargeting(ContextualKeywordTargeting $contextualKeywordTargeting)
{
$this->contextualKeywordTargeting = $contextualKeywordTargeting;
}
/**
* @return ContextualKeywordTargeting
*/
public function getContextualKeywordTargeting()
{
return $this->contextualKeywordTargeting;
}
/**
* Information about the creation of this ad. This is a read-only field.
*
* @param LastModifiedInfo $createInfo
*/
public function setCreateInfo(LastModifiedInfo $createInfo)
{
$this->createInfo = $createInfo;
}
/**
* @return LastModifiedInfo
*/
public function getCreateInfo()
{
return $this->createInfo;
}
/**
* Creative group assignments for this ad. Applicable when type is
* AD_SERVING_CLICK_TRACKER. Only one assignment per creative group number is
* allowed for a maximum of two assignments.
*
* @param CreativeGroupAssignment[] $creativeGroupAssignments
*/
public function setCreativeGroupAssignments($creativeGroupAssignments)
{
$this->creativeGroupAssignments = $creativeGroupAssignments;
}
/**
* @return CreativeGroupAssignment[]
*/
public function getCreativeGroupAssignments()
{
return $this->creativeGroupAssignments;
}
/**
* Creative rotation for this ad. Applicable when type is
* AD_SERVING_DEFAULT_AD, AD_SERVING_STANDARD_AD, or AD_SERVING_TRACKING. When
* type is AD_SERVING_DEFAULT_AD, this field should have exactly one
* creativeAssignment .
*
* @param CreativeRotation $creativeRotation
*/
public function setCreativeRotation(CreativeRotation $creativeRotation)
{
$this->creativeRotation = $creativeRotation;
}
/**
* @return CreativeRotation
*/
public function getCreativeRotation()
{
return $this->creativeRotation;
}
/**
* Time and day targeting information for this ad. This field must be left
* blank if the ad is using a targeting template. Applicable when type is
* AD_SERVING_STANDARD_AD.
*
* @param DayPartTargeting $dayPartTargeting
*/
public function setDayPartTargeting(DayPartTargeting $dayPartTargeting)
{
$this->dayPartTargeting = $dayPartTargeting;
}
/**
* @return DayPartTargeting
*/
public function getDayPartTargeting()
{
return $this->dayPartTargeting;
}
/**
* Default click-through event tag properties for this ad.
*
* @param DefaultClickThroughEventTagProperties $defaultClickThroughEventTagProperties
*/
public function setDefaultClickThroughEventTagProperties(DefaultClickThroughEventTagProperties $defaultClickThroughEventTagProperties)
{
$this->defaultClickThroughEventTagProperties = $defaultClickThroughEventTagProperties;
}
/**
* @return DefaultClickThroughEventTagProperties
*/
public function getDefaultClickThroughEventTagProperties()
{
return $this->defaultClickThroughEventTagProperties;
}
/**
* Delivery schedule information for this ad. Applicable when type is
* AD_SERVING_STANDARD_AD or AD_SERVING_TRACKING. This field along with
* subfields priority and impressionRatio are required on insertion when type
* is AD_SERVING_STANDARD_AD.
*
* @param DeliverySchedule $deliverySchedule
*/
public function setDeliverySchedule(DeliverySchedule $deliverySchedule)
{
$this->deliverySchedule = $deliverySchedule;
}
/**
* @return DeliverySchedule
*/
public function getDeliverySchedule()
{
return $this->deliverySchedule;
}
/**
* Whether this ad is a dynamic click tracker. Applicable when type is
* AD_SERVING_CLICK_TRACKER. This is a required field on insert, and is read-
* only after insert.
*
* @param bool $dynamicClickTracker
*/
public function setDynamicClickTracker($dynamicClickTracker)
{
$this->dynamicClickTracker = $dynamicClickTracker;
}
/**
* @return bool
*/
public function getDynamicClickTracker()
{
return $this->dynamicClickTracker;
}
/**
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Event tag overrides for this ad.
*
* @param EventTagOverride[] $eventTagOverrides
*/
public function setEventTagOverrides($eventTagOverrides)
{
$this->eventTagOverrides = $eventTagOverrides;
}
/**
* @return EventTagOverride[]
*/
public function getEventTagOverrides()
{
return $this->eventTagOverrides;
}
/**
* Geographical targeting information for this ad. This field must be left
* blank if the ad is using a targeting template. Applicable when type is
* AD_SERVING_STANDARD_AD.
*
* @param GeoTargeting $geoTargeting
*/
public function setGeoTargeting(GeoTargeting $geoTargeting)
{
$this->geoTargeting = $geoTargeting;
}
/**
* @return GeoTargeting
*/
public function getGeoTargeting()
{
return $this->geoTargeting;
}
/**
* ID of this ad. This is a read-only, auto-generated field.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Dimension value for the ID of this ad. This is a read-only, auto-generated
* field.
*
* @param DimensionValue $idDimensionValue
*/
public function setIdDimensionValue(DimensionValue $idDimensionValue)
{
$this->idDimensionValue = $idDimensionValue;
}
/**
* @return DimensionValue
*/
public function getIdDimensionValue()
{
return $this->idDimensionValue;
}
/**
* Key-value targeting information for this ad. This field must be left blank
* if the ad is using a targeting template. Applicable when type is
* AD_SERVING_STANDARD_AD.
*
* @param KeyValueTargetingExpression $keyValueTargetingExpression
*/
public function setKeyValueTargetingExpression(KeyValueTargetingExpression $keyValueTargetingExpression)
{
$this->keyValueTargetingExpression = $keyValueTargetingExpression;
}
/**
* @return KeyValueTargetingExpression
*/
public function getKeyValueTargetingExpression()
{
return $this->keyValueTargetingExpression;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#ad".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Language targeting information for this ad. This field must be left blank
* if the ad is using a targeting template. Applicable when type is
* AD_SERVING_STANDARD_AD.
*
* @param LanguageTargeting $languageTargeting
*/
public function setLanguageTargeting(LanguageTargeting $languageTargeting)
{
$this->languageTargeting = $languageTargeting;
}
/**
* @return LanguageTargeting
*/
public function getLanguageTargeting()
{
return $this->languageTargeting;
}
/**
* Information about the most recent modification of this ad. This is a read-
* only field.
*
* @param LastModifiedInfo $lastModifiedInfo
*/
public function setLastModifiedInfo(LastModifiedInfo $lastModifiedInfo)
{
$this->lastModifiedInfo = $lastModifiedInfo;
}
/**
* @return LastModifiedInfo
*/
public function getLastModifiedInfo()
{
return $this->lastModifiedInfo;
}
/**
* Name of this ad. This is a required field and must be less than 256
* characters long.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Placement assignments for this ad.
*
* @param PlacementAssignment[] $placementAssignments
*/
public function setPlacementAssignments($placementAssignments)
{
$this->placementAssignments = $placementAssignments;
}
/**
* @return PlacementAssignment[]
*/
public function getPlacementAssignments()
{
return $this->placementAssignments;
}
/**
* Remarketing list targeting expression for this ad. This field must be left
* blank if the ad is using a targeting template. Applicable when type is
* AD_SERVING_STANDARD_AD.
*
* @param ListTargetingExpression $remarketingListExpression
*/
public function setRemarketingListExpression(ListTargetingExpression $remarketingListExpression)
{
$this->remarketingListExpression = $remarketingListExpression;
}
/**
* @return ListTargetingExpression
*/
public function getRemarketingListExpression()
{
return $this->remarketingListExpression;
}
/**
* Size of this ad. Applicable when type is AD_SERVING_DEFAULT_AD.
*
* @param Size $size
*/
public function setSize(Size $size)
{
$this->size = $size;
}
/**
* @return Size
*/
public function getSize()
{
return $this->size;
}
/**
* Whether this ad is ssl compliant. This is a read-only field that is auto-
* generated when the ad is inserted or updated.
*
* @param bool $sslCompliant
*/
public function setSslCompliant($sslCompliant)
{
$this->sslCompliant = $sslCompliant;
}
/**
* @return bool
*/
public function getSslCompliant()
{
return $this->sslCompliant;
}
/**
* Whether this ad requires ssl. This is a read-only field that is auto-
* generated when the ad is inserted or updated.
*
* @param bool $sslRequired
*/
public function setSslRequired($sslRequired)
{
$this->sslRequired = $sslRequired;
}
/**
* @return bool
*/
public function getSslRequired()
{
return $this->sslRequired;
}
/**
* @param string $startTime
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* Subaccount ID of this ad. This is a read-only field that can be left blank.
*
* @param string $subaccountId
*/
public function setSubaccountId($subaccountId)
{
$this->subaccountId = $subaccountId;
}
/**
* @return string
*/
public function getSubaccountId()
{
return $this->subaccountId;
}
/**
* Targeting template ID, used to apply preconfigured targeting information to
* this ad. This cannot be set while any of dayPartTargeting, geoTargeting,
* keyValueTargetingExpression, languageTargeting, remarketingListExpression,
* or technologyTargeting are set. Applicable when type is
* AD_SERVING_STANDARD_AD.
*
* @param string $targetingTemplateId
*/
public function setTargetingTemplateId($targetingTemplateId)
{
$this->targetingTemplateId = $targetingTemplateId;
}
/**
* @return string
*/
public function getTargetingTemplateId()
{
return $this->targetingTemplateId;
}
/**
* Technology platform targeting information for this ad. This field must be
* left blank if the ad is using a targeting template. Applicable when type is
* AD_SERVING_STANDARD_AD.
*
* @param TechnologyTargeting $technologyTargeting
*/
public function setTechnologyTargeting(TechnologyTargeting $technologyTargeting)
{
$this->technologyTargeting = $technologyTargeting;
}
/**
* @return TechnologyTargeting
*/
public function getTechnologyTargeting()
{
return $this->technologyTargeting;
}
/**
* Type of ad. This is a required field on insertion. Note that default ads (
* AD_SERVING_DEFAULT_AD) cannot be created directly (see Creative resource).
*
* Accepted values: AD_SERVING_STANDARD_AD, AD_SERVING_DEFAULT_AD,
* AD_SERVING_CLICK_TRACKER, AD_SERVING_TRACKING, AD_SERVING_BRAND_SAFE_AD
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Ad::class, 'Google_Service_Dfareporting_Ad');
@@ -0,0 +1,54 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class AdBlockingConfiguration extends \Google\Model
{
/**
* Whether this campaign has enabled ad blocking. When true, ad blocking is
* enabled for placements in the campaign, but this may be overridden by site
* and placement settings. When false, ad blocking is disabled for all
* placements under the campaign, regardless of site and placement settings.
*
* @var bool
*/
public $enabled;
/**
* Whether this campaign has enabled ad blocking. When true, ad blocking is
* enabled for placements in the campaign, but this may be overridden by site
* and placement settings. When false, ad blocking is disabled for all
* placements under the campaign, regardless of site and placement settings.
*
* @param bool $enabled
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AdBlockingConfiguration::class, 'Google_Service_Dfareporting_AdBlockingConfiguration');
@@ -0,0 +1,170 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class AdSlot extends \Google\Model
{
/**
* @var string
*/
public $comment;
/**
* @var string
*/
public $compatibility;
/**
* @var string
*/
public $height;
/**
* @var string
*/
public $linkedPlacementId;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $paymentSourceType;
/**
* @var bool
*/
public $primary;
/**
* @var string
*/
public $width;
/**
* @param string
*/
public function setComment($comment)
{
$this->comment = $comment;
}
/**
* @return string
*/
public function getComment()
{
return $this->comment;
}
/**
* @param string
*/
public function setCompatibility($compatibility)
{
$this->compatibility = $compatibility;
}
/**
* @return string
*/
public function getCompatibility()
{
return $this->compatibility;
}
/**
* @param string
*/
public function setHeight($height)
{
$this->height = $height;
}
/**
* @return string
*/
public function getHeight()
{
return $this->height;
}
/**
* @param string
*/
public function setLinkedPlacementId($linkedPlacementId)
{
$this->linkedPlacementId = $linkedPlacementId;
}
/**
* @return string
*/
public function getLinkedPlacementId()
{
return $this->linkedPlacementId;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPaymentSourceType($paymentSourceType)
{
$this->paymentSourceType = $paymentSourceType;
}
/**
* @return string
*/
public function getPaymentSourceType()
{
return $this->paymentSourceType;
}
/**
* @param bool
*/
public function setPrimary($primary)
{
$this->primary = $primary;
}
/**
* @return bool
*/
public function getPrimary()
{
return $this->primary;
}
/**
* @param string
*/
public function setWidth($width)
{
$this->width = $width;
}
/**
* @return string
*/
public function getWidth()
{
return $this->width;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AdSlot::class, 'Google_Service_Dfareporting_AdSlot');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class AdsListResponse extends \Google\Collection
{
protected $collection_key = 'ads';
protected $adsType = Ad::class;
protected $adsDataType = 'array';
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#adsListResponse".
*
* @var string
*/
public $kind;
/**
* Pagination token to be used for the next list operation.
*
* @var string
*/
public $nextPageToken;
/**
* Ad collection.
*
* @param Ad[] $ads
*/
public function setAds($ads)
{
$this->ads = $ads;
}
/**
* @return Ad[]
*/
public function getAds()
{
return $this->ads;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#adsListResponse".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Pagination token to be used for the next list operation.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AdsListResponse::class, 'Google_Service_Dfareporting_AdsListResponse');
@@ -0,0 +1,453 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class Advertiser extends \Google\Model
{
/**
* You'll need to confirm if your campaign contains EU political advertising.
*/
public const EU_POLITICAL_ADS_DECLARATION_ADVERTISER_PLANS_TO_SERVE_EU_POLITICAL_ADS = 'ADVERTISER_PLANS_TO_SERVE_EU_POLITICAL_ADS';
/**
* All new campaigns will have “No” selected for the question that asks if
* your campaign has EU political ads. You can change this for any campaign at
* any time.
*/
public const EU_POLITICAL_ADS_DECLARATION_ADVERTISER_DOES_NOT_PLAN_TO_SERVE_EU_POLITICAL_ADS = 'ADVERTISER_DOES_NOT_PLAN_TO_SERVE_EU_POLITICAL_ADS';
/**
* Approved (ads can deliver)
*/
public const STATUS_APPROVED = 'APPROVED';
/**
* On-hold (all ads are stopped)
*/
public const STATUS_ON_HOLD = 'ON_HOLD';
/**
* Account ID of this advertiser.This is a read-only field that can be left
* blank.
*
* @var string
*/
public $accountId;
/**
* ID of the advertiser group this advertiser belongs to. You can group
* advertisers for reporting purposes, allowing you to see aggregated
* information for all advertisers in each group.
*
* @var string
*/
public $advertiserGroupId;
/**
* Suffix added to click-through URL of ad creative associations under this
* advertiser. Must be less than 129 characters long.
*
* @var string
*/
public $clickThroughUrlSuffix;
/**
* ID of the click-through event tag to apply by default to the landing pages
* of this advertiser's campaigns.
*
* @var string
*/
public $defaultClickThroughEventTagId;
/**
* Default email address used in sender field for tag emails.
*
* @var string
*/
public $defaultEmail;
/**
* Optional. Whether the advertiser plans to serve EU political ads.
*
* @var string
*/
public $euPoliticalAdsDeclaration;
/**
* Floodlight configuration ID of this advertiser. The floodlight
* configuration ID will be created automatically, so on insert this field
* should be left blank. This field can be set to another advertiser's
* floodlight configuration ID in order to share that advertiser's floodlight
* configuration with this advertiser, so long as: - This advertiser's
* original floodlight configuration is not already associated with floodlight
* activities or floodlight activity groups. - This advertiser's original
* floodlight configuration is not already shared with another advertiser.
*
* @var string
*/
public $floodlightConfigurationId;
protected $floodlightConfigurationIdDimensionValueType = DimensionValue::class;
protected $floodlightConfigurationIdDimensionValueDataType = '';
/**
* ID of this advertiser. This is a read-only, auto-generated field.
*
* @var string
*/
public $id;
protected $idDimensionValueType = DimensionValue::class;
protected $idDimensionValueDataType = '';
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#advertiser".
*
* @var string
*/
public $kind;
protected $measurementPartnerLinkType = MeasurementPartnerAdvertiserLink::class;
protected $measurementPartnerLinkDataType = '';
/**
* Name of this advertiser. This is a required field and must be less than 256
* characters long and unique among advertisers of the same account.
*
* @var string
*/
public $name;
/**
* Original floodlight configuration before any sharing occurred. Set the
* floodlightConfigurationId of this advertiser to
* originalFloodlightConfigurationId to unshare the advertiser's current
* floodlight configuration. You cannot unshare an advertiser's floodlight
* configuration if the shared configuration has activities associated with
* any campaign or placement.
*
* @var string
*/
public $originalFloodlightConfigurationId;
/**
* Status of this advertiser.
*
* @var string
*/
public $status;
/**
* Subaccount ID of this advertiser.This is a read-only field that can be left
* blank.
*
* @var string
*/
public $subaccountId;
/**
* Suspension status of this advertiser.
*
* @var bool
*/
public $suspended;
/**
* Account ID of this advertiser.This is a read-only field that can be left
* blank.
*
* @param string $accountId
*/
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
/**
* @return string
*/
public function getAccountId()
{
return $this->accountId;
}
/**
* ID of the advertiser group this advertiser belongs to. You can group
* advertisers for reporting purposes, allowing you to see aggregated
* information for all advertisers in each group.
*
* @param string $advertiserGroupId
*/
public function setAdvertiserGroupId($advertiserGroupId)
{
$this->advertiserGroupId = $advertiserGroupId;
}
/**
* @return string
*/
public function getAdvertiserGroupId()
{
return $this->advertiserGroupId;
}
/**
* Suffix added to click-through URL of ad creative associations under this
* advertiser. Must be less than 129 characters long.
*
* @param string $clickThroughUrlSuffix
*/
public function setClickThroughUrlSuffix($clickThroughUrlSuffix)
{
$this->clickThroughUrlSuffix = $clickThroughUrlSuffix;
}
/**
* @return string
*/
public function getClickThroughUrlSuffix()
{
return $this->clickThroughUrlSuffix;
}
/**
* ID of the click-through event tag to apply by default to the landing pages
* of this advertiser's campaigns.
*
* @param string $defaultClickThroughEventTagId
*/
public function setDefaultClickThroughEventTagId($defaultClickThroughEventTagId)
{
$this->defaultClickThroughEventTagId = $defaultClickThroughEventTagId;
}
/**
* @return string
*/
public function getDefaultClickThroughEventTagId()
{
return $this->defaultClickThroughEventTagId;
}
/**
* Default email address used in sender field for tag emails.
*
* @param string $defaultEmail
*/
public function setDefaultEmail($defaultEmail)
{
$this->defaultEmail = $defaultEmail;
}
/**
* @return string
*/
public function getDefaultEmail()
{
return $this->defaultEmail;
}
/**
* Optional. Whether the advertiser plans to serve EU political ads.
*
* Accepted values: ADVERTISER_PLANS_TO_SERVE_EU_POLITICAL_ADS,
* ADVERTISER_DOES_NOT_PLAN_TO_SERVE_EU_POLITICAL_ADS
*
* @param self::EU_POLITICAL_ADS_DECLARATION_* $euPoliticalAdsDeclaration
*/
public function setEuPoliticalAdsDeclaration($euPoliticalAdsDeclaration)
{
$this->euPoliticalAdsDeclaration = $euPoliticalAdsDeclaration;
}
/**
* @return self::EU_POLITICAL_ADS_DECLARATION_*
*/
public function getEuPoliticalAdsDeclaration()
{
return $this->euPoliticalAdsDeclaration;
}
/**
* Floodlight configuration ID of this advertiser. The floodlight
* configuration ID will be created automatically, so on insert this field
* should be left blank. This field can be set to another advertiser's
* floodlight configuration ID in order to share that advertiser's floodlight
* configuration with this advertiser, so long as: - This advertiser's
* original floodlight configuration is not already associated with floodlight
* activities or floodlight activity groups. - This advertiser's original
* floodlight configuration is not already shared with another advertiser.
*
* @param string $floodlightConfigurationId
*/
public function setFloodlightConfigurationId($floodlightConfigurationId)
{
$this->floodlightConfigurationId = $floodlightConfigurationId;
}
/**
* @return string
*/
public function getFloodlightConfigurationId()
{
return $this->floodlightConfigurationId;
}
/**
* Dimension value for the ID of the floodlight configuration. This is a read-
* only, auto-generated field.
*
* @param DimensionValue $floodlightConfigurationIdDimensionValue
*/
public function setFloodlightConfigurationIdDimensionValue(DimensionValue $floodlightConfigurationIdDimensionValue)
{
$this->floodlightConfigurationIdDimensionValue = $floodlightConfigurationIdDimensionValue;
}
/**
* @return DimensionValue
*/
public function getFloodlightConfigurationIdDimensionValue()
{
return $this->floodlightConfigurationIdDimensionValue;
}
/**
* ID of this advertiser. This is a read-only, auto-generated field.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Dimension value for the ID of this advertiser. This is a read-only, auto-
* generated field.
*
* @param DimensionValue $idDimensionValue
*/
public function setIdDimensionValue(DimensionValue $idDimensionValue)
{
$this->idDimensionValue = $idDimensionValue;
}
/**
* @return DimensionValue
*/
public function getIdDimensionValue()
{
return $this->idDimensionValue;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#advertiser".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Measurement partner advertiser link for tag wrapping.
*
* @param MeasurementPartnerAdvertiserLink $measurementPartnerLink
*/
public function setMeasurementPartnerLink(MeasurementPartnerAdvertiserLink $measurementPartnerLink)
{
$this->measurementPartnerLink = $measurementPartnerLink;
}
/**
* @return MeasurementPartnerAdvertiserLink
*/
public function getMeasurementPartnerLink()
{
return $this->measurementPartnerLink;
}
/**
* Name of this advertiser. This is a required field and must be less than 256
* characters long and unique among advertisers of the same account.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Original floodlight configuration before any sharing occurred. Set the
* floodlightConfigurationId of this advertiser to
* originalFloodlightConfigurationId to unshare the advertiser's current
* floodlight configuration. You cannot unshare an advertiser's floodlight
* configuration if the shared configuration has activities associated with
* any campaign or placement.
*
* @param string $originalFloodlightConfigurationId
*/
public function setOriginalFloodlightConfigurationId($originalFloodlightConfigurationId)
{
$this->originalFloodlightConfigurationId = $originalFloodlightConfigurationId;
}
/**
* @return string
*/
public function getOriginalFloodlightConfigurationId()
{
return $this->originalFloodlightConfigurationId;
}
/**
* Status of this advertiser.
*
* Accepted values: APPROVED, ON_HOLD
*
* @param self::STATUS_* $status
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return self::STATUS_*
*/
public function getStatus()
{
return $this->status;
}
/**
* Subaccount ID of this advertiser.This is a read-only field that can be left
* blank.
*
* @param string $subaccountId
*/
public function setSubaccountId($subaccountId)
{
$this->subaccountId = $subaccountId;
}
/**
* @return string
*/
public function getSubaccountId()
{
return $this->subaccountId;
}
/**
* Suspension status of this advertiser.
*
* @param bool $suspended
*/
public function setSuspended($suspended)
{
$this->suspended = $suspended;
}
/**
* @return bool
*/
public function getSuspended()
{
return $this->suspended;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Advertiser::class, 'Google_Service_Dfareporting_Advertiser');
@@ -0,0 +1,122 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class AdvertiserGroup extends \Google\Model
{
/**
* Account ID of this advertiser group. This is a read-only field that can be
* left blank.
*
* @var string
*/
public $accountId;
/**
* ID of this advertiser group. This is a read-only, auto-generated field.
*
* @var string
*/
public $id;
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#advertiserGroup".
*
* @var string
*/
public $kind;
/**
* Name of this advertiser group. This is a required field and must be less
* than 256 characters long and unique among advertiser groups of the same
* account.
*
* @var string
*/
public $name;
/**
* Account ID of this advertiser group. This is a read-only field that can be
* left blank.
*
* @param string $accountId
*/
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
/**
* @return string
*/
public function getAccountId()
{
return $this->accountId;
}
/**
* ID of this advertiser group. This is a read-only, auto-generated field.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#advertiserGroup".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Name of this advertiser group. This is a required field and must be less
* than 256 characters long and unique among advertiser groups of the same
* account.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AdvertiserGroup::class, 'Google_Service_Dfareporting_AdvertiserGroup');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class AdvertiserGroupsListResponse extends \Google\Collection
{
protected $collection_key = 'advertiserGroups';
protected $advertiserGroupsType = AdvertiserGroup::class;
protected $advertiserGroupsDataType = 'array';
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#advertiserGroupsListResponse".
*
* @var string
*/
public $kind;
/**
* Pagination token to be used for the next list operation.
*
* @var string
*/
public $nextPageToken;
/**
* Advertiser group collection.
*
* @param AdvertiserGroup[] $advertiserGroups
*/
public function setAdvertiserGroups($advertiserGroups)
{
$this->advertiserGroups = $advertiserGroups;
}
/**
* @return AdvertiserGroup[]
*/
public function getAdvertiserGroups()
{
return $this->advertiserGroups;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#advertiserGroupsListResponse".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Pagination token to be used for the next list operation.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AdvertiserGroupsListResponse::class, 'Google_Service_Dfareporting_AdvertiserGroupsListResponse');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class AdvertiserInvoicesListResponse extends \Google\Collection
{
protected $collection_key = 'invoices';
protected $invoicesType = Invoice::class;
protected $invoicesDataType = 'array';
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#advertiserInvoicesListResponse".
*
* @var string
*/
public $kind;
/**
* Pagination token to be used for the next list operation.
*
* @var string
*/
public $nextPageToken;
/**
* Invoice collection
*
* @param Invoice[] $invoices
*/
public function setInvoices($invoices)
{
$this->invoices = $invoices;
}
/**
* @return Invoice[]
*/
public function getInvoices()
{
return $this->invoices;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#advertiserInvoicesListResponse".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Pagination token to be used for the next list operation.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AdvertiserInvoicesListResponse::class, 'Google_Service_Dfareporting_AdvertiserInvoicesListResponse');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class AdvertiserLandingPagesListResponse extends \Google\Collection
{
protected $collection_key = 'landingPages';
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#advertiserLandingPagesListResponse".
*
* @var string
*/
public $kind;
protected $landingPagesType = LandingPage::class;
protected $landingPagesDataType = 'array';
/**
* Pagination token to be used for the next list operation.
*
* @var string
*/
public $nextPageToken;
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#advertiserLandingPagesListResponse".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Landing page collection
*
* @param LandingPage[] $landingPages
*/
public function setLandingPages($landingPages)
{
$this->landingPages = $landingPages;
}
/**
* @return LandingPage[]
*/
public function getLandingPages()
{
return $this->landingPages;
}
/**
* Pagination token to be used for the next list operation.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AdvertiserLandingPagesListResponse::class, 'Google_Service_Dfareporting_AdvertiserLandingPagesListResponse');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class AdvertisersListResponse extends \Google\Collection
{
protected $collection_key = 'advertisers';
protected $advertisersType = Advertiser::class;
protected $advertisersDataType = 'array';
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#advertisersListResponse".
*
* @var string
*/
public $kind;
/**
* Pagination token to be used for the next list operation.
*
* @var string
*/
public $nextPageToken;
/**
* Advertiser collection.
*
* @param Advertiser[] $advertisers
*/
public function setAdvertisers($advertisers)
{
$this->advertisers = $advertisers;
}
/**
* @return Advertiser[]
*/
public function getAdvertisers()
{
return $this->advertisers;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#advertisersListResponse".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Pagination token to be used for the next list operation.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AdvertisersListResponse::class, 'Google_Service_Dfareporting_AdvertisersListResponse');
@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class AudienceSegment extends \Google\Model
{
/**
* Weight allocated to this segment. The weight assigned will be understood in
* proportion to the weights assigned to other segments in the same segment
* group. Acceptable values are 1 to 1000, inclusive.
*
* @var int
*/
public $allocation;
/**
* ID of this audience segment. This is a read-only, auto-generated field.
*
* @var string
*/
public $id;
/**
* Name of this audience segment. This is a required field and must be less
* than 65 characters long.
*
* @var string
*/
public $name;
/**
* Weight allocated to this segment. The weight assigned will be understood in
* proportion to the weights assigned to other segments in the same segment
* group. Acceptable values are 1 to 1000, inclusive.
*
* @param int $allocation
*/
public function setAllocation($allocation)
{
$this->allocation = $allocation;
}
/**
* @return int
*/
public function getAllocation()
{
return $this->allocation;
}
/**
* ID of this audience segment. This is a read-only, auto-generated field.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Name of this audience segment. This is a required field and must be less
* than 65 characters long.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AudienceSegment::class, 'Google_Service_Dfareporting_AudienceSegment');
@@ -0,0 +1,94 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class AudienceSegmentGroup extends \Google\Collection
{
protected $collection_key = 'audienceSegments';
protected $audienceSegmentsType = AudienceSegment::class;
protected $audienceSegmentsDataType = 'array';
/**
* ID of this audience segment group. This is a read-only, auto-generated
* field.
*
* @var string
*/
public $id;
/**
* Name of this audience segment group. This is a required field and must be
* less than 65 characters long.
*
* @var string
*/
public $name;
/**
* Audience segments assigned to this group. The number of segments must be
* between 2 and 100.
*
* @param AudienceSegment[] $audienceSegments
*/
public function setAudienceSegments($audienceSegments)
{
$this->audienceSegments = $audienceSegments;
}
/**
* @return AudienceSegment[]
*/
public function getAudienceSegments()
{
return $this->audienceSegments;
}
/**
* ID of this audience segment group. This is a read-only, auto-generated
* field.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Name of this audience segment group. This is a required field and must be
* less than 65 characters long.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AudienceSegmentGroup::class, 'Google_Service_Dfareporting_AudienceSegmentGroup');
@@ -0,0 +1,148 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class BillingAssignment extends \Google\Model
{
/**
* ID of the account associated with the billing assignment.This is a read-
* only, auto-generated field.
*
* @var string
*/
public $accountId;
/**
* ID of the advertiser associated with the billing assignment.Wildcard (*)
* means this assignment is not limited to a single advertiser
*
* @var string
*/
public $advertiserId;
/**
* ID of the campaign associated with the billing assignment. Wildcard (*)
* means this assignment is not limited to a single campaign
*
* @var string
*/
public $campaignId;
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#billingAssignment".
*
* @var string
*/
public $kind;
/**
* ID of the subaccount associated with the billing assignment.Wildcard (*)
* means this assignment is not limited to a single subaccountThis is a read-
* only, auto-generated field.
*
* @var string
*/
public $subaccountId;
/**
* ID of the account associated with the billing assignment.This is a read-
* only, auto-generated field.
*
* @param string $accountId
*/
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
/**
* @return string
*/
public function getAccountId()
{
return $this->accountId;
}
/**
* ID of the advertiser associated with the billing assignment.Wildcard (*)
* means this assignment is not limited to a single advertiser
*
* @param string $advertiserId
*/
public function setAdvertiserId($advertiserId)
{
$this->advertiserId = $advertiserId;
}
/**
* @return string
*/
public function getAdvertiserId()
{
return $this->advertiserId;
}
/**
* ID of the campaign associated with the billing assignment. Wildcard (*)
* means this assignment is not limited to a single campaign
*
* @param string $campaignId
*/
public function setCampaignId($campaignId)
{
$this->campaignId = $campaignId;
}
/**
* @return string
*/
public function getCampaignId()
{
return $this->campaignId;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#billingAssignment".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* ID of the subaccount associated with the billing assignment.Wildcard (*)
* means this assignment is not limited to a single subaccountThis is a read-
* only, auto-generated field.
*
* @param string $subaccountId
*/
public function setSubaccountId($subaccountId)
{
$this->subaccountId = $subaccountId;
}
/**
* @return string
*/
public function getSubaccountId()
{
return $this->subaccountId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BillingAssignment::class, 'Google_Service_Dfareporting_BillingAssignment');
@@ -0,0 +1,69 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class BillingAssignmentsListResponse extends \Google\Collection
{
protected $collection_key = 'billingAssignments';
protected $billingAssignmentsType = BillingAssignment::class;
protected $billingAssignmentsDataType = 'array';
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#billingAssignmentsListResponse".
*
* @var string
*/
public $kind;
/**
* Billing assignments collection.
*
* @param BillingAssignment[] $billingAssignments
*/
public function setBillingAssignments($billingAssignments)
{
$this->billingAssignments = $billingAssignments;
}
/**
* @return BillingAssignment[]
*/
public function getBillingAssignments()
{
return $this->billingAssignments;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#billingAssignmentsListResponse".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BillingAssignmentsListResponse::class, 'Google_Service_Dfareporting_BillingAssignmentsListResponse');
@@ -0,0 +1,342 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class BillingProfile extends \Google\Model
{
public const INVOICE_LEVEL_ACCOUNT_LEVEL = 'ACCOUNT_LEVEL';
public const INVOICE_LEVEL_ADVERTISER_LEVEL = 'ADVERTISER_LEVEL';
public const INVOICE_LEVEL_CAMPAIGN_LEVEL = 'CAMPAIGN_LEVEL';
public const STATUS_UNDER_REVIEW = 'UNDER_REVIEW';
public const STATUS_ACTIVE = 'ACTIVE';
public const STATUS_ARCHIVED = 'ARCHIVED';
/**
* Consolidated invoice option for this billing profile. Used to get a single,
* consolidated invoice across the chosen invoice level.
*
* @var bool
*/
public $consolidatedInvoice;
/**
* Country code of this billing profile.This is a read-only field.
*
* @var string
*/
public $countryCode;
/**
* Billing currency code in ISO 4217 format.This is a read-only field.
*
* @var string
*/
public $currencyCode;
/**
* ID of this billing profile. This is a read-only, auto-generated field.
*
* @var string
*/
public $id;
/**
* Invoice level for this billing profile. Used to group fees into separate
* invoices by account, advertiser, or campaign.
*
* @var string
*/
public $invoiceLevel;
/**
* True if the billing profile is the account default profile. This is a read-
* only field.
*
* @var bool
*/
public $isDefault;
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#billingProfile".
*
* @var string
*/
public $kind;
/**
* Name of this billing profile. This is a required field and must be less
* than 256 characters long and must be unique among billing profile in the
* same account.
*
* @var string
*/
public $name;
/**
* The ID of the payment account the billing profile belongs to. This is a
* read-only field.
*
* @var string
*/
public $paymentsAccountId;
/**
* The ID of the payment customer the billing profile belongs to. This is a
* read-only field.
*
* @var string
*/
public $paymentsCustomerId;
/**
* Purchase order (PO) for this billing profile. This PO number is used in the
* invoices for all of the advertisers in this billing profile.
*
* @var string
*/
public $purchaseOrder;
/**
* The ID of the secondary payment customer the billing profile belongs to.
* This is a read-only field.
*
* @var string
*/
public $secondaryPaymentsCustomerId;
/**
* Status of this billing profile.This is a read-only field.
*
* @var string
*/
public $status;
/**
* Consolidated invoice option for this billing profile. Used to get a single,
* consolidated invoice across the chosen invoice level.
*
* @param bool $consolidatedInvoice
*/
public function setConsolidatedInvoice($consolidatedInvoice)
{
$this->consolidatedInvoice = $consolidatedInvoice;
}
/**
* @return bool
*/
public function getConsolidatedInvoice()
{
return $this->consolidatedInvoice;
}
/**
* Country code of this billing profile.This is a read-only field.
*
* @param string $countryCode
*/
public function setCountryCode($countryCode)
{
$this->countryCode = $countryCode;
}
/**
* @return string
*/
public function getCountryCode()
{
return $this->countryCode;
}
/**
* Billing currency code in ISO 4217 format.This is a read-only field.
*
* @param string $currencyCode
*/
public function setCurrencyCode($currencyCode)
{
$this->currencyCode = $currencyCode;
}
/**
* @return string
*/
public function getCurrencyCode()
{
return $this->currencyCode;
}
/**
* ID of this billing profile. This is a read-only, auto-generated field.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Invoice level for this billing profile. Used to group fees into separate
* invoices by account, advertiser, or campaign.
*
* Accepted values: ACCOUNT_LEVEL, ADVERTISER_LEVEL, CAMPAIGN_LEVEL
*
* @param self::INVOICE_LEVEL_* $invoiceLevel
*/
public function setInvoiceLevel($invoiceLevel)
{
$this->invoiceLevel = $invoiceLevel;
}
/**
* @return self::INVOICE_LEVEL_*
*/
public function getInvoiceLevel()
{
return $this->invoiceLevel;
}
/**
* True if the billing profile is the account default profile. This is a read-
* only field.
*
* @param bool $isDefault
*/
public function setIsDefault($isDefault)
{
$this->isDefault = $isDefault;
}
/**
* @return bool
*/
public function getIsDefault()
{
return $this->isDefault;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#billingProfile".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Name of this billing profile. This is a required field and must be less
* than 256 characters long and must be unique among billing profile in the
* same account.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* The ID of the payment account the billing profile belongs to. This is a
* read-only field.
*
* @param string $paymentsAccountId
*/
public function setPaymentsAccountId($paymentsAccountId)
{
$this->paymentsAccountId = $paymentsAccountId;
}
/**
* @return string
*/
public function getPaymentsAccountId()
{
return $this->paymentsAccountId;
}
/**
* The ID of the payment customer the billing profile belongs to. This is a
* read-only field.
*
* @param string $paymentsCustomerId
*/
public function setPaymentsCustomerId($paymentsCustomerId)
{
$this->paymentsCustomerId = $paymentsCustomerId;
}
/**
* @return string
*/
public function getPaymentsCustomerId()
{
return $this->paymentsCustomerId;
}
/**
* Purchase order (PO) for this billing profile. This PO number is used in the
* invoices for all of the advertisers in this billing profile.
*
* @param string $purchaseOrder
*/
public function setPurchaseOrder($purchaseOrder)
{
$this->purchaseOrder = $purchaseOrder;
}
/**
* @return string
*/
public function getPurchaseOrder()
{
return $this->purchaseOrder;
}
/**
* The ID of the secondary payment customer the billing profile belongs to.
* This is a read-only field.
*
* @param string $secondaryPaymentsCustomerId
*/
public function setSecondaryPaymentsCustomerId($secondaryPaymentsCustomerId)
{
$this->secondaryPaymentsCustomerId = $secondaryPaymentsCustomerId;
}
/**
* @return string
*/
public function getSecondaryPaymentsCustomerId()
{
return $this->secondaryPaymentsCustomerId;
}
/**
* Status of this billing profile.This is a read-only field.
*
* Accepted values: UNDER_REVIEW, ACTIVE, ARCHIVED
*
* @param self::STATUS_* $status
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return self::STATUS_*
*/
public function getStatus()
{
return $this->status;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BillingProfile::class, 'Google_Service_Dfareporting_BillingProfile');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class BillingProfilesListResponse extends \Google\Collection
{
protected $collection_key = 'billingProfiles';
protected $billingProfilesType = BillingProfile::class;
protected $billingProfilesDataType = 'array';
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#billingProfilesListResponse".
*
* @var string
*/
public $kind;
/**
* Pagination token to be used for the next list operation.
*
* @var string
*/
public $nextPageToken;
/**
* Billing profiles collection.
*
* @param BillingProfile[] $billingProfiles
*/
public function setBillingProfiles($billingProfiles)
{
$this->billingProfiles = $billingProfiles;
}
/**
* @return BillingProfile[]
*/
public function getBillingProfiles()
{
return $this->billingProfiles;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#billingProfilesListResponse".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Pagination token to be used for the next list operation.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BillingProfilesListResponse::class, 'Google_Service_Dfareporting_BillingProfilesListResponse');
@@ -0,0 +1,272 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class BillingRate extends \Google\Collection
{
public const TYPE_AD_SERVING = 'AD_SERVING';
public const TYPE_CLICKS = 'CLICKS';
public const TYPE_MINIMUM_SERVICE = 'MINIMUM_SERVICE';
public const TYPE_PATH_TO_CONVERSION = 'PATH_TO_CONVERSION';
public const TYPE_RICH_MEDIA_INPAGE = 'RICH_MEDIA_INPAGE';
public const TYPE_RICH_MEDIA_EXPANDING = 'RICH_MEDIA_EXPANDING';
public const TYPE_RICH_MEDIA_FLOATING = 'RICH_MEDIA_FLOATING';
public const TYPE_RICH_MEDIA_VIDEO = 'RICH_MEDIA_VIDEO';
public const TYPE_RICH_MEDIA_TEASER = 'RICH_MEDIA_TEASER';
public const TYPE_RICH_MEDIA_VPAID = 'RICH_MEDIA_VPAID';
public const TYPE_INSTREAM_VIDEO = 'INSTREAM_VIDEO';
public const TYPE_PIXEL = 'PIXEL';
public const TYPE_TRACKING = 'TRACKING';
public const TYPE_TRAFFICKING_FEATURE = 'TRAFFICKING_FEATURE';
public const TYPE_CUSTOM_REPORTS = 'CUSTOM_REPORTS';
public const TYPE_EXPOSURE_TO_CONVERSION = 'EXPOSURE_TO_CONVERSION';
public const TYPE_DATA_TRANSFER = 'DATA_TRANSFER';
public const TYPE_DATA_TRANSFER_SETUP = 'DATA_TRANSFER_SETUP';
public const TYPE_STARTUP = 'STARTUP';
public const TYPE_STATEMENT_OF_WORK = 'STATEMENT_OF_WORK';
public const TYPE_PROVIDED_LIST = 'PROVIDED_LIST';
public const TYPE_PROVIDED_LIST_SETUP = 'PROVIDED_LIST_SETUP';
public const TYPE_ENHANCED_FORMATS = 'ENHANCED_FORMATS';
public const TYPE_TRACKING_AD_IMPRESSIONS = 'TRACKING_AD_IMPRESSIONS';
public const TYPE_TRACKING_AD_CLICKS = 'TRACKING_AD_CLICKS';
public const TYPE_NIELSEN_DIGITAL_AD_RATINGS_FEE = 'NIELSEN_DIGITAL_AD_RATINGS_FEE';
public const TYPE_INSTREAM_VIDEO_REDIRECT = 'INSTREAM_VIDEO_REDIRECT';
public const TYPE_INSTREAM_VIDEO_VPAID = 'INSTREAM_VIDEO_VPAID';
public const TYPE_DISPLAY_AD_SERVING = 'DISPLAY_AD_SERVING';
public const TYPE_VIDEO_AD_SERVING = 'VIDEO_AD_SERVING';
public const TYPE_AUDIO_AD_SERVING = 'AUDIO_AD_SERVING';
public const TYPE_ADVANCED_DISPLAY_AD_SERVING = 'ADVANCED_DISPLAY_AD_SERVING';
public const UNIT_OF_MEASURE_CPM = 'CPM';
public const UNIT_OF_MEASURE_CPC = 'CPC';
public const UNIT_OF_MEASURE_EA = 'EA';
public const UNIT_OF_MEASURE_P2C = 'P2C';
protected $collection_key = 'tieredRates';
/**
* Billing currency code in ISO 4217 format.
*
* @var string
*/
public $currencyCode;
/**
* End date of this billing rate.
*
* @var string
*/
public $endDate;
/**
* ID of this billing rate.
*
* @var string
*/
public $id;
/**
* Name of this billing rate. This must be less than 256 characters long.
*
* @var string
*/
public $name;
/**
* Flat rate in micros of this billing rate. This cannot co-exist with tiered
* rate.
*
* @var string
*/
public $rateInMicros;
/**
* Start date of this billing rate.
*
* @var string
*/
public $startDate;
protected $tieredRatesType = BillingRateTieredRate::class;
protected $tieredRatesDataType = 'array';
/**
* Type of this billing rate.
*
* @var string
*/
public $type;
/**
* Unit of measure for this billing rate.
*
* @var string
*/
public $unitOfMeasure;
/**
* Billing currency code in ISO 4217 format.
*
* @param string $currencyCode
*/
public function setCurrencyCode($currencyCode)
{
$this->currencyCode = $currencyCode;
}
/**
* @return string
*/
public function getCurrencyCode()
{
return $this->currencyCode;
}
/**
* End date of this billing rate.
*
* @param string $endDate
*/
public function setEndDate($endDate)
{
$this->endDate = $endDate;
}
/**
* @return string
*/
public function getEndDate()
{
return $this->endDate;
}
/**
* ID of this billing rate.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Name of this billing rate. This must be less than 256 characters long.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Flat rate in micros of this billing rate. This cannot co-exist with tiered
* rate.
*
* @param string $rateInMicros
*/
public function setRateInMicros($rateInMicros)
{
$this->rateInMicros = $rateInMicros;
}
/**
* @return string
*/
public function getRateInMicros()
{
return $this->rateInMicros;
}
/**
* Start date of this billing rate.
*
* @param string $startDate
*/
public function setStartDate($startDate)
{
$this->startDate = $startDate;
}
/**
* @return string
*/
public function getStartDate()
{
return $this->startDate;
}
/**
* Tiered rate of this billing rate. This cannot co-exist with flat rate.
*
* @param BillingRateTieredRate[] $tieredRates
*/
public function setTieredRates($tieredRates)
{
$this->tieredRates = $tieredRates;
}
/**
* @return BillingRateTieredRate[]
*/
public function getTieredRates()
{
return $this->tieredRates;
}
/**
* Type of this billing rate.
*
* Accepted values: AD_SERVING, CLICKS, MINIMUM_SERVICE, PATH_TO_CONVERSION,
* RICH_MEDIA_INPAGE, RICH_MEDIA_EXPANDING, RICH_MEDIA_FLOATING,
* RICH_MEDIA_VIDEO, RICH_MEDIA_TEASER, RICH_MEDIA_VPAID, INSTREAM_VIDEO,
* PIXEL, TRACKING, TRAFFICKING_FEATURE, CUSTOM_REPORTS,
* EXPOSURE_TO_CONVERSION, DATA_TRANSFER, DATA_TRANSFER_SETUP, STARTUP,
* STATEMENT_OF_WORK, PROVIDED_LIST, PROVIDED_LIST_SETUP, ENHANCED_FORMATS,
* TRACKING_AD_IMPRESSIONS, TRACKING_AD_CLICKS,
* NIELSEN_DIGITAL_AD_RATINGS_FEE, INSTREAM_VIDEO_REDIRECT,
* INSTREAM_VIDEO_VPAID, DISPLAY_AD_SERVING, VIDEO_AD_SERVING,
* AUDIO_AD_SERVING, ADVANCED_DISPLAY_AD_SERVING
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
/**
* Unit of measure for this billing rate.
*
* Accepted values: CPM, CPC, EA, P2C
*
* @param self::UNIT_OF_MEASURE_* $unitOfMeasure
*/
public function setUnitOfMeasure($unitOfMeasure)
{
$this->unitOfMeasure = $unitOfMeasure;
}
/**
* @return self::UNIT_OF_MEASURE_*
*/
public function getUnitOfMeasure()
{
return $this->unitOfMeasure;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BillingRate::class, 'Google_Service_Dfareporting_BillingRate');
@@ -0,0 +1,92 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class BillingRateTieredRate extends \Google\Model
{
/**
* The maximum for this tier range.
*
* @var string
*/
public $highValue;
/**
* The minimum for this tier range.
*
* @var string
*/
public $lowValue;
/**
* Rate in micros for this tier.
*
* @var string
*/
public $rateInMicros;
/**
* The maximum for this tier range.
*
* @param string $highValue
*/
public function setHighValue($highValue)
{
$this->highValue = $highValue;
}
/**
* @return string
*/
public function getHighValue()
{
return $this->highValue;
}
/**
* The minimum for this tier range.
*
* @param string $lowValue
*/
public function setLowValue($lowValue)
{
$this->lowValue = $lowValue;
}
/**
* @return string
*/
public function getLowValue()
{
return $this->lowValue;
}
/**
* Rate in micros for this tier.
*
* @param string $rateInMicros
*/
public function setRateInMicros($rateInMicros)
{
$this->rateInMicros = $rateInMicros;
}
/**
* @return string
*/
public function getRateInMicros()
{
return $this->rateInMicros;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BillingRateTieredRate::class, 'Google_Service_Dfareporting_BillingRateTieredRate');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class BillingRatesListResponse extends \Google\Collection
{
protected $collection_key = 'billingRates';
protected $billingRatesType = BillingRate::class;
protected $billingRatesDataType = 'array';
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#billingRatesListResponse".
*
* @var string
*/
public $kind;
/**
* Pagination token to be used for the next list operation.
*
* @var string
*/
public $nextPageToken;
/**
* Billing rates collection.
*
* @param BillingRate[] $billingRates
*/
public function setBillingRates($billingRates)
{
$this->billingRates = $billingRates;
}
/**
* @return BillingRate[]
*/
public function getBillingRates()
{
return $this->billingRates;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#billingRatesListResponse".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Pagination token to be used for the next list operation.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BillingRatesListResponse::class, 'Google_Service_Dfareporting_BillingRatesListResponse');
@@ -0,0 +1,190 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class Browser extends \Google\Model
{
/**
* ID referring to this grouping of browser and version numbers. This is the
* ID used for targeting.
*
* @var string
*/
public $browserVersionId;
/**
* DART ID of this browser. This is the ID used when generating reports.
*
* @var string
*/
public $dartId;
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#browser".
*
* @var string
*/
public $kind;
/**
* Major version number (leftmost number) of this browser. For example, for
* Chrome 5.0.376.86 beta, this field should be set to 5. An asterisk (*) may
* be used to target any version number, and a question mark (?) may be used
* to target cases where the version number cannot be identified. For example,
* Chrome *.* targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome
* 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where
* the ad server knows the browser is Firefox but can't tell which version it
* is.
*
* @var string
*/
public $majorVersion;
/**
* Minor version number (number after first dot on left) of this browser. For
* example, for Chrome 5.0.375.86 beta, this field should be set to 0. An
* asterisk (*) may be used to target any version number, and a question mark
* (?) may be used to target cases where the version number cannot be
* identified. For example, Chrome *.* targets any version of Chrome: 1.2,
* 2.5, 3.5, and so on. Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0.
* Firefox ?.? targets cases where the ad server knows the browser is Firefox
* but can't tell which version it is.
*
* @var string
*/
public $minorVersion;
/**
* Name of this browser.
*
* @var string
*/
public $name;
/**
* ID referring to this grouping of browser and version numbers. This is the
* ID used for targeting.
*
* @param string $browserVersionId
*/
public function setBrowserVersionId($browserVersionId)
{
$this->browserVersionId = $browserVersionId;
}
/**
* @return string
*/
public function getBrowserVersionId()
{
return $this->browserVersionId;
}
/**
* DART ID of this browser. This is the ID used when generating reports.
*
* @param string $dartId
*/
public function setDartId($dartId)
{
$this->dartId = $dartId;
}
/**
* @return string
*/
public function getDartId()
{
return $this->dartId;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#browser".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Major version number (leftmost number) of this browser. For example, for
* Chrome 5.0.376.86 beta, this field should be set to 5. An asterisk (*) may
* be used to target any version number, and a question mark (?) may be used
* to target cases where the version number cannot be identified. For example,
* Chrome *.* targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome
* 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where
* the ad server knows the browser is Firefox but can't tell which version it
* is.
*
* @param string $majorVersion
*/
public function setMajorVersion($majorVersion)
{
$this->majorVersion = $majorVersion;
}
/**
* @return string
*/
public function getMajorVersion()
{
return $this->majorVersion;
}
/**
* Minor version number (number after first dot on left) of this browser. For
* example, for Chrome 5.0.375.86 beta, this field should be set to 0. An
* asterisk (*) may be used to target any version number, and a question mark
* (?) may be used to target cases where the version number cannot be
* identified. For example, Chrome *.* targets any version of Chrome: 1.2,
* 2.5, 3.5, and so on. Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0.
* Firefox ?.? targets cases where the ad server knows the browser is Firefox
* but can't tell which version it is.
*
* @param string $minorVersion
*/
public function setMinorVersion($minorVersion)
{
$this->minorVersion = $minorVersion;
}
/**
* @return string
*/
public function getMinorVersion()
{
return $this->minorVersion;
}
/**
* Name of this browser.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Browser::class, 'Google_Service_Dfareporting_Browser');
@@ -0,0 +1,69 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class BrowsersListResponse extends \Google\Collection
{
protected $collection_key = 'browsers';
protected $browsersType = Browser::class;
protected $browsersDataType = 'array';
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#browsersListResponse".
*
* @var string
*/
public $kind;
/**
* Browser collection.
*
* @param Browser[] $browsers
*/
public function setBrowsers($browsers)
{
$this->browsers = $browsers;
}
/**
* @return Browser[]
*/
public function getBrowsers()
{
return $this->browsers;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#browsersListResponse".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BrowsersListResponse::class, 'Google_Service_Dfareporting_BrowsersListResponse');
@@ -0,0 +1,618 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class Campaign extends \Google\Collection
{
/**
* The campaign contains EU political ads.
*/
public const EU_POLITICAL_ADS_DECLARATION_CONTAINS_EU_POLITICAL_ADS = 'CONTAINS_EU_POLITICAL_ADS';
/**
* The campaign does not contain EU political ads.
*/
public const EU_POLITICAL_ADS_DECLARATION_DOES_NOT_CONTAIN_EU_POLITICAL_ADS = 'DOES_NOT_CONTAIN_EU_POLITICAL_ADS';
protected $collection_key = 'eventTagOverrides';
/**
* Account ID of this campaign. This is a read-only field that can be left
* blank.
*
* @var string
*/
public $accountId;
protected $adBlockingConfigurationType = AdBlockingConfiguration::class;
protected $adBlockingConfigurationDataType = '';
protected $additionalCreativeOptimizationConfigurationsType = CreativeOptimizationConfiguration::class;
protected $additionalCreativeOptimizationConfigurationsDataType = 'array';
/**
* Advertiser group ID of the associated advertiser.
*
* @var string
*/
public $advertiserGroupId;
/**
* Advertiser ID of this campaign. This is a required field.
*
* @var string
*/
public $advertiserId;
protected $advertiserIdDimensionValueType = DimensionValue::class;
protected $advertiserIdDimensionValueDataType = '';
/**
* Whether this campaign has been archived.
*
* @var bool
*/
public $archived;
protected $audienceSegmentGroupsType = AudienceSegmentGroup::class;
protected $audienceSegmentGroupsDataType = 'array';
/**
* Billing invoice code included in the Campaign Manager client billing
* invoices associated with the campaign.
*
* @var string
*/
public $billingInvoiceCode;
protected $clickThroughUrlSuffixPropertiesType = ClickThroughUrlSuffixProperties::class;
protected $clickThroughUrlSuffixPropertiesDataType = '';
/**
* Arbitrary comments about this campaign. Must be less than 256 characters
* long.
*
* @var string
*/
public $comment;
protected $createInfoType = LastModifiedInfo::class;
protected $createInfoDataType = '';
/**
* List of creative group IDs that are assigned to the campaign.
*
* @var string[]
*/
public $creativeGroupIds;
protected $creativeOptimizationConfigurationType = CreativeOptimizationConfiguration::class;
protected $creativeOptimizationConfigurationDataType = '';
protected $defaultClickThroughEventTagPropertiesType = DefaultClickThroughEventTagProperties::class;
protected $defaultClickThroughEventTagPropertiesDataType = '';
/**
* The default landing page ID for this campaign.
*
* @var string
*/
public $defaultLandingPageId;
/**
* @var string
*/
public $endDate;
/**
* Optional. Whether the campaign has EU political ads. Campaign Manager 360
* doesn't allow campaigns with EU political ads to serve in the EU. They can
* still serve in other regions.
*
* @var string
*/
public $euPoliticalAdsDeclaration;
protected $eventTagOverridesType = EventTagOverride::class;
protected $eventTagOverridesDataType = 'array';
/**
* External ID for this campaign.
*
* @var string
*/
public $externalId;
/**
* ID of this campaign. This is a read-only auto-generated field.
*
* @var string
*/
public $id;
protected $idDimensionValueType = DimensionValue::class;
protected $idDimensionValueDataType = '';
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#campaign".
*
* @var string
*/
public $kind;
protected $lastModifiedInfoType = LastModifiedInfo::class;
protected $lastModifiedInfoDataType = '';
protected $measurementPartnerLinkType = MeasurementPartnerCampaignLink::class;
protected $measurementPartnerLinkDataType = '';
/**
* Name of this campaign. This is a required field and must be less than 512
* characters long and unique among campaigns of the same advertiser.
*
* @var string
*/
public $name;
/**
* @var string
*/
public $startDate;
/**
* Subaccount ID of this campaign. This is a read-only field that can be left
* blank.
*
* @var string
*/
public $subaccountId;
/**
* Account ID of this campaign. This is a read-only field that can be left
* blank.
*
* @param string $accountId
*/
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
/**
* @return string
*/
public function getAccountId()
{
return $this->accountId;
}
/**
* Ad blocking settings for this campaign.
*
* @param AdBlockingConfiguration $adBlockingConfiguration
*/
public function setAdBlockingConfiguration(AdBlockingConfiguration $adBlockingConfiguration)
{
$this->adBlockingConfiguration = $adBlockingConfiguration;
}
/**
* @return AdBlockingConfiguration
*/
public function getAdBlockingConfiguration()
{
return $this->adBlockingConfiguration;
}
/**
* Additional creative optimization configurations for the campaign.
*
* @param CreativeOptimizationConfiguration[] $additionalCreativeOptimizationConfigurations
*/
public function setAdditionalCreativeOptimizationConfigurations($additionalCreativeOptimizationConfigurations)
{
$this->additionalCreativeOptimizationConfigurations = $additionalCreativeOptimizationConfigurations;
}
/**
* @return CreativeOptimizationConfiguration[]
*/
public function getAdditionalCreativeOptimizationConfigurations()
{
return $this->additionalCreativeOptimizationConfigurations;
}
/**
* Advertiser group ID of the associated advertiser.
*
* @param string $advertiserGroupId
*/
public function setAdvertiserGroupId($advertiserGroupId)
{
$this->advertiserGroupId = $advertiserGroupId;
}
/**
* @return string
*/
public function getAdvertiserGroupId()
{
return $this->advertiserGroupId;
}
/**
* Advertiser ID of this campaign. This is a required field.
*
* @param string $advertiserId
*/
public function setAdvertiserId($advertiserId)
{
$this->advertiserId = $advertiserId;
}
/**
* @return string
*/
public function getAdvertiserId()
{
return $this->advertiserId;
}
/**
* Dimension value for the advertiser ID of this campaign. This is a read-
* only, auto-generated field.
*
* @param DimensionValue $advertiserIdDimensionValue
*/
public function setAdvertiserIdDimensionValue(DimensionValue $advertiserIdDimensionValue)
{
$this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
}
/**
* @return DimensionValue
*/
public function getAdvertiserIdDimensionValue()
{
return $this->advertiserIdDimensionValue;
}
/**
* Whether this campaign has been archived.
*
* @param bool $archived
*/
public function setArchived($archived)
{
$this->archived = $archived;
}
/**
* @return bool
*/
public function getArchived()
{
return $this->archived;
}
/**
* Audience segment groups assigned to this campaign. Cannot have more than
* 300 segment groups.
*
* @param AudienceSegmentGroup[] $audienceSegmentGroups
*/
public function setAudienceSegmentGroups($audienceSegmentGroups)
{
$this->audienceSegmentGroups = $audienceSegmentGroups;
}
/**
* @return AudienceSegmentGroup[]
*/
public function getAudienceSegmentGroups()
{
return $this->audienceSegmentGroups;
}
/**
* Billing invoice code included in the Campaign Manager client billing
* invoices associated with the campaign.
*
* @param string $billingInvoiceCode
*/
public function setBillingInvoiceCode($billingInvoiceCode)
{
$this->billingInvoiceCode = $billingInvoiceCode;
}
/**
* @return string
*/
public function getBillingInvoiceCode()
{
return $this->billingInvoiceCode;
}
/**
* Click-through URL suffix override properties for this campaign.
*
* @param ClickThroughUrlSuffixProperties $clickThroughUrlSuffixProperties
*/
public function setClickThroughUrlSuffixProperties(ClickThroughUrlSuffixProperties $clickThroughUrlSuffixProperties)
{
$this->clickThroughUrlSuffixProperties = $clickThroughUrlSuffixProperties;
}
/**
* @return ClickThroughUrlSuffixProperties
*/
public function getClickThroughUrlSuffixProperties()
{
return $this->clickThroughUrlSuffixProperties;
}
/**
* Arbitrary comments about this campaign. Must be less than 256 characters
* long.
*
* @param string $comment
*/
public function setComment($comment)
{
$this->comment = $comment;
}
/**
* @return string
*/
public function getComment()
{
return $this->comment;
}
/**
* Information about the creation of this campaign. This is a read-only field.
*
* @param LastModifiedInfo $createInfo
*/
public function setCreateInfo(LastModifiedInfo $createInfo)
{
$this->createInfo = $createInfo;
}
/**
* @return LastModifiedInfo
*/
public function getCreateInfo()
{
return $this->createInfo;
}
/**
* List of creative group IDs that are assigned to the campaign.
*
* @param string[] $creativeGroupIds
*/
public function setCreativeGroupIds($creativeGroupIds)
{
$this->creativeGroupIds = $creativeGroupIds;
}
/**
* @return string[]
*/
public function getCreativeGroupIds()
{
return $this->creativeGroupIds;
}
/**
* Creative optimization configuration for the campaign.
*
* @param CreativeOptimizationConfiguration $creativeOptimizationConfiguration
*/
public function setCreativeOptimizationConfiguration(CreativeOptimizationConfiguration $creativeOptimizationConfiguration)
{
$this->creativeOptimizationConfiguration = $creativeOptimizationConfiguration;
}
/**
* @return CreativeOptimizationConfiguration
*/
public function getCreativeOptimizationConfiguration()
{
return $this->creativeOptimizationConfiguration;
}
/**
* Click-through event tag ID override properties for this campaign.
*
* @param DefaultClickThroughEventTagProperties $defaultClickThroughEventTagProperties
*/
public function setDefaultClickThroughEventTagProperties(DefaultClickThroughEventTagProperties $defaultClickThroughEventTagProperties)
{
$this->defaultClickThroughEventTagProperties = $defaultClickThroughEventTagProperties;
}
/**
* @return DefaultClickThroughEventTagProperties
*/
public function getDefaultClickThroughEventTagProperties()
{
return $this->defaultClickThroughEventTagProperties;
}
/**
* The default landing page ID for this campaign.
*
* @param string $defaultLandingPageId
*/
public function setDefaultLandingPageId($defaultLandingPageId)
{
$this->defaultLandingPageId = $defaultLandingPageId;
}
/**
* @return string
*/
public function getDefaultLandingPageId()
{
return $this->defaultLandingPageId;
}
/**
* @param string $endDate
*/
public function setEndDate($endDate)
{
$this->endDate = $endDate;
}
/**
* @return string
*/
public function getEndDate()
{
return $this->endDate;
}
/**
* Optional. Whether the campaign has EU political ads. Campaign Manager 360
* doesn't allow campaigns with EU political ads to serve in the EU. They can
* still serve in other regions.
*
* Accepted values: CONTAINS_EU_POLITICAL_ADS,
* DOES_NOT_CONTAIN_EU_POLITICAL_ADS
*
* @param self::EU_POLITICAL_ADS_DECLARATION_* $euPoliticalAdsDeclaration
*/
public function setEuPoliticalAdsDeclaration($euPoliticalAdsDeclaration)
{
$this->euPoliticalAdsDeclaration = $euPoliticalAdsDeclaration;
}
/**
* @return self::EU_POLITICAL_ADS_DECLARATION_*
*/
public function getEuPoliticalAdsDeclaration()
{
return $this->euPoliticalAdsDeclaration;
}
/**
* Overrides that can be used to activate or deactivate advertiser event tags.
*
* @param EventTagOverride[] $eventTagOverrides
*/
public function setEventTagOverrides($eventTagOverrides)
{
$this->eventTagOverrides = $eventTagOverrides;
}
/**
* @return EventTagOverride[]
*/
public function getEventTagOverrides()
{
return $this->eventTagOverrides;
}
/**
* External ID for this campaign.
*
* @param string $externalId
*/
public function setExternalId($externalId)
{
$this->externalId = $externalId;
}
/**
* @return string
*/
public function getExternalId()
{
return $this->externalId;
}
/**
* ID of this campaign. This is a read-only auto-generated field.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Dimension value for the ID of this campaign. This is a read-only, auto-
* generated field.
*
* @param DimensionValue $idDimensionValue
*/
public function setIdDimensionValue(DimensionValue $idDimensionValue)
{
$this->idDimensionValue = $idDimensionValue;
}
/**
* @return DimensionValue
*/
public function getIdDimensionValue()
{
return $this->idDimensionValue;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#campaign".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Information about the most recent modification of this campaign. This is a
* read-only field.
*
* @param LastModifiedInfo $lastModifiedInfo
*/
public function setLastModifiedInfo(LastModifiedInfo $lastModifiedInfo)
{
$this->lastModifiedInfo = $lastModifiedInfo;
}
/**
* @return LastModifiedInfo
*/
public function getLastModifiedInfo()
{
return $this->lastModifiedInfo;
}
/**
* Measurement partner campaign link for tag wrapping.
*
* @param MeasurementPartnerCampaignLink $measurementPartnerLink
*/
public function setMeasurementPartnerLink(MeasurementPartnerCampaignLink $measurementPartnerLink)
{
$this->measurementPartnerLink = $measurementPartnerLink;
}
/**
* @return MeasurementPartnerCampaignLink
*/
public function getMeasurementPartnerLink()
{
return $this->measurementPartnerLink;
}
/**
* Name of this campaign. This is a required field and must be less than 512
* characters long and unique among campaigns of the same advertiser.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string $startDate
*/
public function setStartDate($startDate)
{
$this->startDate = $startDate;
}
/**
* @return string
*/
public function getStartDate()
{
return $this->startDate;
}
/**
* Subaccount ID of this campaign. This is a read-only field that can be left
* blank.
*
* @param string $subaccountId
*/
public function setSubaccountId($subaccountId)
{
$this->subaccountId = $subaccountId;
}
/**
* @return string
*/
public function getSubaccountId()
{
return $this->subaccountId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Campaign::class, 'Google_Service_Dfareporting_Campaign');
@@ -0,0 +1,72 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class CampaignCreativeAssociation extends \Google\Model
{
/**
* ID of the creative associated with the campaign. This is a required field.
*
* @var string
*/
public $creativeId;
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#campaignCreativeAssociation".
*
* @var string
*/
public $kind;
/**
* ID of the creative associated with the campaign. This is a required field.
*
* @param string $creativeId
*/
public function setCreativeId($creativeId)
{
$this->creativeId = $creativeId;
}
/**
* @return string
*/
public function getCreativeId()
{
return $this->creativeId;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#campaignCreativeAssociation".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CampaignCreativeAssociation::class, 'Google_Service_Dfareporting_CampaignCreativeAssociation');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class CampaignCreativeAssociationsListResponse extends \Google\Collection
{
protected $collection_key = 'campaignCreativeAssociations';
protected $campaignCreativeAssociationsType = CampaignCreativeAssociation::class;
protected $campaignCreativeAssociationsDataType = 'array';
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#campaignCreativeAssociationsListResponse".
*
* @var string
*/
public $kind;
/**
* Pagination token to be used for the next list operation.
*
* @var string
*/
public $nextPageToken;
/**
* Campaign creative association collection
*
* @param CampaignCreativeAssociation[] $campaignCreativeAssociations
*/
public function setCampaignCreativeAssociations($campaignCreativeAssociations)
{
$this->campaignCreativeAssociations = $campaignCreativeAssociations;
}
/**
* @return CampaignCreativeAssociation[]
*/
public function getCampaignCreativeAssociations()
{
return $this->campaignCreativeAssociations;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#campaignCreativeAssociationsListResponse".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Pagination token to be used for the next list operation.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CampaignCreativeAssociationsListResponse::class, 'Google_Service_Dfareporting_CampaignCreativeAssociationsListResponse');
@@ -0,0 +1,138 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class CampaignSummary extends \Google\Model
{
/**
* Campaign billing invoice code.
*
* @var string
*/
public $billingInvoiceCode;
/**
* Campaign ID.
*
* @var string
*/
public $campaignId;
/**
* The pre-tax amount for this campaign, in micros of the invoice's currency.
*
* @var string
*/
public $preTaxAmountMicros;
/**
* The tax amount for this campaign, in micros of the invoice's currency.
*
* @var string
*/
public $taxAmountMicros;
/**
* The total amount of charges for this campaign, in micros of the invoice's
* currency.
*
* @var string
*/
public $totalAmountMicros;
/**
* Campaign billing invoice code.
*
* @param string $billingInvoiceCode
*/
public function setBillingInvoiceCode($billingInvoiceCode)
{
$this->billingInvoiceCode = $billingInvoiceCode;
}
/**
* @return string
*/
public function getBillingInvoiceCode()
{
return $this->billingInvoiceCode;
}
/**
* Campaign ID.
*
* @param string $campaignId
*/
public function setCampaignId($campaignId)
{
$this->campaignId = $campaignId;
}
/**
* @return string
*/
public function getCampaignId()
{
return $this->campaignId;
}
/**
* The pre-tax amount for this campaign, in micros of the invoice's currency.
*
* @param string $preTaxAmountMicros
*/
public function setPreTaxAmountMicros($preTaxAmountMicros)
{
$this->preTaxAmountMicros = $preTaxAmountMicros;
}
/**
* @return string
*/
public function getPreTaxAmountMicros()
{
return $this->preTaxAmountMicros;
}
/**
* The tax amount for this campaign, in micros of the invoice's currency.
*
* @param string $taxAmountMicros
*/
public function setTaxAmountMicros($taxAmountMicros)
{
$this->taxAmountMicros = $taxAmountMicros;
}
/**
* @return string
*/
public function getTaxAmountMicros()
{
return $this->taxAmountMicros;
}
/**
* The total amount of charges for this campaign, in micros of the invoice's
* currency.
*
* @param string $totalAmountMicros
*/
public function setTotalAmountMicros($totalAmountMicros)
{
$this->totalAmountMicros = $totalAmountMicros;
}
/**
* @return string
*/
public function getTotalAmountMicros()
{
return $this->totalAmountMicros;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CampaignSummary::class, 'Google_Service_Dfareporting_CampaignSummary');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class CampaignsListResponse extends \Google\Collection
{
protected $collection_key = 'campaigns';
protected $campaignsType = Campaign::class;
protected $campaignsDataType = 'array';
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#campaignsListResponse".
*
* @var string
*/
public $kind;
/**
* Pagination token to be used for the next list operation.
*
* @var string
*/
public $nextPageToken;
/**
* Campaign collection.
*
* @param Campaign[] $campaigns
*/
public function setCampaigns($campaigns)
{
$this->campaigns = $campaigns;
}
/**
* @return Campaign[]
*/
public function getCampaigns()
{
return $this->campaigns;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#campaignsListResponse".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Pagination token to be used for the next list operation.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CampaignsListResponse::class, 'Google_Service_Dfareporting_CampaignsListResponse');
@@ -0,0 +1,123 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class CartData extends \Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = CartDataItem::class;
protected $itemsDataType = 'array';
/**
* The feed labels associated with the feed where your items are uploaded. For
* more information, please refer to
* https://support.google.com/merchants/answer/12453549. Providing the feed
* label reduces ambiguity in identifying the right offer details.
*
* @var string
*/
public $merchantFeedLabel;
/**
* The language associated with the feed where your items are uploaded. Use
* ISO 639-1 language codes. Providing the feed language reduces ambiguity in
* identifying the right offer details.
*
* @var string
*/
public $merchantFeedLanguage;
/**
* The Merchant Center ID where the items are uploaded. Providing Merchant
* Center ID reduces ambiguity in identifying the right offer details.
*
* @var string
*/
public $merchantId;
/**
* Data of the items purchased.
*
* @param CartDataItem[] $items
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return CartDataItem[]
*/
public function getItems()
{
return $this->items;
}
/**
* The feed labels associated with the feed where your items are uploaded. For
* more information, please refer to
* https://support.google.com/merchants/answer/12453549. Providing the feed
* label reduces ambiguity in identifying the right offer details.
*
* @param string $merchantFeedLabel
*/
public function setMerchantFeedLabel($merchantFeedLabel)
{
$this->merchantFeedLabel = $merchantFeedLabel;
}
/**
* @return string
*/
public function getMerchantFeedLabel()
{
return $this->merchantFeedLabel;
}
/**
* The language associated with the feed where your items are uploaded. Use
* ISO 639-1 language codes. Providing the feed language reduces ambiguity in
* identifying the right offer details.
*
* @param string $merchantFeedLanguage
*/
public function setMerchantFeedLanguage($merchantFeedLanguage)
{
$this->merchantFeedLanguage = $merchantFeedLanguage;
}
/**
* @return string
*/
public function getMerchantFeedLanguage()
{
return $this->merchantFeedLanguage;
}
/**
* The Merchant Center ID where the items are uploaded. Providing Merchant
* Center ID reduces ambiguity in identifying the right offer details.
*
* @param string $merchantId
*/
public function setMerchantId($merchantId)
{
$this->merchantId = $merchantId;
}
/**
* @return string
*/
public function getMerchantId()
{
return $this->merchantId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CartData::class, 'Google_Service_Dfareporting_CartData');
@@ -0,0 +1,88 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class CartDataItem extends \Google\Model
{
/**
* The shopping id of the item. Must be equal to the Merchant Center product
* identifier. This is a required field.
*
* @var string
*/
public $itemId;
/**
* Number of items sold. This is a required field.
*
* @var int
*/
public $quantity;
/**
* Unit price excluding tax, shipping, and any transaction level discounts.
* Interpreted in CM360 Floodlight config parent advertiser's currency code.
* This is a required field.
*
* @var
*/
public $unitPrice;
/**
* The shopping id of the item. Must be equal to the Merchant Center product
* identifier. This is a required field.
*
* @param string $itemId
*/
public function setItemId($itemId)
{
$this->itemId = $itemId;
}
/**
* @return string
*/
public function getItemId()
{
return $this->itemId;
}
/**
* Number of items sold. This is a required field.
*
* @param int $quantity
*/
public function setQuantity($quantity)
{
$this->quantity = $quantity;
}
/**
* @return int
*/
public function getQuantity()
{
return $this->quantity;
}
public function setUnitPrice($unitPrice)
{
$this->unitPrice = $unitPrice;
}
public function getUnitPrice()
{
return $this->unitPrice;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CartDataItem::class, 'Google_Service_Dfareporting_CartDataItem');
@@ -0,0 +1,338 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class ChangeLog extends \Google\Model
{
/**
* Account ID of the modified object.
*
* @var string
*/
public $accountId;
/**
* Action which caused the change.
*
* @var string
*/
public $action;
/**
* @var string
*/
public $changeTime;
/**
* Field name of the object which changed.
*
* @var string
*/
public $fieldName;
/**
* ID of this change log.
*
* @var string
*/
public $id;
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#changeLog".
*
* @var string
*/
public $kind;
/**
* New value of the object field.
*
* @var string
*/
public $newValue;
/**
* ID of the object of this change log. The object could be a campaign,
* placement, ad, or other type.
*
* @var string
*/
public $objectId;
/**
* Object type of the change log.
*
* @var string
*/
public $objectType;
/**
* Old value of the object field.
*
* @var string
*/
public $oldValue;
/**
* Subaccount ID of the modified object.
*
* @var string
*/
public $subaccountId;
/**
* Transaction ID of this change log. When a single API call results in many
* changes, each change will have a separate ID in the change log but will
* share the same transactionId.
*
* @var string
*/
public $transactionId;
/**
* ID of the user who modified the object.
*
* @var string
*/
public $userProfileId;
/**
* User profile name of the user who modified the object.
*
* @var string
*/
public $userProfileName;
/**
* Account ID of the modified object.
*
* @param string $accountId
*/
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
/**
* @return string
*/
public function getAccountId()
{
return $this->accountId;
}
/**
* Action which caused the change.
*
* @param string $action
*/
public function setAction($action)
{
$this->action = $action;
}
/**
* @return string
*/
public function getAction()
{
return $this->action;
}
/**
* @param string $changeTime
*/
public function setChangeTime($changeTime)
{
$this->changeTime = $changeTime;
}
/**
* @return string
*/
public function getChangeTime()
{
return $this->changeTime;
}
/**
* Field name of the object which changed.
*
* @param string $fieldName
*/
public function setFieldName($fieldName)
{
$this->fieldName = $fieldName;
}
/**
* @return string
*/
public function getFieldName()
{
return $this->fieldName;
}
/**
* ID of this change log.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#changeLog".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* New value of the object field.
*
* @param string $newValue
*/
public function setNewValue($newValue)
{
$this->newValue = $newValue;
}
/**
* @return string
*/
public function getNewValue()
{
return $this->newValue;
}
/**
* ID of the object of this change log. The object could be a campaign,
* placement, ad, or other type.
*
* @param string $objectId
*/
public function setObjectId($objectId)
{
$this->objectId = $objectId;
}
/**
* @return string
*/
public function getObjectId()
{
return $this->objectId;
}
/**
* Object type of the change log.
*
* @param string $objectType
*/
public function setObjectType($objectType)
{
$this->objectType = $objectType;
}
/**
* @return string
*/
public function getObjectType()
{
return $this->objectType;
}
/**
* Old value of the object field.
*
* @param string $oldValue
*/
public function setOldValue($oldValue)
{
$this->oldValue = $oldValue;
}
/**
* @return string
*/
public function getOldValue()
{
return $this->oldValue;
}
/**
* Subaccount ID of the modified object.
*
* @param string $subaccountId
*/
public function setSubaccountId($subaccountId)
{
$this->subaccountId = $subaccountId;
}
/**
* @return string
*/
public function getSubaccountId()
{
return $this->subaccountId;
}
/**
* Transaction ID of this change log. When a single API call results in many
* changes, each change will have a separate ID in the change log but will
* share the same transactionId.
*
* @param string $transactionId
*/
public function setTransactionId($transactionId)
{
$this->transactionId = $transactionId;
}
/**
* @return string
*/
public function getTransactionId()
{
return $this->transactionId;
}
/**
* ID of the user who modified the object.
*
* @param string $userProfileId
*/
public function setUserProfileId($userProfileId)
{
$this->userProfileId = $userProfileId;
}
/**
* @return string
*/
public function getUserProfileId()
{
return $this->userProfileId;
}
/**
* User profile name of the user who modified the object.
*
* @param string $userProfileName
*/
public function setUserProfileName($userProfileName)
{
$this->userProfileName = $userProfileName;
}
/**
* @return string
*/
public function getUserProfileName()
{
return $this->userProfileName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ChangeLog::class, 'Google_Service_Dfareporting_ChangeLog');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class ChangeLogsListResponse extends \Google\Collection
{
protected $collection_key = 'changeLogs';
protected $changeLogsType = ChangeLog::class;
protected $changeLogsDataType = 'array';
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#changeLogsListResponse".
*
* @var string
*/
public $kind;
/**
* Pagination token to be used for the next list operation.
*
* @var string
*/
public $nextPageToken;
/**
* Change log collection.
*
* @param ChangeLog[] $changeLogs
*/
public function setChangeLogs($changeLogs)
{
$this->changeLogs = $changeLogs;
}
/**
* @return ChangeLog[]
*/
public function getChangeLogs()
{
return $this->changeLogs;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#changeLogsListResponse".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Pagination token to be used for the next list operation.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ChangeLogsListResponse::class, 'Google_Service_Dfareporting_ChangeLogsListResponse');
@@ -0,0 +1,97 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class ChannelGrouping extends \Google\Collection
{
protected $collection_key = 'rules';
/**
* @var string
*/
public $fallbackName;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $name;
protected $rulesType = ChannelGroupingRule::class;
protected $rulesDataType = 'array';
/**
* @param string
*/
public function setFallbackName($fallbackName)
{
$this->fallbackName = $fallbackName;
}
/**
* @return string
*/
public function getFallbackName()
{
return $this->fallbackName;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param ChannelGroupingRule[]
*/
public function setRules($rules)
{
$this->rules = $rules;
}
/**
* @return ChannelGroupingRule[]
*/
public function getRules()
{
return $this->rules;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ChannelGrouping::class, 'Google_Service_Dfareporting_ChannelGrouping');
@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class ChannelGroupingRule extends \Google\Collection
{
protected $collection_key = 'disjunctiveMatchStatements';
protected $disjunctiveMatchStatementsType = DisjunctiveMatchStatement::class;
protected $disjunctiveMatchStatementsDataType = 'array';
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $name;
/**
* @param DisjunctiveMatchStatement[]
*/
public function setDisjunctiveMatchStatements($disjunctiveMatchStatements)
{
$this->disjunctiveMatchStatements = $disjunctiveMatchStatements;
}
/**
* @return DisjunctiveMatchStatement[]
*/
public function getDisjunctiveMatchStatements()
{
return $this->disjunctiveMatchStatements;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ChannelGroupingRule::class, 'Google_Service_Dfareporting_ChannelGroupingRule');
@@ -0,0 +1,69 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class CitiesListResponse extends \Google\Collection
{
protected $collection_key = 'cities';
protected $citiesType = City::class;
protected $citiesDataType = 'array';
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#citiesListResponse".
*
* @var string
*/
public $kind;
/**
* City collection.
*
* @param City[] $cities
*/
public function setCities($cities)
{
$this->cities = $cities;
}
/**
* @return City[]
*/
public function getCities()
{
return $this->cities;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#citiesListResponse".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CitiesListResponse::class, 'Google_Service_Dfareporting_CitiesListResponse');
@@ -0,0 +1,228 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class City extends \Google\Model
{
/**
* Country code of the country to which this city belongs.
*
* @var string
*/
public $countryCode;
/**
* DART ID of the country to which this city belongs.
*
* @var string
*/
public $countryDartId;
/**
* DART ID of this city. This is the ID used for targeting and generating
* reports.
*
* @var string
*/
public $dartId;
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#city".
*
* @var string
*/
public $kind;
/**
* Metro region code of the metro region (DMA) to which this city belongs.
*
* @var string
*/
public $metroCode;
/**
* ID of the metro region (DMA) to which this city belongs.
*
* @var string
*/
public $metroDmaId;
/**
* Name of this city.
*
* @var string
*/
public $name;
/**
* Region code of the region to which this city belongs.
*
* @var string
*/
public $regionCode;
/**
* DART ID of the region to which this city belongs.
*
* @var string
*/
public $regionDartId;
/**
* Country code of the country to which this city belongs.
*
* @param string $countryCode
*/
public function setCountryCode($countryCode)
{
$this->countryCode = $countryCode;
}
/**
* @return string
*/
public function getCountryCode()
{
return $this->countryCode;
}
/**
* DART ID of the country to which this city belongs.
*
* @param string $countryDartId
*/
public function setCountryDartId($countryDartId)
{
$this->countryDartId = $countryDartId;
}
/**
* @return string
*/
public function getCountryDartId()
{
return $this->countryDartId;
}
/**
* DART ID of this city. This is the ID used for targeting and generating
* reports.
*
* @param string $dartId
*/
public function setDartId($dartId)
{
$this->dartId = $dartId;
}
/**
* @return string
*/
public function getDartId()
{
return $this->dartId;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#city".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Metro region code of the metro region (DMA) to which this city belongs.
*
* @param string $metroCode
*/
public function setMetroCode($metroCode)
{
$this->metroCode = $metroCode;
}
/**
* @return string
*/
public function getMetroCode()
{
return $this->metroCode;
}
/**
* ID of the metro region (DMA) to which this city belongs.
*
* @param string $metroDmaId
*/
public function setMetroDmaId($metroDmaId)
{
$this->metroDmaId = $metroDmaId;
}
/**
* @return string
*/
public function getMetroDmaId()
{
return $this->metroDmaId;
}
/**
* Name of this city.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Region code of the region to which this city belongs.
*
* @param string $regionCode
*/
public function setRegionCode($regionCode)
{
$this->regionCode = $regionCode;
}
/**
* @return string
*/
public function getRegionCode()
{
return $this->regionCode;
}
/**
* DART ID of the region to which this city belongs.
*
* @param string $regionDartId
*/
public function setRegionDartId($regionDartId)
{
$this->regionDartId = $regionDartId;
}
/**
* @return string
*/
public function getRegionDartId()
{
return $this->regionDartId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(City::class, 'Google_Service_Dfareporting_City');
@@ -0,0 +1,97 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class ClickTag extends \Google\Model
{
protected $clickThroughUrlType = CreativeClickThroughUrl::class;
protected $clickThroughUrlDataType = '';
/**
* Advertiser event name associated with the click tag. This field is used by
* DISPLAY_IMAGE_GALLERY and HTML5_BANNER creatives. Applicable to DISPLAY
* when the primary asset type is not HTML_IMAGE.
*
* @var string
*/
public $eventName;
/**
* Parameter name for the specified click tag. For DISPLAY_IMAGE_GALLERY
* creative assets, this field must match the value of the creative asset's
* creativeAssetId.name field.
*
* @var string
*/
public $name;
/**
* Parameter value for the specified click tag. This field contains a click-
* through url.
*
* @param CreativeClickThroughUrl $clickThroughUrl
*/
public function setClickThroughUrl(CreativeClickThroughUrl $clickThroughUrl)
{
$this->clickThroughUrl = $clickThroughUrl;
}
/**
* @return CreativeClickThroughUrl
*/
public function getClickThroughUrl()
{
return $this->clickThroughUrl;
}
/**
* Advertiser event name associated with the click tag. This field is used by
* DISPLAY_IMAGE_GALLERY and HTML5_BANNER creatives. Applicable to DISPLAY
* when the primary asset type is not HTML_IMAGE.
*
* @param string $eventName
*/
public function setEventName($eventName)
{
$this->eventName = $eventName;
}
/**
* @return string
*/
public function getEventName()
{
return $this->eventName;
}
/**
* Parameter name for the specified click tag. For DISPLAY_IMAGE_GALLERY
* creative assets, this field must match the value of the creative asset's
* creativeAssetId.name field.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ClickTag::class, 'Google_Service_Dfareporting_ClickTag');
@@ -0,0 +1,130 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class ClickThroughUrl extends \Google\Model
{
/**
* Read-only convenience field representing the actual URL that will be used
* for this click-through. The URL is computed as follows: - If
* defaultLandingPage is enabled then the campaign's default landing page URL
* is assigned to this field. - If defaultLandingPage is not enabled and a
* landingPageId is specified then that landing page's URL is assigned to this
* field. - If neither of the above cases apply, then the
* customClickThroughUrl is assigned to this field.
*
* @var string
*/
public $computedClickThroughUrl;
/**
* Custom click-through URL. Applicable if the defaultLandingPage field is set
* to false and the landingPageId field is left unset.
*
* @var string
*/
public $customClickThroughUrl;
/**
* Whether the campaign default landing page is used.
*
* @var bool
*/
public $defaultLandingPage;
/**
* ID of the landing page for the click-through URL. Applicable if the
* defaultLandingPage field is set to false.
*
* @var string
*/
public $landingPageId;
/**
* Read-only convenience field representing the actual URL that will be used
* for this click-through. The URL is computed as follows: - If
* defaultLandingPage is enabled then the campaign's default landing page URL
* is assigned to this field. - If defaultLandingPage is not enabled and a
* landingPageId is specified then that landing page's URL is assigned to this
* field. - If neither of the above cases apply, then the
* customClickThroughUrl is assigned to this field.
*
* @param string $computedClickThroughUrl
*/
public function setComputedClickThroughUrl($computedClickThroughUrl)
{
$this->computedClickThroughUrl = $computedClickThroughUrl;
}
/**
* @return string
*/
public function getComputedClickThroughUrl()
{
return $this->computedClickThroughUrl;
}
/**
* Custom click-through URL. Applicable if the defaultLandingPage field is set
* to false and the landingPageId field is left unset.
*
* @param string $customClickThroughUrl
*/
public function setCustomClickThroughUrl($customClickThroughUrl)
{
$this->customClickThroughUrl = $customClickThroughUrl;
}
/**
* @return string
*/
public function getCustomClickThroughUrl()
{
return $this->customClickThroughUrl;
}
/**
* Whether the campaign default landing page is used.
*
* @param bool $defaultLandingPage
*/
public function setDefaultLandingPage($defaultLandingPage)
{
$this->defaultLandingPage = $defaultLandingPage;
}
/**
* @return bool
*/
public function getDefaultLandingPage()
{
return $this->defaultLandingPage;
}
/**
* ID of the landing page for the click-through URL. Applicable if the
* defaultLandingPage field is set to false.
*
* @param string $landingPageId
*/
public function setLandingPageId($landingPageId)
{
$this->landingPageId = $landingPageId;
}
/**
* @return string
*/
public function getLandingPageId()
{
return $this->landingPageId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ClickThroughUrl::class, 'Google_Service_Dfareporting_ClickThroughUrl');
@@ -0,0 +1,74 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class ClickThroughUrlSuffixProperties extends \Google\Model
{
/**
* Click-through URL suffix to apply to all ads in this entity's scope. Must
* be less than 128 characters long.
*
* @var string
*/
public $clickThroughUrlSuffix;
/**
* Whether this entity should override the inherited click-through URL suffix
* with its own defined value.
*
* @var bool
*/
public $overrideInheritedSuffix;
/**
* Click-through URL suffix to apply to all ads in this entity's scope. Must
* be less than 128 characters long.
*
* @param string $clickThroughUrlSuffix
*/
public function setClickThroughUrlSuffix($clickThroughUrlSuffix)
{
$this->clickThroughUrlSuffix = $clickThroughUrlSuffix;
}
/**
* @return string
*/
public function getClickThroughUrlSuffix()
{
return $this->clickThroughUrlSuffix;
}
/**
* Whether this entity should override the inherited click-through URL suffix
* with its own defined value.
*
* @param bool $overrideInheritedSuffix
*/
public function setOverrideInheritedSuffix($overrideInheritedSuffix)
{
$this->overrideInheritedSuffix = $overrideInheritedSuffix;
}
/**
* @return bool
*/
public function getOverrideInheritedSuffix()
{
return $this->overrideInheritedSuffix;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ClickThroughUrlSuffixProperties::class, 'Google_Service_Dfareporting_ClickThroughUrlSuffixProperties');
@@ -0,0 +1,66 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class CompanionClickThroughOverride extends \Google\Model
{
protected $clickThroughUrlType = ClickThroughUrl::class;
protected $clickThroughUrlDataType = '';
/**
* ID of the creative for this companion click-through override.
*
* @var string
*/
public $creativeId;
/**
* Click-through URL of this companion click-through override.
*
* @param ClickThroughUrl $clickThroughUrl
*/
public function setClickThroughUrl(ClickThroughUrl $clickThroughUrl)
{
$this->clickThroughUrl = $clickThroughUrl;
}
/**
* @return ClickThroughUrl
*/
public function getClickThroughUrl()
{
return $this->clickThroughUrl;
}
/**
* ID of the creative for this companion click-through override.
*
* @param string $creativeId
*/
public function setCreativeId($creativeId)
{
$this->creativeId = $creativeId;
}
/**
* @return string
*/
public function getCreativeId()
{
return $this->creativeId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CompanionClickThroughOverride::class, 'Google_Service_Dfareporting_CompanionClickThroughOverride');
@@ -0,0 +1,114 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class CompanionSetting extends \Google\Collection
{
protected $collection_key = 'enabledSizes';
/**
* Whether companions are disabled for this placement.
*
* @var bool
*/
public $companionsDisabled;
protected $enabledSizesType = Size::class;
protected $enabledSizesDataType = 'array';
/**
* Whether to serve only static images as companions.
*
* @var bool
*/
public $imageOnly;
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#companionSetting".
*
* @var string
*/
public $kind;
/**
* Whether companions are disabled for this placement.
*
* @param bool $companionsDisabled
*/
public function setCompanionsDisabled($companionsDisabled)
{
$this->companionsDisabled = $companionsDisabled;
}
/**
* @return bool
*/
public function getCompanionsDisabled()
{
return $this->companionsDisabled;
}
/**
* Allowlist of companion sizes to be served to this placement. Set this list
* to null or empty to serve all companion sizes.
*
* @param Size[] $enabledSizes
*/
public function setEnabledSizes($enabledSizes)
{
$this->enabledSizes = $enabledSizes;
}
/**
* @return Size[]
*/
public function getEnabledSizes()
{
return $this->enabledSizes;
}
/**
* Whether to serve only static images as companions.
*
* @param bool $imageOnly
*/
public function setImageOnly($imageOnly)
{
$this->imageOnly = $imageOnly;
}
/**
* @return bool
*/
public function getImageOnly()
{
return $this->imageOnly;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#companionSetting".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CompanionSetting::class, 'Google_Service_Dfareporting_CompanionSetting');
@@ -0,0 +1,162 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class CompatibleFields extends \Google\Model
{
protected $crossDimensionReachReportCompatibleFieldsType = CrossDimensionReachReportCompatibleFields::class;
protected $crossDimensionReachReportCompatibleFieldsDataType = '';
protected $crossMediaReachReportCompatibleFieldsType = CrossMediaReachReportCompatibleFields::class;
protected $crossMediaReachReportCompatibleFieldsDataType = '';
protected $floodlightReportCompatibleFieldsType = FloodlightReportCompatibleFields::class;
protected $floodlightReportCompatibleFieldsDataType = '';
/**
* The kind of resource this is, in this case dfareporting#compatibleFields.
*
* @var string
*/
public $kind;
protected $pathToConversionReportCompatibleFieldsType = PathToConversionReportCompatibleFields::class;
protected $pathToConversionReportCompatibleFieldsDataType = '';
protected $reachReportCompatibleFieldsType = ReachReportCompatibleFields::class;
protected $reachReportCompatibleFieldsDataType = '';
protected $reportCompatibleFieldsType = ReportCompatibleFields::class;
protected $reportCompatibleFieldsDataType = '';
/**
* Contains items that are compatible to be selected for a report of type
* "CROSS_DIMENSION_REACH".
*
* @param CrossDimensionReachReportCompatibleFields $crossDimensionReachReportCompatibleFields
*/
public function setCrossDimensionReachReportCompatibleFields(CrossDimensionReachReportCompatibleFields $crossDimensionReachReportCompatibleFields)
{
$this->crossDimensionReachReportCompatibleFields = $crossDimensionReachReportCompatibleFields;
}
/**
* @return CrossDimensionReachReportCompatibleFields
*/
public function getCrossDimensionReachReportCompatibleFields()
{
return $this->crossDimensionReachReportCompatibleFields;
}
/**
* Contains items that are compatible to be selected for a report of type
* "CROSS_MEDIA_REACH".
*
* @param CrossMediaReachReportCompatibleFields $crossMediaReachReportCompatibleFields
*/
public function setCrossMediaReachReportCompatibleFields(CrossMediaReachReportCompatibleFields $crossMediaReachReportCompatibleFields)
{
$this->crossMediaReachReportCompatibleFields = $crossMediaReachReportCompatibleFields;
}
/**
* @return CrossMediaReachReportCompatibleFields
*/
public function getCrossMediaReachReportCompatibleFields()
{
return $this->crossMediaReachReportCompatibleFields;
}
/**
* Contains items that are compatible to be selected for a report of type
* "FLOODLIGHT".
*
* @param FloodlightReportCompatibleFields $floodlightReportCompatibleFields
*/
public function setFloodlightReportCompatibleFields(FloodlightReportCompatibleFields $floodlightReportCompatibleFields)
{
$this->floodlightReportCompatibleFields = $floodlightReportCompatibleFields;
}
/**
* @return FloodlightReportCompatibleFields
*/
public function getFloodlightReportCompatibleFields()
{
return $this->floodlightReportCompatibleFields;
}
/**
* The kind of resource this is, in this case dfareporting#compatibleFields.
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Contains items that are compatible to be selected for a report of type
* "PATH_TO_CONVERSION".
*
* @param PathToConversionReportCompatibleFields $pathToConversionReportCompatibleFields
*/
public function setPathToConversionReportCompatibleFields(PathToConversionReportCompatibleFields $pathToConversionReportCompatibleFields)
{
$this->pathToConversionReportCompatibleFields = $pathToConversionReportCompatibleFields;
}
/**
* @return PathToConversionReportCompatibleFields
*/
public function getPathToConversionReportCompatibleFields()
{
return $this->pathToConversionReportCompatibleFields;
}
/**
* Contains items that are compatible to be selected for a report of type
* "REACH".
*
* @param ReachReportCompatibleFields $reachReportCompatibleFields
*/
public function setReachReportCompatibleFields(ReachReportCompatibleFields $reachReportCompatibleFields)
{
$this->reachReportCompatibleFields = $reachReportCompatibleFields;
}
/**
* @return ReachReportCompatibleFields
*/
public function getReachReportCompatibleFields()
{
return $this->reachReportCompatibleFields;
}
/**
* Contains items that are compatible to be selected for a report of type
* "STANDARD".
*
* @param ReportCompatibleFields $reportCompatibleFields
*/
public function setReportCompatibleFields(ReportCompatibleFields $reportCompatibleFields)
{
$this->reportCompatibleFields = $reportCompatibleFields;
}
/**
* @return ReportCompatibleFields
*/
public function getReportCompatibleFields()
{
return $this->reportCompatibleFields;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CompatibleFields::class, 'Google_Service_Dfareporting_CompatibleFields');
@@ -0,0 +1,94 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class ConnectionType extends \Google\Model
{
/**
* ID of this connection type.
*
* @var string
*/
public $id;
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#connectionType".
*
* @var string
*/
public $kind;
/**
* Name of this connection type.
*
* @var string
*/
public $name;
/**
* ID of this connection type.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#connectionType".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Name of this connection type.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConnectionType::class, 'Google_Service_Dfareporting_ConnectionType');
@@ -0,0 +1,69 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class ConnectionTypesListResponse extends \Google\Collection
{
protected $collection_key = 'connectionTypes';
protected $connectionTypesType = ConnectionType::class;
protected $connectionTypesDataType = 'array';
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#connectionTypesListResponse".
*
* @var string
*/
public $kind;
/**
* Collection of connection types such as broadband and mobile.
*
* @param ConnectionType[] $connectionTypes
*/
public function setConnectionTypes($connectionTypes)
{
$this->connectionTypes = $connectionTypes;
}
/**
* @return ConnectionType[]
*/
public function getConnectionTypes()
{
return $this->connectionTypes;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#connectionTypesListResponse".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConnectionTypesListResponse::class, 'Google_Service_Dfareporting_ConnectionTypesListResponse');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class ContentCategoriesListResponse extends \Google\Collection
{
protected $collection_key = 'contentCategories';
protected $contentCategoriesType = ContentCategory::class;
protected $contentCategoriesDataType = 'array';
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#contentCategoriesListResponse".
*
* @var string
*/
public $kind;
/**
* Pagination token to be used for the next list operation.
*
* @var string
*/
public $nextPageToken;
/**
* Content category collection.
*
* @param ContentCategory[] $contentCategories
*/
public function setContentCategories($contentCategories)
{
$this->contentCategories = $contentCategories;
}
/**
* @return ContentCategory[]
*/
public function getContentCategories()
{
return $this->contentCategories;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#contentCategoriesListResponse".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Pagination token to be used for the next list operation.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ContentCategoriesListResponse::class, 'Google_Service_Dfareporting_ContentCategoriesListResponse');
@@ -0,0 +1,122 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class ContentCategory extends \Google\Model
{
/**
* Account ID of this content category. This is a read-only field that can be
* left blank.
*
* @var string
*/
public $accountId;
/**
* ID of this content category. This is a read-only, auto-generated field.
*
* @var string
*/
public $id;
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#contentCategory".
*
* @var string
*/
public $kind;
/**
* Name of this content category. This is a required field and must be less
* than 256 characters long and unique among content categories of the same
* account.
*
* @var string
*/
public $name;
/**
* Account ID of this content category. This is a read-only field that can be
* left blank.
*
* @param string $accountId
*/
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
/**
* @return string
*/
public function getAccountId()
{
return $this->accountId;
}
/**
* ID of this content category. This is a read-only, auto-generated field.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#contentCategory".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Name of this content category. This is a required field and must be less
* than 256 characters long and unique among content categories of the same
* account.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ContentCategory::class, 'Google_Service_Dfareporting_ContentCategory');
@@ -0,0 +1,166 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class ContentSource extends \Google\Model
{
/**
* The resource type is unspecified.
*/
public const RESOURCE_TYPE_RESOURCE_TYPE_UNSPECIFIED = 'RESOURCE_TYPE_UNSPECIFIED';
/**
* The resource type is google spreadsheet.
*/
public const RESOURCE_TYPE_RESOURCE_TYPE_GOOGLE_SPREADSHEET = 'RESOURCE_TYPE_GOOGLE_SPREADSHEET';
/**
* The resource type is remote file.
*/
public const RESOURCE_TYPE_RESOURCE_TYPE_REMOTE_FILE = 'RESOURCE_TYPE_REMOTE_FILE';
/**
* Optional. The name of the content source. It is defaulted to content source
* file name if not provided.
*
* @var string
*/
public $contentSourceName;
protected $createInfoType = LastModifiedInfo::class;
protected $createInfoDataType = '';
protected $lastModifiedInfoType = LastModifiedInfo::class;
protected $lastModifiedInfoDataType = '';
protected $metaDataType = ContentSourceMetaData::class;
protected $metaDataDataType = '';
/**
* Required. The link to the file of the content source.
*
* @var string
*/
public $resourceLink;
/**
* Required. The resource type of the content source.
*
* @var string
*/
public $resourceType;
/**
* Optional. The name of the content source. It is defaulted to content source
* file name if not provided.
*
* @param string $contentSourceName
*/
public function setContentSourceName($contentSourceName)
{
$this->contentSourceName = $contentSourceName;
}
/**
* @return string
*/
public function getContentSourceName()
{
return $this->contentSourceName;
}
/**
* Output only. The creation timestamp of the content source. This is a read-
* only field.
*
* @param LastModifiedInfo $createInfo
*/
public function setCreateInfo(LastModifiedInfo $createInfo)
{
$this->createInfo = $createInfo;
}
/**
* @return LastModifiedInfo
*/
public function getCreateInfo()
{
return $this->createInfo;
}
/**
* Output only. The last modified timestamp of the content source. This is a
* read-only field.
*
* @param LastModifiedInfo $lastModifiedInfo
*/
public function setLastModifiedInfo(LastModifiedInfo $lastModifiedInfo)
{
$this->lastModifiedInfo = $lastModifiedInfo;
}
/**
* @return LastModifiedInfo
*/
public function getLastModifiedInfo()
{
return $this->lastModifiedInfo;
}
/**
* Output only. Metadata of the content source. It contains the number of rows
* and the column names from resource link. This is a read-only field.
*
* @param ContentSourceMetaData $metaData
*/
public function setMetaData(ContentSourceMetaData $metaData)
{
$this->metaData = $metaData;
}
/**
* @return ContentSourceMetaData
*/
public function getMetaData()
{
return $this->metaData;
}
/**
* Required. The link to the file of the content source.
*
* @param string $resourceLink
*/
public function setResourceLink($resourceLink)
{
$this->resourceLink = $resourceLink;
}
/**
* @return string
*/
public function getResourceLink()
{
return $this->resourceLink;
}
/**
* Required. The resource type of the content source.
*
* Accepted values: RESOURCE_TYPE_UNSPECIFIED,
* RESOURCE_TYPE_GOOGLE_SPREADSHEET, RESOURCE_TYPE_REMOTE_FILE
*
* @param self::RESOURCE_TYPE_* $resourceType
*/
public function setResourceType($resourceType)
{
$this->resourceType = $resourceType;
}
/**
* @return self::RESOURCE_TYPE_*
*/
public function getResourceType()
{
return $this->resourceType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ContentSource::class, 'Google_Service_Dfareporting_ContentSource');
@@ -0,0 +1,115 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class ContentSourceMetaData extends \Google\Collection
{
protected $collection_key = 'fieldNames';
/**
* Output only. The charset of the content source.
*
* @var string
*/
public $charset;
/**
* Output only. The list of column names in the content source.
*
* @var string[]
*/
public $fieldNames;
/**
* Output only. The number of rows in the content source.
*
* @var int
*/
public $rowNumber;
/**
* Output only. The separator of the content source.
*
* @var string
*/
public $separator;
/**
* Output only. The charset of the content source.
*
* @param string $charset
*/
public function setCharset($charset)
{
$this->charset = $charset;
}
/**
* @return string
*/
public function getCharset()
{
return $this->charset;
}
/**
* Output only. The list of column names in the content source.
*
* @param string[] $fieldNames
*/
public function setFieldNames($fieldNames)
{
$this->fieldNames = $fieldNames;
}
/**
* @return string[]
*/
public function getFieldNames()
{
return $this->fieldNames;
}
/**
* Output only. The number of rows in the content source.
*
* @param int $rowNumber
*/
public function setRowNumber($rowNumber)
{
$this->rowNumber = $rowNumber;
}
/**
* @return int
*/
public function getRowNumber()
{
return $this->rowNumber;
}
/**
* Output only. The separator of the content source.
*
* @param string $separator
*/
public function setSeparator($separator)
{
$this->separator = $separator;
}
/**
* @return string
*/
public function getSeparator()
{
return $this->separator;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ContentSourceMetaData::class, 'Google_Service_Dfareporting_ContentSourceMetaData');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class ContextualKeyword extends \Google\Model
{
/**
* The keyword that can be targeted by ads.
*
* @var string
*/
public $keyword;
/**
* The keyword that can be targeted by ads.
*
* @param string $keyword
*/
public function setKeyword($keyword)
{
$this->keyword = $keyword;
}
/**
* @return string
*/
public function getKeyword()
{
return $this->keyword;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ContextualKeyword::class, 'Google_Service_Dfareporting_ContextualKeyword');
@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class ContextualKeywordTargeting extends \Google\Collection
{
protected $collection_key = 'keywords';
protected $keywordsType = ContextualKeyword::class;
protected $keywordsDataType = 'array';
/**
* Contextual keywords that this ad targets
*
* @param ContextualKeyword[] $keywords
*/
public function setKeywords($keywords)
{
$this->keywords = $keywords;
}
/**
* @return ContextualKeyword[]
*/
public function getKeywords()
{
return $this->keywords;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ContextualKeywordTargeting::class, 'Google_Service_Dfareporting_ContextualKeywordTargeting');
@@ -0,0 +1,601 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class Conversion extends \Google\Collection
{
/**
* Granted.
*/
public const AD_USER_DATA_CONSENT_GRANTED = 'GRANTED';
/**
* Denied.
*/
public const AD_USER_DATA_CONSENT_DENIED = 'DENIED';
protected $collection_key = 'userIdentifiers';
/**
* This represents consent for ad user data.
*
* @var string
*/
public $adUserDataConsent;
protected $cartDataType = CartData::class;
protected $cartDataDataType = '';
/**
* Whether this particular request may come from a user under the age of 13,
* under COPPA compliance.
*
* @var bool
*/
public $childDirectedTreatment;
protected $customVariablesType = CustomFloodlightVariable::class;
protected $customVariablesDataType = 'array';
/**
* The display click ID. This field is mutually exclusive with
* encryptedUserId, encryptedUserIdCandidates[], matchId, mobileDeviceId,
* gclid, and impressionId. This or encryptedUserId or
* encryptedUserIdCandidates[] or matchId or mobileDeviceId or gclid or
* impressionId is a required field.
*
* @var string
*/
public $dclid;
/**
* The alphanumeric encrypted user ID. When set, encryptionInfo should also be
* specified. This field is mutually exclusive with
* encryptedUserIdCandidates[], matchId, mobileDeviceId, gclid, dclid, and
* impressionId. This or encryptedUserIdCandidates[] or matchId or
* mobileDeviceId or gclid or dclid or impressionId is a required field.
*
* @var string
*/
public $encryptedUserId;
/**
* A list of the alphanumeric encrypted user IDs. Any user ID with exposure
* prior to the conversion timestamp will be used in the inserted conversion.
* If no such user ID is found then the conversion will be rejected with
* INVALID_ARGUMENT error. When set, encryptionInfo should also be specified.
* This field may only be used when calling batchinsert; it is not supported
* by batchupdate. This field is mutually exclusive with encryptedUserId,
* matchId, mobileDeviceId, gclid dclid, and impressionId. This or
* encryptedUserId or matchId or mobileDeviceId or gclid or dclid or
* impressionId is a required field.
*
* @var string[]
*/
public $encryptedUserIdCandidates;
/**
* Floodlight Activity ID of this conversion. This is a required field.
*
* @var string
*/
public $floodlightActivityId;
/**
* Floodlight Configuration ID of this conversion. This is a required field.
*
* @var string
*/
public $floodlightConfigurationId;
/**
* The Google click ID. This field is mutually exclusive with encryptedUserId,
* encryptedUserIdCandidates[], matchId, mobileDeviceId, dclid, and
* impressionId. This or encryptedUserId or encryptedUserIdCandidates[] or
* matchId or mobileDeviceId or dclid or impressionId is a required field.
*
* @var string
*/
public $gclid;
/**
* The impression ID. This field is mutually exclusive with encryptedUserId,
* encryptedUserIdCandidates[], matchId, mobileDeviceId, and gclid. One of
* these identifiers must be set.
*
* @var string
*/
public $impressionId;
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#conversion".
*
* @var string
*/
public $kind;
/**
* Whether Limit Ad Tracking is enabled. When set to true, the conversion will
* be used for reporting but not targeting. This will prevent remarketing.
*
* @var bool
*/
public $limitAdTracking;
/**
* The match ID field. A match ID is your own first-party identifier that has
* been synced with Google using the match ID feature in Floodlight. This
* field is mutually exclusive with encryptedUserId,
* encryptedUserIdCandidates[],mobileDeviceId, gclid, dclid, and impressionId.
* This or encryptedUserId orencryptedUserIdCandidates[] or mobileDeviceId or
* gclid or dclid or impressionIdis a required field.
*
* @var string
*/
public $matchId;
/**
* The mobile device ID. This field is mutually exclusive with
* encryptedUserId, encryptedUserIdCandidates[], matchId, gclid, dclid, and
* impressionId. This or encryptedUserId or encryptedUserIdCandidates[] or
* matchId or gclid or dclid or impressionId is a required field.
*
* @var string
*/
public $mobileDeviceId;
/**
* Whether the conversion was for a non personalized ad.
*
* @var bool
*/
public $nonPersonalizedAd;
/**
* The ordinal of the conversion. Use this field to control how conversions of
* the same user and day are de-duplicated. This is a required field.
*
* @var string
*/
public $ordinal;
/**
* The quantity of the conversion. This is a required field.
*
* @var string
*/
public $quantity;
/**
* Session attributes for the conversion, encoded as based64 bytes. This field
* may only be used when calling batchinsert; it is not supported by
* batchupdate.
*
* @var string
*/
public $sessionAttributesEncoded;
/**
* The timestamp of conversion, in Unix epoch micros. This is a required
* field.
*
* @var string
*/
public $timestampMicros;
/**
* Whether this particular request may come from a user under the age of 16
* (may differ by country), under compliance with the European Union's General
* Data Protection Regulation (GDPR).
*
* @var bool
*/
public $treatmentForUnderage;
protected $userIdentifiersType = UserIdentifier::class;
protected $userIdentifiersDataType = 'array';
/**
* The value of the conversion. Interpreted in CM360 Floodlight config parent
* advertiser's currency code. This is a required field.
*
* @var
*/
public $value;
/**
* This represents consent for ad user data.
*
* Accepted values: GRANTED, DENIED
*
* @param self::AD_USER_DATA_CONSENT_* $adUserDataConsent
*/
public function setAdUserDataConsent($adUserDataConsent)
{
$this->adUserDataConsent = $adUserDataConsent;
}
/**
* @return self::AD_USER_DATA_CONSENT_*
*/
public function getAdUserDataConsent()
{
return $this->adUserDataConsent;
}
/**
* The cart data associated with this conversion.
*
* @param CartData $cartData
*/
public function setCartData(CartData $cartData)
{
$this->cartData = $cartData;
}
/**
* @return CartData
*/
public function getCartData()
{
return $this->cartData;
}
/**
* Whether this particular request may come from a user under the age of 13,
* under COPPA compliance.
*
* @param bool $childDirectedTreatment
*/
public function setChildDirectedTreatment($childDirectedTreatment)
{
$this->childDirectedTreatment = $childDirectedTreatment;
}
/**
* @return bool
*/
public function getChildDirectedTreatment()
{
return $this->childDirectedTreatment;
}
/**
* Custom floodlight variables.
*
* @param CustomFloodlightVariable[] $customVariables
*/
public function setCustomVariables($customVariables)
{
$this->customVariables = $customVariables;
}
/**
* @return CustomFloodlightVariable[]
*/
public function getCustomVariables()
{
return $this->customVariables;
}
/**
* The display click ID. This field is mutually exclusive with
* encryptedUserId, encryptedUserIdCandidates[], matchId, mobileDeviceId,
* gclid, and impressionId. This or encryptedUserId or
* encryptedUserIdCandidates[] or matchId or mobileDeviceId or gclid or
* impressionId is a required field.
*
* @param string $dclid
*/
public function setDclid($dclid)
{
$this->dclid = $dclid;
}
/**
* @return string
*/
public function getDclid()
{
return $this->dclid;
}
/**
* The alphanumeric encrypted user ID. When set, encryptionInfo should also be
* specified. This field is mutually exclusive with
* encryptedUserIdCandidates[], matchId, mobileDeviceId, gclid, dclid, and
* impressionId. This or encryptedUserIdCandidates[] or matchId or
* mobileDeviceId or gclid or dclid or impressionId is a required field.
*
* @param string $encryptedUserId
*/
public function setEncryptedUserId($encryptedUserId)
{
$this->encryptedUserId = $encryptedUserId;
}
/**
* @return string
*/
public function getEncryptedUserId()
{
return $this->encryptedUserId;
}
/**
* A list of the alphanumeric encrypted user IDs. Any user ID with exposure
* prior to the conversion timestamp will be used in the inserted conversion.
* If no such user ID is found then the conversion will be rejected with
* INVALID_ARGUMENT error. When set, encryptionInfo should also be specified.
* This field may only be used when calling batchinsert; it is not supported
* by batchupdate. This field is mutually exclusive with encryptedUserId,
* matchId, mobileDeviceId, gclid dclid, and impressionId. This or
* encryptedUserId or matchId or mobileDeviceId or gclid or dclid or
* impressionId is a required field.
*
* @param string[] $encryptedUserIdCandidates
*/
public function setEncryptedUserIdCandidates($encryptedUserIdCandidates)
{
$this->encryptedUserIdCandidates = $encryptedUserIdCandidates;
}
/**
* @return string[]
*/
public function getEncryptedUserIdCandidates()
{
return $this->encryptedUserIdCandidates;
}
/**
* Floodlight Activity ID of this conversion. This is a required field.
*
* @param string $floodlightActivityId
*/
public function setFloodlightActivityId($floodlightActivityId)
{
$this->floodlightActivityId = $floodlightActivityId;
}
/**
* @return string
*/
public function getFloodlightActivityId()
{
return $this->floodlightActivityId;
}
/**
* Floodlight Configuration ID of this conversion. This is a required field.
*
* @param string $floodlightConfigurationId
*/
public function setFloodlightConfigurationId($floodlightConfigurationId)
{
$this->floodlightConfigurationId = $floodlightConfigurationId;
}
/**
* @return string
*/
public function getFloodlightConfigurationId()
{
return $this->floodlightConfigurationId;
}
/**
* The Google click ID. This field is mutually exclusive with encryptedUserId,
* encryptedUserIdCandidates[], matchId, mobileDeviceId, dclid, and
* impressionId. This or encryptedUserId or encryptedUserIdCandidates[] or
* matchId or mobileDeviceId or dclid or impressionId is a required field.
*
* @param string $gclid
*/
public function setGclid($gclid)
{
$this->gclid = $gclid;
}
/**
* @return string
*/
public function getGclid()
{
return $this->gclid;
}
/**
* The impression ID. This field is mutually exclusive with encryptedUserId,
* encryptedUserIdCandidates[], matchId, mobileDeviceId, and gclid. One of
* these identifiers must be set.
*
* @param string $impressionId
*/
public function setImpressionId($impressionId)
{
$this->impressionId = $impressionId;
}
/**
* @return string
*/
public function getImpressionId()
{
return $this->impressionId;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#conversion".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Whether Limit Ad Tracking is enabled. When set to true, the conversion will
* be used for reporting but not targeting. This will prevent remarketing.
*
* @param bool $limitAdTracking
*/
public function setLimitAdTracking($limitAdTracking)
{
$this->limitAdTracking = $limitAdTracking;
}
/**
* @return bool
*/
public function getLimitAdTracking()
{
return $this->limitAdTracking;
}
/**
* The match ID field. A match ID is your own first-party identifier that has
* been synced with Google using the match ID feature in Floodlight. This
* field is mutually exclusive with encryptedUserId,
* encryptedUserIdCandidates[],mobileDeviceId, gclid, dclid, and impressionId.
* This or encryptedUserId orencryptedUserIdCandidates[] or mobileDeviceId or
* gclid or dclid or impressionIdis a required field.
*
* @param string $matchId
*/
public function setMatchId($matchId)
{
$this->matchId = $matchId;
}
/**
* @return string
*/
public function getMatchId()
{
return $this->matchId;
}
/**
* The mobile device ID. This field is mutually exclusive with
* encryptedUserId, encryptedUserIdCandidates[], matchId, gclid, dclid, and
* impressionId. This or encryptedUserId or encryptedUserIdCandidates[] or
* matchId or gclid or dclid or impressionId is a required field.
*
* @param string $mobileDeviceId
*/
public function setMobileDeviceId($mobileDeviceId)
{
$this->mobileDeviceId = $mobileDeviceId;
}
/**
* @return string
*/
public function getMobileDeviceId()
{
return $this->mobileDeviceId;
}
/**
* Whether the conversion was for a non personalized ad.
*
* @param bool $nonPersonalizedAd
*/
public function setNonPersonalizedAd($nonPersonalizedAd)
{
$this->nonPersonalizedAd = $nonPersonalizedAd;
}
/**
* @return bool
*/
public function getNonPersonalizedAd()
{
return $this->nonPersonalizedAd;
}
/**
* The ordinal of the conversion. Use this field to control how conversions of
* the same user and day are de-duplicated. This is a required field.
*
* @param string $ordinal
*/
public function setOrdinal($ordinal)
{
$this->ordinal = $ordinal;
}
/**
* @return string
*/
public function getOrdinal()
{
return $this->ordinal;
}
/**
* The quantity of the conversion. This is a required field.
*
* @param string $quantity
*/
public function setQuantity($quantity)
{
$this->quantity = $quantity;
}
/**
* @return string
*/
public function getQuantity()
{
return $this->quantity;
}
/**
* Session attributes for the conversion, encoded as based64 bytes. This field
* may only be used when calling batchinsert; it is not supported by
* batchupdate.
*
* @param string $sessionAttributesEncoded
*/
public function setSessionAttributesEncoded($sessionAttributesEncoded)
{
$this->sessionAttributesEncoded = $sessionAttributesEncoded;
}
/**
* @return string
*/
public function getSessionAttributesEncoded()
{
return $this->sessionAttributesEncoded;
}
/**
* The timestamp of conversion, in Unix epoch micros. This is a required
* field.
*
* @param string $timestampMicros
*/
public function setTimestampMicros($timestampMicros)
{
$this->timestampMicros = $timestampMicros;
}
/**
* @return string
*/
public function getTimestampMicros()
{
return $this->timestampMicros;
}
/**
* Whether this particular request may come from a user under the age of 16
* (may differ by country), under compliance with the European Union's General
* Data Protection Regulation (GDPR).
*
* @param bool $treatmentForUnderage
*/
public function setTreatmentForUnderage($treatmentForUnderage)
{
$this->treatmentForUnderage = $treatmentForUnderage;
}
/**
* @return bool
*/
public function getTreatmentForUnderage()
{
return $this->treatmentForUnderage;
}
/**
* The user identifiers to enhance the conversion. The maximum number of user
* identifiers for each conversion is 5.
*
* @param UserIdentifier[] $userIdentifiers
*/
public function setUserIdentifiers($userIdentifiers)
{
$this->userIdentifiers = $userIdentifiers;
}
/**
* @return UserIdentifier[]
*/
public function getUserIdentifiers()
{
return $this->userIdentifiers;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Conversion::class, 'Google_Service_Dfareporting_Conversion');
@@ -0,0 +1,100 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class ConversionError extends \Google\Model
{
public const CODE_INVALID_ARGUMENT = 'INVALID_ARGUMENT';
public const CODE_INTERNAL = 'INTERNAL';
public const CODE_PERMISSION_DENIED = 'PERMISSION_DENIED';
public const CODE_NOT_FOUND = 'NOT_FOUND';
/**
* The error code.
*
* @var string
*/
public $code;
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#conversionError".
*
* @var string
*/
public $kind;
/**
* A description of the error.
*
* @var string
*/
public $message;
/**
* The error code.
*
* Accepted values: INVALID_ARGUMENT, INTERNAL, PERMISSION_DENIED, NOT_FOUND
*
* @param self::CODE_* $code
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return self::CODE_*
*/
public function getCode()
{
return $this->code;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#conversionError".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* A description of the error.
*
* @param string $message
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConversionError::class, 'Google_Service_Dfareporting_ConversionError');
@@ -0,0 +1,87 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class ConversionStatus extends \Google\Collection
{
protected $collection_key = 'errors';
protected $conversionType = Conversion::class;
protected $conversionDataType = '';
protected $errorsType = ConversionError::class;
protected $errorsDataType = 'array';
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#conversionStatus".
*
* @var string
*/
public $kind;
/**
* The original conversion that was inserted or updated.
*
* @param Conversion $conversion
*/
public function setConversion(Conversion $conversion)
{
$this->conversion = $conversion;
}
/**
* @return Conversion
*/
public function getConversion()
{
return $this->conversion;
}
/**
* A list of errors related to this conversion.
*
* @param ConversionError[] $errors
*/
public function setErrors($errors)
{
$this->errors = $errors;
}
/**
* @return ConversionError[]
*/
public function getErrors()
{
return $this->errors;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#conversionStatus".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConversionStatus::class, 'Google_Service_Dfareporting_ConversionStatus');
@@ -0,0 +1,89 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class ConversionsBatchInsertRequest extends \Google\Collection
{
protected $collection_key = 'conversions';
protected $conversionsType = Conversion::class;
protected $conversionsDataType = 'array';
protected $encryptionInfoType = EncryptionInfo::class;
protected $encryptionInfoDataType = '';
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#conversionsBatchInsertRequest".
*
* @var string
*/
public $kind;
/**
* The set of conversions to insert.
*
* @param Conversion[] $conversions
*/
public function setConversions($conversions)
{
$this->conversions = $conversions;
}
/**
* @return Conversion[]
*/
public function getConversions()
{
return $this->conversions;
}
/**
* Describes how encryptedUserId or encryptedUserIdCandidates[] is encrypted.
* This is a required field if encryptedUserId or encryptedUserIdCandidates[]
* is used.
*
* @param EncryptionInfo $encryptionInfo
*/
public function setEncryptionInfo(EncryptionInfo $encryptionInfo)
{
$this->encryptionInfo = $encryptionInfo;
}
/**
* @return EncryptionInfo
*/
public function getEncryptionInfo()
{
return $this->encryptionInfo;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#conversionsBatchInsertRequest".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConversionsBatchInsertRequest::class, 'Google_Service_Dfareporting_ConversionsBatchInsertRequest');
@@ -0,0 +1,92 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class ConversionsBatchInsertResponse extends \Google\Collection
{
protected $collection_key = 'status';
/**
* Indicates that some or all conversions failed to insert.
*
* @var bool
*/
public $hasFailures;
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#conversionsBatchInsertResponse".
*
* @var string
*/
public $kind;
protected $statusType = ConversionStatus::class;
protected $statusDataType = 'array';
/**
* Indicates that some or all conversions failed to insert.
*
* @param bool $hasFailures
*/
public function setHasFailures($hasFailures)
{
$this->hasFailures = $hasFailures;
}
/**
* @return bool
*/
public function getHasFailures()
{
return $this->hasFailures;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#conversionsBatchInsertResponse".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* The insert status of each conversion. Statuses are returned in the same
* order that conversions are inserted.
*
* @param ConversionStatus[] $status
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return ConversionStatus[]
*/
public function getStatus()
{
return $this->status;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConversionsBatchInsertResponse::class, 'Google_Service_Dfareporting_ConversionsBatchInsertResponse');
@@ -0,0 +1,88 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class ConversionsBatchUpdateRequest extends \Google\Collection
{
protected $collection_key = 'conversions';
protected $conversionsType = Conversion::class;
protected $conversionsDataType = 'array';
protected $encryptionInfoType = EncryptionInfo::class;
protected $encryptionInfoDataType = '';
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#conversionsBatchUpdateRequest".
*
* @var string
*/
public $kind;
/**
* The set of conversions to update.
*
* @param Conversion[] $conversions
*/
public function setConversions($conversions)
{
$this->conversions = $conversions;
}
/**
* @return Conversion[]
*/
public function getConversions()
{
return $this->conversions;
}
/**
* Describes how encryptedUserId is encrypted. This is a required field if
* encryptedUserId is used.
*
* @param EncryptionInfo $encryptionInfo
*/
public function setEncryptionInfo(EncryptionInfo $encryptionInfo)
{
$this->encryptionInfo = $encryptionInfo;
}
/**
* @return EncryptionInfo
*/
public function getEncryptionInfo()
{
return $this->encryptionInfo;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#conversionsBatchUpdateRequest".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConversionsBatchUpdateRequest::class, 'Google_Service_Dfareporting_ConversionsBatchUpdateRequest');
@@ -0,0 +1,92 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class ConversionsBatchUpdateResponse extends \Google\Collection
{
protected $collection_key = 'status';
/**
* Indicates that some or all conversions failed to update.
*
* @var bool
*/
public $hasFailures;
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#conversionsBatchUpdateResponse".
*
* @var string
*/
public $kind;
protected $statusType = ConversionStatus::class;
protected $statusDataType = 'array';
/**
* Indicates that some or all conversions failed to update.
*
* @param bool $hasFailures
*/
public function setHasFailures($hasFailures)
{
$this->hasFailures = $hasFailures;
}
/**
* @return bool
*/
public function getHasFailures()
{
return $this->hasFailures;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#conversionsBatchUpdateResponse".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* The update status of each conversion. Statuses are returned in the same
* order that conversions are updated.
*
* @param ConversionStatus[] $status
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return ConversionStatus[]
*/
public function getStatus()
{
return $this->status;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConversionsBatchUpdateResponse::class, 'Google_Service_Dfareporting_ConversionsBatchUpdateResponse');
@@ -0,0 +1,69 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class CountriesListResponse extends \Google\Collection
{
protected $collection_key = 'countries';
protected $countriesType = Country::class;
protected $countriesDataType = 'array';
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#countriesListResponse".
*
* @var string
*/
public $kind;
/**
* Country collection.
*
* @param Country[] $countries
*/
public function setCountries($countries)
{
$this->countries = $countries;
}
/**
* @return Country[]
*/
public function getCountries()
{
return $this->countries;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#countriesListResponse".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CountriesListResponse::class, 'Google_Service_Dfareporting_CountriesListResponse');
@@ -0,0 +1,163 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class Country extends \Google\Collection
{
protected $collection_key = 'tvDataProviders';
/**
* Country code.
*
* @var string
*/
public $countryCode;
/**
* DART ID of this country. This is the ID used for targeting and generating
* reports.
*
* @var string
*/
public $dartId;
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#country".
*
* @var string
*/
public $kind;
/**
* Name of this country.
*
* @var string
*/
public $name;
/**
* Whether ad serving supports secure servers in this country.
*
* @var bool
*/
public $sslEnabled;
/**
* Output only. The TV data providers supported in this country.
*
* @var string[]
*/
public $tvDataProviders;
/**
* Country code.
*
* @param string $countryCode
*/
public function setCountryCode($countryCode)
{
$this->countryCode = $countryCode;
}
/**
* @return string
*/
public function getCountryCode()
{
return $this->countryCode;
}
/**
* DART ID of this country. This is the ID used for targeting and generating
* reports.
*
* @param string $dartId
*/
public function setDartId($dartId)
{
$this->dartId = $dartId;
}
/**
* @return string
*/
public function getDartId()
{
return $this->dartId;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#country".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Name of this country.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Whether ad serving supports secure servers in this country.
*
* @param bool $sslEnabled
*/
public function setSslEnabled($sslEnabled)
{
$this->sslEnabled = $sslEnabled;
}
/**
* @return bool
*/
public function getSslEnabled()
{
return $this->sslEnabled;
}
/**
* Output only. The TV data providers supported in this country.
*
* @param string[] $tvDataProviders
*/
public function setTvDataProviders($tvDataProviders)
{
$this->tvDataProviders = $tvDataProviders;
}
/**
* @return string[]
*/
public function getTvDataProviders()
{
return $this->tvDataProviders;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Country::class, 'Google_Service_Dfareporting_Country');
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,86 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class CreativeAssetId extends \Google\Model
{
public const TYPE_IMAGE = 'IMAGE';
public const TYPE_FLASH = 'FLASH';
public const TYPE_VIDEO = 'VIDEO';
public const TYPE_HTML = 'HTML';
public const TYPE_HTML_IMAGE = 'HTML_IMAGE';
public const TYPE_AUDIO = 'AUDIO';
/**
* Name of the creative asset. This is a required field while inserting an
* asset. After insertion, this assetIdentifier is used to identify the
* uploaded asset. Characters in the name must be alphanumeric or one of the
* following: ".-_ ". Spaces are allowed.
*
* @var string
*/
public $name;
/**
* Type of asset to upload. This is a required field. FLASH and IMAGE are no
* longer supported for new uploads. All image assets should use HTML_IMAGE.
*
* @var string
*/
public $type;
/**
* Name of the creative asset. This is a required field while inserting an
* asset. After insertion, this assetIdentifier is used to identify the
* uploaded asset. Characters in the name must be alphanumeric or one of the
* following: ".-_ ". Spaces are allowed.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Type of asset to upload. This is a required field. FLASH and IMAGE are no
* longer supported for new uploads. All image assets should use HTML_IMAGE.
*
* Accepted values: IMAGE, FLASH, VIDEO, HTML, HTML_IMAGE, AUDIO
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreativeAssetId::class, 'Google_Service_Dfareporting_CreativeAssetId');
@@ -0,0 +1,280 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class CreativeAssetMetadata extends \Google\Collection
{
protected $collection_key = 'warnedValidationRules';
protected $assetIdentifierType = CreativeAssetId::class;
protected $assetIdentifierDataType = '';
protected $clickTagsType = ClickTag::class;
protected $clickTagsDataType = 'array';
protected $counterCustomEventsType = CreativeCustomEvent::class;
protected $counterCustomEventsDataType = 'array';
/**
* List of feature dependencies for the creative asset that are detected by
* Campaign Manager. Feature dependencies are features that a browser must be
* able to support in order to render your HTML5 creative correctly. This is a
* read-only, auto-generated field.
*
* @var string[]
*/
public $detectedFeatures;
protected $exitCustomEventsType = CreativeCustomEvent::class;
protected $exitCustomEventsDataType = 'array';
/**
* Numeric ID of the asset. This is a read-only, auto-generated field.
*
* @var string
*/
public $id;
protected $idDimensionValueType = DimensionValue::class;
protected $idDimensionValueDataType = '';
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#creativeAssetMetadata".
*
* @var string
*/
public $kind;
/**
* True if the uploaded asset is a rich media asset. This is a read-only,
* auto-generated field.
*
* @var bool
*/
public $richMedia;
protected $timerCustomEventsType = CreativeCustomEvent::class;
protected $timerCustomEventsDataType = 'array';
/**
* Rules validated during code generation that generated a warning. This is a
* read-only, auto-generated field. Possible values are: - "ADMOB_REFERENCED"
* - "ASSET_FORMAT_UNSUPPORTED_DCM" - "ASSET_INVALID" - "CLICK_TAG_HARD_CODED"
* - "CLICK_TAG_INVALID" - "CLICK_TAG_IN_GWD" - "CLICK_TAG_MISSING" -
* "CLICK_TAG_MORE_THAN_ONE" - "CLICK_TAG_NON_TOP_LEVEL" -
* "COMPONENT_UNSUPPORTED_DCM" - "ENABLER_UNSUPPORTED_METHOD_DCM" -
* "EXTERNAL_FILE_REFERENCED" - "FILE_DETAIL_EMPTY" - "FILE_TYPE_INVALID" -
* "GWD_PROPERTIES_INVALID" - "HTML5_FEATURE_UNSUPPORTED" -
* "LINKED_FILE_NOT_FOUND" - "MAX_FLASH_VERSION_11" - "MRAID_REFERENCED" -
* "NOT_SSL_COMPLIANT" - "ORPHANED_ASSET" - "PRIMARY_HTML_MISSING" -
* "SVG_INVALID" - "ZIP_INVALID"
*
* @var string[]
*/
public $warnedValidationRules;
/**
* ID of the creative asset. This is a required field.
*
* @param CreativeAssetId $assetIdentifier
*/
public function setAssetIdentifier(CreativeAssetId $assetIdentifier)
{
$this->assetIdentifier = $assetIdentifier;
}
/**
* @return CreativeAssetId
*/
public function getAssetIdentifier()
{
return $this->assetIdentifier;
}
/**
* List of detected click tags for assets. This is a read-only, auto-generated
* field. This field is empty for a rich media asset.
*
* @param ClickTag[] $clickTags
*/
public function setClickTags($clickTags)
{
$this->clickTags = $clickTags;
}
/**
* @return ClickTag[]
*/
public function getClickTags()
{
return $this->clickTags;
}
/**
* List of counter events configured for the asset. This is a read-only, auto-
* generated field and only applicable to a rich media asset.
*
* @param CreativeCustomEvent[] $counterCustomEvents
*/
public function setCounterCustomEvents($counterCustomEvents)
{
$this->counterCustomEvents = $counterCustomEvents;
}
/**
* @return CreativeCustomEvent[]
*/
public function getCounterCustomEvents()
{
return $this->counterCustomEvents;
}
/**
* List of feature dependencies for the creative asset that are detected by
* Campaign Manager. Feature dependencies are features that a browser must be
* able to support in order to render your HTML5 creative correctly. This is a
* read-only, auto-generated field.
*
* @param string[] $detectedFeatures
*/
public function setDetectedFeatures($detectedFeatures)
{
$this->detectedFeatures = $detectedFeatures;
}
/**
* @return string[]
*/
public function getDetectedFeatures()
{
return $this->detectedFeatures;
}
/**
* List of exit events configured for the asset. This is a read-only, auto-
* generated field and only applicable to a rich media asset.
*
* @param CreativeCustomEvent[] $exitCustomEvents
*/
public function setExitCustomEvents($exitCustomEvents)
{
$this->exitCustomEvents = $exitCustomEvents;
}
/**
* @return CreativeCustomEvent[]
*/
public function getExitCustomEvents()
{
return $this->exitCustomEvents;
}
/**
* Numeric ID of the asset. This is a read-only, auto-generated field.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Dimension value for the numeric ID of the asset. This is a read-only, auto-
* generated field.
*
* @param DimensionValue $idDimensionValue
*/
public function setIdDimensionValue(DimensionValue $idDimensionValue)
{
$this->idDimensionValue = $idDimensionValue;
}
/**
* @return DimensionValue
*/
public function getIdDimensionValue()
{
return $this->idDimensionValue;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#creativeAssetMetadata".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* True if the uploaded asset is a rich media asset. This is a read-only,
* auto-generated field.
*
* @param bool $richMedia
*/
public function setRichMedia($richMedia)
{
$this->richMedia = $richMedia;
}
/**
* @return bool
*/
public function getRichMedia()
{
return $this->richMedia;
}
/**
* List of timer events configured for the asset. This is a read-only, auto-
* generated field and only applicable to a rich media asset.
*
* @param CreativeCustomEvent[] $timerCustomEvents
*/
public function setTimerCustomEvents($timerCustomEvents)
{
$this->timerCustomEvents = $timerCustomEvents;
}
/**
* @return CreativeCustomEvent[]
*/
public function getTimerCustomEvents()
{
return $this->timerCustomEvents;
}
/**
* Rules validated during code generation that generated a warning. This is a
* read-only, auto-generated field. Possible values are: - "ADMOB_REFERENCED"
* - "ASSET_FORMAT_UNSUPPORTED_DCM" - "ASSET_INVALID" - "CLICK_TAG_HARD_CODED"
* - "CLICK_TAG_INVALID" - "CLICK_TAG_IN_GWD" - "CLICK_TAG_MISSING" -
* "CLICK_TAG_MORE_THAN_ONE" - "CLICK_TAG_NON_TOP_LEVEL" -
* "COMPONENT_UNSUPPORTED_DCM" - "ENABLER_UNSUPPORTED_METHOD_DCM" -
* "EXTERNAL_FILE_REFERENCED" - "FILE_DETAIL_EMPTY" - "FILE_TYPE_INVALID" -
* "GWD_PROPERTIES_INVALID" - "HTML5_FEATURE_UNSUPPORTED" -
* "LINKED_FILE_NOT_FOUND" - "MAX_FLASH_VERSION_11" - "MRAID_REFERENCED" -
* "NOT_SSL_COMPLIANT" - "ORPHANED_ASSET" - "PRIMARY_HTML_MISSING" -
* "SVG_INVALID" - "ZIP_INVALID"
*
* @param string[] $warnedValidationRules
*/
public function setWarnedValidationRules($warnedValidationRules)
{
$this->warnedValidationRules = $warnedValidationRules;
}
/**
* @return string[]
*/
public function getWarnedValidationRules()
{
return $this->warnedValidationRules;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreativeAssetMetadata::class, 'Google_Service_Dfareporting_CreativeAssetMetadata');
@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class CreativeAssetSelection extends \Google\Collection
{
protected $collection_key = 'rules';
/**
* @var string
*/
public $defaultAssetId;
protected $rulesType = Rule::class;
protected $rulesDataType = 'array';
/**
* @param string
*/
public function setDefaultAssetId($defaultAssetId)
{
$this->defaultAssetId = $defaultAssetId;
}
/**
* @return string
*/
public function getDefaultAssetId()
{
return $this->defaultAssetId;
}
/**
* @param Rule[]
*/
public function setRules($rules)
{
$this->rules = $rules;
}
/**
* @return Rule[]
*/
public function getRules()
{
return $this->rules;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreativeAssetSelection::class, 'Google_Service_Dfareporting_CreativeAssetSelection');
@@ -0,0 +1,310 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class CreativeAssignment extends \Google\Collection
{
protected $collection_key = 'richMediaExitOverrides';
/**
* Whether this creative assignment is active. When true, the creative will be
* included in the ad's rotation.
*
* @var bool
*/
public $active;
/**
* Whether applicable event tags should fire when this creative assignment is
* rendered. If this value is unset when the ad is inserted or updated, it
* will default to true for all creative types EXCEPT for INTERNAL_REDIRECT,
* INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO.
*
* @var bool
*/
public $applyEventTags;
protected $clickThroughUrlType = ClickThroughUrl::class;
protected $clickThroughUrlDataType = '';
protected $companionCreativeOverridesType = CompanionClickThroughOverride::class;
protected $companionCreativeOverridesDataType = 'array';
protected $creativeGroupAssignmentsType = CreativeGroupAssignment::class;
protected $creativeGroupAssignmentsDataType = 'array';
/**
* ID of the creative to be assigned. This is a required field.
*
* @var string
*/
public $creativeId;
protected $creativeIdDimensionValueType = DimensionValue::class;
protected $creativeIdDimensionValueDataType = '';
/**
* @var string
*/
public $endTime;
protected $richMediaExitOverridesType = RichMediaExitOverride::class;
protected $richMediaExitOverridesDataType = 'array';
/**
* Sequence number of the creative assignment, applicable when the rotation
* type is CREATIVE_ROTATION_TYPE_SEQUENTIAL. Acceptable values are 1 to
* 65535, inclusive.
*
* @var int
*/
public $sequence;
/**
* Whether the creative to be assigned is SSL-compliant. This is a read-only
* field that is auto-generated when the ad is inserted or updated.
*
* @var bool
*/
public $sslCompliant;
/**
* @var string
*/
public $startTime;
/**
* Weight of the creative assignment, applicable when the rotation type is
* CREATIVE_ROTATION_TYPE_RANDOM. Value must be greater than or equal to 1.
*
* @var int
*/
public $weight;
/**
* Whether this creative assignment is active. When true, the creative will be
* included in the ad's rotation.
*
* @param bool $active
*/
public function setActive($active)
{
$this->active = $active;
}
/**
* @return bool
*/
public function getActive()
{
return $this->active;
}
/**
* Whether applicable event tags should fire when this creative assignment is
* rendered. If this value is unset when the ad is inserted or updated, it
* will default to true for all creative types EXCEPT for INTERNAL_REDIRECT,
* INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO.
*
* @param bool $applyEventTags
*/
public function setApplyEventTags($applyEventTags)
{
$this->applyEventTags = $applyEventTags;
}
/**
* @return bool
*/
public function getApplyEventTags()
{
return $this->applyEventTags;
}
/**
* Click-through URL of the creative assignment.
*
* @param ClickThroughUrl $clickThroughUrl
*/
public function setClickThroughUrl(ClickThroughUrl $clickThroughUrl)
{
$this->clickThroughUrl = $clickThroughUrl;
}
/**
* @return ClickThroughUrl
*/
public function getClickThroughUrl()
{
return $this->clickThroughUrl;
}
/**
* Companion creative overrides for this creative assignment. Applicable to
* video ads.
*
* @param CompanionClickThroughOverride[] $companionCreativeOverrides
*/
public function setCompanionCreativeOverrides($companionCreativeOverrides)
{
$this->companionCreativeOverrides = $companionCreativeOverrides;
}
/**
* @return CompanionClickThroughOverride[]
*/
public function getCompanionCreativeOverrides()
{
return $this->companionCreativeOverrides;
}
/**
* Creative group assignments for this creative assignment. Only one
* assignment per creative group number is allowed for a maximum of two
* assignments.
*
* @param CreativeGroupAssignment[] $creativeGroupAssignments
*/
public function setCreativeGroupAssignments($creativeGroupAssignments)
{
$this->creativeGroupAssignments = $creativeGroupAssignments;
}
/**
* @return CreativeGroupAssignment[]
*/
public function getCreativeGroupAssignments()
{
return $this->creativeGroupAssignments;
}
/**
* ID of the creative to be assigned. This is a required field.
*
* @param string $creativeId
*/
public function setCreativeId($creativeId)
{
$this->creativeId = $creativeId;
}
/**
* @return string
*/
public function getCreativeId()
{
return $this->creativeId;
}
/**
* Dimension value for the ID of the creative. This is a read-only, auto-
* generated field.
*
* @param DimensionValue $creativeIdDimensionValue
*/
public function setCreativeIdDimensionValue(DimensionValue $creativeIdDimensionValue)
{
$this->creativeIdDimensionValue = $creativeIdDimensionValue;
}
/**
* @return DimensionValue
*/
public function getCreativeIdDimensionValue()
{
return $this->creativeIdDimensionValue;
}
/**
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Rich media exit overrides for this creative assignment. Applicable when the
* creative type is any of the following: - DISPLAY - RICH_MEDIA_INPAGE -
* RICH_MEDIA_INPAGE_FLOATING - RICH_MEDIA_IM_EXPAND - RICH_MEDIA_EXPANDING -
* RICH_MEDIA_INTERSTITIAL_FLOAT - RICH_MEDIA_MOBILE_IN_APP -
* RICH_MEDIA_MULTI_FLOATING - RICH_MEDIA_PEEL_DOWN - VPAID_LINEAR -
* VPAID_NON_LINEAR
*
* @param RichMediaExitOverride[] $richMediaExitOverrides
*/
public function setRichMediaExitOverrides($richMediaExitOverrides)
{
$this->richMediaExitOverrides = $richMediaExitOverrides;
}
/**
* @return RichMediaExitOverride[]
*/
public function getRichMediaExitOverrides()
{
return $this->richMediaExitOverrides;
}
/**
* Sequence number of the creative assignment, applicable when the rotation
* type is CREATIVE_ROTATION_TYPE_SEQUENTIAL. Acceptable values are 1 to
* 65535, inclusive.
*
* @param int $sequence
*/
public function setSequence($sequence)
{
$this->sequence = $sequence;
}
/**
* @return int
*/
public function getSequence()
{
return $this->sequence;
}
/**
* Whether the creative to be assigned is SSL-compliant. This is a read-only
* field that is auto-generated when the ad is inserted or updated.
*
* @param bool $sslCompliant
*/
public function setSslCompliant($sslCompliant)
{
$this->sslCompliant = $sslCompliant;
}
/**
* @return bool
*/
public function getSslCompliant()
{
return $this->sslCompliant;
}
/**
* @param string $startTime
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* Weight of the creative assignment, applicable when the rotation type is
* CREATIVE_ROTATION_TYPE_RANDOM. Value must be greater than or equal to 1.
*
* @param int $weight
*/
public function setWeight($weight)
{
$this->weight = $weight;
}
/**
* @return int
*/
public function getWeight()
{
return $this->weight;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreativeAssignment::class, 'Google_Service_Dfareporting_CreativeAssignment');
@@ -0,0 +1,100 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class CreativeClickThroughUrl extends \Google\Model
{
/**
* Read-only convenience field representing the actual URL that will be used
* for this click-through. The URL is computed as follows: - If landingPageId
* is specified then that landing page's URL is assigned to this field. -
* Otherwise, the customClickThroughUrl is assigned to this field.
*
* @var string
*/
public $computedClickThroughUrl;
/**
* Custom click-through URL. Applicable if the landingPageId field is left
* unset.
*
* @var string
*/
public $customClickThroughUrl;
/**
* ID of the landing page for the click-through URL.
*
* @var string
*/
public $landingPageId;
/**
* Read-only convenience field representing the actual URL that will be used
* for this click-through. The URL is computed as follows: - If landingPageId
* is specified then that landing page's URL is assigned to this field. -
* Otherwise, the customClickThroughUrl is assigned to this field.
*
* @param string $computedClickThroughUrl
*/
public function setComputedClickThroughUrl($computedClickThroughUrl)
{
$this->computedClickThroughUrl = $computedClickThroughUrl;
}
/**
* @return string
*/
public function getComputedClickThroughUrl()
{
return $this->computedClickThroughUrl;
}
/**
* Custom click-through URL. Applicable if the landingPageId field is left
* unset.
*
* @param string $customClickThroughUrl
*/
public function setCustomClickThroughUrl($customClickThroughUrl)
{
$this->customClickThroughUrl = $customClickThroughUrl;
}
/**
* @return string
*/
public function getCustomClickThroughUrl()
{
return $this->customClickThroughUrl;
}
/**
* ID of the landing page for the click-through URL.
*
* @param string $landingPageId
*/
public function setLandingPageId($landingPageId)
{
$this->landingPageId = $landingPageId;
}
/**
* @return string
*/
public function getLandingPageId()
{
return $this->landingPageId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreativeClickThroughUrl::class, 'Google_Service_Dfareporting_CreativeClickThroughUrl');
@@ -0,0 +1,298 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class CreativeCustomEvent extends \Google\Model
{
public const ADVERTISER_CUSTOM_EVENT_TYPE_ADVERTISER_EVENT_TIMER = 'ADVERTISER_EVENT_TIMER';
public const ADVERTISER_CUSTOM_EVENT_TYPE_ADVERTISER_EVENT_EXIT = 'ADVERTISER_EVENT_EXIT';
public const ADVERTISER_CUSTOM_EVENT_TYPE_ADVERTISER_EVENT_COUNTER = 'ADVERTISER_EVENT_COUNTER';
/**
* The creative is a Flash creative.
*/
public const ARTWORK_TYPE_ARTWORK_TYPE_FLASH = 'ARTWORK_TYPE_FLASH';
/**
* The creative is HTML5.
*/
public const ARTWORK_TYPE_ARTWORK_TYPE_HTML5 = 'ARTWORK_TYPE_HTML5';
/**
* The creative is HTML5 if available, Flash otherwise.
*/
public const ARTWORK_TYPE_ARTWORK_TYPE_MIXED = 'ARTWORK_TYPE_MIXED';
/**
* The creative is Image.
*/
public const ARTWORK_TYPE_ARTWORK_TYPE_IMAGE = 'ARTWORK_TYPE_IMAGE';
/**
* New tab
*/
public const TARGET_TYPE_TARGET_BLANK = 'TARGET_BLANK';
/**
* Current tab
*/
public const TARGET_TYPE_TARGET_TOP = 'TARGET_TOP';
/**
* Same frame
*/
public const TARGET_TYPE_TARGET_SELF = 'TARGET_SELF';
/**
* Parent frame
*/
public const TARGET_TYPE_TARGET_PARENT = 'TARGET_PARENT';
/**
* New window with properties specified in window_properties
*/
public const TARGET_TYPE_TARGET_POPUP = 'TARGET_POPUP';
/**
* Unique ID of this event used by Reporting and Data Transfer. This is a
* read-only field.
*
* @var string
*/
public $advertiserCustomEventId;
/**
* User-entered name for the event.
*
* @var string
*/
public $advertiserCustomEventName;
/**
* Type of the event. This is a read-only field.
*
* @var string
*/
public $advertiserCustomEventType;
/**
* Artwork label column, used to link events in Campaign Manager back to
* events in Studio. This is a required field and should not be modified after
* insertion.
*
* @var string
*/
public $artworkLabel;
/**
* Artwork type used by the creative.This is a read-only field.
*
* @var string
*/
public $artworkType;
protected $exitClickThroughUrlType = CreativeClickThroughUrl::class;
protected $exitClickThroughUrlDataType = '';
/**
* ID of this event. This is a required field and should not be modified after
* insertion.
*
* @var string
*/
public $id;
protected $popupWindowPropertiesType = PopupWindowProperties::class;
protected $popupWindowPropertiesDataType = '';
/**
* Target type used by the event.
*
* @var string
*/
public $targetType;
/**
* Video reporting ID, used to differentiate multiple videos in a single
* creative. This is a read-only field.
*
* @var string
*/
public $videoReportingId;
/**
* Unique ID of this event used by Reporting and Data Transfer. This is a
* read-only field.
*
* @param string $advertiserCustomEventId
*/
public function setAdvertiserCustomEventId($advertiserCustomEventId)
{
$this->advertiserCustomEventId = $advertiserCustomEventId;
}
/**
* @return string
*/
public function getAdvertiserCustomEventId()
{
return $this->advertiserCustomEventId;
}
/**
* User-entered name for the event.
*
* @param string $advertiserCustomEventName
*/
public function setAdvertiserCustomEventName($advertiserCustomEventName)
{
$this->advertiserCustomEventName = $advertiserCustomEventName;
}
/**
* @return string
*/
public function getAdvertiserCustomEventName()
{
return $this->advertiserCustomEventName;
}
/**
* Type of the event. This is a read-only field.
*
* Accepted values: ADVERTISER_EVENT_TIMER, ADVERTISER_EVENT_EXIT,
* ADVERTISER_EVENT_COUNTER
*
* @param self::ADVERTISER_CUSTOM_EVENT_TYPE_* $advertiserCustomEventType
*/
public function setAdvertiserCustomEventType($advertiserCustomEventType)
{
$this->advertiserCustomEventType = $advertiserCustomEventType;
}
/**
* @return self::ADVERTISER_CUSTOM_EVENT_TYPE_*
*/
public function getAdvertiserCustomEventType()
{
return $this->advertiserCustomEventType;
}
/**
* Artwork label column, used to link events in Campaign Manager back to
* events in Studio. This is a required field and should not be modified after
* insertion.
*
* @param string $artworkLabel
*/
public function setArtworkLabel($artworkLabel)
{
$this->artworkLabel = $artworkLabel;
}
/**
* @return string
*/
public function getArtworkLabel()
{
return $this->artworkLabel;
}
/**
* Artwork type used by the creative.This is a read-only field.
*
* Accepted values: ARTWORK_TYPE_FLASH, ARTWORK_TYPE_HTML5,
* ARTWORK_TYPE_MIXED, ARTWORK_TYPE_IMAGE
*
* @param self::ARTWORK_TYPE_* $artworkType
*/
public function setArtworkType($artworkType)
{
$this->artworkType = $artworkType;
}
/**
* @return self::ARTWORK_TYPE_*
*/
public function getArtworkType()
{
return $this->artworkType;
}
/**
* Exit click-through URL for the event. This field is used only for exit
* events.
*
* @param CreativeClickThroughUrl $exitClickThroughUrl
*/
public function setExitClickThroughUrl(CreativeClickThroughUrl $exitClickThroughUrl)
{
$this->exitClickThroughUrl = $exitClickThroughUrl;
}
/**
* @return CreativeClickThroughUrl
*/
public function getExitClickThroughUrl()
{
return $this->exitClickThroughUrl;
}
/**
* ID of this event. This is a required field and should not be modified after
* insertion.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Properties for rich media popup windows. This field is used only for exit
* events.
*
* @param PopupWindowProperties $popupWindowProperties
*/
public function setPopupWindowProperties(PopupWindowProperties $popupWindowProperties)
{
$this->popupWindowProperties = $popupWindowProperties;
}
/**
* @return PopupWindowProperties
*/
public function getPopupWindowProperties()
{
return $this->popupWindowProperties;
}
/**
* Target type used by the event.
*
* Accepted values: TARGET_BLANK, TARGET_TOP, TARGET_SELF, TARGET_PARENT,
* TARGET_POPUP
*
* @param self::TARGET_TYPE_* $targetType
*/
public function setTargetType($targetType)
{
$this->targetType = $targetType;
}
/**
* @return self::TARGET_TYPE_*
*/
public function getTargetType()
{
return $this->targetType;
}
/**
* Video reporting ID, used to differentiate multiple videos in a single
* creative. This is a read-only field.
*
* @param string $videoReportingId
*/
public function setVideoReportingId($videoReportingId)
{
$this->videoReportingId = $videoReportingId;
}
/**
* @return string
*/
public function getVideoReportingId()
{
return $this->videoReportingId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreativeCustomEvent::class, 'Google_Service_Dfareporting_CreativeCustomEvent');
@@ -0,0 +1,189 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class CreativeField extends \Google\Model
{
/**
* Account ID of this creative field. This is a read-only field that can be
* left blank.
*
* @var string
*/
public $accountId;
/**
* Advertiser ID of this creative field. This is a required field on
* insertion.
*
* @var string
*/
public $advertiserId;
protected $advertiserIdDimensionValueType = DimensionValue::class;
protected $advertiserIdDimensionValueDataType = '';
/**
* ID of this creative field. This is a read-only, auto-generated field.
*
* @var string
*/
public $id;
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#creativeField".
*
* @var string
*/
public $kind;
/**
* Name of this creative field. This is a required field and must be less than
* 256 characters long and unique among creative fields of the same
* advertiser.
*
* @var string
*/
public $name;
/**
* Subaccount ID of this creative field. This is a read-only field that can be
* left blank.
*
* @var string
*/
public $subaccountId;
/**
* Account ID of this creative field. This is a read-only field that can be
* left blank.
*
* @param string $accountId
*/
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
/**
* @return string
*/
public function getAccountId()
{
return $this->accountId;
}
/**
* Advertiser ID of this creative field. This is a required field on
* insertion.
*
* @param string $advertiserId
*/
public function setAdvertiserId($advertiserId)
{
$this->advertiserId = $advertiserId;
}
/**
* @return string
*/
public function getAdvertiserId()
{
return $this->advertiserId;
}
/**
* Dimension value for the ID of the advertiser. This is a read-only, auto-
* generated field.
*
* @param DimensionValue $advertiserIdDimensionValue
*/
public function setAdvertiserIdDimensionValue(DimensionValue $advertiserIdDimensionValue)
{
$this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
}
/**
* @return DimensionValue
*/
public function getAdvertiserIdDimensionValue()
{
return $this->advertiserIdDimensionValue;
}
/**
* ID of this creative field. This is a read-only, auto-generated field.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#creativeField".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Name of this creative field. This is a required field and must be less than
* 256 characters long and unique among creative fields of the same
* advertiser.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Subaccount ID of this creative field. This is a read-only field that can be
* left blank.
*
* @param string $subaccountId
*/
public function setSubaccountId($subaccountId)
{
$this->subaccountId = $subaccountId;
}
/**
* @return string
*/
public function getSubaccountId()
{
return $this->subaccountId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreativeField::class, 'Google_Service_Dfareporting_CreativeField');
@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class CreativeFieldAssignment extends \Google\Model
{
/**
* ID of the creative field.
*
* @var string
*/
public $creativeFieldId;
/**
* ID of the creative field value.
*
* @var string
*/
public $creativeFieldValueId;
/**
* ID of the creative field.
*
* @param string $creativeFieldId
*/
public function setCreativeFieldId($creativeFieldId)
{
$this->creativeFieldId = $creativeFieldId;
}
/**
* @return string
*/
public function getCreativeFieldId()
{
return $this->creativeFieldId;
}
/**
* ID of the creative field value.
*
* @param string $creativeFieldValueId
*/
public function setCreativeFieldValueId($creativeFieldValueId)
{
$this->creativeFieldValueId = $creativeFieldValueId;
}
/**
* @return string
*/
public function getCreativeFieldValueId()
{
return $this->creativeFieldValueId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreativeFieldAssignment::class, 'Google_Service_Dfareporting_CreativeFieldAssignment');
@@ -0,0 +1,96 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class CreativeFieldValue extends \Google\Model
{
/**
* ID of this creative field value. This is a read-only, auto-generated field.
*
* @var string
*/
public $id;
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#creativeFieldValue".
*
* @var string
*/
public $kind;
/**
* Value of this creative field value. It needs to be less than 256 characters
* in length and unique per creative field.
*
* @var string
*/
public $value;
/**
* ID of this creative field value. This is a read-only, auto-generated field.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#creativeFieldValue".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Value of this creative field value. It needs to be less than 256 characters
* in length and unique per creative field.
*
* @param string $value
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreativeFieldValue::class, 'Google_Service_Dfareporting_CreativeFieldValue');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class CreativeFieldValuesListResponse extends \Google\Collection
{
protected $collection_key = 'creativeFieldValues';
protected $creativeFieldValuesType = CreativeFieldValue::class;
protected $creativeFieldValuesDataType = 'array';
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#creativeFieldValuesListResponse".
*
* @var string
*/
public $kind;
/**
* Pagination token to be used for the next list operation.
*
* @var string
*/
public $nextPageToken;
/**
* Creative field value collection.
*
* @param CreativeFieldValue[] $creativeFieldValues
*/
public function setCreativeFieldValues($creativeFieldValues)
{
$this->creativeFieldValues = $creativeFieldValues;
}
/**
* @return CreativeFieldValue[]
*/
public function getCreativeFieldValues()
{
return $this->creativeFieldValues;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#creativeFieldValuesListResponse".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Pagination token to be used for the next list operation.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreativeFieldValuesListResponse::class, 'Google_Service_Dfareporting_CreativeFieldValuesListResponse');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class CreativeFieldsListResponse extends \Google\Collection
{
protected $collection_key = 'creativeFields';
protected $creativeFieldsType = CreativeField::class;
protected $creativeFieldsDataType = 'array';
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#creativeFieldsListResponse".
*
* @var string
*/
public $kind;
/**
* Pagination token to be used for the next list operation.
*
* @var string
*/
public $nextPageToken;
/**
* Creative field collection.
*
* @param CreativeField[] $creativeFields
*/
public function setCreativeFields($creativeFields)
{
$this->creativeFields = $creativeFields;
}
/**
* @return CreativeField[]
*/
public function getCreativeFields()
{
return $this->creativeFields;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#creativeFieldsListResponse".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Pagination token to be used for the next list operation.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreativeFieldsListResponse::class, 'Google_Service_Dfareporting_CreativeFieldsListResponse');
@@ -0,0 +1,217 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class CreativeGroup extends \Google\Model
{
/**
* Account ID of this creative group. This is a read-only field that can be
* left blank.
*
* @var string
*/
public $accountId;
/**
* Advertiser ID of this creative group. This is a required field on
* insertion.
*
* @var string
*/
public $advertiserId;
protected $advertiserIdDimensionValueType = DimensionValue::class;
protected $advertiserIdDimensionValueDataType = '';
/**
* Subgroup of the creative group. Assign your creative groups to a subgroup
* in order to filter or manage them more easily. This field is required on
* insertion and is read-only after insertion. Acceptable values are 1 to 2,
* inclusive.
*
* @var int
*/
public $groupNumber;
/**
* ID of this creative group. This is a read-only, auto-generated field.
*
* @var string
*/
public $id;
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#creativeGroup".
*
* @var string
*/
public $kind;
/**
* Name of this creative group. This is a required field and must be less than
* 256 characters long and unique among creative groups of the same
* advertiser.
*
* @var string
*/
public $name;
/**
* Subaccount ID of this creative group. This is a read-only field that can be
* left blank.
*
* @var string
*/
public $subaccountId;
/**
* Account ID of this creative group. This is a read-only field that can be
* left blank.
*
* @param string $accountId
*/
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
/**
* @return string
*/
public function getAccountId()
{
return $this->accountId;
}
/**
* Advertiser ID of this creative group. This is a required field on
* insertion.
*
* @param string $advertiserId
*/
public function setAdvertiserId($advertiserId)
{
$this->advertiserId = $advertiserId;
}
/**
* @return string
*/
public function getAdvertiserId()
{
return $this->advertiserId;
}
/**
* Dimension value for the ID of the advertiser. This is a read-only, auto-
* generated field.
*
* @param DimensionValue $advertiserIdDimensionValue
*/
public function setAdvertiserIdDimensionValue(DimensionValue $advertiserIdDimensionValue)
{
$this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
}
/**
* @return DimensionValue
*/
public function getAdvertiserIdDimensionValue()
{
return $this->advertiserIdDimensionValue;
}
/**
* Subgroup of the creative group. Assign your creative groups to a subgroup
* in order to filter or manage them more easily. This field is required on
* insertion and is read-only after insertion. Acceptable values are 1 to 2,
* inclusive.
*
* @param int $groupNumber
*/
public function setGroupNumber($groupNumber)
{
$this->groupNumber = $groupNumber;
}
/**
* @return int
*/
public function getGroupNumber()
{
return $this->groupNumber;
}
/**
* ID of this creative group. This is a read-only, auto-generated field.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#creativeGroup".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Name of this creative group. This is a required field and must be less than
* 256 characters long and unique among creative groups of the same
* advertiser.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Subaccount ID of this creative group. This is a read-only field that can be
* left blank.
*
* @param string $subaccountId
*/
public function setSubaccountId($subaccountId)
{
$this->subaccountId = $subaccountId;
}
/**
* @return string
*/
public function getSubaccountId()
{
return $this->subaccountId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreativeGroup::class, 'Google_Service_Dfareporting_CreativeGroup');
@@ -0,0 +1,74 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class CreativeGroupAssignment extends \Google\Model
{
public const CREATIVE_GROUP_NUMBER_CREATIVE_GROUP_ONE = 'CREATIVE_GROUP_ONE';
public const CREATIVE_GROUP_NUMBER_CREATIVE_GROUP_TWO = 'CREATIVE_GROUP_TWO';
/**
* ID of the creative group to be assigned.
*
* @var string
*/
public $creativeGroupId;
/**
* Creative group number of the creative group assignment.
*
* @var string
*/
public $creativeGroupNumber;
/**
* ID of the creative group to be assigned.
*
* @param string $creativeGroupId
*/
public function setCreativeGroupId($creativeGroupId)
{
$this->creativeGroupId = $creativeGroupId;
}
/**
* @return string
*/
public function getCreativeGroupId()
{
return $this->creativeGroupId;
}
/**
* Creative group number of the creative group assignment.
*
* Accepted values: CREATIVE_GROUP_ONE, CREATIVE_GROUP_TWO
*
* @param self::CREATIVE_GROUP_NUMBER_* $creativeGroupNumber
*/
public function setCreativeGroupNumber($creativeGroupNumber)
{
$this->creativeGroupNumber = $creativeGroupNumber;
}
/**
* @return self::CREATIVE_GROUP_NUMBER_*
*/
public function getCreativeGroupNumber()
{
return $this->creativeGroupNumber;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreativeGroupAssignment::class, 'Google_Service_Dfareporting_CreativeGroupAssignment');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class CreativeGroupsListResponse extends \Google\Collection
{
protected $collection_key = 'creativeGroups';
protected $creativeGroupsType = CreativeGroup::class;
protected $creativeGroupsDataType = 'array';
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#creativeGroupsListResponse".
*
* @var string
*/
public $kind;
/**
* Pagination token to be used for the next list operation.
*
* @var string
*/
public $nextPageToken;
/**
* Creative group collection.
*
* @param CreativeGroup[] $creativeGroups
*/
public function setCreativeGroups($creativeGroups)
{
$this->creativeGroups = $creativeGroups;
}
/**
* @return CreativeGroup[]
*/
public function getCreativeGroups()
{
return $this->creativeGroups;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#creativeGroupsListResponse".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Pagination token to be used for the next list operation.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreativeGroupsListResponse::class, 'Google_Service_Dfareporting_CreativeGroupsListResponse');
@@ -0,0 +1,123 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class CreativeOptimizationConfiguration extends \Google\Collection
{
public const OPTIMIZATION_MODEL_CLICK = 'CLICK';
public const OPTIMIZATION_MODEL_POST_CLICK = 'POST_CLICK';
public const OPTIMIZATION_MODEL_POST_IMPRESSION = 'POST_IMPRESSION';
public const OPTIMIZATION_MODEL_POST_CLICK_AND_IMPRESSION = 'POST_CLICK_AND_IMPRESSION';
public const OPTIMIZATION_MODEL_VIDEO_COMPLETION = 'VIDEO_COMPLETION';
protected $collection_key = 'optimizationActivitys';
/**
* ID of this creative optimization config. This field is auto-generated when
* the campaign is inserted or updated. It can be null for existing campaigns.
*
* @var string
*/
public $id;
/**
* Name of this creative optimization config. This is a required field and
* must be less than 129 characters long.
*
* @var string
*/
public $name;
protected $optimizationActivitysType = OptimizationActivity::class;
protected $optimizationActivitysDataType = 'array';
/**
* Optimization model for this configuration.
*
* @var string
*/
public $optimizationModel;
/**
* ID of this creative optimization config. This field is auto-generated when
* the campaign is inserted or updated. It can be null for existing campaigns.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Name of this creative optimization config. This is a required field and
* must be less than 129 characters long.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* List of optimization activities associated with this configuration.
*
* @param OptimizationActivity[] $optimizationActivitys
*/
public function setOptimizationActivitys($optimizationActivitys)
{
$this->optimizationActivitys = $optimizationActivitys;
}
/**
* @return OptimizationActivity[]
*/
public function getOptimizationActivitys()
{
return $this->optimizationActivitys;
}
/**
* Optimization model for this configuration.
*
* Accepted values: CLICK, POST_CLICK, POST_IMPRESSION,
* POST_CLICK_AND_IMPRESSION, VIDEO_COMPLETION
*
* @param self::OPTIMIZATION_MODEL_* $optimizationModel
*/
public function setOptimizationModel($optimizationModel)
{
$this->optimizationModel = $optimizationModel;
}
/**
* @return self::OPTIMIZATION_MODEL_*
*/
public function getOptimizationModel()
{
return $this->optimizationModel;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreativeOptimizationConfiguration::class, 'Google_Service_Dfareporting_CreativeOptimizationConfiguration');
@@ -0,0 +1,158 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class CreativeRotation extends \Google\Collection
{
/**
* The weights of each creative in the rotation should be sequential starting
* at 1. The user may adjust the order.
*/
public const TYPE_CREATIVE_ROTATION_TYPE_SEQUENTIAL = 'CREATIVE_ROTATION_TYPE_SEQUENTIAL';
/**
* The weights are calculated according to the ad's
* CreativeRoationWeightStrategy.
*/
public const TYPE_CREATIVE_ROTATION_TYPE_RANDOM = 'CREATIVE_ROTATION_TYPE_RANDOM';
/**
* The creative weights should all be equal to 1. This is the default value
* for all ads with a rotation type of Random.
*/
public const WEIGHT_CALCULATION_STRATEGY_WEIGHT_STRATEGY_EQUAL = 'WEIGHT_STRATEGY_EQUAL';
/**
* The creative weights can be any user provided positive integer.
*/
public const WEIGHT_CALCULATION_STRATEGY_WEIGHT_STRATEGY_CUSTOM = 'WEIGHT_STRATEGY_CUSTOM';
/**
* The weights will be automatically calculated giving preference to the
* creative that has the highest CTR. The CTR for campaigns that are optimized
* for clicks = clicks/impressions. The CTR for campaigns that are optimized
* for view-through or click through is sum(activities + floodlight
* weight)/impressions.
*/
public const WEIGHT_CALCULATION_STRATEGY_WEIGHT_STRATEGY_HIGHEST_CTR = 'WEIGHT_STRATEGY_HIGHEST_CTR';
/**
* The creative weights will be automatically calculated using a formula that
* could not possibly be explained in these comments. The value will be within
* some predetermined range (probably 0 - 1,000,000).
*/
public const WEIGHT_CALCULATION_STRATEGY_WEIGHT_STRATEGY_OPTIMIZED = 'WEIGHT_STRATEGY_OPTIMIZED';
protected $collection_key = 'creativeAssignments';
protected $creativeAssignmentsType = CreativeAssignment::class;
protected $creativeAssignmentsDataType = 'array';
/**
* Creative optimization configuration that is used by this ad. It should
* refer to one of the existing optimization configurations in the ad's
* campaign. If it is unset or set to 0, then the campaign's default
* optimization configuration will be used for this ad.
*
* @var string
*/
public $creativeOptimizationConfigurationId;
/**
* Type of creative rotation. Can be used to specify whether to use sequential
* or random rotation.
*
* @var string
*/
public $type;
/**
* Strategy for calculating weights. Used with CREATIVE_ROTATION_TYPE_RANDOM.
*
* @var string
*/
public $weightCalculationStrategy;
/**
* Creative assignments in this creative rotation.
*
* @param CreativeAssignment[] $creativeAssignments
*/
public function setCreativeAssignments($creativeAssignments)
{
$this->creativeAssignments = $creativeAssignments;
}
/**
* @return CreativeAssignment[]
*/
public function getCreativeAssignments()
{
return $this->creativeAssignments;
}
/**
* Creative optimization configuration that is used by this ad. It should
* refer to one of the existing optimization configurations in the ad's
* campaign. If it is unset or set to 0, then the campaign's default
* optimization configuration will be used for this ad.
*
* @param string $creativeOptimizationConfigurationId
*/
public function setCreativeOptimizationConfigurationId($creativeOptimizationConfigurationId)
{
$this->creativeOptimizationConfigurationId = $creativeOptimizationConfigurationId;
}
/**
* @return string
*/
public function getCreativeOptimizationConfigurationId()
{
return $this->creativeOptimizationConfigurationId;
}
/**
* Type of creative rotation. Can be used to specify whether to use sequential
* or random rotation.
*
* Accepted values: CREATIVE_ROTATION_TYPE_SEQUENTIAL,
* CREATIVE_ROTATION_TYPE_RANDOM
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
/**
* Strategy for calculating weights. Used with CREATIVE_ROTATION_TYPE_RANDOM.
*
* Accepted values: WEIGHT_STRATEGY_EQUAL, WEIGHT_STRATEGY_CUSTOM,
* WEIGHT_STRATEGY_HIGHEST_CTR, WEIGHT_STRATEGY_OPTIMIZED
*
* @param self::WEIGHT_CALCULATION_STRATEGY_* $weightCalculationStrategy
*/
public function setWeightCalculationStrategy($weightCalculationStrategy)
{
$this->weightCalculationStrategy = $weightCalculationStrategy;
}
/**
* @return self::WEIGHT_CALCULATION_STRATEGY_*
*/
public function getWeightCalculationStrategy()
{
return $this->weightCalculationStrategy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreativeRotation::class, 'Google_Service_Dfareporting_CreativeRotation');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class CreativesListResponse extends \Google\Collection
{
protected $collection_key = 'creatives';
protected $creativesType = Creative::class;
protected $creativesDataType = 'array';
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#creativesListResponse".
*
* @var string
*/
public $kind;
/**
* Pagination token to be used for the next list operation.
*
* @var string
*/
public $nextPageToken;
/**
* Creative collection.
*
* @param Creative[] $creatives
*/
public function setCreatives($creatives)
{
$this->creatives = $creatives;
}
/**
* @return Creative[]
*/
public function getCreatives()
{
return $this->creatives;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#creativesListResponse".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Pagination token to be used for the next list operation.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreativesListResponse::class, 'Google_Service_Dfareporting_CreativesListResponse');
@@ -0,0 +1,127 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class CrossDimensionReachReportCompatibleFields extends \Google\Collection
{
protected $collection_key = 'overlapMetrics';
protected $breakdownType = Dimension::class;
protected $breakdownDataType = 'array';
protected $dimensionFiltersType = Dimension::class;
protected $dimensionFiltersDataType = 'array';
/**
* The kind of resource this is, in this case
* dfareporting#crossDimensionReachReportCompatibleFields.
*
* @var string
*/
public $kind;
protected $metricsType = Metric::class;
protected $metricsDataType = 'array';
protected $overlapMetricsType = Metric::class;
protected $overlapMetricsDataType = 'array';
/**
* Dimensions which are compatible to be selected in the "breakdown" section
* of the report.
*
* @param Dimension[] $breakdown
*/
public function setBreakdown($breakdown)
{
$this->breakdown = $breakdown;
}
/**
* @return Dimension[]
*/
public function getBreakdown()
{
return $this->breakdown;
}
/**
* Dimensions which are compatible to be selected in the "dimensionFilters"
* section of the report.
*
* @param Dimension[] $dimensionFilters
*/
public function setDimensionFilters($dimensionFilters)
{
$this->dimensionFilters = $dimensionFilters;
}
/**
* @return Dimension[]
*/
public function getDimensionFilters()
{
return $this->dimensionFilters;
}
/**
* The kind of resource this is, in this case
* dfareporting#crossDimensionReachReportCompatibleFields.
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Metrics which are compatible to be selected in the "metricNames" section of
* the report.
*
* @param Metric[] $metrics
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return Metric[]
*/
public function getMetrics()
{
return $this->metrics;
}
/**
* Metrics which are compatible to be selected in the "overlapMetricNames"
* section of the report.
*
* @param Metric[] $overlapMetrics
*/
public function setOverlapMetrics($overlapMetrics)
{
$this->overlapMetrics = $overlapMetrics;
}
/**
* @return Metric[]
*/
public function getOverlapMetrics()
{
return $this->overlapMetrics;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CrossDimensionReachReportCompatibleFields::class, 'Google_Service_Dfareporting_CrossDimensionReachReportCompatibleFields');
@@ -0,0 +1,108 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class CrossMediaReachReportCompatibleFields extends \Google\Collection
{
protected $collection_key = 'metrics';
protected $dimensionFiltersType = Dimension::class;
protected $dimensionFiltersDataType = 'array';
protected $dimensionsType = Dimension::class;
protected $dimensionsDataType = 'array';
/**
* The kind of resource this is, in this case
* dfareporting#crossMediaReachReportCompatibleFields.
*
* @var string
*/
public $kind;
protected $metricsType = Metric::class;
protected $metricsDataType = 'array';
/**
* Dimensions which are compatible to be selected in the "dimensionFilters"
* section of the report.
*
* @param Dimension[] $dimensionFilters
*/
public function setDimensionFilters($dimensionFilters)
{
$this->dimensionFilters = $dimensionFilters;
}
/**
* @return Dimension[]
*/
public function getDimensionFilters()
{
return $this->dimensionFilters;
}
/**
* Dimensions which are compatible to be selected in the "dimensions" section
* of the report.
*
* @param Dimension[] $dimensions
*/
public function setDimensions($dimensions)
{
$this->dimensions = $dimensions;
}
/**
* @return Dimension[]
*/
public function getDimensions()
{
return $this->dimensions;
}
/**
* The kind of resource this is, in this case
* dfareporting#crossMediaReachReportCompatibleFields.
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Metrics which are compatible to be selected in the "metricNames" section of
* the report.
*
* @param Metric[] $metrics
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return Metric[]
*/
public function getMetrics()
{
return $this->metrics;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CrossMediaReachReportCompatibleFields::class, 'Google_Service_Dfareporting_CrossMediaReachReportCompatibleFields');
@@ -0,0 +1,206 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class CustomFloodlightVariable extends \Google\Model
{
public const TYPE_U1 = 'U1';
public const TYPE_U2 = 'U2';
public const TYPE_U3 = 'U3';
public const TYPE_U4 = 'U4';
public const TYPE_U5 = 'U5';
public const TYPE_U6 = 'U6';
public const TYPE_U7 = 'U7';
public const TYPE_U8 = 'U8';
public const TYPE_U9 = 'U9';
public const TYPE_U10 = 'U10';
public const TYPE_U11 = 'U11';
public const TYPE_U12 = 'U12';
public const TYPE_U13 = 'U13';
public const TYPE_U14 = 'U14';
public const TYPE_U15 = 'U15';
public const TYPE_U16 = 'U16';
public const TYPE_U17 = 'U17';
public const TYPE_U18 = 'U18';
public const TYPE_U19 = 'U19';
public const TYPE_U20 = 'U20';
public const TYPE_U21 = 'U21';
public const TYPE_U22 = 'U22';
public const TYPE_U23 = 'U23';
public const TYPE_U24 = 'U24';
public const TYPE_U25 = 'U25';
public const TYPE_U26 = 'U26';
public const TYPE_U27 = 'U27';
public const TYPE_U28 = 'U28';
public const TYPE_U29 = 'U29';
public const TYPE_U30 = 'U30';
public const TYPE_U31 = 'U31';
public const TYPE_U32 = 'U32';
public const TYPE_U33 = 'U33';
public const TYPE_U34 = 'U34';
public const TYPE_U35 = 'U35';
public const TYPE_U36 = 'U36';
public const TYPE_U37 = 'U37';
public const TYPE_U38 = 'U38';
public const TYPE_U39 = 'U39';
public const TYPE_U40 = 'U40';
public const TYPE_U41 = 'U41';
public const TYPE_U42 = 'U42';
public const TYPE_U43 = 'U43';
public const TYPE_U44 = 'U44';
public const TYPE_U45 = 'U45';
public const TYPE_U46 = 'U46';
public const TYPE_U47 = 'U47';
public const TYPE_U48 = 'U48';
public const TYPE_U49 = 'U49';
public const TYPE_U50 = 'U50';
public const TYPE_U51 = 'U51';
public const TYPE_U52 = 'U52';
public const TYPE_U53 = 'U53';
public const TYPE_U54 = 'U54';
public const TYPE_U55 = 'U55';
public const TYPE_U56 = 'U56';
public const TYPE_U57 = 'U57';
public const TYPE_U58 = 'U58';
public const TYPE_U59 = 'U59';
public const TYPE_U60 = 'U60';
public const TYPE_U61 = 'U61';
public const TYPE_U62 = 'U62';
public const TYPE_U63 = 'U63';
public const TYPE_U64 = 'U64';
public const TYPE_U65 = 'U65';
public const TYPE_U66 = 'U66';
public const TYPE_U67 = 'U67';
public const TYPE_U68 = 'U68';
public const TYPE_U69 = 'U69';
public const TYPE_U70 = 'U70';
public const TYPE_U71 = 'U71';
public const TYPE_U72 = 'U72';
public const TYPE_U73 = 'U73';
public const TYPE_U74 = 'U74';
public const TYPE_U75 = 'U75';
public const TYPE_U76 = 'U76';
public const TYPE_U77 = 'U77';
public const TYPE_U78 = 'U78';
public const TYPE_U79 = 'U79';
public const TYPE_U80 = 'U80';
public const TYPE_U81 = 'U81';
public const TYPE_U82 = 'U82';
public const TYPE_U83 = 'U83';
public const TYPE_U84 = 'U84';
public const TYPE_U85 = 'U85';
public const TYPE_U86 = 'U86';
public const TYPE_U87 = 'U87';
public const TYPE_U88 = 'U88';
public const TYPE_U89 = 'U89';
public const TYPE_U90 = 'U90';
public const TYPE_U91 = 'U91';
public const TYPE_U92 = 'U92';
public const TYPE_U93 = 'U93';
public const TYPE_U94 = 'U94';
public const TYPE_U95 = 'U95';
public const TYPE_U96 = 'U96';
public const TYPE_U97 = 'U97';
public const TYPE_U98 = 'U98';
public const TYPE_U99 = 'U99';
public const TYPE_U100 = 'U100';
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#customFloodlightVariable".
*
* @var string
*/
public $kind;
/**
* The type of custom floodlight variable to supply a value for. These map to
* the "u[1-100]=" in the tags.
*
* @var string
*/
public $type;
/**
* The value of the custom floodlight variable. The length of string must not
* exceed 100 characters.
*
* @var string
*/
public $value;
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#customFloodlightVariable".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* The type of custom floodlight variable to supply a value for. These map to
* the "u[1-100]=" in the tags.
*
* Accepted values: U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13,
* U14, U15, U16, U17, U18, U19, U20, U21, U22, U23, U24, U25, U26, U27, U28,
* U29, U30, U31, U32, U33, U34, U35, U36, U37, U38, U39, U40, U41, U42, U43,
* U44, U45, U46, U47, U48, U49, U50, U51, U52, U53, U54, U55, U56, U57, U58,
* U59, U60, U61, U62, U63, U64, U65, U66, U67, U68, U69, U70, U71, U72, U73,
* U74, U75, U76, U77, U78, U79, U80, U81, U82, U83, U84, U85, U86, U87, U88,
* U89, U90, U91, U92, U93, U94, U95, U96, U97, U98, U99, U100
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
/**
* The value of the custom floodlight variable. The length of string must not
* exceed 100 characters.
*
* @param string $value
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomFloodlightVariable::class, 'Google_Service_Dfareporting_CustomFloodlightVariable');
@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class CustomRichMediaEvents extends \Google\Collection
{
protected $collection_key = 'filteredEventIds';
protected $filteredEventIdsType = DimensionValue::class;
protected $filteredEventIdsDataType = 'array';
/**
* The kind of resource this is, in this case
* dfareporting#customRichMediaEvents.
*
* @var string
*/
public $kind;
/**
* List of custom rich media event IDs. Dimension values must be all of type
* dfa:richMediaEventTypeIdAndName.
*
* @param DimensionValue[] $filteredEventIds
*/
public function setFilteredEventIds($filteredEventIds)
{
$this->filteredEventIds = $filteredEventIds;
}
/**
* @return DimensionValue[]
*/
public function getFilteredEventIds()
{
return $this->filteredEventIds;
}
/**
* The kind of resource this is, in this case
* dfareporting#customRichMediaEvents.
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomRichMediaEvents::class, 'Google_Service_Dfareporting_CustomRichMediaEvents');
@@ -0,0 +1,89 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class CustomRule extends \Google\Collection
{
protected $collection_key = 'ruleBlocks';
/**
* Optional. Name of this custom rule.
*
* @var string
*/
public $name;
/**
* Optional. Priority of the custom rule.
*
* @var int
*/
public $priority;
protected $ruleBlocksType = RuleBlock::class;
protected $ruleBlocksDataType = 'array';
/**
* Optional. Name of this custom rule.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Optional. Priority of the custom rule.
*
* @param int $priority
*/
public function setPriority($priority)
{
$this->priority = $priority;
}
/**
* @return int
*/
public function getPriority()
{
return $this->priority;
}
/**
* Optional. A list of field filter, the custom rule will apply.
*
* @param RuleBlock[] $ruleBlocks
*/
public function setRuleBlocks($ruleBlocks)
{
$this->ruleBlocks = $ruleBlocks;
}
/**
* @return RuleBlock[]
*/
public function getRuleBlocks()
{
return $this->ruleBlocks;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomRule::class, 'Google_Service_Dfareporting_CustomRule');
@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class CustomValueField extends \Google\Model
{
/**
* Optional. Field ID in the element.
*
* @var int
*/
public $fieldId;
/**
* Optional. Custom key used to match for auto filtering.
*
* @var string
*/
public $requestKey;
/**
* Optional. Field ID in the element.
*
* @param int $fieldId
*/
public function setFieldId($fieldId)
{
$this->fieldId = $fieldId;
}
/**
* @return int
*/
public function getFieldId()
{
return $this->fieldId;
}
/**
* Optional. Custom key used to match for auto filtering.
*
* @param string $requestKey
*/
public function setRequestKey($requestKey)
{
$this->requestKey = $requestKey;
}
/**
* @return string
*/
public function getRequestKey()
{
return $this->requestKey;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomValueField::class, 'Google_Service_Dfareporting_CustomValueField');
@@ -0,0 +1,88 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class CustomViewabilityMetric extends \Google\Model
{
protected $configurationType = CustomViewabilityMetricConfiguration::class;
protected $configurationDataType = '';
/**
* ID of the custom viewability metric.
*
* @var string
*/
public $id;
/**
* Name of the custom viewability metric.
*
* @var string
*/
public $name;
/**
* Configuration of the custom viewability metric.
*
* @param CustomViewabilityMetricConfiguration $configuration
*/
public function setConfiguration(CustomViewabilityMetricConfiguration $configuration)
{
$this->configuration = $configuration;
}
/**
* @return CustomViewabilityMetricConfiguration
*/
public function getConfiguration()
{
return $this->configuration;
}
/**
* ID of the custom viewability metric.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Name of the custom viewability metric.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomViewabilityMetric::class, 'Google_Service_Dfareporting_CustomViewabilityMetric');
@@ -0,0 +1,124 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class CustomViewabilityMetricConfiguration extends \Google\Model
{
/**
* Whether the video must be audible to count an impression.
*
* @var bool
*/
public $audible;
/**
* The time in milliseconds the video must play for the Custom Viewability
* Metric to count an impression. If both this and timePercent are specified,
* the earlier of the two will be used.
*
* @var int
*/
public $timeMillis;
/**
* The percentage of video that must play for the Custom Viewability Metric to
* count an impression. If both this and timeMillis are specified, the earlier
* of the two will be used.
*
* @var int
*/
public $timePercent;
/**
* The percentage of video that must be on screen for the Custom Viewability
* Metric to count an impression.
*
* @var int
*/
public $viewabilityPercent;
/**
* Whether the video must be audible to count an impression.
*
* @param bool $audible
*/
public function setAudible($audible)
{
$this->audible = $audible;
}
/**
* @return bool
*/
public function getAudible()
{
return $this->audible;
}
/**
* The time in milliseconds the video must play for the Custom Viewability
* Metric to count an impression. If both this and timePercent are specified,
* the earlier of the two will be used.
*
* @param int $timeMillis
*/
public function setTimeMillis($timeMillis)
{
$this->timeMillis = $timeMillis;
}
/**
* @return int
*/
public function getTimeMillis()
{
return $this->timeMillis;
}
/**
* The percentage of video that must play for the Custom Viewability Metric to
* count an impression. If both this and timeMillis are specified, the earlier
* of the two will be used.
*
* @param int $timePercent
*/
public function setTimePercent($timePercent)
{
$this->timePercent = $timePercent;
}
/**
* @return int
*/
public function getTimePercent()
{
return $this->timePercent;
}
/**
* The percentage of video that must be on screen for the Custom Viewability
* Metric to count an impression.
*
* @param int $viewabilityPercent
*/
public function setViewabilityPercent($viewabilityPercent)
{
$this->viewabilityPercent = $viewabilityPercent;
}
/**
* @return int
*/
public function getViewabilityPercent()
{
return $this->viewabilityPercent;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomViewabilityMetricConfiguration::class, 'Google_Service_Dfareporting_CustomViewabilityMetricConfiguration');
@@ -0,0 +1,128 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class DateRange extends \Google\Model
{
public const RELATIVE_DATE_RANGE_TODAY = 'TODAY';
public const RELATIVE_DATE_RANGE_YESTERDAY = 'YESTERDAY';
public const RELATIVE_DATE_RANGE_WEEK_TO_DATE = 'WEEK_TO_DATE';
public const RELATIVE_DATE_RANGE_MONTH_TO_DATE = 'MONTH_TO_DATE';
public const RELATIVE_DATE_RANGE_QUARTER_TO_DATE = 'QUARTER_TO_DATE';
public const RELATIVE_DATE_RANGE_YEAR_TO_DATE = 'YEAR_TO_DATE';
public const RELATIVE_DATE_RANGE_PREVIOUS_WEEK = 'PREVIOUS_WEEK';
public const RELATIVE_DATE_RANGE_PREVIOUS_MONTH = 'PREVIOUS_MONTH';
public const RELATIVE_DATE_RANGE_PREVIOUS_QUARTER = 'PREVIOUS_QUARTER';
public const RELATIVE_DATE_RANGE_PREVIOUS_YEAR = 'PREVIOUS_YEAR';
public const RELATIVE_DATE_RANGE_LAST_7_DAYS = 'LAST_7_DAYS';
public const RELATIVE_DATE_RANGE_LAST_30_DAYS = 'LAST_30_DAYS';
public const RELATIVE_DATE_RANGE_LAST_90_DAYS = 'LAST_90_DAYS';
public const RELATIVE_DATE_RANGE_LAST_365_DAYS = 'LAST_365_DAYS';
public const RELATIVE_DATE_RANGE_LAST_24_MONTHS = 'LAST_24_MONTHS';
public const RELATIVE_DATE_RANGE_LAST_14_DAYS = 'LAST_14_DAYS';
public const RELATIVE_DATE_RANGE_LAST_60_DAYS = 'LAST_60_DAYS';
/**
* @var string
*/
public $endDate;
/**
* The kind of resource this is, in this case dfareporting#dateRange.
*
* @var string
*/
public $kind;
/**
* The date range relative to the date of when the report is run.
*
* @var string
*/
public $relativeDateRange;
/**
* @var string
*/
public $startDate;
/**
* @param string $endDate
*/
public function setEndDate($endDate)
{
$this->endDate = $endDate;
}
/**
* @return string
*/
public function getEndDate()
{
return $this->endDate;
}
/**
* The kind of resource this is, in this case dfareporting#dateRange.
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* The date range relative to the date of when the report is run.
*
* Accepted values: TODAY, YESTERDAY, WEEK_TO_DATE, MONTH_TO_DATE,
* QUARTER_TO_DATE, YEAR_TO_DATE, PREVIOUS_WEEK, PREVIOUS_MONTH,
* PREVIOUS_QUARTER, PREVIOUS_YEAR, LAST_7_DAYS, LAST_30_DAYS, LAST_90_DAYS,
* LAST_365_DAYS, LAST_24_MONTHS, LAST_14_DAYS, LAST_60_DAYS
*
* @param self::RELATIVE_DATE_RANGE_* $relativeDateRange
*/
public function setRelativeDateRange($relativeDateRange)
{
$this->relativeDateRange = $relativeDateRange;
}
/**
* @return self::RELATIVE_DATE_RANGE_*
*/
public function getRelativeDateRange()
{
return $this->relativeDateRange;
}
/**
* @param string $startDate
*/
public function setStartDate($startDate)
{
$this->startDate = $startDate;
}
/**
* @return string
*/
public function getStartDate()
{
return $this->startDate;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DateRange::class, 'Google_Service_Dfareporting_DateRange');
@@ -0,0 +1,107 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class DayPartTargeting extends \Google\Collection
{
protected $collection_key = 'hoursOfDay';
/**
* Days of the week when the ad will serve. Acceptable values are: - "SUNDAY"
* - "MONDAY" - "TUESDAY" - "WEDNESDAY" - "THURSDAY" - "FRIDAY" - "SATURDAY"
*
* @var string[]
*/
public $daysOfWeek;
/**
* Hours of the day when the ad will serve, where 0 is midnight to 1 AM and 23
* is 11 PM to midnight. Can be specified with days of week, in which case the
* ad would serve during these hours on the specified days. For example if
* Monday, Wednesday, Friday are the days of week specified and 9-10am, 3-5pm
* (hours 9, 15, and 16) is specified, the ad would serve Monday, Wednesdays,
* and Fridays at 9-10am and 3-5pm. Acceptable values are 0 to 23, inclusive.
*
* @var int[]
*/
public $hoursOfDay;
/**
* Whether or not to use the user's local time. If false, the America/New York
* time zone applies.
*
* @var bool
*/
public $userLocalTime;
/**
* Days of the week when the ad will serve. Acceptable values are: - "SUNDAY"
* - "MONDAY" - "TUESDAY" - "WEDNESDAY" - "THURSDAY" - "FRIDAY" - "SATURDAY"
*
* @param string[] $daysOfWeek
*/
public function setDaysOfWeek($daysOfWeek)
{
$this->daysOfWeek = $daysOfWeek;
}
/**
* @return string[]
*/
public function getDaysOfWeek()
{
return $this->daysOfWeek;
}
/**
* Hours of the day when the ad will serve, where 0 is midnight to 1 AM and 23
* is 11 PM to midnight. Can be specified with days of week, in which case the
* ad would serve during these hours on the specified days. For example if
* Monday, Wednesday, Friday are the days of week specified and 9-10am, 3-5pm
* (hours 9, 15, and 16) is specified, the ad would serve Monday, Wednesdays,
* and Fridays at 9-10am and 3-5pm. Acceptable values are 0 to 23, inclusive.
*
* @param int[] $hoursOfDay
*/
public function setHoursOfDay($hoursOfDay)
{
$this->hoursOfDay = $hoursOfDay;
}
/**
* @return int[]
*/
public function getHoursOfDay()
{
return $this->hoursOfDay;
}
/**
* Whether or not to use the user's local time. If false, the America/New York
* time zone applies.
*
* @param bool $userLocalTime
*/
public function setUserLocalTime($userLocalTime)
{
$this->userLocalTime = $userLocalTime;
}
/**
* @return bool
*/
public function getUserLocalTime()
{
return $this->userLocalTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DayPartTargeting::class, 'Google_Service_Dfareporting_DayPartTargeting');
@@ -0,0 +1,139 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class DeepLink extends \Google\Collection
{
protected $collection_key = 'remarketingListIds';
/**
* The URL of the mobile app being linked to.
*
* @var string
*/
public $appUrl;
/**
* The fallback URL. This URL will be served to users who do not have the
* mobile app installed.
*
* @var string
*/
public $fallbackUrl;
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#deepLink".
*
* @var string
*/
public $kind;
protected $mobileAppType = MobileApp::class;
protected $mobileAppDataType = '';
/**
* Ads served to users on these remarketing lists will use this deep link.
* Applicable when mobileApp.directory is APPLE_APP_STORE.
*
* @var string[]
*/
public $remarketingListIds;
/**
* The URL of the mobile app being linked to.
*
* @param string $appUrl
*/
public function setAppUrl($appUrl)
{
$this->appUrl = $appUrl;
}
/**
* @return string
*/
public function getAppUrl()
{
return $this->appUrl;
}
/**
* The fallback URL. This URL will be served to users who do not have the
* mobile app installed.
*
* @param string $fallbackUrl
*/
public function setFallbackUrl($fallbackUrl)
{
$this->fallbackUrl = $fallbackUrl;
}
/**
* @return string
*/
public function getFallbackUrl()
{
return $this->fallbackUrl;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#deepLink".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* The mobile app targeted by this deep link.
*
* @param MobileApp $mobileApp
*/
public function setMobileApp(MobileApp $mobileApp)
{
$this->mobileApp = $mobileApp;
}
/**
* @return MobileApp
*/
public function getMobileApp()
{
return $this->mobileApp;
}
/**
* Ads served to users on these remarketing lists will use this deep link.
* Applicable when mobileApp.directory is APPLE_APP_STORE.
*
* @param string[] $remarketingListIds
*/
public function setRemarketingListIds($remarketingListIds)
{
$this->remarketingListIds = $remarketingListIds;
}
/**
* @return string[]
*/
public function getRemarketingListIds()
{
return $this->remarketingListIds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeepLink::class, 'Google_Service_Dfareporting_DeepLink');
@@ -0,0 +1,74 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class DefaultClickThroughEventTagProperties extends \Google\Model
{
/**
* ID of the click-through event tag to apply to all ads in this entity's
* scope.
*
* @var string
*/
public $defaultClickThroughEventTagId;
/**
* Whether this entity should override the inherited default click-through
* event tag with its own defined value.
*
* @var bool
*/
public $overrideInheritedEventTag;
/**
* ID of the click-through event tag to apply to all ads in this entity's
* scope.
*
* @param string $defaultClickThroughEventTagId
*/
public function setDefaultClickThroughEventTagId($defaultClickThroughEventTagId)
{
$this->defaultClickThroughEventTagId = $defaultClickThroughEventTagId;
}
/**
* @return string
*/
public function getDefaultClickThroughEventTagId()
{
return $this->defaultClickThroughEventTagId;
}
/**
* Whether this entity should override the inherited default click-through
* event tag with its own defined value.
*
* @param bool $overrideInheritedEventTag
*/
public function setOverrideInheritedEventTag($overrideInheritedEventTag)
{
$this->overrideInheritedEventTag = $overrideInheritedEventTag;
}
/**
* @return bool
*/
public function getOverrideInheritedEventTag()
{
return $this->overrideInheritedEventTag;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DefaultClickThroughEventTagProperties::class, 'Google_Service_Dfareporting_DefaultClickThroughEventTagProperties');
@@ -0,0 +1,147 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class DeliverySchedule extends \Google\Model
{
public const PRIORITY_AD_PRIORITY_01 = 'AD_PRIORITY_01';
public const PRIORITY_AD_PRIORITY_02 = 'AD_PRIORITY_02';
public const PRIORITY_AD_PRIORITY_03 = 'AD_PRIORITY_03';
public const PRIORITY_AD_PRIORITY_04 = 'AD_PRIORITY_04';
public const PRIORITY_AD_PRIORITY_05 = 'AD_PRIORITY_05';
public const PRIORITY_AD_PRIORITY_06 = 'AD_PRIORITY_06';
public const PRIORITY_AD_PRIORITY_07 = 'AD_PRIORITY_07';
public const PRIORITY_AD_PRIORITY_08 = 'AD_PRIORITY_08';
public const PRIORITY_AD_PRIORITY_09 = 'AD_PRIORITY_09';
public const PRIORITY_AD_PRIORITY_10 = 'AD_PRIORITY_10';
public const PRIORITY_AD_PRIORITY_11 = 'AD_PRIORITY_11';
public const PRIORITY_AD_PRIORITY_12 = 'AD_PRIORITY_12';
public const PRIORITY_AD_PRIORITY_13 = 'AD_PRIORITY_13';
public const PRIORITY_AD_PRIORITY_14 = 'AD_PRIORITY_14';
public const PRIORITY_AD_PRIORITY_15 = 'AD_PRIORITY_15';
public const PRIORITY_AD_PRIORITY_16 = 'AD_PRIORITY_16';
protected $frequencyCapType = FrequencyCap::class;
protected $frequencyCapDataType = '';
/**
* Whether or not hard cutoff is enabled. If true, the ad will not serve after
* the end date and time. Otherwise the ad will continue to be served until it
* has reached its delivery goals.
*
* @var bool
*/
public $hardCutoff;
/**
* Impression ratio for this ad. This ratio determines how often each ad is
* served relative to the others. For example, if ad A has an impression ratio
* of 1 and ad B has an impression ratio of 3, then Campaign Manager will
* serve ad B three times as often as ad A. Acceptable values are 1 to 10,
* inclusive.
*
* @var string
*/
public $impressionRatio;
/**
* Serving priority of an ad, with respect to other ads. The lower the
* priority number, the greater the priority with which it is served.
*
* @var string
*/
public $priority;
/**
* Limit on the number of times an individual user can be served the ad within
* a specified period of time.
*
* @param FrequencyCap $frequencyCap
*/
public function setFrequencyCap(FrequencyCap $frequencyCap)
{
$this->frequencyCap = $frequencyCap;
}
/**
* @return FrequencyCap
*/
public function getFrequencyCap()
{
return $this->frequencyCap;
}
/**
* Whether or not hard cutoff is enabled. If true, the ad will not serve after
* the end date and time. Otherwise the ad will continue to be served until it
* has reached its delivery goals.
*
* @param bool $hardCutoff
*/
public function setHardCutoff($hardCutoff)
{
$this->hardCutoff = $hardCutoff;
}
/**
* @return bool
*/
public function getHardCutoff()
{
return $this->hardCutoff;
}
/**
* Impression ratio for this ad. This ratio determines how often each ad is
* served relative to the others. For example, if ad A has an impression ratio
* of 1 and ad B has an impression ratio of 3, then Campaign Manager will
* serve ad B three times as often as ad A. Acceptable values are 1 to 10,
* inclusive.
*
* @param string $impressionRatio
*/
public function setImpressionRatio($impressionRatio)
{
$this->impressionRatio = $impressionRatio;
}
/**
* @return string
*/
public function getImpressionRatio()
{
return $this->impressionRatio;
}
/**
* Serving priority of an ad, with respect to other ads. The lower the
* priority number, the greater the priority with which it is served.
*
* Accepted values: AD_PRIORITY_01, AD_PRIORITY_02, AD_PRIORITY_03,
* AD_PRIORITY_04, AD_PRIORITY_05, AD_PRIORITY_06, AD_PRIORITY_07,
* AD_PRIORITY_08, AD_PRIORITY_09, AD_PRIORITY_10, AD_PRIORITY_11,
* AD_PRIORITY_12, AD_PRIORITY_13, AD_PRIORITY_14, AD_PRIORITY_15,
* AD_PRIORITY_16
*
* @param self::PRIORITY_* $priority
*/
public function setPriority($priority)
{
$this->priority = $priority;
}
/**
* @return self::PRIORITY_*
*/
public function getPriority()
{
return $this->priority;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeliverySchedule::class, 'Google_Service_Dfareporting_DeliverySchedule');
@@ -0,0 +1,92 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class DependentFieldValue extends \Google\Model
{
/**
* Optional. The ID of the dynamic feed that value's field will match against.
*
* @var string
*/
public $dynamicFeedId;
/**
* Optional. The ID of the element that value's field will match against.
*
* @var string
*/
public $elementId;
/**
* Optional. The field id of the dependent field.
*
* @var int
*/
public $fieldId;
/**
* Optional. The ID of the dynamic feed that value's field will match against.
*
* @param string $dynamicFeedId
*/
public function setDynamicFeedId($dynamicFeedId)
{
$this->dynamicFeedId = $dynamicFeedId;
}
/**
* @return string
*/
public function getDynamicFeedId()
{
return $this->dynamicFeedId;
}
/**
* Optional. The ID of the element that value's field will match against.
*
* @param string $elementId
*/
public function setElementId($elementId)
{
$this->elementId = $elementId;
}
/**
* @return string
*/
public function getElementId()
{
return $this->elementId;
}
/**
* Optional. The field id of the dependent field.
*
* @param int $fieldId
*/
public function setFieldId($fieldId)
{
$this->fieldId = $fieldId;
}
/**
* @return int
*/
public function getFieldId()
{
return $this->fieldId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DependentFieldValue::class, 'Google_Service_Dfareporting_DependentFieldValue');

Some files were not shown because too many files have changed in this diff Show More