Skip to content

Commit

Permalink
Updated AdExchangeBuyer.php
Browse files Browse the repository at this point in the history
This change has been generated by a script that has detected changes in the
discovery doc of the API.

Check http://developers.google.com/discovery for more info.
  • Loading branch information
silvolu committed Nov 20, 2014
1 parent 8c7b276 commit f985b38
Showing 1 changed file with 0 additions and 186 deletions.
186 changes: 0 additions & 186 deletions src/Google/Service/AdExchangeBuyer.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ class Google_Service_AdExchangeBuyer extends Google_Service

public $accounts;
public $billingInfo;
public $budget;
public $creatives;
public $directDeals;
public $performanceReport;
Expand Down Expand Up @@ -124,61 +123,6 @@ public function __construct(Google_Client $client)
)
)
);
$this->budget = new Google_Service_AdExchangeBuyer_Budget_Resource(
$this,
$this->serviceName,
'budget',
array(
'methods' => array(
'get' => array(
'path' => 'billinginfo/{accountId}/{billingId}',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'billingId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'patch' => array(
'path' => 'billinginfo/{accountId}/{billingId}',
'httpMethod' => 'PATCH',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'billingId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'update' => array(
'path' => 'billinginfo/{accountId}/{billingId}',
'httpMethod' => 'PUT',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'billingId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),
)
)
);
$this->creatives = new Google_Service_AdExchangeBuyer_Creatives_Resource(
$this,
$this->serviceName,
Expand Down Expand Up @@ -502,74 +446,6 @@ public function listBillingInfo($optParams = array())
}
}

/**
* The "budget" collection of methods.
* Typical usage is:
* <code>
* $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
* $budget = $adexchangebuyerService->budget;
* </code>
*/
class Google_Service_AdExchangeBuyer_Budget_Resource extends Google_Service_Resource
{

/**
* Returns the budget information for the adgroup specified by the accountId and
* billingId. (budget.get)
*
* @param string $accountId The account id to get the budget information for.
* @param string $billingId The billing id to get the budget information for.
* @param array $optParams Optional parameters.
* @return Google_Service_AdExchangeBuyer_Budget
*/
public function get($accountId, $billingId, $optParams = array())
{
$params = array('accountId' => $accountId, 'billingId' => $billingId);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Budget");
}

/**
* Updates the budget amount for the budget of the adgroup specified by the
* accountId and billingId, with the budget amount in the request. This method
* supports patch semantics. (budget.patch)
*
* @param string $accountId The account id associated with the budget being
* updated.
* @param string $billingId The billing id associated with the budget being
* updated.
* @param Google_Budget $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AdExchangeBuyer_Budget
*/
public function patch($accountId, $billingId, Google_Service_AdExchangeBuyer_Budget $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'billingId' => $billingId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_Budget");
}

/**
* Updates the budget amount for the budget of the adgroup specified by the
* accountId and billingId, with the budget amount in the request.
* (budget.update)
*
* @param string $accountId The account id associated with the budget being
* updated.
* @param string $billingId The billing id associated with the budget being
* updated.
* @param Google_Budget $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AdExchangeBuyer_Budget
*/
public function update($accountId, $billingId, Google_Service_AdExchangeBuyer_Budget $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'billingId' => $billingId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_Budget");
}
}

/**
* The "creatives" collection of methods.
* Typical usage is:
Expand Down Expand Up @@ -1044,68 +920,6 @@ public function getKind()
}
}

class Google_Service_AdExchangeBuyer_Budget extends Google_Model
{
protected $internal_gapi_mappings = array(
);
public $accountId;
public $billingId;
public $budgetAmount;
public $currencyCode;
public $id;
public $kind;


public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
public function setBillingId($billingId)
{
$this->billingId = $billingId;
}
public function getBillingId()
{
return $this->billingId;
}
public function setBudgetAmount($budgetAmount)
{
$this->budgetAmount = $budgetAmount;
}
public function getBudgetAmount()
{
return $this->budgetAmount;
}
public function setCurrencyCode($currencyCode)
{
$this->currencyCode = $currencyCode;
}
public function getCurrencyCode()
{
return $this->currencyCode;
}
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;
}
}

class Google_Service_AdExchangeBuyer_Creative extends Google_Collection
{
protected $collection_key = 'vendorType';
Expand Down

0 comments on commit f985b38

Please sign in to comment.