Skip to content

Commit

Permalink
Regenerate APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanseys committed Dec 24, 2014
1 parent 8a96cb3 commit d9ed6d9
Show file tree
Hide file tree
Showing 15 changed files with 7,549 additions and 532 deletions.
251 changes: 0 additions & 251 deletions apis/adexchangebuyer/v1.1.js

This file was deleted.

93 changes: 93 additions & 0 deletions apis/adexchangebuyer/v1.3.js
Expand Up @@ -211,6 +211,99 @@ function Adexchangebuyer(options) {

};

this.budget = {

/**
* adexchangebuyer.budget.get
*
* @desc Returns the budget information for the adgroup specified by the accountId and billingId.
*
* @alias adexchangebuyer.budget.get
* @memberOf! adexchangebuyer(v1.3)
*
* @param {object} params - Parameters for request
* @param {string} params.accountId - The account id to get the budget information for.
* @param {string} params.billingId - The billing id to get the budget information for.
* @param {callback} callback - The callback that handles the response.
* @return {object} Request object
*/
get: function(params, callback) {
var parameters = {
options: {
url: 'https://www.googleapis.com/adexchangebuyer/v1.3/billinginfo/{accountId}/{billingId}',
method: 'GET'
},
params: params,
requiredParams: ['accountId', 'billingId'],
pathParams: ['accountId', 'billingId'],
context: self
};

return createAPIRequest(parameters, callback);
},

/**
* adexchangebuyer.budget.patch
*
* @desc 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.
*
* @alias adexchangebuyer.budget.patch
* @memberOf! adexchangebuyer(v1.3)
*
* @param {object} params - Parameters for request
* @param {string} params.accountId - The account id associated with the budget being updated.
* @param {string} params.billingId - The billing id associated with the budget being updated.
* @param {object} params.resource - Request body data
* @param {callback} callback - The callback that handles the response.
* @return {object} Request object
*/
patch: function(params, callback) {
var parameters = {
options: {
url: 'https://www.googleapis.com/adexchangebuyer/v1.3/billinginfo/{accountId}/{billingId}',
method: 'PATCH'
},
params: params,
requiredParams: ['accountId', 'billingId'],
pathParams: ['accountId', 'billingId'],
context: self
};

return createAPIRequest(parameters, callback);
},

/**
* adexchangebuyer.budget.update
*
* @desc Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request.
*
* @alias adexchangebuyer.budget.update
* @memberOf! adexchangebuyer(v1.3)
*
* @param {object} params - Parameters for request
* @param {string} params.accountId - The account id associated with the budget being updated.
* @param {string} params.billingId - The billing id associated with the budget being updated.
* @param {object} params.resource - Request body data
* @param {callback} callback - The callback that handles the response.
* @return {object} Request object
*/
update: function(params, callback) {
var parameters = {
options: {
url: 'https://www.googleapis.com/adexchangebuyer/v1.3/billinginfo/{accountId}/{billingId}',
method: 'PUT'
},
params: params,
requiredParams: ['accountId', 'billingId'],
pathParams: ['accountId', 'billingId'],
context: self
};

return createAPIRequest(parameters, callback);
}

};

this.creatives = {

/**
Expand Down

0 comments on commit d9ed6d9

Please sign in to comment.