Mise à jour des librairies
This commit is contained in:
@@ -18,6 +18,8 @@
|
||||
class Google_Service_AdSense_AdCode extends Google_Model
|
||||
{
|
||||
public $adCode;
|
||||
public $ampBody;
|
||||
public $ampHead;
|
||||
public $kind;
|
||||
|
||||
public function setAdCode($adCode)
|
||||
@@ -28,6 +30,22 @@ class Google_Service_AdSense_AdCode extends Google_Model
|
||||
{
|
||||
return $this->adCode;
|
||||
}
|
||||
public function setAmpBody($ampBody)
|
||||
{
|
||||
$this->ampBody = $ampBody;
|
||||
}
|
||||
public function getAmpBody()
|
||||
{
|
||||
return $this->ampBody;
|
||||
}
|
||||
public function setAmpHead($ampHead)
|
||||
{
|
||||
$this->ampHead = $ampHead;
|
||||
}
|
||||
public function getAmpHead()
|
||||
{
|
||||
return $this->ampHead;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
|
||||
@@ -25,6 +25,20 @@
|
||||
*/
|
||||
class Google_Service_AdSense_Resource_AccountsAdclients extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Get Auto ad code for a given ad client. (adclients.getAdCode)
|
||||
*
|
||||
* @param string $accountId Account which contains the ad client.
|
||||
* @param string $adClientId Ad client to get the code for.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_AdSense_AdCode
|
||||
*/
|
||||
public function getAdCode($accountId, $adClientId, $optParams = array())
|
||||
{
|
||||
$params = array('accountId' => $accountId, 'adClientId' => $adClientId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('getAdCode', array($params), "Google_Service_AdSense_AdCode");
|
||||
}
|
||||
/**
|
||||
* List all ad clients in the specified account.
|
||||
* (adclients.listAccountsAdclients)
|
||||
|
||||
Reference in New Issue
Block a user