@@ -37,7 +37,6 @@ class Google_Service_AdExchangeBuyer extends Google_Service
3737
3838 public $ accounts ;
3939 public $ billingInfo ;
40- public $ budget ;
4140 public $ creatives ;
4241 public $ directDeals ;
4342 public $ performanceReport ;
@@ -124,61 +123,6 @@ public function __construct(Google_Client $client)
124123 )
125124 )
126125 );
127- $ this ->budget = new Google_Service_AdExchangeBuyer_Budget_Resource (
128- $ this ,
129- $ this ->serviceName ,
130- 'budget ' ,
131- array (
132- 'methods ' => array (
133- 'get ' => array (
134- 'path ' => 'billinginfo/{accountId}/{billingId} ' ,
135- 'httpMethod ' => 'GET ' ,
136- 'parameters ' => array (
137- 'accountId ' => array (
138- 'location ' => 'path ' ,
139- 'type ' => 'string ' ,
140- 'required ' => true ,
141- ),
142- 'billingId ' => array (
143- 'location ' => 'path ' ,
144- 'type ' => 'string ' ,
145- 'required ' => true ,
146- ),
147- ),
148- ),'patch ' => array (
149- 'path ' => 'billinginfo/{accountId}/{billingId} ' ,
150- 'httpMethod ' => 'PATCH ' ,
151- 'parameters ' => array (
152- 'accountId ' => array (
153- 'location ' => 'path ' ,
154- 'type ' => 'string ' ,
155- 'required ' => true ,
156- ),
157- 'billingId ' => array (
158- 'location ' => 'path ' ,
159- 'type ' => 'string ' ,
160- 'required ' => true ,
161- ),
162- ),
163- ),'update ' => array (
164- 'path ' => 'billinginfo/{accountId}/{billingId} ' ,
165- 'httpMethod ' => 'PUT ' ,
166- 'parameters ' => array (
167- 'accountId ' => array (
168- 'location ' => 'path ' ,
169- 'type ' => 'string ' ,
170- 'required ' => true ,
171- ),
172- 'billingId ' => array (
173- 'location ' => 'path ' ,
174- 'type ' => 'string ' ,
175- 'required ' => true ,
176- ),
177- ),
178- ),
179- )
180- )
181- );
182126 $ this ->creatives = new Google_Service_AdExchangeBuyer_Creatives_Resource (
183127 $ this ,
184128 $ this ->serviceName ,
@@ -502,74 +446,6 @@ public function listBillingInfo($optParams = array())
502446 }
503447}
504448
505- /**
506- * The "budget" collection of methods.
507- * Typical usage is:
508- * <code>
509- * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
510- * $budget = $adexchangebuyerService->budget;
511- * </code>
512- */
513- class Google_Service_AdExchangeBuyer_Budget_Resource extends Google_Service_Resource
514- {
515-
516- /**
517- * Returns the budget information for the adgroup specified by the accountId and
518- * billingId. (budget.get)
519- *
520- * @param string $accountId The account id to get the budget information for.
521- * @param string $billingId The billing id to get the budget information for.
522- * @param array $optParams Optional parameters.
523- * @return Google_Service_AdExchangeBuyer_Budget
524- */
525- public function get ($ accountId , $ billingId , $ optParams = array ())
526- {
527- $ params = array ('accountId ' => $ accountId , 'billingId ' => $ billingId );
528- $ params = array_merge ($ params , $ optParams );
529- return $ this ->call ('get ' , array ($ params ), "Google_Service_AdExchangeBuyer_Budget " );
530- }
531-
532- /**
533- * Updates the budget amount for the budget of the adgroup specified by the
534- * accountId and billingId, with the budget amount in the request. This method
535- * supports patch semantics. (budget.patch)
536- *
537- * @param string $accountId The account id associated with the budget being
538- * updated.
539- * @param string $billingId The billing id associated with the budget being
540- * updated.
541- * @param Google_Budget $postBody
542- * @param array $optParams Optional parameters.
543- * @return Google_Service_AdExchangeBuyer_Budget
544- */
545- public function patch ($ accountId , $ billingId , Google_Service_AdExchangeBuyer_Budget $ postBody , $ optParams = array ())
546- {
547- $ params = array ('accountId ' => $ accountId , 'billingId ' => $ billingId , 'postBody ' => $ postBody );
548- $ params = array_merge ($ params , $ optParams );
549- return $ this ->call ('patch ' , array ($ params ), "Google_Service_AdExchangeBuyer_Budget " );
550- }
551-
552- /**
553- * Updates the budget amount for the budget of the adgroup specified by the
554- * accountId and billingId, with the budget amount in the request.
555- * (budget.update)
556- *
557- * @param string $accountId The account id associated with the budget being
558- * updated.
559- * @param string $billingId The billing id associated with the budget being
560- * updated.
561- * @param Google_Budget $postBody
562- * @param array $optParams Optional parameters.
563- * @return Google_Service_AdExchangeBuyer_Budget
564- */
565- public function update ($ accountId , $ billingId , Google_Service_AdExchangeBuyer_Budget $ postBody , $ optParams = array ())
566- {
567- $ params = array ('accountId ' => $ accountId , 'billingId ' => $ billingId , 'postBody ' => $ postBody );
568- $ params = array_merge ($ params , $ optParams );
569- return $ this ->call ('update ' , array ($ params ), "Google_Service_AdExchangeBuyer_Budget " );
570- }
571- }
572-
573449/**
574450 * The "creatives" collection of methods.
575451 * Typical usage is:
@@ -1044,68 +920,6 @@ public function getKind()
1044920 }
1045921}
1046922
1047- class Google_Service_AdExchangeBuyer_Budget extends Google_Model
1048- {
1049- protected $ internal_gapi_mappings = array (
1050- );
1051- public $ accountId ;
1052- public $ billingId ;
1053- public $ budgetAmount ;
1054- public $ currencyCode ;
1055- public $ id ;
1056- public $ kind ;
1057-
1058-
1059- public function setAccountId ($ accountId )
1060- {
1061- $ this ->accountId = $ accountId ;
1062- }
1063- public function getAccountId ()
1064- {
1065- return $ this ->accountId ;
1066- }
1067- public function setBillingId ($ billingId )
1068- {
1069- $ this ->billingId = $ billingId ;
1070- }
1071- public function getBillingId ()
1072- {
1073- return $ this ->billingId ;
1074- }
1075- public function setBudgetAmount ($ budgetAmount )
1076- {
1077- $ this ->budgetAmount = $ budgetAmount ;
1078- }
1079- public function getBudgetAmount ()
1080- {
1081- return $ this ->budgetAmount ;
1082- }
1083- public function setCurrencyCode ($ currencyCode )
1084- {
1085- $ this ->currencyCode = $ currencyCode ;
1086- }
1087- public function getCurrencyCode ()
1088- {
1089- return $ this ->currencyCode ;
1090- }
1091- public function setId ($ id )
1092- {
1093- $ this ->id = $ id ;
1094- }
1095- public function getId ()
1096- {
1097- return $ this ->id ;
1098- }
1099- public function setKind ($ kind )
1100- {
1101- $ this ->kind = $ kind ;
1102- }
1103- public function getKind ()
1104- {
1105- return $ this ->kind ;
1106- }
1107- }
1108-
1109923class Google_Service_AdExchangeBuyer_Creative extends Google_Collection
1110924{
1111925 protected $ collection_key = 'vendorType ' ;
0 commit comments