Initial commit
This commit is contained in:
89
vendor/google/apiclient-services/src/Google/Service/AdSense/Account.php
vendored
Normal file
89
vendor/google/apiclient-services/src/Google/Service/AdSense/Account.php
vendored
Normal file
@@ -0,0 +1,89 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_AdSense_Account extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'subAccounts';
|
||||
protected $internal_gapi_mappings = array(
|
||||
"creationTime" => "creation_time",
|
||||
);
|
||||
public $creationTime;
|
||||
public $id;
|
||||
public $kind;
|
||||
public $name;
|
||||
public $premium;
|
||||
protected $subAccountsType = 'Google_Service_AdSense_Account';
|
||||
protected $subAccountsDataType = 'array';
|
||||
public $timezone;
|
||||
|
||||
public function setCreationTime($creationTime)
|
||||
{
|
||||
$this->creationTime = $creationTime;
|
||||
}
|
||||
public function getCreationTime()
|
||||
{
|
||||
return $this->creationTime;
|
||||
}
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setPremium($premium)
|
||||
{
|
||||
$this->premium = $premium;
|
||||
}
|
||||
public function getPremium()
|
||||
{
|
||||
return $this->premium;
|
||||
}
|
||||
public function setSubAccounts($subAccounts)
|
||||
{
|
||||
$this->subAccounts = $subAccounts;
|
||||
}
|
||||
public function getSubAccounts()
|
||||
{
|
||||
return $this->subAccounts;
|
||||
}
|
||||
public function setTimezone($timezone)
|
||||
{
|
||||
$this->timezone = $timezone;
|
||||
}
|
||||
public function getTimezone()
|
||||
{
|
||||
return $this->timezone;
|
||||
}
|
||||
}
|
||||
59
vendor/google/apiclient-services/src/Google/Service/AdSense/Accounts.php
vendored
Normal file
59
vendor/google/apiclient-services/src/Google/Service/AdSense/Accounts.php
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_AdSense_Accounts extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
public $etag;
|
||||
protected $itemsType = 'Google_Service_AdSense_Account';
|
||||
protected $itemsDataType = 'array';
|
||||
public $kind;
|
||||
public $nextPageToken;
|
||||
|
||||
public function setEtag($etag)
|
||||
{
|
||||
$this->etag = $etag;
|
||||
}
|
||||
public function getEtag()
|
||||
{
|
||||
return $this->etag;
|
||||
}
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
}
|
||||
66
vendor/google/apiclient-services/src/Google/Service/AdSense/AdClient.php
vendored
Normal file
66
vendor/google/apiclient-services/src/Google/Service/AdSense/AdClient.php
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_AdSense_AdClient extends Google_Model
|
||||
{
|
||||
public $arcOptIn;
|
||||
public $id;
|
||||
public $kind;
|
||||
public $productCode;
|
||||
public $supportsReporting;
|
||||
|
||||
public function setArcOptIn($arcOptIn)
|
||||
{
|
||||
$this->arcOptIn = $arcOptIn;
|
||||
}
|
||||
public function getArcOptIn()
|
||||
{
|
||||
return $this->arcOptIn;
|
||||
}
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setProductCode($productCode)
|
||||
{
|
||||
$this->productCode = $productCode;
|
||||
}
|
||||
public function getProductCode()
|
||||
{
|
||||
return $this->productCode;
|
||||
}
|
||||
public function setSupportsReporting($supportsReporting)
|
||||
{
|
||||
$this->supportsReporting = $supportsReporting;
|
||||
}
|
||||
public function getSupportsReporting()
|
||||
{
|
||||
return $this->supportsReporting;
|
||||
}
|
||||
}
|
||||
59
vendor/google/apiclient-services/src/Google/Service/AdSense/AdClients.php
vendored
Normal file
59
vendor/google/apiclient-services/src/Google/Service/AdSense/AdClients.php
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_AdSense_AdClients extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
public $etag;
|
||||
protected $itemsType = 'Google_Service_AdSense_AdClient';
|
||||
protected $itemsDataType = 'array';
|
||||
public $kind;
|
||||
public $nextPageToken;
|
||||
|
||||
public function setEtag($etag)
|
||||
{
|
||||
$this->etag = $etag;
|
||||
}
|
||||
public function getEtag()
|
||||
{
|
||||
return $this->etag;
|
||||
}
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
}
|
||||
39
vendor/google/apiclient-services/src/Google/Service/AdSense/AdCode.php
vendored
Normal file
39
vendor/google/apiclient-services/src/Google/Service/AdSense/AdCode.php
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_AdSense_AdCode extends Google_Model
|
||||
{
|
||||
public $adCode;
|
||||
public $kind;
|
||||
|
||||
public function setAdCode($adCode)
|
||||
{
|
||||
$this->adCode = $adCode;
|
||||
}
|
||||
public function getAdCode()
|
||||
{
|
||||
return $this->adCode;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
}
|
||||
59
vendor/google/apiclient-services/src/Google/Service/AdSense/AdStyle.php
vendored
Normal file
59
vendor/google/apiclient-services/src/Google/Service/AdSense/AdStyle.php
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_AdSense_AdStyle extends Google_Model
|
||||
{
|
||||
protected $colorsType = 'Google_Service_AdSense_AdStyleColors';
|
||||
protected $colorsDataType = '';
|
||||
public $corners;
|
||||
protected $fontType = 'Google_Service_AdSense_AdStyleFont';
|
||||
protected $fontDataType = '';
|
||||
public $kind;
|
||||
|
||||
public function setColors(Google_Service_AdSense_AdStyleColors $colors)
|
||||
{
|
||||
$this->colors = $colors;
|
||||
}
|
||||
public function getColors()
|
||||
{
|
||||
return $this->colors;
|
||||
}
|
||||
public function setCorners($corners)
|
||||
{
|
||||
$this->corners = $corners;
|
||||
}
|
||||
public function getCorners()
|
||||
{
|
||||
return $this->corners;
|
||||
}
|
||||
public function setFont(Google_Service_AdSense_AdStyleFont $font)
|
||||
{
|
||||
$this->font = $font;
|
||||
}
|
||||
public function getFont()
|
||||
{
|
||||
return $this->font;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
}
|
||||
66
vendor/google/apiclient-services/src/Google/Service/AdSense/AdStyleColors.php
vendored
Normal file
66
vendor/google/apiclient-services/src/Google/Service/AdSense/AdStyleColors.php
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_AdSense_AdStyleColors extends Google_Model
|
||||
{
|
||||
public $background;
|
||||
public $border;
|
||||
public $text;
|
||||
public $title;
|
||||
public $url;
|
||||
|
||||
public function setBackground($background)
|
||||
{
|
||||
$this->background = $background;
|
||||
}
|
||||
public function getBackground()
|
||||
{
|
||||
return $this->background;
|
||||
}
|
||||
public function setBorder($border)
|
||||
{
|
||||
$this->border = $border;
|
||||
}
|
||||
public function getBorder()
|
||||
{
|
||||
return $this->border;
|
||||
}
|
||||
public function setText($text)
|
||||
{
|
||||
$this->text = $text;
|
||||
}
|
||||
public function getText()
|
||||
{
|
||||
return $this->text;
|
||||
}
|
||||
public function setTitle($title)
|
||||
{
|
||||
$this->title = $title;
|
||||
}
|
||||
public function getTitle()
|
||||
{
|
||||
return $this->title;
|
||||
}
|
||||
public function setUrl($url)
|
||||
{
|
||||
$this->url = $url;
|
||||
}
|
||||
public function getUrl()
|
||||
{
|
||||
return $this->url;
|
||||
}
|
||||
}
|
||||
39
vendor/google/apiclient-services/src/Google/Service/AdSense/AdStyleFont.php
vendored
Normal file
39
vendor/google/apiclient-services/src/Google/Service/AdSense/AdStyleFont.php
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_AdSense_AdStyleFont extends Google_Model
|
||||
{
|
||||
public $family;
|
||||
public $size;
|
||||
|
||||
public function setFamily($family)
|
||||
{
|
||||
$this->family = $family;
|
||||
}
|
||||
public function getFamily()
|
||||
{
|
||||
return $this->family;
|
||||
}
|
||||
public function setSize($size)
|
||||
{
|
||||
$this->size = $size;
|
||||
}
|
||||
public function getSize()
|
||||
{
|
||||
return $this->size;
|
||||
}
|
||||
}
|
||||
115
vendor/google/apiclient-services/src/Google/Service/AdSense/AdUnit.php
vendored
Normal file
115
vendor/google/apiclient-services/src/Google/Service/AdSense/AdUnit.php
vendored
Normal file
@@ -0,0 +1,115 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_AdSense_AdUnit extends Google_Model
|
||||
{
|
||||
public $code;
|
||||
protected $contentAdsSettingsType = 'Google_Service_AdSense_AdUnitContentAdsSettings';
|
||||
protected $contentAdsSettingsDataType = '';
|
||||
protected $customStyleType = 'Google_Service_AdSense_AdStyle';
|
||||
protected $customStyleDataType = '';
|
||||
protected $feedAdsSettingsType = 'Google_Service_AdSense_AdUnitFeedAdsSettings';
|
||||
protected $feedAdsSettingsDataType = '';
|
||||
public $id;
|
||||
public $kind;
|
||||
protected $mobileContentAdsSettingsType = 'Google_Service_AdSense_AdUnitMobileContentAdsSettings';
|
||||
protected $mobileContentAdsSettingsDataType = '';
|
||||
public $name;
|
||||
public $savedStyleId;
|
||||
public $status;
|
||||
|
||||
public function setCode($code)
|
||||
{
|
||||
$this->code = $code;
|
||||
}
|
||||
public function getCode()
|
||||
{
|
||||
return $this->code;
|
||||
}
|
||||
public function setContentAdsSettings(Google_Service_AdSense_AdUnitContentAdsSettings $contentAdsSettings)
|
||||
{
|
||||
$this->contentAdsSettings = $contentAdsSettings;
|
||||
}
|
||||
public function getContentAdsSettings()
|
||||
{
|
||||
return $this->contentAdsSettings;
|
||||
}
|
||||
public function setCustomStyle(Google_Service_AdSense_AdStyle $customStyle)
|
||||
{
|
||||
$this->customStyle = $customStyle;
|
||||
}
|
||||
public function getCustomStyle()
|
||||
{
|
||||
return $this->customStyle;
|
||||
}
|
||||
public function setFeedAdsSettings(Google_Service_AdSense_AdUnitFeedAdsSettings $feedAdsSettings)
|
||||
{
|
||||
$this->feedAdsSettings = $feedAdsSettings;
|
||||
}
|
||||
public function getFeedAdsSettings()
|
||||
{
|
||||
return $this->feedAdsSettings;
|
||||
}
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setMobileContentAdsSettings(Google_Service_AdSense_AdUnitMobileContentAdsSettings $mobileContentAdsSettings)
|
||||
{
|
||||
$this->mobileContentAdsSettings = $mobileContentAdsSettings;
|
||||
}
|
||||
public function getMobileContentAdsSettings()
|
||||
{
|
||||
return $this->mobileContentAdsSettings;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setSavedStyleId($savedStyleId)
|
||||
{
|
||||
$this->savedStyleId = $savedStyleId;
|
||||
}
|
||||
public function getSavedStyleId()
|
||||
{
|
||||
return $this->savedStyleId;
|
||||
}
|
||||
public function setStatus($status)
|
||||
{
|
||||
$this->status = $status;
|
||||
}
|
||||
public function getStatus()
|
||||
{
|
||||
return $this->status;
|
||||
}
|
||||
}
|
||||
49
vendor/google/apiclient-services/src/Google/Service/AdSense/AdUnitContentAdsSettings.php
vendored
Normal file
49
vendor/google/apiclient-services/src/Google/Service/AdSense/AdUnitContentAdsSettings.php
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_AdSense_AdUnitContentAdsSettings extends Google_Model
|
||||
{
|
||||
protected $backupOptionType = 'Google_Service_AdSense_AdUnitContentAdsSettingsBackupOption';
|
||||
protected $backupOptionDataType = '';
|
||||
public $size;
|
||||
public $type;
|
||||
|
||||
public function setBackupOption(Google_Service_AdSense_AdUnitContentAdsSettingsBackupOption $backupOption)
|
||||
{
|
||||
$this->backupOption = $backupOption;
|
||||
}
|
||||
public function getBackupOption()
|
||||
{
|
||||
return $this->backupOption;
|
||||
}
|
||||
public function setSize($size)
|
||||
{
|
||||
$this->size = $size;
|
||||
}
|
||||
public function getSize()
|
||||
{
|
||||
return $this->size;
|
||||
}
|
||||
public function setType($type)
|
||||
{
|
||||
$this->type = $type;
|
||||
}
|
||||
public function getType()
|
||||
{
|
||||
return $this->type;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_AdSense_AdUnitContentAdsSettingsBackupOption extends Google_Model
|
||||
{
|
||||
public $color;
|
||||
public $type;
|
||||
public $url;
|
||||
|
||||
public function setColor($color)
|
||||
{
|
||||
$this->color = $color;
|
||||
}
|
||||
public function getColor()
|
||||
{
|
||||
return $this->color;
|
||||
}
|
||||
public function setType($type)
|
||||
{
|
||||
$this->type = $type;
|
||||
}
|
||||
public function getType()
|
||||
{
|
||||
return $this->type;
|
||||
}
|
||||
public function setUrl($url)
|
||||
{
|
||||
$this->url = $url;
|
||||
}
|
||||
public function getUrl()
|
||||
{
|
||||
return $this->url;
|
||||
}
|
||||
}
|
||||
57
vendor/google/apiclient-services/src/Google/Service/AdSense/AdUnitFeedAdsSettings.php
vendored
Normal file
57
vendor/google/apiclient-services/src/Google/Service/AdSense/AdUnitFeedAdsSettings.php
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_AdSense_AdUnitFeedAdsSettings extends Google_Model
|
||||
{
|
||||
public $adPosition;
|
||||
public $frequency;
|
||||
public $minimumWordCount;
|
||||
public $type;
|
||||
|
||||
public function setAdPosition($adPosition)
|
||||
{
|
||||
$this->adPosition = $adPosition;
|
||||
}
|
||||
public function getAdPosition()
|
||||
{
|
||||
return $this->adPosition;
|
||||
}
|
||||
public function setFrequency($frequency)
|
||||
{
|
||||
$this->frequency = $frequency;
|
||||
}
|
||||
public function getFrequency()
|
||||
{
|
||||
return $this->frequency;
|
||||
}
|
||||
public function setMinimumWordCount($minimumWordCount)
|
||||
{
|
||||
$this->minimumWordCount = $minimumWordCount;
|
||||
}
|
||||
public function getMinimumWordCount()
|
||||
{
|
||||
return $this->minimumWordCount;
|
||||
}
|
||||
public function setType($type)
|
||||
{
|
||||
$this->type = $type;
|
||||
}
|
||||
public function getType()
|
||||
{
|
||||
return $this->type;
|
||||
}
|
||||
}
|
||||
57
vendor/google/apiclient-services/src/Google/Service/AdSense/AdUnitMobileContentAdsSettings.php
vendored
Normal file
57
vendor/google/apiclient-services/src/Google/Service/AdSense/AdUnitMobileContentAdsSettings.php
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_AdSense_AdUnitMobileContentAdsSettings extends Google_Model
|
||||
{
|
||||
public $markupLanguage;
|
||||
public $scriptingLanguage;
|
||||
public $size;
|
||||
public $type;
|
||||
|
||||
public function setMarkupLanguage($markupLanguage)
|
||||
{
|
||||
$this->markupLanguage = $markupLanguage;
|
||||
}
|
||||
public function getMarkupLanguage()
|
||||
{
|
||||
return $this->markupLanguage;
|
||||
}
|
||||
public function setScriptingLanguage($scriptingLanguage)
|
||||
{
|
||||
$this->scriptingLanguage = $scriptingLanguage;
|
||||
}
|
||||
public function getScriptingLanguage()
|
||||
{
|
||||
return $this->scriptingLanguage;
|
||||
}
|
||||
public function setSize($size)
|
||||
{
|
||||
$this->size = $size;
|
||||
}
|
||||
public function getSize()
|
||||
{
|
||||
return $this->size;
|
||||
}
|
||||
public function setType($type)
|
||||
{
|
||||
$this->type = $type;
|
||||
}
|
||||
public function getType()
|
||||
{
|
||||
return $this->type;
|
||||
}
|
||||
}
|
||||
59
vendor/google/apiclient-services/src/Google/Service/AdSense/AdUnits.php
vendored
Normal file
59
vendor/google/apiclient-services/src/Google/Service/AdSense/AdUnits.php
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_AdSense_AdUnits extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
public $etag;
|
||||
protected $itemsType = 'Google_Service_AdSense_AdUnit';
|
||||
protected $itemsDataType = 'array';
|
||||
public $kind;
|
||||
public $nextPageToken;
|
||||
|
||||
public function setEtag($etag)
|
||||
{
|
||||
$this->etag = $etag;
|
||||
}
|
||||
public function getEtag()
|
||||
{
|
||||
return $this->etag;
|
||||
}
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
}
|
||||
104
vendor/google/apiclient-services/src/Google/Service/AdSense/AdsenseReportsGenerateResponse.php
vendored
Normal file
104
vendor/google/apiclient-services/src/Google/Service/AdSense/AdsenseReportsGenerateResponse.php
vendored
Normal file
@@ -0,0 +1,104 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_AdSense_AdsenseReportsGenerateResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'warnings';
|
||||
public $averages;
|
||||
public $endDate;
|
||||
protected $headersType = 'Google_Service_AdSense_AdsenseReportsGenerateResponseHeaders';
|
||||
protected $headersDataType = 'array';
|
||||
public $kind;
|
||||
public $rows;
|
||||
public $startDate;
|
||||
public $totalMatchedRows;
|
||||
public $totals;
|
||||
public $warnings;
|
||||
|
||||
public function setAverages($averages)
|
||||
{
|
||||
$this->averages = $averages;
|
||||
}
|
||||
public function getAverages()
|
||||
{
|
||||
return $this->averages;
|
||||
}
|
||||
public function setEndDate($endDate)
|
||||
{
|
||||
$this->endDate = $endDate;
|
||||
}
|
||||
public function getEndDate()
|
||||
{
|
||||
return $this->endDate;
|
||||
}
|
||||
public function setHeaders($headers)
|
||||
{
|
||||
$this->headers = $headers;
|
||||
}
|
||||
public function getHeaders()
|
||||
{
|
||||
return $this->headers;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setRows($rows)
|
||||
{
|
||||
$this->rows = $rows;
|
||||
}
|
||||
public function getRows()
|
||||
{
|
||||
return $this->rows;
|
||||
}
|
||||
public function setStartDate($startDate)
|
||||
{
|
||||
$this->startDate = $startDate;
|
||||
}
|
||||
public function getStartDate()
|
||||
{
|
||||
return $this->startDate;
|
||||
}
|
||||
public function setTotalMatchedRows($totalMatchedRows)
|
||||
{
|
||||
$this->totalMatchedRows = $totalMatchedRows;
|
||||
}
|
||||
public function getTotalMatchedRows()
|
||||
{
|
||||
return $this->totalMatchedRows;
|
||||
}
|
||||
public function setTotals($totals)
|
||||
{
|
||||
$this->totals = $totals;
|
||||
}
|
||||
public function getTotals()
|
||||
{
|
||||
return $this->totals;
|
||||
}
|
||||
public function setWarnings($warnings)
|
||||
{
|
||||
$this->warnings = $warnings;
|
||||
}
|
||||
public function getWarnings()
|
||||
{
|
||||
return $this->warnings;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_AdSense_AdsenseReportsGenerateResponseHeaders extends Google_Model
|
||||
{
|
||||
public $currency;
|
||||
public $name;
|
||||
public $type;
|
||||
|
||||
public function setCurrency($currency)
|
||||
{
|
||||
$this->currency = $currency;
|
||||
}
|
||||
public function getCurrency()
|
||||
{
|
||||
return $this->currency;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setType($type)
|
||||
{
|
||||
$this->type = $type;
|
||||
}
|
||||
public function getType()
|
||||
{
|
||||
return $this->type;
|
||||
}
|
||||
}
|
||||
75
vendor/google/apiclient-services/src/Google/Service/AdSense/Alert.php
vendored
Normal file
75
vendor/google/apiclient-services/src/Google/Service/AdSense/Alert.php
vendored
Normal file
@@ -0,0 +1,75 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_AdSense_Alert extends Google_Model
|
||||
{
|
||||
public $id;
|
||||
public $isDismissible;
|
||||
public $kind;
|
||||
public $message;
|
||||
public $severity;
|
||||
public $type;
|
||||
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
public function setIsDismissible($isDismissible)
|
||||
{
|
||||
$this->isDismissible = $isDismissible;
|
||||
}
|
||||
public function getIsDismissible()
|
||||
{
|
||||
return $this->isDismissible;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setMessage($message)
|
||||
{
|
||||
$this->message = $message;
|
||||
}
|
||||
public function getMessage()
|
||||
{
|
||||
return $this->message;
|
||||
}
|
||||
public function setSeverity($severity)
|
||||
{
|
||||
$this->severity = $severity;
|
||||
}
|
||||
public function getSeverity()
|
||||
{
|
||||
return $this->severity;
|
||||
}
|
||||
public function setType($type)
|
||||
{
|
||||
$this->type = $type;
|
||||
}
|
||||
public function getType()
|
||||
{
|
||||
return $this->type;
|
||||
}
|
||||
}
|
||||
41
vendor/google/apiclient-services/src/Google/Service/AdSense/Alerts.php
vendored
Normal file
41
vendor/google/apiclient-services/src/Google/Service/AdSense/Alerts.php
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_AdSense_Alerts extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
protected $itemsType = 'Google_Service_AdSense_Alert';
|
||||
protected $itemsDataType = 'array';
|
||||
public $kind;
|
||||
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
}
|
||||
67
vendor/google/apiclient-services/src/Google/Service/AdSense/CustomChannel.php
vendored
Normal file
67
vendor/google/apiclient-services/src/Google/Service/AdSense/CustomChannel.php
vendored
Normal file
@@ -0,0 +1,67 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_AdSense_CustomChannel extends Google_Model
|
||||
{
|
||||
public $code;
|
||||
public $id;
|
||||
public $kind;
|
||||
public $name;
|
||||
protected $targetingInfoType = 'Google_Service_AdSense_CustomChannelTargetingInfo';
|
||||
protected $targetingInfoDataType = '';
|
||||
|
||||
public function setCode($code)
|
||||
{
|
||||
$this->code = $code;
|
||||
}
|
||||
public function getCode()
|
||||
{
|
||||
return $this->code;
|
||||
}
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setTargetingInfo(Google_Service_AdSense_CustomChannelTargetingInfo $targetingInfo)
|
||||
{
|
||||
$this->targetingInfo = $targetingInfo;
|
||||
}
|
||||
public function getTargetingInfo()
|
||||
{
|
||||
return $this->targetingInfo;
|
||||
}
|
||||
}
|
||||
57
vendor/google/apiclient-services/src/Google/Service/AdSense/CustomChannelTargetingInfo.php
vendored
Normal file
57
vendor/google/apiclient-services/src/Google/Service/AdSense/CustomChannelTargetingInfo.php
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_AdSense_CustomChannelTargetingInfo extends Google_Model
|
||||
{
|
||||
public $adsAppearOn;
|
||||
public $description;
|
||||
public $location;
|
||||
public $siteLanguage;
|
||||
|
||||
public function setAdsAppearOn($adsAppearOn)
|
||||
{
|
||||
$this->adsAppearOn = $adsAppearOn;
|
||||
}
|
||||
public function getAdsAppearOn()
|
||||
{
|
||||
return $this->adsAppearOn;
|
||||
}
|
||||
public function setDescription($description)
|
||||
{
|
||||
$this->description = $description;
|
||||
}
|
||||
public function getDescription()
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
public function setLocation($location)
|
||||
{
|
||||
$this->location = $location;
|
||||
}
|
||||
public function getLocation()
|
||||
{
|
||||
return $this->location;
|
||||
}
|
||||
public function setSiteLanguage($siteLanguage)
|
||||
{
|
||||
$this->siteLanguage = $siteLanguage;
|
||||
}
|
||||
public function getSiteLanguage()
|
||||
{
|
||||
return $this->siteLanguage;
|
||||
}
|
||||
}
|
||||
59
vendor/google/apiclient-services/src/Google/Service/AdSense/CustomChannels.php
vendored
Normal file
59
vendor/google/apiclient-services/src/Google/Service/AdSense/CustomChannels.php
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_AdSense_CustomChannels extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
public $etag;
|
||||
protected $itemsType = 'Google_Service_AdSense_CustomChannel';
|
||||
protected $itemsDataType = 'array';
|
||||
public $kind;
|
||||
public $nextPageToken;
|
||||
|
||||
public function setEtag($etag)
|
||||
{
|
||||
$this->etag = $etag;
|
||||
}
|
||||
public function getEtag()
|
||||
{
|
||||
return $this->etag;
|
||||
}
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
}
|
||||
41
vendor/google/apiclient-services/src/Google/Service/AdSense/Metadata.php
vendored
Normal file
41
vendor/google/apiclient-services/src/Google/Service/AdSense/Metadata.php
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_AdSense_Metadata extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
protected $itemsType = 'Google_Service_AdSense_ReportingMetadataEntry';
|
||||
protected $itemsDataType = 'array';
|
||||
public $kind;
|
||||
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
}
|
||||
66
vendor/google/apiclient-services/src/Google/Service/AdSense/Payment.php
vendored
Normal file
66
vendor/google/apiclient-services/src/Google/Service/AdSense/Payment.php
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_AdSense_Payment extends Google_Model
|
||||
{
|
||||
public $id;
|
||||
public $kind;
|
||||
public $paymentAmount;
|
||||
public $paymentAmountCurrencyCode;
|
||||
public $paymentDate;
|
||||
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setPaymentAmount($paymentAmount)
|
||||
{
|
||||
$this->paymentAmount = $paymentAmount;
|
||||
}
|
||||
public function getPaymentAmount()
|
||||
{
|
||||
return $this->paymentAmount;
|
||||
}
|
||||
public function setPaymentAmountCurrencyCode($paymentAmountCurrencyCode)
|
||||
{
|
||||
$this->paymentAmountCurrencyCode = $paymentAmountCurrencyCode;
|
||||
}
|
||||
public function getPaymentAmountCurrencyCode()
|
||||
{
|
||||
return $this->paymentAmountCurrencyCode;
|
||||
}
|
||||
public function setPaymentDate($paymentDate)
|
||||
{
|
||||
$this->paymentDate = $paymentDate;
|
||||
}
|
||||
public function getPaymentDate()
|
||||
{
|
||||
return $this->paymentDate;
|
||||
}
|
||||
}
|
||||
41
vendor/google/apiclient-services/src/Google/Service/AdSense/Payments.php
vendored
Normal file
41
vendor/google/apiclient-services/src/Google/Service/AdSense/Payments.php
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_AdSense_Payments extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
protected $itemsType = 'Google_Service_AdSense_Payment';
|
||||
protected $itemsDataType = 'array';
|
||||
public $kind;
|
||||
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
}
|
||||
85
vendor/google/apiclient-services/src/Google/Service/AdSense/ReportingMetadataEntry.php
vendored
Normal file
85
vendor/google/apiclient-services/src/Google/Service/AdSense/ReportingMetadataEntry.php
vendored
Normal file
@@ -0,0 +1,85 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_AdSense_ReportingMetadataEntry extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'supportedProducts';
|
||||
public $compatibleDimensions;
|
||||
public $compatibleMetrics;
|
||||
public $id;
|
||||
public $kind;
|
||||
public $requiredDimensions;
|
||||
public $requiredMetrics;
|
||||
public $supportedProducts;
|
||||
|
||||
public function setCompatibleDimensions($compatibleDimensions)
|
||||
{
|
||||
$this->compatibleDimensions = $compatibleDimensions;
|
||||
}
|
||||
public function getCompatibleDimensions()
|
||||
{
|
||||
return $this->compatibleDimensions;
|
||||
}
|
||||
public function setCompatibleMetrics($compatibleMetrics)
|
||||
{
|
||||
$this->compatibleMetrics = $compatibleMetrics;
|
||||
}
|
||||
public function getCompatibleMetrics()
|
||||
{
|
||||
return $this->compatibleMetrics;
|
||||
}
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setRequiredDimensions($requiredDimensions)
|
||||
{
|
||||
$this->requiredDimensions = $requiredDimensions;
|
||||
}
|
||||
public function getRequiredDimensions()
|
||||
{
|
||||
return $this->requiredDimensions;
|
||||
}
|
||||
public function setRequiredMetrics($requiredMetrics)
|
||||
{
|
||||
$this->requiredMetrics = $requiredMetrics;
|
||||
}
|
||||
public function getRequiredMetrics()
|
||||
{
|
||||
return $this->requiredMetrics;
|
||||
}
|
||||
public function setSupportedProducts($supportedProducts)
|
||||
{
|
||||
$this->supportedProducts = $supportedProducts;
|
||||
}
|
||||
public function getSupportedProducts()
|
||||
{
|
||||
return $this->supportedProducts;
|
||||
}
|
||||
}
|
||||
61
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/Accounts.php
vendored
Normal file
61
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/Accounts.php
vendored
Normal file
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "accounts" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $adsenseService = new Google_Service_AdSense(...);
|
||||
* $accounts = $adsenseService->accounts;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_AdSense_Resource_Accounts extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Get information about the selected AdSense account. (accounts.get)
|
||||
*
|
||||
* @param string $accountId Account to get information about.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param bool tree Whether the tree of sub accounts should be returned.
|
||||
* @return Google_Service_AdSense_Account
|
||||
*/
|
||||
public function get($accountId, $optParams = array())
|
||||
{
|
||||
$params = array('accountId' => $accountId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_AdSense_Account");
|
||||
}
|
||||
/**
|
||||
* List all accounts available to this AdSense account. (accounts.listAccounts)
|
||||
*
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param int maxResults The maximum number of accounts to include in the
|
||||
* response, used for paging.
|
||||
* @opt_param string pageToken A continuation token, used to page through
|
||||
* accounts. To retrieve the next page, set this parameter to the value of
|
||||
* "nextPageToken" from the previous response.
|
||||
* @return Google_Service_AdSense_Accounts
|
||||
*/
|
||||
public function listAccounts($optParams = array())
|
||||
{
|
||||
$params = array();
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_AdSense_Accounts");
|
||||
}
|
||||
}
|
||||
48
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAdclients.php
vendored
Normal file
48
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAdclients.php
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "adclients" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $adsenseService = new Google_Service_AdSense(...);
|
||||
* $adclients = $adsenseService->adclients;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_AdSense_Resource_AccountsAdclients extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* List all ad clients in the specified account.
|
||||
* (adclients.listAccountsAdclients)
|
||||
*
|
||||
* @param string $accountId Account for which to list ad clients.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param int maxResults The maximum number of ad clients to include in the
|
||||
* response, used for paging.
|
||||
* @opt_param string pageToken A continuation token, used to page through ad
|
||||
* clients. To retrieve the next page, set this parameter to the value of
|
||||
* "nextPageToken" from the previous response.
|
||||
* @return Google_Service_AdSense_AdClients
|
||||
*/
|
||||
public function listAccountsAdclients($accountId, $optParams = array())
|
||||
{
|
||||
$params = array('accountId' => $accountId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_AdSense_AdClients");
|
||||
}
|
||||
}
|
||||
82
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAdunits.php
vendored
Normal file
82
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAdunits.php
vendored
Normal file
@@ -0,0 +1,82 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "adunits" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $adsenseService = new Google_Service_AdSense(...);
|
||||
* $adunits = $adsenseService->adunits;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_AdSense_Resource_AccountsAdunits extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Gets the specified ad unit in the specified ad client for the specified
|
||||
* account. (adunits.get)
|
||||
*
|
||||
* @param string $accountId Account to which the ad client belongs.
|
||||
* @param string $adClientId Ad client for which to get the ad unit.
|
||||
* @param string $adUnitId Ad unit to retrieve.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_AdSense_AdUnit
|
||||
*/
|
||||
public function get($accountId, $adClientId, $adUnitId, $optParams = array())
|
||||
{
|
||||
$params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_AdSense_AdUnit");
|
||||
}
|
||||
/**
|
||||
* Get ad code for the specified ad unit. (adunits.getAdCode)
|
||||
*
|
||||
* @param string $accountId Account which contains the ad client.
|
||||
* @param string $adClientId Ad client with contains the ad unit.
|
||||
* @param string $adUnitId Ad unit to get the code for.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_AdSense_AdCode
|
||||
*/
|
||||
public function getAdCode($accountId, $adClientId, $adUnitId, $optParams = array())
|
||||
{
|
||||
$params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('getAdCode', array($params), "Google_Service_AdSense_AdCode");
|
||||
}
|
||||
/**
|
||||
* List all ad units in the specified ad client for the specified account.
|
||||
* (adunits.listAccountsAdunits)
|
||||
*
|
||||
* @param string $accountId Account to which the ad client belongs.
|
||||
* @param string $adClientId Ad client for which to list ad units.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param bool includeInactive Whether to include inactive ad units.
|
||||
* Default: true.
|
||||
* @opt_param int maxResults The maximum number of ad units to include in the
|
||||
* response, used for paging.
|
||||
* @opt_param string pageToken A continuation token, used to page through ad
|
||||
* units. To retrieve the next page, set this parameter to the value of
|
||||
* "nextPageToken" from the previous response.
|
||||
* @return Google_Service_AdSense_AdUnits
|
||||
*/
|
||||
public function listAccountsAdunits($accountId, $adClientId, $optParams = array())
|
||||
{
|
||||
$params = array('accountId' => $accountId, 'adClientId' => $adClientId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_AdSense_AdUnits");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "customchannels" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $adsenseService = new Google_Service_AdSense(...);
|
||||
* $customchannels = $adsenseService->customchannels;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_AdSense_Resource_AccountsAdunitsCustomchannels extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* List all custom channels which the specified ad unit belongs to.
|
||||
* (customchannels.listAccountsAdunitsCustomchannels)
|
||||
*
|
||||
* @param string $accountId Account to which the ad client belongs.
|
||||
* @param string $adClientId Ad client which contains the ad unit.
|
||||
* @param string $adUnitId Ad unit for which to list custom channels.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param int maxResults The maximum number of custom channels to include in
|
||||
* the response, used for paging.
|
||||
* @opt_param string pageToken A continuation token, used to page through custom
|
||||
* channels. To retrieve the next page, set this parameter to the value of
|
||||
* "nextPageToken" from the previous response.
|
||||
* @return Google_Service_AdSense_CustomChannels
|
||||
*/
|
||||
public function listAccountsAdunitsCustomchannels($accountId, $adClientId, $adUnitId, $optParams = array())
|
||||
{
|
||||
$params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_AdSense_CustomChannels");
|
||||
}
|
||||
}
|
||||
60
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAlerts.php
vendored
Normal file
60
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsAlerts.php
vendored
Normal file
@@ -0,0 +1,60 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "alerts" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $adsenseService = new Google_Service_AdSense(...);
|
||||
* $alerts = $adsenseService->alerts;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_AdSense_Resource_AccountsAlerts extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Dismiss (delete) the specified alert from the specified publisher AdSense
|
||||
* account. (alerts.delete)
|
||||
*
|
||||
* @param string $accountId Account which contains the ad unit.
|
||||
* @param string $alertId Alert to delete.
|
||||
* @param array $optParams Optional parameters.
|
||||
*/
|
||||
public function delete($accountId, $alertId, $optParams = array())
|
||||
{
|
||||
$params = array('accountId' => $accountId, 'alertId' => $alertId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', array($params));
|
||||
}
|
||||
/**
|
||||
* List the alerts for the specified AdSense account.
|
||||
* (alerts.listAccountsAlerts)
|
||||
*
|
||||
* @param string $accountId Account for which to retrieve the alerts.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string locale The locale to use for translating alert messages.
|
||||
* The account locale will be used if this is not supplied. The AdSense default
|
||||
* (English) will be used if the supplied locale is invalid or unsupported.
|
||||
* @return Google_Service_AdSense_Alerts
|
||||
*/
|
||||
public function listAccountsAlerts($accountId, $optParams = array())
|
||||
{
|
||||
$params = array('accountId' => $accountId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_AdSense_Alerts");
|
||||
}
|
||||
}
|
||||
65
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsCustomchannels.php
vendored
Normal file
65
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsCustomchannels.php
vendored
Normal file
@@ -0,0 +1,65 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "customchannels" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $adsenseService = new Google_Service_AdSense(...);
|
||||
* $customchannels = $adsenseService->customchannels;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_AdSense_Resource_AccountsCustomchannels extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Get the specified custom channel from the specified ad client for the
|
||||
* specified account. (customchannels.get)
|
||||
*
|
||||
* @param string $accountId Account to which the ad client belongs.
|
||||
* @param string $adClientId Ad client which contains the custom channel.
|
||||
* @param string $customChannelId Custom channel to retrieve.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_AdSense_CustomChannel
|
||||
*/
|
||||
public function get($accountId, $adClientId, $customChannelId, $optParams = array())
|
||||
{
|
||||
$params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'customChannelId' => $customChannelId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_AdSense_CustomChannel");
|
||||
}
|
||||
/**
|
||||
* List all custom channels in the specified ad client for the specified
|
||||
* account. (customchannels.listAccountsCustomchannels)
|
||||
*
|
||||
* @param string $accountId Account to which the ad client belongs.
|
||||
* @param string $adClientId Ad client for which to list custom channels.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param int maxResults The maximum number of custom channels to include in
|
||||
* the response, used for paging.
|
||||
* @opt_param string pageToken A continuation token, used to page through custom
|
||||
* channels. To retrieve the next page, set this parameter to the value of
|
||||
* "nextPageToken" from the previous response.
|
||||
* @return Google_Service_AdSense_CustomChannels
|
||||
*/
|
||||
public function listAccountsCustomchannels($accountId, $adClientId, $optParams = array())
|
||||
{
|
||||
$params = array('accountId' => $accountId, 'adClientId' => $adClientId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_AdSense_CustomChannels");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "adunits" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $adsenseService = new Google_Service_AdSense(...);
|
||||
* $adunits = $adsenseService->adunits;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_AdSense_Resource_AccountsCustomchannelsAdunits extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* List all ad units in the specified custom channel.
|
||||
* (adunits.listAccountsCustomchannelsAdunits)
|
||||
*
|
||||
* @param string $accountId Account to which the ad client belongs.
|
||||
* @param string $adClientId Ad client which contains the custom channel.
|
||||
* @param string $customChannelId Custom channel for which to list ad units.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param bool includeInactive Whether to include inactive ad units.
|
||||
* Default: true.
|
||||
* @opt_param int maxResults The maximum number of ad units to include in the
|
||||
* response, used for paging.
|
||||
* @opt_param string pageToken A continuation token, used to page through ad
|
||||
* units. To retrieve the next page, set this parameter to the value of
|
||||
* "nextPageToken" from the previous response.
|
||||
* @return Google_Service_AdSense_AdUnits
|
||||
*/
|
||||
public function listAccountsCustomchannelsAdunits($accountId, $adClientId, $customChannelId, $optParams = array())
|
||||
{
|
||||
$params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'customChannelId' => $customChannelId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_AdSense_AdUnits");
|
||||
}
|
||||
}
|
||||
42
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsPayments.php
vendored
Normal file
42
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsPayments.php
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "payments" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $adsenseService = new Google_Service_AdSense(...);
|
||||
* $payments = $adsenseService->payments;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_AdSense_Resource_AccountsPayments extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* List the payments for the specified AdSense account.
|
||||
* (payments.listAccountsPayments)
|
||||
*
|
||||
* @param string $accountId Account for which to retrieve the payments.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_AdSense_Payments
|
||||
*/
|
||||
public function listAccountsPayments($accountId, $optParams = array())
|
||||
{
|
||||
$params = array('accountId' => $accountId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_AdSense_Payments");
|
||||
}
|
||||
}
|
||||
64
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsReports.php
vendored
Normal file
64
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsReports.php
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "reports" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $adsenseService = new Google_Service_AdSense(...);
|
||||
* $reports = $adsenseService->reports;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_AdSense_Resource_AccountsReports extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Generate an AdSense report based on the report request sent in the query
|
||||
* parameters. Returns the result as JSON; to retrieve output in CSV format
|
||||
* specify "alt=csv" as a query parameter. (reports.generate)
|
||||
*
|
||||
* @param string $accountId Account upon which to report.
|
||||
* @param string $startDate Start of the date range to report on in "YYYY-MM-DD"
|
||||
* format, inclusive.
|
||||
* @param string $endDate End of the date range to report on in "YYYY-MM-DD"
|
||||
* format, inclusive.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string currency Optional currency to use when reporting on
|
||||
* monetary metrics. Defaults to the account's currency if not set.
|
||||
* @opt_param string dimension Dimensions to base the report on.
|
||||
* @opt_param string filter Filters to be run on the report.
|
||||
* @opt_param string locale Optional locale to use for translating report output
|
||||
* to a local language. Defaults to "en_US" if not specified.
|
||||
* @opt_param int maxResults The maximum number of rows of report data to
|
||||
* return.
|
||||
* @opt_param string metric Numeric columns to include in the report.
|
||||
* @opt_param string sort The name of a dimension or metric to sort the
|
||||
* resulting report on, optionally prefixed with "+" to sort ascending or "-" to
|
||||
* sort descending. If no prefix is specified, the column is sorted ascending.
|
||||
* @opt_param int startIndex Index of the first row of report data to return.
|
||||
* @opt_param bool useTimezoneReporting Whether the report should be generated
|
||||
* in the AdSense account's local timezone. If false default PST/PDT timezone
|
||||
* will be used.
|
||||
* @return Google_Service_AdSense_AdsenseReportsGenerateResponse
|
||||
*/
|
||||
public function generate($accountId, $startDate, $endDate, $optParams = array())
|
||||
{
|
||||
$params = array('accountId' => $accountId, 'startDate' => $startDate, 'endDate' => $endDate);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('generate', array($params), "Google_Service_AdSense_AdsenseReportsGenerateResponse");
|
||||
}
|
||||
}
|
||||
69
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsReportsSaved.php
vendored
Normal file
69
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsReportsSaved.php
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "saved" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $adsenseService = new Google_Service_AdSense(...);
|
||||
* $saved = $adsenseService->saved;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_AdSense_Resource_AccountsReportsSaved extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Generate an AdSense report based on the saved report ID sent in the query
|
||||
* parameters. (saved.generate)
|
||||
*
|
||||
* @param string $accountId Account to which the saved reports belong.
|
||||
* @param string $savedReportId The saved report to retrieve.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string locale Optional locale to use for translating report output
|
||||
* to a local language. Defaults to "en_US" if not specified.
|
||||
* @opt_param int maxResults The maximum number of rows of report data to
|
||||
* return.
|
||||
* @opt_param int startIndex Index of the first row of report data to return.
|
||||
* @return Google_Service_AdSense_AdsenseReportsGenerateResponse
|
||||
*/
|
||||
public function generate($accountId, $savedReportId, $optParams = array())
|
||||
{
|
||||
$params = array('accountId' => $accountId, 'savedReportId' => $savedReportId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('generate', array($params), "Google_Service_AdSense_AdsenseReportsGenerateResponse");
|
||||
}
|
||||
/**
|
||||
* List all saved reports in the specified AdSense account.
|
||||
* (saved.listAccountsReportsSaved)
|
||||
*
|
||||
* @param string $accountId Account to which the saved reports belong.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param int maxResults The maximum number of saved reports to include in
|
||||
* the response, used for paging.
|
||||
* @opt_param string pageToken A continuation token, used to page through saved
|
||||
* reports. To retrieve the next page, set this parameter to the value of
|
||||
* "nextPageToken" from the previous response.
|
||||
* @return Google_Service_AdSense_SavedReports
|
||||
*/
|
||||
public function listAccountsReportsSaved($accountId, $optParams = array())
|
||||
{
|
||||
$params = array('accountId' => $accountId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_AdSense_SavedReports");
|
||||
}
|
||||
}
|
||||
62
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsSavedadstyles.php
vendored
Normal file
62
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsSavedadstyles.php
vendored
Normal file
@@ -0,0 +1,62 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "savedadstyles" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $adsenseService = new Google_Service_AdSense(...);
|
||||
* $savedadstyles = $adsenseService->savedadstyles;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_AdSense_Resource_AccountsSavedadstyles extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* List a specific saved ad style for the specified account. (savedadstyles.get)
|
||||
*
|
||||
* @param string $accountId Account for which to get the saved ad style.
|
||||
* @param string $savedAdStyleId Saved ad style to retrieve.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_AdSense_SavedAdStyle
|
||||
*/
|
||||
public function get($accountId, $savedAdStyleId, $optParams = array())
|
||||
{
|
||||
$params = array('accountId' => $accountId, 'savedAdStyleId' => $savedAdStyleId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_AdSense_SavedAdStyle");
|
||||
}
|
||||
/**
|
||||
* List all saved ad styles in the specified account.
|
||||
* (savedadstyles.listAccountsSavedadstyles)
|
||||
*
|
||||
* @param string $accountId Account for which to list saved ad styles.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param int maxResults The maximum number of saved ad styles to include in
|
||||
* the response, used for paging.
|
||||
* @opt_param string pageToken A continuation token, used to page through saved
|
||||
* ad styles. To retrieve the next page, set this parameter to the value of
|
||||
* "nextPageToken" from the previous response.
|
||||
* @return Google_Service_AdSense_SavedAdStyles
|
||||
*/
|
||||
public function listAccountsSavedadstyles($accountId, $optParams = array())
|
||||
{
|
||||
$params = array('accountId' => $accountId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_AdSense_SavedAdStyles");
|
||||
}
|
||||
}
|
||||
49
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsUrlchannels.php
vendored
Normal file
49
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/AccountsUrlchannels.php
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "urlchannels" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $adsenseService = new Google_Service_AdSense(...);
|
||||
* $urlchannels = $adsenseService->urlchannels;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_AdSense_Resource_AccountsUrlchannels extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* List all URL channels in the specified ad client for the specified account.
|
||||
* (urlchannels.listAccountsUrlchannels)
|
||||
*
|
||||
* @param string $accountId Account to which the ad client belongs.
|
||||
* @param string $adClientId Ad client for which to list URL channels.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param int maxResults The maximum number of URL channels to include in
|
||||
* the response, used for paging.
|
||||
* @opt_param string pageToken A continuation token, used to page through URL
|
||||
* channels. To retrieve the next page, set this parameter to the value of
|
||||
* "nextPageToken" from the previous response.
|
||||
* @return Google_Service_AdSense_UrlChannels
|
||||
*/
|
||||
public function listAccountsUrlchannels($accountId, $adClientId, $optParams = array())
|
||||
{
|
||||
$params = array('accountId' => $accountId, 'adClientId' => $adClientId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_AdSense_UrlChannels");
|
||||
}
|
||||
}
|
||||
46
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/Adclients.php
vendored
Normal file
46
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/Adclients.php
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "adclients" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $adsenseService = new Google_Service_AdSense(...);
|
||||
* $adclients = $adsenseService->adclients;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_AdSense_Resource_Adclients extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* List all ad clients in this AdSense account. (adclients.listAdclients)
|
||||
*
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param int maxResults The maximum number of ad clients to include in the
|
||||
* response, used for paging.
|
||||
* @opt_param string pageToken A continuation token, used to page through ad
|
||||
* clients. To retrieve the next page, set this parameter to the value of
|
||||
* "nextPageToken" from the previous response.
|
||||
* @return Google_Service_AdSense_AdClients
|
||||
*/
|
||||
public function listAdclients($optParams = array())
|
||||
{
|
||||
$params = array();
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_AdSense_AdClients");
|
||||
}
|
||||
}
|
||||
78
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/Adunits.php
vendored
Normal file
78
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/Adunits.php
vendored
Normal file
@@ -0,0 +1,78 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "adunits" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $adsenseService = new Google_Service_AdSense(...);
|
||||
* $adunits = $adsenseService->adunits;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_AdSense_Resource_Adunits extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Gets the specified ad unit in the specified ad client. (adunits.get)
|
||||
*
|
||||
* @param string $adClientId Ad client for which to get the ad unit.
|
||||
* @param string $adUnitId Ad unit to retrieve.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_AdSense_AdUnit
|
||||
*/
|
||||
public function get($adClientId, $adUnitId, $optParams = array())
|
||||
{
|
||||
$params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_AdSense_AdUnit");
|
||||
}
|
||||
/**
|
||||
* Get ad code for the specified ad unit. (adunits.getAdCode)
|
||||
*
|
||||
* @param string $adClientId Ad client with contains the ad unit.
|
||||
* @param string $adUnitId Ad unit to get the code for.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_AdSense_AdCode
|
||||
*/
|
||||
public function getAdCode($adClientId, $adUnitId, $optParams = array())
|
||||
{
|
||||
$params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('getAdCode', array($params), "Google_Service_AdSense_AdCode");
|
||||
}
|
||||
/**
|
||||
* List all ad units in the specified ad client for this AdSense account.
|
||||
* (adunits.listAdunits)
|
||||
*
|
||||
* @param string $adClientId Ad client for which to list ad units.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param bool includeInactive Whether to include inactive ad units.
|
||||
* Default: true.
|
||||
* @opt_param int maxResults The maximum number of ad units to include in the
|
||||
* response, used for paging.
|
||||
* @opt_param string pageToken A continuation token, used to page through ad
|
||||
* units. To retrieve the next page, set this parameter to the value of
|
||||
* "nextPageToken" from the previous response.
|
||||
* @return Google_Service_AdSense_AdUnits
|
||||
*/
|
||||
public function listAdunits($adClientId, $optParams = array())
|
||||
{
|
||||
$params = array('adClientId' => $adClientId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_AdSense_AdUnits");
|
||||
}
|
||||
}
|
||||
49
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/AdunitsCustomchannels.php
vendored
Normal file
49
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/AdunitsCustomchannels.php
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "customchannels" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $adsenseService = new Google_Service_AdSense(...);
|
||||
* $customchannels = $adsenseService->customchannels;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_AdSense_Resource_AdunitsCustomchannels extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* List all custom channels which the specified ad unit belongs to.
|
||||
* (customchannels.listAdunitsCustomchannels)
|
||||
*
|
||||
* @param string $adClientId Ad client which contains the ad unit.
|
||||
* @param string $adUnitId Ad unit for which to list custom channels.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param int maxResults The maximum number of custom channels to include in
|
||||
* the response, used for paging.
|
||||
* @opt_param string pageToken A continuation token, used to page through custom
|
||||
* channels. To retrieve the next page, set this parameter to the value of
|
||||
* "nextPageToken" from the previous response.
|
||||
* @return Google_Service_AdSense_CustomChannels
|
||||
*/
|
||||
public function listAdunitsCustomchannels($adClientId, $adUnitId, $optParams = array())
|
||||
{
|
||||
$params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_AdSense_CustomChannels");
|
||||
}
|
||||
}
|
||||
57
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/Alerts.php
vendored
Normal file
57
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/Alerts.php
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "alerts" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $adsenseService = new Google_Service_AdSense(...);
|
||||
* $alerts = $adsenseService->alerts;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_AdSense_Resource_Alerts extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Dismiss (delete) the specified alert from the publisher's AdSense account.
|
||||
* (alerts.delete)
|
||||
*
|
||||
* @param string $alertId Alert to delete.
|
||||
* @param array $optParams Optional parameters.
|
||||
*/
|
||||
public function delete($alertId, $optParams = array())
|
||||
{
|
||||
$params = array('alertId' => $alertId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', array($params));
|
||||
}
|
||||
/**
|
||||
* List the alerts for this AdSense account. (alerts.listAlerts)
|
||||
*
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string locale The locale to use for translating alert messages.
|
||||
* The account locale will be used if this is not supplied. The AdSense default
|
||||
* (English) will be used if the supplied locale is invalid or unsupported.
|
||||
* @return Google_Service_AdSense_Alerts
|
||||
*/
|
||||
public function listAlerts($optParams = array())
|
||||
{
|
||||
$params = array();
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_AdSense_Alerts");
|
||||
}
|
||||
}
|
||||
63
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/Customchannels.php
vendored
Normal file
63
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/Customchannels.php
vendored
Normal file
@@ -0,0 +1,63 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "customchannels" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $adsenseService = new Google_Service_AdSense(...);
|
||||
* $customchannels = $adsenseService->customchannels;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_AdSense_Resource_Customchannels extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Get the specified custom channel from the specified ad client.
|
||||
* (customchannels.get)
|
||||
*
|
||||
* @param string $adClientId Ad client which contains the custom channel.
|
||||
* @param string $customChannelId Custom channel to retrieve.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_AdSense_CustomChannel
|
||||
*/
|
||||
public function get($adClientId, $customChannelId, $optParams = array())
|
||||
{
|
||||
$params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_AdSense_CustomChannel");
|
||||
}
|
||||
/**
|
||||
* List all custom channels in the specified ad client for this AdSense account.
|
||||
* (customchannels.listCustomchannels)
|
||||
*
|
||||
* @param string $adClientId Ad client for which to list custom channels.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param int maxResults The maximum number of custom channels to include in
|
||||
* the response, used for paging.
|
||||
* @opt_param string pageToken A continuation token, used to page through custom
|
||||
* channels. To retrieve the next page, set this parameter to the value of
|
||||
* "nextPageToken" from the previous response.
|
||||
* @return Google_Service_AdSense_CustomChannels
|
||||
*/
|
||||
public function listCustomchannels($adClientId, $optParams = array())
|
||||
{
|
||||
$params = array('adClientId' => $adClientId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_AdSense_CustomChannels");
|
||||
}
|
||||
}
|
||||
51
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/CustomchannelsAdunits.php
vendored
Normal file
51
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/CustomchannelsAdunits.php
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "adunits" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $adsenseService = new Google_Service_AdSense(...);
|
||||
* $adunits = $adsenseService->adunits;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_AdSense_Resource_CustomchannelsAdunits extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* List all ad units in the specified custom channel.
|
||||
* (adunits.listCustomchannelsAdunits)
|
||||
*
|
||||
* @param string $adClientId Ad client which contains the custom channel.
|
||||
* @param string $customChannelId Custom channel for which to list ad units.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param bool includeInactive Whether to include inactive ad units.
|
||||
* Default: true.
|
||||
* @opt_param int maxResults The maximum number of ad units to include in the
|
||||
* response, used for paging.
|
||||
* @opt_param string pageToken A continuation token, used to page through ad
|
||||
* units. To retrieve the next page, set this parameter to the value of
|
||||
* "nextPageToken" from the previous response.
|
||||
* @return Google_Service_AdSense_AdUnits
|
||||
*/
|
||||
public function listCustomchannelsAdunits($adClientId, $customChannelId, $optParams = array())
|
||||
{
|
||||
$params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_AdSense_AdUnits");
|
||||
}
|
||||
}
|
||||
28
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/Metadata.php
vendored
Normal file
28
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/Metadata.php
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "metadata" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $adsenseService = new Google_Service_AdSense(...);
|
||||
* $metadata = $adsenseService->metadata;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_AdSense_Resource_Metadata extends Google_Service_Resource
|
||||
{
|
||||
}
|
||||
41
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/MetadataDimensions.php
vendored
Normal file
41
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/MetadataDimensions.php
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "dimensions" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $adsenseService = new Google_Service_AdSense(...);
|
||||
* $dimensions = $adsenseService->dimensions;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_AdSense_Resource_MetadataDimensions extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* List the metadata for the dimensions available to this AdSense account.
|
||||
* (dimensions.listMetadataDimensions)
|
||||
*
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_AdSense_Metadata
|
||||
*/
|
||||
public function listMetadataDimensions($optParams = array())
|
||||
{
|
||||
$params = array();
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_AdSense_Metadata");
|
||||
}
|
||||
}
|
||||
41
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/MetadataMetrics.php
vendored
Normal file
41
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/MetadataMetrics.php
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "metrics" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $adsenseService = new Google_Service_AdSense(...);
|
||||
* $metrics = $adsenseService->metrics;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_AdSense_Resource_MetadataMetrics extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* List the metadata for the metrics available to this AdSense account.
|
||||
* (metrics.listMetadataMetrics)
|
||||
*
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_AdSense_Metadata
|
||||
*/
|
||||
public function listMetadataMetrics($optParams = array())
|
||||
{
|
||||
$params = array();
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_AdSense_Metadata");
|
||||
}
|
||||
}
|
||||
40
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/Payments.php
vendored
Normal file
40
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/Payments.php
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "payments" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $adsenseService = new Google_Service_AdSense(...);
|
||||
* $payments = $adsenseService->payments;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_AdSense_Resource_Payments extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* List the payments for this AdSense account. (payments.listPayments)
|
||||
*
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_AdSense_Payments
|
||||
*/
|
||||
public function listPayments($optParams = array())
|
||||
{
|
||||
$params = array();
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_AdSense_Payments");
|
||||
}
|
||||
}
|
||||
64
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/Reports.php
vendored
Normal file
64
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/Reports.php
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "reports" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $adsenseService = new Google_Service_AdSense(...);
|
||||
* $reports = $adsenseService->reports;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_AdSense_Resource_Reports extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Generate an AdSense report based on the report request sent in the query
|
||||
* parameters. Returns the result as JSON; to retrieve output in CSV format
|
||||
* specify "alt=csv" as a query parameter. (reports.generate)
|
||||
*
|
||||
* @param string $startDate Start of the date range to report on in "YYYY-MM-DD"
|
||||
* format, inclusive.
|
||||
* @param string $endDate End of the date range to report on in "YYYY-MM-DD"
|
||||
* format, inclusive.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string accountId Accounts upon which to report.
|
||||
* @opt_param string currency Optional currency to use when reporting on
|
||||
* monetary metrics. Defaults to the account's currency if not set.
|
||||
* @opt_param string dimension Dimensions to base the report on.
|
||||
* @opt_param string filter Filters to be run on the report.
|
||||
* @opt_param string locale Optional locale to use for translating report output
|
||||
* to a local language. Defaults to "en_US" if not specified.
|
||||
* @opt_param int maxResults The maximum number of rows of report data to
|
||||
* return.
|
||||
* @opt_param string metric Numeric columns to include in the report.
|
||||
* @opt_param string sort The name of a dimension or metric to sort the
|
||||
* resulting report on, optionally prefixed with "+" to sort ascending or "-" to
|
||||
* sort descending. If no prefix is specified, the column is sorted ascending.
|
||||
* @opt_param int startIndex Index of the first row of report data to return.
|
||||
* @opt_param bool useTimezoneReporting Whether the report should be generated
|
||||
* in the AdSense account's local timezone. If false default PST/PDT timezone
|
||||
* will be used.
|
||||
* @return Google_Service_AdSense_AdsenseReportsGenerateResponse
|
||||
*/
|
||||
public function generate($startDate, $endDate, $optParams = array())
|
||||
{
|
||||
$params = array('startDate' => $startDate, 'endDate' => $endDate);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('generate', array($params), "Google_Service_AdSense_AdsenseReportsGenerateResponse");
|
||||
}
|
||||
}
|
||||
66
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/ReportsSaved.php
vendored
Normal file
66
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/ReportsSaved.php
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "saved" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $adsenseService = new Google_Service_AdSense(...);
|
||||
* $saved = $adsenseService->saved;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_AdSense_Resource_ReportsSaved extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Generate an AdSense report based on the saved report ID sent in the query
|
||||
* parameters. (saved.generate)
|
||||
*
|
||||
* @param string $savedReportId The saved report to retrieve.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string locale Optional locale to use for translating report output
|
||||
* to a local language. Defaults to "en_US" if not specified.
|
||||
* @opt_param int maxResults The maximum number of rows of report data to
|
||||
* return.
|
||||
* @opt_param int startIndex Index of the first row of report data to return.
|
||||
* @return Google_Service_AdSense_AdsenseReportsGenerateResponse
|
||||
*/
|
||||
public function generate($savedReportId, $optParams = array())
|
||||
{
|
||||
$params = array('savedReportId' => $savedReportId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('generate', array($params), "Google_Service_AdSense_AdsenseReportsGenerateResponse");
|
||||
}
|
||||
/**
|
||||
* List all saved reports in this AdSense account. (saved.listReportsSaved)
|
||||
*
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param int maxResults The maximum number of saved reports to include in
|
||||
* the response, used for paging.
|
||||
* @opt_param string pageToken A continuation token, used to page through saved
|
||||
* reports. To retrieve the next page, set this parameter to the value of
|
||||
* "nextPageToken" from the previous response.
|
||||
* @return Google_Service_AdSense_SavedReports
|
||||
*/
|
||||
public function listReportsSaved($optParams = array())
|
||||
{
|
||||
$params = array();
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_AdSense_SavedReports");
|
||||
}
|
||||
}
|
||||
60
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/Savedadstyles.php
vendored
Normal file
60
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/Savedadstyles.php
vendored
Normal file
@@ -0,0 +1,60 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "savedadstyles" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $adsenseService = new Google_Service_AdSense(...);
|
||||
* $savedadstyles = $adsenseService->savedadstyles;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_AdSense_Resource_Savedadstyles extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Get a specific saved ad style from the user's account. (savedadstyles.get)
|
||||
*
|
||||
* @param string $savedAdStyleId Saved ad style to retrieve.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_AdSense_SavedAdStyle
|
||||
*/
|
||||
public function get($savedAdStyleId, $optParams = array())
|
||||
{
|
||||
$params = array('savedAdStyleId' => $savedAdStyleId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_AdSense_SavedAdStyle");
|
||||
}
|
||||
/**
|
||||
* List all saved ad styles in the user's account.
|
||||
* (savedadstyles.listSavedadstyles)
|
||||
*
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param int maxResults The maximum number of saved ad styles to include in
|
||||
* the response, used for paging.
|
||||
* @opt_param string pageToken A continuation token, used to page through saved
|
||||
* ad styles. To retrieve the next page, set this parameter to the value of
|
||||
* "nextPageToken" from the previous response.
|
||||
* @return Google_Service_AdSense_SavedAdStyles
|
||||
*/
|
||||
public function listSavedadstyles($optParams = array())
|
||||
{
|
||||
$params = array();
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_AdSense_SavedAdStyles");
|
||||
}
|
||||
}
|
||||
48
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/Urlchannels.php
vendored
Normal file
48
vendor/google/apiclient-services/src/Google/Service/AdSense/Resource/Urlchannels.php
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "urlchannels" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $adsenseService = new Google_Service_AdSense(...);
|
||||
* $urlchannels = $adsenseService->urlchannels;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_AdSense_Resource_Urlchannels extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* List all URL channels in the specified ad client for this AdSense account.
|
||||
* (urlchannels.listUrlchannels)
|
||||
*
|
||||
* @param string $adClientId Ad client for which to list URL channels.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param int maxResults The maximum number of URL channels to include in
|
||||
* the response, used for paging.
|
||||
* @opt_param string pageToken A continuation token, used to page through URL
|
||||
* channels. To retrieve the next page, set this parameter to the value of
|
||||
* "nextPageToken" from the previous response.
|
||||
* @return Google_Service_AdSense_UrlChannels
|
||||
*/
|
||||
public function listUrlchannels($adClientId, $optParams = array())
|
||||
{
|
||||
$params = array('adClientId' => $adClientId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_AdSense_UrlChannels");
|
||||
}
|
||||
}
|
||||
58
vendor/google/apiclient-services/src/Google/Service/AdSense/SavedAdStyle.php
vendored
Normal file
58
vendor/google/apiclient-services/src/Google/Service/AdSense/SavedAdStyle.php
vendored
Normal file
@@ -0,0 +1,58 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_AdSense_SavedAdStyle extends Google_Model
|
||||
{
|
||||
protected $adStyleType = 'Google_Service_AdSense_AdStyle';
|
||||
protected $adStyleDataType = '';
|
||||
public $id;
|
||||
public $kind;
|
||||
public $name;
|
||||
|
||||
public function setAdStyle(Google_Service_AdSense_AdStyle $adStyle)
|
||||
{
|
||||
$this->adStyle = $adStyle;
|
||||
}
|
||||
public function getAdStyle()
|
||||
{
|
||||
return $this->adStyle;
|
||||
}
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
}
|
||||
59
vendor/google/apiclient-services/src/Google/Service/AdSense/SavedAdStyles.php
vendored
Normal file
59
vendor/google/apiclient-services/src/Google/Service/AdSense/SavedAdStyles.php
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_AdSense_SavedAdStyles extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
public $etag;
|
||||
protected $itemsType = 'Google_Service_AdSense_SavedAdStyle';
|
||||
protected $itemsDataType = 'array';
|
||||
public $kind;
|
||||
public $nextPageToken;
|
||||
|
||||
public function setEtag($etag)
|
||||
{
|
||||
$this->etag = $etag;
|
||||
}
|
||||
public function getEtag()
|
||||
{
|
||||
return $this->etag;
|
||||
}
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
}
|
||||
48
vendor/google/apiclient-services/src/Google/Service/AdSense/SavedReport.php
vendored
Normal file
48
vendor/google/apiclient-services/src/Google/Service/AdSense/SavedReport.php
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_AdSense_SavedReport extends Google_Model
|
||||
{
|
||||
public $id;
|
||||
public $kind;
|
||||
public $name;
|
||||
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
}
|
||||
59
vendor/google/apiclient-services/src/Google/Service/AdSense/SavedReports.php
vendored
Normal file
59
vendor/google/apiclient-services/src/Google/Service/AdSense/SavedReports.php
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_AdSense_SavedReports extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
public $etag;
|
||||
protected $itemsType = 'Google_Service_AdSense_SavedReport';
|
||||
protected $itemsDataType = 'array';
|
||||
public $kind;
|
||||
public $nextPageToken;
|
||||
|
||||
public function setEtag($etag)
|
||||
{
|
||||
$this->etag = $etag;
|
||||
}
|
||||
public function getEtag()
|
||||
{
|
||||
return $this->etag;
|
||||
}
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
}
|
||||
48
vendor/google/apiclient-services/src/Google/Service/AdSense/UrlChannel.php
vendored
Normal file
48
vendor/google/apiclient-services/src/Google/Service/AdSense/UrlChannel.php
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_AdSense_UrlChannel extends Google_Model
|
||||
{
|
||||
public $id;
|
||||
public $kind;
|
||||
public $urlPattern;
|
||||
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setUrlPattern($urlPattern)
|
||||
{
|
||||
$this->urlPattern = $urlPattern;
|
||||
}
|
||||
public function getUrlPattern()
|
||||
{
|
||||
return $this->urlPattern;
|
||||
}
|
||||
}
|
||||
59
vendor/google/apiclient-services/src/Google/Service/AdSense/UrlChannels.php
vendored
Normal file
59
vendor/google/apiclient-services/src/Google/Service/AdSense/UrlChannels.php
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_AdSense_UrlChannels extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
public $etag;
|
||||
protected $itemsType = 'Google_Service_AdSense_UrlChannel';
|
||||
protected $itemsDataType = 'array';
|
||||
public $kind;
|
||||
public $nextPageToken;
|
||||
|
||||
public function setEtag($etag)
|
||||
{
|
||||
$this->etag = $etag;
|
||||
}
|
||||
public function getEtag()
|
||||
{
|
||||
return $this->etag;
|
||||
}
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user