Index: generated/googleapis/lib/adexchangebuyer/v1_4.dart |
diff --git a/generated/googleapis/lib/adexchangebuyer/v1_4.dart b/generated/googleapis/lib/adexchangebuyer/v1_4.dart |
index ea5d12524b195b830700e4d14f8819273fd6ced9..faeb4db72b6a00d68348390c4b8e8c21d2f71e38 100644 |
--- a/generated/googleapis/lib/adexchangebuyer/v1_4.dart |
+++ b/generated/googleapis/lib/adexchangebuyer/v1_4.dart |
@@ -9,61 +9,66 @@ import 'dart:convert' as convert; |
import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
import 'package:http/http.dart' as http; |
-export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show |
- ApiRequestError, DetailedApiRequestError; |
+export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' |
+ show ApiRequestError, DetailedApiRequestError; |
const core.String USER_AGENT = 'dart-api-client adexchangebuyer/v1.4'; |
-/** |
- * Accesses your bidding-account information, submits creatives for validation, |
- * finds available direct deals, and retrieves performance reports. |
- */ |
+/// Accesses your bidding-account information, submits creatives for |
+/// validation, finds available direct deals, and retrieves performance |
+/// reports. |
class AdexchangebuyerApi { |
- /** Manage your Ad Exchange buyer account configuration */ |
- static const AdexchangeBuyerScope = "https://www.googleapis.com/auth/adexchange.buyer"; |
- |
+ /// Manage your Ad Exchange buyer account configuration |
+ static const AdexchangeBuyerScope = |
+ "https://www.googleapis.com/auth/adexchange.buyer"; |
final commons.ApiRequester _requester; |
AccountsResourceApi get accounts => new AccountsResourceApi(_requester); |
- BillingInfoResourceApi get billingInfo => new BillingInfoResourceApi(_requester); |
+ BillingInfoResourceApi get billingInfo => |
+ new BillingInfoResourceApi(_requester); |
BudgetResourceApi get budget => new BudgetResourceApi(_requester); |
CreativesResourceApi get creatives => new CreativesResourceApi(_requester); |
- MarketplacedealsResourceApi get marketplacedeals => new MarketplacedealsResourceApi(_requester); |
- MarketplacenotesResourceApi get marketplacenotes => new MarketplacenotesResourceApi(_requester); |
- MarketplaceprivateauctionResourceApi get marketplaceprivateauction => new MarketplaceprivateauctionResourceApi(_requester); |
- PerformanceReportResourceApi get performanceReport => new PerformanceReportResourceApi(_requester); |
- PretargetingConfigResourceApi get pretargetingConfig => new PretargetingConfigResourceApi(_requester); |
+ MarketplacedealsResourceApi get marketplacedeals => |
+ new MarketplacedealsResourceApi(_requester); |
+ MarketplacenotesResourceApi get marketplacenotes => |
+ new MarketplacenotesResourceApi(_requester); |
+ MarketplaceprivateauctionResourceApi get marketplaceprivateauction => |
+ new MarketplaceprivateauctionResourceApi(_requester); |
+ PerformanceReportResourceApi get performanceReport => |
+ new PerformanceReportResourceApi(_requester); |
+ PretargetingConfigResourceApi get pretargetingConfig => |
+ new PretargetingConfigResourceApi(_requester); |
ProductsResourceApi get products => new ProductsResourceApi(_requester); |
ProposalsResourceApi get proposals => new ProposalsResourceApi(_requester); |
- PubprofilesResourceApi get pubprofiles => new PubprofilesResourceApi(_requester); |
- |
- AdexchangebuyerApi(http.Client client, {core.String rootUrl: "https://www.googleapis.com/", core.String servicePath: "adexchangebuyer/v1.4/"}) : |
- _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_AGENT); |
+ PubprofilesResourceApi get pubprofiles => |
+ new PubprofilesResourceApi(_requester); |
+ |
+ AdexchangebuyerApi(http.Client client, |
+ {core.String rootUrl: "https://www.googleapis.com/", |
+ core.String servicePath: "adexchangebuyer/v1.4/"}) |
+ : _requester = |
+ new commons.ApiRequester(client, rootUrl, servicePath, USER_AGENT); |
} |
- |
class AccountsResourceApi { |
final commons.ApiRequester _requester; |
- AccountsResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * Gets one account by ID. |
- * |
- * Request parameters: |
- * |
- * [id] - The account id |
- * |
- * Completes with a [Account]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
+ AccountsResourceApi(commons.ApiRequester client) : _requester = client; |
+ |
+ /// Gets one account by ID. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [id] - The account id |
+ /// |
+ /// Completes with a [Account]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
async.Future<Account> get(core.int id) { |
var _url = null; |
var _queryParams = new core.Map(); |
@@ -78,29 +83,26 @@ class AccountsResourceApi { |
_url = 'accounts/' + commons.Escaper.ecapeVariable('$id'); |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Account.fromJson(data)); |
} |
- /** |
- * Retrieves the authenticated user's list of accounts. |
- * |
- * Request parameters: |
- * |
- * Completes with a [AccountsList]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
+ /// Retrieves the authenticated user's list of accounts. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// Completes with a [AccountsList]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
async.Future<AccountsList> list() { |
var _url = null; |
var _queryParams = new core.Map(); |
@@ -109,40 +111,37 @@ class AccountsResourceApi { |
var _downloadOptions = commons.DownloadOptions.Metadata; |
var _body = null; |
- |
_url = 'accounts'; |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new AccountsList.fromJson(data)); |
} |
- /** |
- * Updates an existing account. This method supports patch semantics. |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [id] - The account id |
- * |
- * [confirmUnsafeAccountChange] - Confirmation for erasing bidder and cookie |
- * matching urls. |
- * |
- * Completes with a [Account]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<Account> patch(Account request, core.int id, {core.bool confirmUnsafeAccountChange}) { |
+ /// Updates an existing account. This method supports patch semantics. |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [id] - The account id |
+ /// |
+ /// [confirmUnsafeAccountChange] - Confirmation for erasing bidder and cookie |
+ /// matching urls. |
+ /// |
+ /// Completes with a [Account]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<Account> patch(Account request, core.int id, |
+ {core.bool confirmUnsafeAccountChange}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -157,42 +156,42 @@ class AccountsResourceApi { |
throw new core.ArgumentError("Parameter id is required."); |
} |
if (confirmUnsafeAccountChange != null) { |
- _queryParams["confirmUnsafeAccountChange"] = ["${confirmUnsafeAccountChange}"]; |
+ _queryParams["confirmUnsafeAccountChange"] = [ |
+ "${confirmUnsafeAccountChange}" |
+ ]; |
} |
_url = 'accounts/' + commons.Escaper.ecapeVariable('$id'); |
- var _response = _requester.request(_url, |
- "PATCH", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "PATCH", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Account.fromJson(data)); |
} |
- /** |
- * Updates an existing account. |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [id] - The account id |
- * |
- * [confirmUnsafeAccountChange] - Confirmation for erasing bidder and cookie |
- * matching urls. |
- * |
- * Completes with a [Account]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<Account> update(Account request, core.int id, {core.bool confirmUnsafeAccountChange}) { |
+ /// Updates an existing account. |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [id] - The account id |
+ /// |
+ /// [confirmUnsafeAccountChange] - Confirmation for erasing bidder and cookie |
+ /// matching urls. |
+ /// |
+ /// Completes with a [Account]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<Account> update(Account request, core.int id, |
+ {core.bool confirmUnsafeAccountChange}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -207,45 +206,41 @@ class AccountsResourceApi { |
throw new core.ArgumentError("Parameter id is required."); |
} |
if (confirmUnsafeAccountChange != null) { |
- _queryParams["confirmUnsafeAccountChange"] = ["${confirmUnsafeAccountChange}"]; |
+ _queryParams["confirmUnsafeAccountChange"] = [ |
+ "${confirmUnsafeAccountChange}" |
+ ]; |
} |
_url = 'accounts/' + commons.Escaper.ecapeVariable('$id'); |
- var _response = _requester.request(_url, |
- "PUT", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "PUT", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Account.fromJson(data)); |
} |
- |
} |
- |
class BillingInfoResourceApi { |
final commons.ApiRequester _requester; |
- BillingInfoResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * Returns the billing information for one account specified by account ID. |
- * |
- * Request parameters: |
- * |
- * [accountId] - The account id. |
- * |
- * Completes with a [BillingInfo]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
+ BillingInfoResourceApi(commons.ApiRequester client) : _requester = client; |
+ |
+ /// Returns the billing information for one account specified by account ID. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [accountId] - The account id. |
+ /// |
+ /// Completes with a [BillingInfo]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
async.Future<BillingInfo> get(core.int accountId) { |
var _url = null; |
var _queryParams = new core.Map(); |
@@ -260,30 +255,27 @@ class BillingInfoResourceApi { |
_url = 'billinginfo/' + commons.Escaper.ecapeVariable('$accountId'); |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new BillingInfo.fromJson(data)); |
} |
- /** |
- * Retrieves a list of billing information for all accounts of the |
- * authenticated user. |
- * |
- * Request parameters: |
- * |
- * Completes with a [BillingInfoList]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
+ /// Retrieves a list of billing information for all accounts of the |
+ /// authenticated user. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// Completes with a [BillingInfoList]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
async.Future<BillingInfoList> list() { |
var _url = null; |
var _queryParams = new core.Map(); |
@@ -292,46 +284,39 @@ class BillingInfoResourceApi { |
var _downloadOptions = commons.DownloadOptions.Metadata; |
var _body = null; |
- |
_url = 'billinginfo'; |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new BillingInfoList.fromJson(data)); |
} |
- |
} |
- |
class BudgetResourceApi { |
final commons.ApiRequester _requester; |
- BudgetResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * Returns the budget information for the adgroup specified by the accountId |
- * and billingId. |
- * |
- * Request parameters: |
- * |
- * [accountId] - The account id to get the budget information for. |
- * |
- * [billingId] - The billing id to get the budget information for. |
- * |
- * Completes with a [Budget]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
+ BudgetResourceApi(commons.ApiRequester client) : _requester = client; |
+ |
+ /// Returns the budget information for the adgroup specified by the accountId |
+ /// and billingId. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [accountId] - The account id to get the budget information for. |
+ /// |
+ /// [billingId] - The billing id to get the budget information for. |
+ /// |
+ /// Completes with a [Budget]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
async.Future<Budget> get(core.String accountId, core.String billingId) { |
var _url = null; |
var _queryParams = new core.Map(); |
@@ -347,40 +332,41 @@ class BudgetResourceApi { |
throw new core.ArgumentError("Parameter billingId is required."); |
} |
- _url = 'billinginfo/' + commons.Escaper.ecapeVariable('$accountId') + '/' + commons.Escaper.ecapeVariable('$billingId'); |
+ _url = 'billinginfo/' + |
+ commons.Escaper.ecapeVariable('$accountId') + |
+ '/' + |
+ commons.Escaper.ecapeVariable('$billingId'); |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Budget.fromJson(data)); |
} |
- /** |
- * 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. |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [accountId] - The account id associated with the budget being updated. |
- * |
- * [billingId] - The billing id associated with the budget being updated. |
- * |
- * Completes with a [Budget]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<Budget> patch(Budget request, core.String accountId, core.String billingId) { |
+ /// 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. |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [accountId] - The account id associated with the budget being updated. |
+ /// |
+ /// [billingId] - The billing id associated with the budget being updated. |
+ /// |
+ /// Completes with a [Budget]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<Budget> patch( |
+ Budget request, core.String accountId, core.String billingId) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -398,39 +384,40 @@ class BudgetResourceApi { |
throw new core.ArgumentError("Parameter billingId is required."); |
} |
- _url = 'billinginfo/' + commons.Escaper.ecapeVariable('$accountId') + '/' + commons.Escaper.ecapeVariable('$billingId'); |
+ _url = 'billinginfo/' + |
+ commons.Escaper.ecapeVariable('$accountId') + |
+ '/' + |
+ commons.Escaper.ecapeVariable('$billingId'); |
- var _response = _requester.request(_url, |
- "PATCH", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "PATCH", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Budget.fromJson(data)); |
} |
- /** |
- * Updates the budget amount for the budget of the adgroup specified by the |
- * accountId and billingId, with the budget amount in the request. |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [accountId] - The account id associated with the budget being updated. |
- * |
- * [billingId] - The billing id associated with the budget being updated. |
- * |
- * Completes with a [Budget]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<Budget> update(Budget request, core.String accountId, core.String billingId) { |
+ /// Updates the budget amount for the budget of the adgroup specified by the |
+ /// accountId and billingId, with the budget amount in the request. |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [accountId] - The account id associated with the budget being updated. |
+ /// |
+ /// [billingId] - The billing id associated with the budget being updated. |
+ /// |
+ /// Completes with a [Budget]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<Budget> update( |
+ Budget request, core.String accountId, core.String billingId) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -448,45 +435,43 @@ class BudgetResourceApi { |
throw new core.ArgumentError("Parameter billingId is required."); |
} |
- _url = 'billinginfo/' + commons.Escaper.ecapeVariable('$accountId') + '/' + commons.Escaper.ecapeVariable('$billingId'); |
+ _url = 'billinginfo/' + |
+ commons.Escaper.ecapeVariable('$accountId') + |
+ '/' + |
+ commons.Escaper.ecapeVariable('$billingId'); |
- var _response = _requester.request(_url, |
- "PUT", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "PUT", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Budget.fromJson(data)); |
} |
- |
} |
- |
class CreativesResourceApi { |
final commons.ApiRequester _requester; |
- CreativesResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * Add a deal id association for the creative. |
- * |
- * Request parameters: |
- * |
- * [accountId] - The id for the account that will serve this creative. |
- * |
- * [buyerCreativeId] - The buyer-specific id for this creative. |
- * |
- * [dealId] - The id of the deal id to associate with this creative. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future addDeal(core.int accountId, core.String buyerCreativeId, core.String dealId) { |
+ CreativesResourceApi(commons.ApiRequester client) : _requester = client; |
+ |
+ /// Add a deal id association for the creative. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [accountId] - The id for the account that will serve this creative. |
+ /// |
+ /// [buyerCreativeId] - The buyer-specific id for this creative. |
+ /// |
+ /// [dealId] - The id of the deal id to associate with this creative. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future addDeal( |
+ core.int accountId, core.String buyerCreativeId, core.String dealId) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -506,36 +491,38 @@ class CreativesResourceApi { |
_downloadOptions = null; |
- _url = 'creatives/' + commons.Escaper.ecapeVariable('$accountId') + '/' + commons.Escaper.ecapeVariable('$buyerCreativeId') + '/addDeal/' + commons.Escaper.ecapeVariable('$dealId'); |
- |
- var _response = _requester.request(_url, |
- "POST", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ _url = 'creatives/' + |
+ commons.Escaper.ecapeVariable('$accountId') + |
+ '/' + |
+ commons.Escaper.ecapeVariable('$buyerCreativeId') + |
+ '/addDeal/' + |
+ commons.Escaper.ecapeVariable('$dealId'); |
+ |
+ var _response = _requester.request(_url, "POST", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => null); |
} |
- /** |
- * Gets the status for a single creative. A creative will be available 30-40 |
- * minutes after submission. |
- * |
- * Request parameters: |
- * |
- * [accountId] - The id for the account that will serve this creative. |
- * |
- * [buyerCreativeId] - The buyer-specific id for this creative. |
- * |
- * Completes with a [Creative]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
+ /// Gets the status for a single creative. A creative will be available 30-40 |
+ /// minutes after submission. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [accountId] - The id for the account that will serve this creative. |
+ /// |
+ /// [buyerCreativeId] - The buyer-specific id for this creative. |
+ /// |
+ /// Completes with a [Creative]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
async.Future<Creative> get(core.int accountId, core.String buyerCreativeId) { |
var _url = null; |
var _queryParams = new core.Map(); |
@@ -551,33 +538,33 @@ class CreativesResourceApi { |
throw new core.ArgumentError("Parameter buyerCreativeId is required."); |
} |
- _url = 'creatives/' + commons.Escaper.ecapeVariable('$accountId') + '/' + commons.Escaper.ecapeVariable('$buyerCreativeId'); |
+ _url = 'creatives/' + |
+ commons.Escaper.ecapeVariable('$accountId') + |
+ '/' + |
+ commons.Escaper.ecapeVariable('$buyerCreativeId'); |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Creative.fromJson(data)); |
} |
- /** |
- * Submit a new creative. |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * Completes with a [Creative]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
+ /// Submit a new creative. |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// Completes with a [Creative]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
async.Future<Creative> insert(Creative request) { |
var _url = null; |
var _queryParams = new core.Map(); |
@@ -592,66 +579,69 @@ class CreativesResourceApi { |
_url = 'creatives'; |
- var _response = _requester.request(_url, |
- "POST", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "POST", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Creative.fromJson(data)); |
} |
- /** |
- * Retrieves a list of the authenticated user's active creatives. A creative |
- * will be available 30-40 minutes after submission. |
- * |
- * Request parameters: |
- * |
- * [accountId] - When specified, only creatives for the given account ids are |
- * returned. |
- * |
- * [buyerCreativeId] - When specified, only creatives for the given buyer |
- * creative ids are returned. |
- * |
- * [dealsStatusFilter] - When specified, only creatives having the given deals |
- * status are returned. |
- * Possible string values are: |
- * - "approved" : Creatives which have been approved for serving on deals. |
- * - "conditionally_approved" : Creatives which have been conditionally |
- * approved for serving on deals. |
- * - "disapproved" : Creatives which have been disapproved for serving on |
- * deals. |
- * - "not_checked" : Creatives whose deals status is not yet checked. |
- * |
- * [maxResults] - Maximum number of entries returned on one result page. If |
- * not set, the default is 100. Optional. |
- * Value must be between "1" and "1000". |
- * |
- * [openAuctionStatusFilter] - When specified, only creatives having the given |
- * open auction status are returned. |
- * Possible string values are: |
- * - "approved" : Creatives which have been approved for serving on the open |
- * auction. |
- * - "conditionally_approved" : Creatives which have been conditionally |
- * approved for serving on the open auction. |
- * - "disapproved" : Creatives which have been disapproved for serving on the |
- * open auction. |
- * - "not_checked" : Creatives whose open auction status is not yet checked. |
- * |
- * [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. Optional. |
- * |
- * Completes with a [CreativesList]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<CreativesList> list({core.List<core.int> accountId, core.List<core.String> buyerCreativeId, core.String dealsStatusFilter, core.int maxResults, core.String openAuctionStatusFilter, core.String pageToken}) { |
+ /// Retrieves a list of the authenticated user's active creatives. A creative |
+ /// will be available 30-40 minutes after submission. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [accountId] - When specified, only creatives for the given account ids |
+ /// are returned. |
+ /// |
+ /// [buyerCreativeId] - When specified, only creatives for the given buyer |
+ /// creative ids are returned. |
+ /// |
+ /// [dealsStatusFilter] - When specified, only creatives having the given |
+ /// deals status are returned. |
+ /// Possible string values are: |
+ /// - "approved" : Creatives which have been approved for serving on deals. |
+ /// - "conditionally_approved" : Creatives which have been conditionally |
+ /// approved for serving on deals. |
+ /// - "disapproved" : Creatives which have been disapproved for serving on |
+ /// deals. |
+ /// - "not_checked" : Creatives whose deals status is not yet checked. |
+ /// |
+ /// [maxResults] - Maximum number of entries returned on one result page. If |
+ /// not set, the default is 100. Optional. |
+ /// Value must be between "1" and "1000". |
+ /// |
+ /// [openAuctionStatusFilter] - When specified, only creatives having the |
+ /// given open auction status are returned. |
+ /// Possible string values are: |
+ /// - "approved" : Creatives which have been approved for serving on the open |
+ /// auction. |
+ /// - "conditionally_approved" : Creatives which have been conditionally |
+ /// approved for serving on the open auction. |
+ /// - "disapproved" : Creatives which have been disapproved for serving on |
+ /// the open auction. |
+ /// - "not_checked" : Creatives whose open auction status is not yet checked. |
+ /// |
+ /// [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. Optional. |
+ /// |
+ /// Completes with a [CreativesList]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<CreativesList> list( |
+ {core.List<core.int> accountId, |
+ core.List<core.String> buyerCreativeId, |
+ core.String dealsStatusFilter, |
+ core.int maxResults, |
+ core.String openAuctionStatusFilter, |
+ core.String pageToken}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -680,34 +670,32 @@ class CreativesResourceApi { |
_url = 'creatives'; |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new CreativesList.fromJson(data)); |
} |
- /** |
- * Lists the external deal ids associated with the creative. |
- * |
- * Request parameters: |
- * |
- * [accountId] - The id for the account that will serve this creative. |
- * |
- * [buyerCreativeId] - The buyer-specific id for this creative. |
- * |
- * Completes with a [CreativeDealIds]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<CreativeDealIds> listDeals(core.int accountId, core.String buyerCreativeId) { |
+ /// Lists the external deal ids associated with the creative. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [accountId] - The id for the account that will serve this creative. |
+ /// |
+ /// [buyerCreativeId] - The buyer-specific id for this creative. |
+ /// |
+ /// Completes with a [CreativeDealIds]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<CreativeDealIds> listDeals( |
+ core.int accountId, core.String buyerCreativeId) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -722,36 +710,38 @@ class CreativesResourceApi { |
throw new core.ArgumentError("Parameter buyerCreativeId is required."); |
} |
- _url = 'creatives/' + commons.Escaper.ecapeVariable('$accountId') + '/' + commons.Escaper.ecapeVariable('$buyerCreativeId') + '/listDeals'; |
+ _url = 'creatives/' + |
+ commons.Escaper.ecapeVariable('$accountId') + |
+ '/' + |
+ commons.Escaper.ecapeVariable('$buyerCreativeId') + |
+ '/listDeals'; |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new CreativeDealIds.fromJson(data)); |
} |
- /** |
- * Remove a deal id associated with the creative. |
- * |
- * Request parameters: |
- * |
- * [accountId] - The id for the account that will serve this creative. |
- * |
- * [buyerCreativeId] - The buyer-specific id for this creative. |
- * |
- * [dealId] - The id of the deal id to disassociate with this creative. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future removeDeal(core.int accountId, core.String buyerCreativeId, core.String dealId) { |
+ /// Remove a deal id associated with the creative. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [accountId] - The id for the account that will serve this creative. |
+ /// |
+ /// [buyerCreativeId] - The buyer-specific id for this creative. |
+ /// |
+ /// [dealId] - The id of the deal id to disassociate with this creative. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future removeDeal( |
+ core.int accountId, core.String buyerCreativeId, core.String dealId) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -771,45 +761,46 @@ class CreativesResourceApi { |
_downloadOptions = null; |
- _url = 'creatives/' + commons.Escaper.ecapeVariable('$accountId') + '/' + commons.Escaper.ecapeVariable('$buyerCreativeId') + '/removeDeal/' + commons.Escaper.ecapeVariable('$dealId'); |
- |
- var _response = _requester.request(_url, |
- "POST", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ _url = 'creatives/' + |
+ commons.Escaper.ecapeVariable('$accountId') + |
+ '/' + |
+ commons.Escaper.ecapeVariable('$buyerCreativeId') + |
+ '/removeDeal/' + |
+ commons.Escaper.ecapeVariable('$dealId'); |
+ |
+ var _response = _requester.request(_url, "POST", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => null); |
} |
- |
} |
- |
class MarketplacedealsResourceApi { |
final commons.ApiRequester _requester; |
- MarketplacedealsResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * Delete the specified deals from the proposal |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [proposalId] - The proposalId to delete deals from. |
- * |
- * Completes with a [DeleteOrderDealsResponse]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<DeleteOrderDealsResponse> delete(DeleteOrderDealsRequest request, core.String proposalId) { |
+ MarketplacedealsResourceApi(commons.ApiRequester client) |
+ : _requester = client; |
+ |
+ /// Delete the specified deals from the proposal |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [proposalId] - The proposalId to delete deals from. |
+ /// |
+ /// Completes with a [DeleteOrderDealsResponse]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<DeleteOrderDealsResponse> delete( |
+ DeleteOrderDealsRequest request, core.String proposalId) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -824,36 +815,37 @@ class MarketplacedealsResourceApi { |
throw new core.ArgumentError("Parameter proposalId is required."); |
} |
- _url = 'proposals/' + commons.Escaper.ecapeVariable('$proposalId') + '/deals/delete'; |
- |
- var _response = _requester.request(_url, |
- "POST", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
- return _response.then((data) => new DeleteOrderDealsResponse.fromJson(data)); |
- } |
- |
- /** |
- * Add new deals for the specified proposal |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [proposalId] - proposalId for which deals need to be added. |
- * |
- * Completes with a [AddOrderDealsResponse]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<AddOrderDealsResponse> insert(AddOrderDealsRequest request, core.String proposalId) { |
+ _url = 'proposals/' + |
+ commons.Escaper.ecapeVariable('$proposalId') + |
+ '/deals/delete'; |
+ |
+ var _response = _requester.request(_url, "POST", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
+ return _response |
+ .then((data) => new DeleteOrderDealsResponse.fromJson(data)); |
+ } |
+ |
+ /// Add new deals for the specified proposal |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [proposalId] - proposalId for which deals need to be added. |
+ /// |
+ /// Completes with a [AddOrderDealsResponse]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<AddOrderDealsResponse> insert( |
+ AddOrderDealsRequest request, core.String proposalId) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -868,37 +860,37 @@ class MarketplacedealsResourceApi { |
throw new core.ArgumentError("Parameter proposalId is required."); |
} |
- _url = 'proposals/' + commons.Escaper.ecapeVariable('$proposalId') + '/deals/insert'; |
+ _url = 'proposals/' + |
+ commons.Escaper.ecapeVariable('$proposalId') + |
+ '/deals/insert'; |
- var _response = _requester.request(_url, |
- "POST", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "POST", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new AddOrderDealsResponse.fromJson(data)); |
} |
- /** |
- * List all the deals for a given proposal |
- * |
- * Request parameters: |
- * |
- * [proposalId] - The proposalId to get deals for. To search across all |
- * proposals specify order_id = '-' as part of the URL. |
- * |
- * [pqlQuery] - Query string to retrieve specific deals. |
- * |
- * Completes with a [GetOrderDealsResponse]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<GetOrderDealsResponse> list(core.String proposalId, {core.String pqlQuery}) { |
+ /// List all the deals for a given proposal |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [proposalId] - The proposalId to get deals for. To search across all |
+ /// proposals specify order_id = '-' as part of the URL. |
+ /// |
+ /// [pqlQuery] - Query string to retrieve specific deals. |
+ /// |
+ /// Completes with a [GetOrderDealsResponse]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<GetOrderDealsResponse> list(core.String proposalId, |
+ {core.String pqlQuery}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -913,36 +905,35 @@ class MarketplacedealsResourceApi { |
_queryParams["pqlQuery"] = [pqlQuery]; |
} |
- _url = 'proposals/' + commons.Escaper.ecapeVariable('$proposalId') + '/deals'; |
+ _url = |
+ 'proposals/' + commons.Escaper.ecapeVariable('$proposalId') + '/deals'; |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new GetOrderDealsResponse.fromJson(data)); |
} |
- /** |
- * Replaces all the deals in the proposal with the passed in deals |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [proposalId] - The proposalId to edit deals on. |
- * |
- * Completes with a [EditAllOrderDealsResponse]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<EditAllOrderDealsResponse> update(EditAllOrderDealsRequest request, core.String proposalId) { |
+ /// Replaces all the deals in the proposal with the passed in deals |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [proposalId] - The proposalId to edit deals on. |
+ /// |
+ /// Completes with a [EditAllOrderDealsResponse]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<EditAllOrderDealsResponse> update( |
+ EditAllOrderDealsRequest request, core.String proposalId) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -957,45 +948,44 @@ class MarketplacedealsResourceApi { |
throw new core.ArgumentError("Parameter proposalId is required."); |
} |
- _url = 'proposals/' + commons.Escaper.ecapeVariable('$proposalId') + '/deals/update'; |
+ _url = 'proposals/' + |
+ commons.Escaper.ecapeVariable('$proposalId') + |
+ '/deals/update'; |
- var _response = _requester.request(_url, |
- "POST", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
- return _response.then((data) => new EditAllOrderDealsResponse.fromJson(data)); |
+ var _response = _requester.request(_url, "POST", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
+ return _response |
+ .then((data) => new EditAllOrderDealsResponse.fromJson(data)); |
} |
- |
} |
- |
class MarketplacenotesResourceApi { |
final commons.ApiRequester _requester; |
- MarketplacenotesResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * Add notes to the proposal |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [proposalId] - The proposalId to add notes for. |
- * |
- * Completes with a [AddOrderNotesResponse]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<AddOrderNotesResponse> insert(AddOrderNotesRequest request, core.String proposalId) { |
+ MarketplacenotesResourceApi(commons.ApiRequester client) |
+ : _requester = client; |
+ |
+ /// Add notes to the proposal |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [proposalId] - The proposalId to add notes for. |
+ /// |
+ /// Completes with a [AddOrderNotesResponse]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<AddOrderNotesResponse> insert( |
+ AddOrderNotesRequest request, core.String proposalId) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1010,39 +1000,39 @@ class MarketplacenotesResourceApi { |
throw new core.ArgumentError("Parameter proposalId is required."); |
} |
- _url = 'proposals/' + commons.Escaper.ecapeVariable('$proposalId') + '/notes/insert'; |
+ _url = 'proposals/' + |
+ commons.Escaper.ecapeVariable('$proposalId') + |
+ '/notes/insert'; |
- var _response = _requester.request(_url, |
- "POST", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "POST", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new AddOrderNotesResponse.fromJson(data)); |
} |
- /** |
- * Get all the notes associated with a proposal |
- * |
- * Request parameters: |
- * |
- * [proposalId] - The proposalId to get notes for. To search across all |
- * proposals specify order_id = '-' as part of the URL. |
- * |
- * [pqlQuery] - Query string to retrieve specific notes. To search the text |
- * contents of notes, please use syntax like "WHERE note.note = "foo" or |
- * "WHERE note.note LIKE "%bar%" |
- * |
- * Completes with a [GetOrderNotesResponse]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<GetOrderNotesResponse> list(core.String proposalId, {core.String pqlQuery}) { |
+ /// Get all the notes associated with a proposal |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [proposalId] - The proposalId to get notes for. To search across all |
+ /// proposals specify order_id = '-' as part of the URL. |
+ /// |
+ /// [pqlQuery] - Query string to retrieve specific notes. To search the text |
+ /// contents of notes, please use syntax like "WHERE note.note = "foo" or |
+ /// "WHERE note.note LIKE "%bar%" |
+ /// |
+ /// Completes with a [GetOrderNotesResponse]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<GetOrderNotesResponse> list(core.String proposalId, |
+ {core.String pqlQuery}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1057,43 +1047,40 @@ class MarketplacenotesResourceApi { |
_queryParams["pqlQuery"] = [pqlQuery]; |
} |
- _url = 'proposals/' + commons.Escaper.ecapeVariable('$proposalId') + '/notes'; |
+ _url = |
+ 'proposals/' + commons.Escaper.ecapeVariable('$proposalId') + '/notes'; |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new GetOrderNotesResponse.fromJson(data)); |
} |
- |
} |
- |
class MarketplaceprivateauctionResourceApi { |
final commons.ApiRequester _requester; |
- MarketplaceprivateauctionResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * Update a given private auction proposal |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [privateAuctionId] - The private auction id to be updated. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future updateproposal(UpdatePrivateAuctionProposalRequest request, core.String privateAuctionId) { |
+ MarketplaceprivateauctionResourceApi(commons.ApiRequester client) |
+ : _requester = client; |
+ |
+ /// Update a given private auction proposal |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [privateAuctionId] - The private auction id to be updated. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future updateproposal(UpdatePrivateAuctionProposalRequest request, |
+ core.String privateAuctionId) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1110,57 +1097,56 @@ class MarketplaceprivateauctionResourceApi { |
_downloadOptions = null; |
- _url = 'privateauction/' + commons.Escaper.ecapeVariable('$privateAuctionId') + '/updateproposal'; |
+ _url = 'privateauction/' + |
+ commons.Escaper.ecapeVariable('$privateAuctionId') + |
+ '/updateproposal'; |
- var _response = _requester.request(_url, |
- "POST", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "POST", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => null); |
} |
- |
} |
- |
class PerformanceReportResourceApi { |
final commons.ApiRequester _requester; |
- PerformanceReportResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * Retrieves the authenticated user's list of performance metrics. |
- * |
- * Request parameters: |
- * |
- * [accountId] - The account id to get the reports. |
- * |
- * [endDateTime] - The end time of the report in ISO 8601 timestamp format |
- * using UTC. |
- * |
- * [startDateTime] - The start time of the report in ISO 8601 timestamp format |
- * using UTC. |
- * |
- * [maxResults] - Maximum number of entries returned on one result page. If |
- * not set, the default is 100. Optional. |
- * Value must be between "1" and "1000". |
- * |
- * [pageToken] - A continuation token, used to page through performance |
- * reports. To retrieve the next page, set this parameter to the value of |
- * "nextPageToken" from the previous response. Optional. |
- * |
- * Completes with a [PerformanceReportList]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<PerformanceReportList> list(core.String accountId, core.String endDateTime, core.String startDateTime, {core.int maxResults, core.String pageToken}) { |
+ PerformanceReportResourceApi(commons.ApiRequester client) |
+ : _requester = client; |
+ |
+ /// Retrieves the authenticated user's list of performance metrics. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [accountId] - The account id to get the reports. |
+ /// |
+ /// [endDateTime] - The end time of the report in ISO 8601 timestamp format |
+ /// using UTC. |
+ /// |
+ /// [startDateTime] - The start time of the report in ISO 8601 timestamp |
+ /// format using UTC. |
+ /// |
+ /// [maxResults] - Maximum number of entries returned on one result page. If |
+ /// not set, the default is 100. Optional. |
+ /// Value must be between "1" and "1000". |
+ /// |
+ /// [pageToken] - A continuation token, used to page through performance |
+ /// reports. To retrieve the next page, set this parameter to the value of |
+ /// "nextPageToken" from the previous response. Optional. |
+ /// |
+ /// Completes with a [PerformanceReportList]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<PerformanceReportList> list( |
+ core.String accountId, core.String endDateTime, core.String startDateTime, |
+ {core.int maxResults, core.String pageToken}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1189,40 +1175,35 @@ class PerformanceReportResourceApi { |
_url = 'performancereport'; |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new PerformanceReportList.fromJson(data)); |
} |
- |
} |
- |
class PretargetingConfigResourceApi { |
final commons.ApiRequester _requester; |
- PretargetingConfigResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * Deletes an existing pretargeting config. |
- * |
- * Request parameters: |
- * |
- * [accountId] - The account id to delete the pretargeting config for. |
- * |
- * [configId] - The specific id of the configuration to delete. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
+ PretargetingConfigResourceApi(commons.ApiRequester client) |
+ : _requester = client; |
+ |
+ /// Deletes an existing pretargeting config. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [accountId] - The account id to delete the pretargeting config for. |
+ /// |
+ /// [configId] - The specific id of the configuration to delete. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
async.Future delete(core.String accountId, core.String configId) { |
var _url = null; |
var _queryParams = new core.Map(); |
@@ -1240,36 +1221,37 @@ class PretargetingConfigResourceApi { |
_downloadOptions = null; |
- _url = 'pretargetingconfigs/' + commons.Escaper.ecapeVariable('$accountId') + '/' + commons.Escaper.ecapeVariable('$configId'); |
- |
- var _response = _requester.request(_url, |
- "DELETE", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ _url = 'pretargetingconfigs/' + |
+ commons.Escaper.ecapeVariable('$accountId') + |
+ '/' + |
+ commons.Escaper.ecapeVariable('$configId'); |
+ |
+ var _response = _requester.request(_url, "DELETE", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => null); |
} |
- /** |
- * Gets a specific pretargeting configuration |
- * |
- * Request parameters: |
- * |
- * [accountId] - The account id to get the pretargeting config for. |
- * |
- * [configId] - The specific id of the configuration to retrieve. |
- * |
- * Completes with a [PretargetingConfig]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<PretargetingConfig> get(core.String accountId, core.String configId) { |
+ /// Gets a specific pretargeting configuration |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [accountId] - The account id to get the pretargeting config for. |
+ /// |
+ /// [configId] - The specific id of the configuration to retrieve. |
+ /// |
+ /// Completes with a [PretargetingConfig]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<PretargetingConfig> get( |
+ core.String accountId, core.String configId) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1284,36 +1266,37 @@ class PretargetingConfigResourceApi { |
throw new core.ArgumentError("Parameter configId is required."); |
} |
- _url = 'pretargetingconfigs/' + commons.Escaper.ecapeVariable('$accountId') + '/' + commons.Escaper.ecapeVariable('$configId'); |
+ _url = 'pretargetingconfigs/' + |
+ commons.Escaper.ecapeVariable('$accountId') + |
+ '/' + |
+ commons.Escaper.ecapeVariable('$configId'); |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new PretargetingConfig.fromJson(data)); |
} |
- /** |
- * Inserts a new pretargeting configuration. |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [accountId] - The account id to insert the pretargeting config for. |
- * |
- * Completes with a [PretargetingConfig]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<PretargetingConfig> insert(PretargetingConfig request, core.String accountId) { |
+ /// Inserts a new pretargeting configuration. |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [accountId] - The account id to insert the pretargeting config for. |
+ /// |
+ /// Completes with a [PretargetingConfig]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<PretargetingConfig> insert( |
+ PretargetingConfig request, core.String accountId) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1330,31 +1313,28 @@ class PretargetingConfigResourceApi { |
_url = 'pretargetingconfigs/' + commons.Escaper.ecapeVariable('$accountId'); |
- var _response = _requester.request(_url, |
- "POST", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "POST", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new PretargetingConfig.fromJson(data)); |
} |
- /** |
- * Retrieves a list of the authenticated user's pretargeting configurations. |
- * |
- * Request parameters: |
- * |
- * [accountId] - The account id to get the pretargeting configs for. |
- * |
- * Completes with a [PretargetingConfigList]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
+ /// Retrieves a list of the authenticated user's pretargeting configurations. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [accountId] - The account id to get the pretargeting configs for. |
+ /// |
+ /// Completes with a [PretargetingConfigList]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
async.Future<PretargetingConfigList> list(core.String accountId) { |
var _url = null; |
var _queryParams = new core.Map(); |
@@ -1369,37 +1349,35 @@ class PretargetingConfigResourceApi { |
_url = 'pretargetingconfigs/' + commons.Escaper.ecapeVariable('$accountId'); |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new PretargetingConfigList.fromJson(data)); |
} |
- /** |
- * Updates an existing pretargeting config. This method supports patch |
- * semantics. |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [accountId] - The account id to update the pretargeting config for. |
- * |
- * [configId] - The specific id of the configuration to update. |
- * |
- * Completes with a [PretargetingConfig]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<PretargetingConfig> patch(PretargetingConfig request, core.String accountId, core.String configId) { |
+ /// Updates an existing pretargeting config. This method supports patch |
+ /// semantics. |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [accountId] - The account id to update the pretargeting config for. |
+ /// |
+ /// [configId] - The specific id of the configuration to update. |
+ /// |
+ /// Completes with a [PretargetingConfig]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<PretargetingConfig> patch( |
+ PretargetingConfig request, core.String accountId, core.String configId) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1417,38 +1395,39 @@ class PretargetingConfigResourceApi { |
throw new core.ArgumentError("Parameter configId is required."); |
} |
- _url = 'pretargetingconfigs/' + commons.Escaper.ecapeVariable('$accountId') + '/' + commons.Escaper.ecapeVariable('$configId'); |
+ _url = 'pretargetingconfigs/' + |
+ commons.Escaper.ecapeVariable('$accountId') + |
+ '/' + |
+ commons.Escaper.ecapeVariable('$configId'); |
- var _response = _requester.request(_url, |
- "PATCH", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "PATCH", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new PretargetingConfig.fromJson(data)); |
} |
- /** |
- * Updates an existing pretargeting config. |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [accountId] - The account id to update the pretargeting config for. |
- * |
- * [configId] - The specific id of the configuration to update. |
- * |
- * Completes with a [PretargetingConfig]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<PretargetingConfig> update(PretargetingConfig request, core.String accountId, core.String configId) { |
+ /// Updates an existing pretargeting config. |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [accountId] - The account id to update the pretargeting config for. |
+ /// |
+ /// [configId] - The specific id of the configuration to update. |
+ /// |
+ /// Completes with a [PretargetingConfig]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<PretargetingConfig> update( |
+ PretargetingConfig request, core.String accountId, core.String configId) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1466,42 +1445,39 @@ class PretargetingConfigResourceApi { |
throw new core.ArgumentError("Parameter configId is required."); |
} |
- _url = 'pretargetingconfigs/' + commons.Escaper.ecapeVariable('$accountId') + '/' + commons.Escaper.ecapeVariable('$configId'); |
+ _url = 'pretargetingconfigs/' + |
+ commons.Escaper.ecapeVariable('$accountId') + |
+ '/' + |
+ commons.Escaper.ecapeVariable('$configId'); |
- var _response = _requester.request(_url, |
- "PUT", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "PUT", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new PretargetingConfig.fromJson(data)); |
} |
- |
} |
- |
class ProductsResourceApi { |
final commons.ApiRequester _requester; |
- ProductsResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * Gets the requested product by id. |
- * |
- * Request parameters: |
- * |
- * [productId] - The id for the product to get the head revision for. |
- * |
- * Completes with a [Product]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
+ ProductsResourceApi(commons.ApiRequester client) : _requester = client; |
+ |
+ /// Gets the requested product by id. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [productId] - The id for the product to get the head revision for. |
+ /// |
+ /// Completes with a [Product]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
async.Future<Product> get(core.String productId) { |
var _url = null; |
var _queryParams = new core.Map(); |
@@ -1516,31 +1492,28 @@ class ProductsResourceApi { |
_url = 'products/' + commons.Escaper.ecapeVariable('$productId'); |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Product.fromJson(data)); |
} |
- /** |
- * Gets the requested product. |
- * |
- * Request parameters: |
- * |
- * [pqlQuery] - The pql query used to query for products. |
- * |
- * Completes with a [GetOffersResponse]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
+ /// Gets the requested product. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [pqlQuery] - The pql query used to query for products. |
+ /// |
+ /// Completes with a [GetOffersResponse]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
async.Future<GetOffersResponse> search({core.String pqlQuery}) { |
var _url = null; |
var _queryParams = new core.Map(); |
@@ -1555,40 +1528,34 @@ class ProductsResourceApi { |
_url = 'products/search'; |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new GetOffersResponse.fromJson(data)); |
} |
- |
} |
- |
class ProposalsResourceApi { |
final commons.ApiRequester _requester; |
- ProposalsResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * Get a proposal given its id |
- * |
- * Request parameters: |
- * |
- * [proposalId] - Id of the proposal to retrieve. |
- * |
- * Completes with a [Proposal]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
+ ProposalsResourceApi(commons.ApiRequester client) : _requester = client; |
+ |
+ /// Get a proposal given its id |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [proposalId] - Id of the proposal to retrieve. |
+ /// |
+ /// Completes with a [Proposal]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
async.Future<Proposal> get(core.String proposalId) { |
var _url = null; |
var _queryParams = new core.Map(); |
@@ -1603,31 +1570,28 @@ class ProposalsResourceApi { |
_url = 'proposals/' + commons.Escaper.ecapeVariable('$proposalId'); |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Proposal.fromJson(data)); |
} |
- /** |
- * Create the given list of proposals |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * Completes with a [CreateOrdersResponse]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
+ /// Create the given list of proposals |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// Completes with a [CreateOrdersResponse]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
async.Future<CreateOrdersResponse> insert(CreateOrdersRequest request) { |
var _url = null; |
var _queryParams = new core.Map(); |
@@ -1642,49 +1606,47 @@ class ProposalsResourceApi { |
_url = 'proposals/insert'; |
- var _response = _requester.request(_url, |
- "POST", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "POST", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new CreateOrdersResponse.fromJson(data)); |
} |
- /** |
- * Update the given proposal. This method supports patch semantics. |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [proposalId] - The proposal id to update. |
- * |
- * [revisionNumber] - The last known revision number to update. If the head |
- * revision in the marketplace database has since changed, an error will be |
- * thrown. The caller should then fetch the latest proposal at head revision |
- * and retry the update at that revision. |
- * |
- * [updateAction] - The proposed action to take on the proposal. This field is |
- * required and it must be set when updating a proposal. |
- * Possible string values are: |
- * - "accept" |
- * - "cancel" |
- * - "propose" |
- * - "proposeAndAccept" |
- * - "unknownAction" |
- * - "updateNonTerms" |
- * |
- * Completes with a [Proposal]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<Proposal> patch(Proposal request, core.String proposalId, core.String revisionNumber, core.String updateAction) { |
+ /// Update the given proposal. This method supports patch semantics. |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [proposalId] - The proposal id to update. |
+ /// |
+ /// [revisionNumber] - The last known revision number to update. If the head |
+ /// revision in the marketplace database has since changed, an error will be |
+ /// thrown. The caller should then fetch the latest proposal at head revision |
+ /// and retry the update at that revision. |
+ /// |
+ /// [updateAction] - The proposed action to take on the proposal. This field |
+ /// is required and it must be set when updating a proposal. |
+ /// Possible string values are: |
+ /// - "accept" |
+ /// - "cancel" |
+ /// - "propose" |
+ /// - "proposeAndAccept" |
+ /// - "unknownAction" |
+ /// - "updateNonTerms" |
+ /// |
+ /// Completes with a [Proposal]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<Proposal> patch(Proposal request, core.String proposalId, |
+ core.String revisionNumber, core.String updateAction) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1705,33 +1667,35 @@ class ProposalsResourceApi { |
throw new core.ArgumentError("Parameter updateAction is required."); |
} |
- _url = 'proposals/' + commons.Escaper.ecapeVariable('$proposalId') + '/' + commons.Escaper.ecapeVariable('$revisionNumber') + '/' + commons.Escaper.ecapeVariable('$updateAction'); |
+ _url = 'proposals/' + |
+ commons.Escaper.ecapeVariable('$proposalId') + |
+ '/' + |
+ commons.Escaper.ecapeVariable('$revisionNumber') + |
+ '/' + |
+ commons.Escaper.ecapeVariable('$updateAction'); |
- var _response = _requester.request(_url, |
- "PATCH", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "PATCH", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Proposal.fromJson(data)); |
} |
- /** |
- * Search for proposals using pql query |
- * |
- * Request parameters: |
- * |
- * [pqlQuery] - Query string to retrieve specific proposals. |
- * |
- * Completes with a [GetOrdersResponse]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
+ /// Search for proposals using pql query |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [pqlQuery] - Query string to retrieve specific proposals. |
+ /// |
+ /// Completes with a [GetOrdersResponse]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
async.Future<GetOrdersResponse> search({core.String pqlQuery}) { |
var _url = null; |
var _queryParams = new core.Map(); |
@@ -1746,29 +1710,26 @@ class ProposalsResourceApi { |
_url = 'proposals/search'; |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new GetOrdersResponse.fromJson(data)); |
} |
- /** |
- * Update the given proposal to indicate that setup has been completed. |
- * |
- * Request parameters: |
- * |
- * [proposalId] - The proposal id for which the setup is complete |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
+ /// Update the given proposal to indicate that setup has been completed. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [proposalId] - The proposal id for which the setup is complete |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
async.Future setupcomplete(core.String proposalId) { |
var _url = null; |
var _queryParams = new core.Map(); |
@@ -1783,51 +1744,51 @@ class ProposalsResourceApi { |
_downloadOptions = null; |
- _url = 'proposals/' + commons.Escaper.ecapeVariable('$proposalId') + '/setupcomplete'; |
+ _url = 'proposals/' + |
+ commons.Escaper.ecapeVariable('$proposalId') + |
+ '/setupcomplete'; |
- var _response = _requester.request(_url, |
- "POST", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "POST", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => null); |
} |
- /** |
- * Update the given proposal |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [proposalId] - The proposal id to update. |
- * |
- * [revisionNumber] - The last known revision number to update. If the head |
- * revision in the marketplace database has since changed, an error will be |
- * thrown. The caller should then fetch the latest proposal at head revision |
- * and retry the update at that revision. |
- * |
- * [updateAction] - The proposed action to take on the proposal. This field is |
- * required and it must be set when updating a proposal. |
- * Possible string values are: |
- * - "accept" |
- * - "cancel" |
- * - "propose" |
- * - "proposeAndAccept" |
- * - "unknownAction" |
- * - "updateNonTerms" |
- * |
- * Completes with a [Proposal]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<Proposal> update(Proposal request, core.String proposalId, core.String revisionNumber, core.String updateAction) { |
+ /// Update the given proposal |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [proposalId] - The proposal id to update. |
+ /// |
+ /// [revisionNumber] - The last known revision number to update. If the head |
+ /// revision in the marketplace database has since changed, an error will be |
+ /// thrown. The caller should then fetch the latest proposal at head revision |
+ /// and retry the update at that revision. |
+ /// |
+ /// [updateAction] - The proposed action to take on the proposal. This field |
+ /// is required and it must be set when updating a proposal. |
+ /// Possible string values are: |
+ /// - "accept" |
+ /// - "cancel" |
+ /// - "propose" |
+ /// - "proposeAndAccept" |
+ /// - "unknownAction" |
+ /// - "updateNonTerms" |
+ /// |
+ /// Completes with a [Proposal]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<Proposal> update(Proposal request, core.String proposalId, |
+ core.String revisionNumber, core.String updateAction) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1848,43 +1809,43 @@ class ProposalsResourceApi { |
throw new core.ArgumentError("Parameter updateAction is required."); |
} |
- _url = 'proposals/' + commons.Escaper.ecapeVariable('$proposalId') + '/' + commons.Escaper.ecapeVariable('$revisionNumber') + '/' + commons.Escaper.ecapeVariable('$updateAction'); |
+ _url = 'proposals/' + |
+ commons.Escaper.ecapeVariable('$proposalId') + |
+ '/' + |
+ commons.Escaper.ecapeVariable('$revisionNumber') + |
+ '/' + |
+ commons.Escaper.ecapeVariable('$updateAction'); |
- var _response = _requester.request(_url, |
- "PUT", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "PUT", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Proposal.fromJson(data)); |
} |
- |
} |
- |
class PubprofilesResourceApi { |
final commons.ApiRequester _requester; |
- PubprofilesResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * Gets the requested publisher profile(s) by publisher accountId. |
- * |
- * Request parameters: |
- * |
- * [accountId] - The accountId of the publisher to get profiles for. |
- * |
- * Completes with a [GetPublisherProfilesByAccountIdResponse]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<GetPublisherProfilesByAccountIdResponse> list(core.int accountId) { |
+ PubprofilesResourceApi(commons.ApiRequester client) : _requester = client; |
+ |
+ /// Gets the requested publisher profile(s) by publisher accountId. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [accountId] - The accountId of the publisher to get profiles for. |
+ /// |
+ /// Completes with a [GetPublisherProfilesByAccountIdResponse]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<GetPublisherProfilesByAccountIdResponse> list( |
+ core.int accountId) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1896,50 +1857,48 @@ class PubprofilesResourceApi { |
throw new core.ArgumentError("Parameter accountId is required."); |
} |
- _url = 'publisher/' + commons.Escaper.ecapeVariable('$accountId') + '/profiles'; |
+ _url = 'publisher/' + |
+ commons.Escaper.ecapeVariable('$accountId') + |
+ '/profiles'; |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
- return _response.then((data) => new GetPublisherProfilesByAccountIdResponse.fromJson(data)); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
+ return _response.then( |
+ (data) => new GetPublisherProfilesByAccountIdResponse.fromJson(data)); |
} |
- |
} |
- |
- |
class AccountBidderLocation { |
- /** |
- * The protocol that the bidder endpoint is using. OpenRTB protocols with |
- * prefix PROTOCOL_OPENRTB_PROTOBUF use proto buffer, otherwise use JSON. |
- * Allowed values: |
- * - PROTOCOL_ADX |
- * - PROTOCOL_OPENRTB_2_2 |
- * - PROTOCOL_OPENRTB_2_3 |
- * - PROTOCOL_OPENRTB_2_4 |
- * - PROTOCOL_OPENRTB_2_5 |
- * - PROTOCOL_OPENRTB_PROTOBUF_2_3 |
- * - PROTOCOL_OPENRTB_PROTOBUF_2_4 |
- * - PROTOCOL_OPENRTB_PROTOBUF_2_5 |
- */ |
+ /// The protocol that the bidder endpoint is using. OpenRTB protocols with |
+ /// prefix PROTOCOL_OPENRTB_PROTOBUF use proto buffer, otherwise use JSON. |
+ /// Allowed values: |
+ /// - PROTOCOL_ADX |
+ /// - PROTOCOL_OPENRTB_2_2 |
+ /// - PROTOCOL_OPENRTB_2_3 |
+ /// - PROTOCOL_OPENRTB_2_4 |
+ /// - PROTOCOL_OPENRTB_2_5 |
+ /// - PROTOCOL_OPENRTB_PROTOBUF_2_3 |
+ /// - PROTOCOL_OPENRTB_PROTOBUF_2_4 |
+ /// - PROTOCOL_OPENRTB_PROTOBUF_2_5 |
core.String bidProtocol; |
- /** The maximum queries per second the Ad Exchange will send. */ |
+ |
+ /// The maximum queries per second the Ad Exchange will send. |
core.int maximumQps; |
- /** |
- * The geographical region the Ad Exchange should send requests from. Only |
- * used by some quota systems, but always setting the value is recommended. |
- * Allowed values: |
- * - ASIA |
- * - EUROPE |
- * - US_EAST |
- * - US_WEST |
- */ |
+ |
+ /// The geographical region the Ad Exchange should send requests from. Only |
+ /// used by some quota systems, but always setting the value is recommended. |
+ /// Allowed values: |
+ /// - ASIA |
+ /// - EUROPE |
+ /// - US_EAST |
+ /// - US_WEST |
core.String region; |
- /** The URL to which the Ad Exchange will send bid requests. */ |
+ |
+ /// The URL to which the Ad Exchange will send bid requests. |
core.String url; |
AccountBidderLocation(); |
@@ -1960,7 +1919,8 @@ class AccountBidderLocation { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (bidProtocol != null) { |
_json["bidProtocol"] = bidProtocol; |
} |
@@ -1977,43 +1937,44 @@ class AccountBidderLocation { |
} |
} |
-/** Configuration data for an Ad Exchange buyer account. */ |
+/// Configuration data for an Ad Exchange buyer account. |
class Account { |
- /** Your bidder locations that have distinct URLs. */ |
+ /// Your bidder locations that have distinct URLs. |
core.List<AccountBidderLocation> bidderLocation; |
- /** |
- * The nid parameter value used in cookie match requests. Please contact your |
- * technical account manager if you need to change this. |
- */ |
+ |
+ /// The nid parameter value used in cookie match requests. Please contact |
+ /// your technical account manager if you need to change this. |
core.String cookieMatchingNid; |
- /** The base URL used in cookie match requests. */ |
+ |
+ /// The base URL used in cookie match requests. |
core.String cookieMatchingUrl; |
- /** Account id. */ |
+ |
+ /// Account id. |
core.int id; |
- /** Resource type. */ |
+ |
+ /// Resource type. |
core.String kind; |
- /** |
- * The maximum number of active creatives that an account can have, where a |
- * creative is active if it was inserted or bid with in the last 30 days. |
- * Please contact your technical account manager if you need to change this. |
- */ |
+ |
+ /// The maximum number of active creatives that an account can have, where a |
+ /// creative is active if it was inserted or bid with in the last 30 days. |
+ /// Please contact your technical account manager if you need to change this. |
core.int maximumActiveCreatives; |
- /** |
- * The sum of all bidderLocation.maximumQps values cannot exceed this. Please |
- * contact your technical account manager if you need to change this. |
- */ |
+ |
+ /// The sum of all bidderLocation.maximumQps values cannot exceed this. |
+ /// Please contact your technical account manager if you need to change this. |
core.int maximumTotalQps; |
- /** |
- * The number of creatives that this account inserted or bid with in the last |
- * 30 days. |
- */ |
+ |
+ /// The number of creatives that this account inserted or bid with in the |
+ /// last 30 days. |
core.int numberActiveCreatives; |
Account(); |
Account.fromJson(core.Map _json) { |
if (_json.containsKey("bidderLocation")) { |
- bidderLocation = _json["bidderLocation"].map((value) => new AccountBidderLocation.fromJson(value)).toList(); |
+ bidderLocation = _json["bidderLocation"] |
+ .map((value) => new AccountBidderLocation.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("cookieMatchingNid")) { |
cookieMatchingNid = _json["cookieMatchingNid"]; |
@@ -2039,9 +2000,11 @@ class Account { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (bidderLocation != null) { |
- _json["bidderLocation"] = bidderLocation.map((value) => (value).toJson()).toList(); |
+ _json["bidderLocation"] = |
+ bidderLocation.map((value) => (value).toJson()).toList(); |
} |
if (cookieMatchingNid != null) { |
_json["cookieMatchingNid"] = cookieMatchingNid; |
@@ -2068,21 +2031,21 @@ class Account { |
} |
} |
-/** |
- * An account feed lists Ad Exchange buyer accounts that the user has access to. |
- * Each entry in the feed corresponds to a single buyer account. |
- */ |
+/// An account feed lists Ad Exchange buyer accounts that the user has access |
+/// to. Each entry in the feed corresponds to a single buyer account. |
class AccountsList { |
- /** A list of accounts. */ |
+ /// A list of accounts. |
core.List<Account> items; |
- /** Resource type. */ |
+ |
+ /// Resource type. |
core.String kind; |
AccountsList(); |
AccountsList.fromJson(core.Map _json) { |
if (_json.containsKey("items")) { |
- items = _json["items"].map((value) => new Account.fromJson(value)).toList(); |
+ items = |
+ _json["items"].map((value) => new Account.fromJson(value)).toList(); |
} |
if (_json.containsKey("kind")) { |
kind = _json["kind"]; |
@@ -2090,7 +2053,8 @@ class AccountsList { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (items != null) { |
_json["items"] = items.map((value) => (value).toJson()).toList(); |
} |
@@ -2102,18 +2066,22 @@ class AccountsList { |
} |
class AddOrderDealsRequest { |
- /** The list of deals to add */ |
+ /// The list of deals to add |
core.List<MarketplaceDeal> deals; |
- /** The last known proposal revision number. */ |
+ |
+ /// The last known proposal revision number. |
core.String proposalRevisionNumber; |
- /** Indicates an optional action to take on the proposal */ |
+ |
+ /// Indicates an optional action to take on the proposal |
core.String updateAction; |
AddOrderDealsRequest(); |
AddOrderDealsRequest.fromJson(core.Map _json) { |
if (_json.containsKey("deals")) { |
- deals = _json["deals"].map((value) => new MarketplaceDeal.fromJson(value)).toList(); |
+ deals = _json["deals"] |
+ .map((value) => new MarketplaceDeal.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("proposalRevisionNumber")) { |
proposalRevisionNumber = _json["proposalRevisionNumber"]; |
@@ -2124,7 +2092,8 @@ class AddOrderDealsRequest { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (deals != null) { |
_json["deals"] = deals.map((value) => (value).toJson()).toList(); |
} |
@@ -2139,16 +2108,19 @@ class AddOrderDealsRequest { |
} |
class AddOrderDealsResponse { |
- /** List of deals added (in the same proposal as passed in the request) */ |
+ /// List of deals added (in the same proposal as passed in the request) |
core.List<MarketplaceDeal> deals; |
- /** The updated revision number for the proposal. */ |
+ |
+ /// The updated revision number for the proposal. |
core.String proposalRevisionNumber; |
AddOrderDealsResponse(); |
AddOrderDealsResponse.fromJson(core.Map _json) { |
if (_json.containsKey("deals")) { |
- deals = _json["deals"].map((value) => new MarketplaceDeal.fromJson(value)).toList(); |
+ deals = _json["deals"] |
+ .map((value) => new MarketplaceDeal.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("proposalRevisionNumber")) { |
proposalRevisionNumber = _json["proposalRevisionNumber"]; |
@@ -2156,7 +2128,8 @@ class AddOrderDealsResponse { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (deals != null) { |
_json["deals"] = deals.map((value) => (value).toJson()).toList(); |
} |
@@ -2168,19 +2141,22 @@ class AddOrderDealsResponse { |
} |
class AddOrderNotesRequest { |
- /** The list of notes to add. */ |
+ /// The list of notes to add. |
core.List<MarketplaceNote> notes; |
AddOrderNotesRequest(); |
AddOrderNotesRequest.fromJson(core.Map _json) { |
if (_json.containsKey("notes")) { |
- notes = _json["notes"].map((value) => new MarketplaceNote.fromJson(value)).toList(); |
+ notes = _json["notes"] |
+ .map((value) => new MarketplaceNote.fromJson(value)) |
+ .toList(); |
} |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (notes != null) { |
_json["notes"] = notes.map((value) => (value).toJson()).toList(); |
} |
@@ -2195,12 +2171,15 @@ class AddOrderNotesResponse { |
AddOrderNotesResponse.fromJson(core.Map _json) { |
if (_json.containsKey("notes")) { |
- notes = _json["notes"].map((value) => new MarketplaceNote.fromJson(value)).toList(); |
+ notes = _json["notes"] |
+ .map((value) => new MarketplaceNote.fromJson(value)) |
+ .toList(); |
} |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (notes != null) { |
_json["notes"] = notes.map((value) => (value).toJson()).toList(); |
} |
@@ -2208,19 +2187,20 @@ class AddOrderNotesResponse { |
} |
} |
-/** The configuration data for an Ad Exchange billing info. */ |
+/// The configuration data for an Ad Exchange billing info. |
class BillingInfo { |
- /** Account id. */ |
+ /// Account id. |
core.int accountId; |
- /** Account name. */ |
+ |
+ /// Account name. |
core.String accountName; |
- /** |
- * A list of adgroup IDs associated with this particular account. These IDs |
- * may show up as part of a realtime bidding BidRequest, which indicates a bid |
- * request for this account. |
- */ |
+ |
+ /// A list of adgroup IDs associated with this particular account. These IDs |
+ /// may show up as part of a realtime bidding BidRequest, which indicates a |
+ /// bid request for this account. |
core.List<core.String> billingId; |
- /** Resource type. */ |
+ |
+ /// Resource type. |
core.String kind; |
BillingInfo(); |
@@ -2241,7 +2221,8 @@ class BillingInfo { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (accountId != null) { |
_json["accountId"] = accountId; |
} |
@@ -2258,21 +2239,22 @@ class BillingInfo { |
} |
} |
-/** |
- * A billing info feed lists Billing Info the Ad Exchange buyer account has |
- * access to. Each entry in the feed corresponds to a single billing info. |
- */ |
+/// A billing info feed lists Billing Info the Ad Exchange buyer account has |
+/// access to. Each entry in the feed corresponds to a single billing info. |
class BillingInfoList { |
- /** A list of billing info relevant for your account. */ |
+ /// A list of billing info relevant for your account. |
core.List<BillingInfo> items; |
- /** Resource type. */ |
+ |
+ /// Resource type. |
core.String kind; |
BillingInfoList(); |
BillingInfoList.fromJson(core.Map _json) { |
if (_json.containsKey("items")) { |
- items = _json["items"].map((value) => new BillingInfo.fromJson(value)).toList(); |
+ items = _json["items"] |
+ .map((value) => new BillingInfo.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("kind")) { |
kind = _json["kind"]; |
@@ -2280,7 +2262,8 @@ class BillingInfoList { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (items != null) { |
_json["items"] = items.map((value) => (value).toJson()).toList(); |
} |
@@ -2291,25 +2274,26 @@ class BillingInfoList { |
} |
} |
-/** The configuration data for Ad Exchange RTB - Budget API. */ |
+/// The configuration data for Ad Exchange RTB - Budget API. |
class Budget { |
- /** The id of the account. This is required for get and update requests. */ |
+ /// The id of the account. This is required for get and update requests. |
core.String accountId; |
- /** |
- * The billing id to determine which adgroup to provide budget information |
- * for. This is required for get and update requests. |
- */ |
+ |
+ /// The billing id to determine which adgroup to provide budget information |
+ /// for. This is required for get and update requests. |
core.String billingId; |
- /** |
- * The daily budget amount in unit amount of the account currency to apply for |
- * the billingId provided. This is required for update requests. |
- */ |
+ |
+ /// The daily budget amount in unit amount of the account currency to apply |
+ /// for the billingId provided. This is required for update requests. |
core.String budgetAmount; |
- /** The currency code for the buyer. This cannot be altered here. */ |
+ |
+ /// The currency code for the buyer. This cannot be altered here. |
core.String currencyCode; |
- /** The unique id that describes this item. */ |
+ |
+ /// The unique id that describes this item. |
core.String id; |
- /** The kind of the resource, i.e. "adexchangebuyer#budget". */ |
+ |
+ /// The kind of the resource, i.e. "adexchangebuyer#budget". |
core.String kind; |
Budget(); |
@@ -2336,7 +2320,8 @@ class Budget { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (accountId != null) { |
_json["accountId"] = accountId; |
} |
@@ -2360,7 +2345,7 @@ class Budget { |
} |
class Buyer { |
- /** Adx account id of the buyer. */ |
+ /// Adx account id of the buyer. |
core.String accountId; |
Buyer(); |
@@ -2372,7 +2357,8 @@ class Buyer { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (accountId != null) { |
_json["accountId"] = accountId; |
} |
@@ -2381,9 +2367,10 @@ class Buyer { |
} |
class ContactInformation { |
- /** Email address of the contact. */ |
+ /// Email address of the contact. |
core.String email; |
- /** The name of the contact. */ |
+ |
+ /// The name of the contact. |
core.String name; |
ContactInformation(); |
@@ -2398,7 +2385,8 @@ class ContactInformation { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (email != null) { |
_json["email"] = email; |
} |
@@ -2410,16 +2398,19 @@ class ContactInformation { |
} |
class CreateOrdersRequest { |
- /** The list of proposals to create. */ |
+ /// The list of proposals to create. |
core.List<Proposal> proposals; |
- /** Web property id of the seller creating these orders */ |
+ |
+ /// Web property id of the seller creating these orders |
core.String webPropertyCode; |
CreateOrdersRequest(); |
CreateOrdersRequest.fromJson(core.Map _json) { |
if (_json.containsKey("proposals")) { |
- proposals = _json["proposals"].map((value) => new Proposal.fromJson(value)).toList(); |
+ proposals = _json["proposals"] |
+ .map((value) => new Proposal.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("webPropertyCode")) { |
webPropertyCode = _json["webPropertyCode"]; |
@@ -2427,7 +2418,8 @@ class CreateOrdersRequest { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (proposals != null) { |
_json["proposals"] = proposals.map((value) => (value).toJson()).toList(); |
} |
@@ -2439,19 +2431,22 @@ class CreateOrdersRequest { |
} |
class CreateOrdersResponse { |
- /** The list of proposals successfully created. */ |
+ /// The list of proposals successfully created. |
core.List<Proposal> proposals; |
CreateOrdersResponse(); |
CreateOrdersResponse.fromJson(core.Map _json) { |
if (_json.containsKey("proposals")) { |
- proposals = _json["proposals"].map((value) => new Proposal.fromJson(value)).toList(); |
+ proposals = _json["proposals"] |
+ .map((value) => new Proposal.fromJson(value)) |
+ .toList(); |
} |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (proposals != null) { |
_json["proposals"] = proposals.map((value) => (value).toJson()).toList(); |
} |
@@ -2460,24 +2455,19 @@ class CreateOrdersResponse { |
} |
class CreativeCorrectionsContexts { |
- /** |
- * Only set when contextType=AUCTION_TYPE. Represents the auction types this |
- * correction applies to. |
- */ |
+ /// Only set when contextType=AUCTION_TYPE. Represents the auction types this |
+ /// correction applies to. |
core.List<core.String> auctionType; |
- /** |
- * The type of context (e.g., location, platform, auction type, SSL-ness). |
- */ |
+ |
+ /// The type of context (e.g., location, platform, auction type, SSL-ness). |
core.String contextType; |
- /** |
- * Only set when contextType=LOCATION. Represents the geo criterias this |
- * correction applies to. |
- */ |
+ |
+ /// Only set when contextType=LOCATION. Represents the geo criterias this |
+ /// correction applies to. |
core.List<core.int> geoCriteriaId; |
- /** |
- * Only set when contextType=PLATFORM. Represents the platforms this |
- * correction applies to. |
- */ |
+ |
+ /// Only set when contextType=PLATFORM. Represents the platforms this |
+ /// correction applies to. |
core.List<core.String> platform; |
CreativeCorrectionsContexts(); |
@@ -2498,7 +2488,8 @@ class CreativeCorrectionsContexts { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (auctionType != null) { |
_json["auctionType"] = auctionType; |
} |
@@ -2516,18 +2507,22 @@ class CreativeCorrectionsContexts { |
} |
class CreativeCorrections { |
- /** All known serving contexts containing serving status information. */ |
+ /// All known serving contexts containing serving status information. |
core.List<CreativeCorrectionsContexts> contexts; |
- /** Additional details about the correction. */ |
+ |
+ /// Additional details about the correction. |
core.List<core.String> details; |
- /** The type of correction that was applied to the creative. */ |
+ |
+ /// The type of correction that was applied to the creative. |
core.String reason; |
CreativeCorrections(); |
CreativeCorrections.fromJson(core.Map _json) { |
if (_json.containsKey("contexts")) { |
- contexts = _json["contexts"].map((value) => new CreativeCorrectionsContexts.fromJson(value)).toList(); |
+ contexts = _json["contexts"] |
+ .map((value) => new CreativeCorrectionsContexts.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("details")) { |
details = _json["details"]; |
@@ -2538,7 +2533,8 @@ class CreativeCorrections { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (contexts != null) { |
_json["contexts"] = contexts.map((value) => (value).toJson()).toList(); |
} |
@@ -2553,12 +2549,11 @@ class CreativeCorrections { |
} |
class CreativeFilteringReasonsReasons { |
- /** |
- * The number of times the creative was filtered for the status. The count is |
- * aggregated across all publishers on the exchange. |
- */ |
+ /// The number of times the creative was filtered for the status. The count |
+ /// is aggregated across all publishers on the exchange. |
core.String filteringCount; |
- /** The filtering status code as defined in creative-status-codes.txt. */ |
+ |
+ /// The filtering status code as defined in creative-status-codes.txt. |
core.int filteringStatus; |
CreativeFilteringReasonsReasons(); |
@@ -2573,7 +2568,8 @@ class CreativeFilteringReasonsReasons { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (filteringCount != null) { |
_json["filteringCount"] = filteringCount; |
} |
@@ -2584,17 +2580,14 @@ class CreativeFilteringReasonsReasons { |
} |
} |
-/** |
- * The filtering reasons for the creative. Read-only. This field should not be |
- * set in requests. |
- */ |
+/// The filtering reasons for the creative. Read-only. This field should not be |
+/// set in requests. |
class CreativeFilteringReasons { |
- /** |
- * The date in ISO 8601 format for the data. The data is collected from |
- * 00:00:00 to 23:59:59 in PST. |
- */ |
+ /// The date in ISO 8601 format for the data. The data is collected from |
+ /// 00:00:00 to 23:59:59 in PST. |
core.String date; |
- /** The filtering reasons. */ |
+ |
+ /// The filtering reasons. |
core.List<CreativeFilteringReasonsReasons> reasons; |
CreativeFilteringReasons(); |
@@ -2604,12 +2597,15 @@ class CreativeFilteringReasons { |
date = _json["date"]; |
} |
if (_json.containsKey("reasons")) { |
- reasons = _json["reasons"].map((value) => new CreativeFilteringReasonsReasons.fromJson(value)).toList(); |
+ reasons = _json["reasons"] |
+ .map((value) => new CreativeFilteringReasonsReasons.fromJson(value)) |
+ .toList(); |
} |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (date != null) { |
_json["date"] = date; |
} |
@@ -2620,7 +2616,7 @@ class CreativeFilteringReasons { |
} |
} |
-/** The app icon, for app download ads. */ |
+/// The app icon, for app download ads. |
class CreativeNativeAdAppIcon { |
core.int height; |
core.String url; |
@@ -2641,7 +2637,8 @@ class CreativeNativeAdAppIcon { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (height != null) { |
_json["height"] = height; |
} |
@@ -2655,7 +2652,7 @@ class CreativeNativeAdAppIcon { |
} |
} |
-/** A large image. */ |
+/// A large image. |
class CreativeNativeAdImage { |
core.int height; |
core.String url; |
@@ -2676,7 +2673,8 @@ class CreativeNativeAdImage { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (height != null) { |
_json["height"] = height; |
} |
@@ -2690,7 +2688,7 @@ class CreativeNativeAdImage { |
} |
} |
-/** A smaller image, for the advertiser logo. */ |
+/// A smaller image, for the advertiser logo. |
class CreativeNativeAdLogo { |
core.int height; |
core.String url; |
@@ -2711,7 +2709,8 @@ class CreativeNativeAdLogo { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (height != null) { |
_json["height"] = height; |
} |
@@ -2725,40 +2724,49 @@ class CreativeNativeAdLogo { |
} |
} |
-/** |
- * If nativeAd is set, HTMLSnippet and the videoURL outside of nativeAd should |
- * not be set. (The videoURL inside nativeAd can be set.) |
- */ |
+/// If nativeAd is set, HTMLSnippet and the videoURL outside of nativeAd should |
+/// not be set. (The videoURL inside nativeAd can be set.) |
class CreativeNativeAd { |
core.String advertiser; |
- /** The app icon, for app download ads. */ |
+ |
+ /// The app icon, for app download ads. |
CreativeNativeAdAppIcon appIcon; |
- /** A long description of the ad. */ |
+ |
+ /// A long description of the ad. |
core.String body; |
- /** A label for the button that the user is supposed to click. */ |
+ |
+ /// A label for the button that the user is supposed to click. |
core.String callToAction; |
- /** The URL that the browser/SDK will load when the user clicks the ad. */ |
+ |
+ /// The URL that the browser/SDK will load when the user clicks the ad. |
core.String clickLinkUrl; |
- /** The URL to use for click tracking. */ |
+ |
+ /// The URL to use for click tracking. |
core.String clickTrackingUrl; |
- /** A short title for the ad. */ |
+ |
+ /// A short title for the ad. |
core.String headline; |
- /** A large image. */ |
+ |
+ /// A large image. |
CreativeNativeAdImage image; |
- /** The URLs are called when the impression is rendered. */ |
+ |
+ /// The URLs are called when the impression is rendered. |
core.List<core.String> impressionTrackingUrl; |
- /** A smaller image, for the advertiser logo. */ |
+ |
+ /// A smaller image, for the advertiser logo. |
CreativeNativeAdLogo logo; |
- /** The price of the promoted app including the currency info. */ |
+ |
+ /// The price of the promoted app including the currency info. |
core.String price; |
- /** The app rating in the app store. Must be in the range [0-5]. */ |
+ |
+ /// The app rating in the app store. Must be in the range [0-5]. |
core.double starRating; |
- /** The URL to the app store to purchase/download the promoted app. */ |
+ |
+ /// The URL to the app store to purchase/download the promoted app. |
core.String store; |
- /** |
- * The URL of the XML VAST for a native ad. Note this is a separate field from |
- * resource.video_url. |
- */ |
+ |
+ /// The URL of the XML VAST for a native ad. Note this is a separate field |
+ /// from resource.video_url. |
core.String videoURL; |
CreativeNativeAd(); |
@@ -2809,7 +2817,8 @@ class CreativeNativeAd { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (advertiser != null) { |
_json["advertiser"] = advertiser; |
} |
@@ -2857,26 +2866,21 @@ class CreativeNativeAd { |
} |
class CreativeServingRestrictionsContexts { |
- /** |
- * Only set when contextType=AUCTION_TYPE. Represents the auction types this |
- * restriction applies to. |
- */ |
+ /// Only set when contextType=AUCTION_TYPE. Represents the auction types this |
+ /// restriction applies to. |
core.List<core.String> auctionType; |
- /** |
- * The type of context (e.g., location, platform, auction type, SSL-ness). |
- */ |
+ |
+ /// The type of context (e.g., location, platform, auction type, SSL-ness). |
core.String contextType; |
- /** |
- * Only set when contextType=LOCATION. Represents the geo criterias this |
- * restriction applies to. Impressions are considered to match a context if |
- * either the user location or publisher location matches a given |
- * geoCriteriaId. |
- */ |
+ |
+ /// Only set when contextType=LOCATION. Represents the geo criterias this |
+ /// restriction applies to. Impressions are considered to match a context if |
+ /// either the user location or publisher location matches a given |
+ /// geoCriteriaId. |
core.List<core.int> geoCriteriaId; |
- /** |
- * Only set when contextType=PLATFORM. Represents the platforms this |
- * restriction applies to. |
- */ |
+ |
+ /// Only set when contextType=PLATFORM. Represents the platforms this |
+ /// restriction applies to. |
core.List<core.String> platform; |
CreativeServingRestrictionsContexts(); |
@@ -2897,7 +2901,8 @@ class CreativeServingRestrictionsContexts { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (auctionType != null) { |
_json["auctionType"] = auctionType; |
} |
@@ -2915,9 +2920,10 @@ class CreativeServingRestrictionsContexts { |
} |
class CreativeServingRestrictionsDisapprovalReasons { |
- /** Additional details about the reason for disapproval. */ |
+ /// Additional details about the reason for disapproval. |
core.List<core.String> details; |
- /** The categorized reason for disapproval. */ |
+ |
+ /// The categorized reason for disapproval. |
core.String reason; |
CreativeServingRestrictionsDisapprovalReasons(); |
@@ -2932,7 +2938,8 @@ class CreativeServingRestrictionsDisapprovalReasons { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (details != null) { |
_json["details"] = details; |
} |
@@ -2944,30 +2951,34 @@ class CreativeServingRestrictionsDisapprovalReasons { |
} |
class CreativeServingRestrictions { |
- /** All known contexts/restrictions. */ |
+ /// All known contexts/restrictions. |
core.List<CreativeServingRestrictionsContexts> contexts; |
- /** |
- * The reasons for disapproval within this restriction, if any. Note that not |
- * all disapproval reasons may be categorized, so it is possible for the |
- * creative to have a status of DISAPPROVED or CONDITIONALLY_APPROVED with an |
- * empty list for disapproval_reasons. In this case, please reach out to your |
- * TAM to help debug the issue. |
- */ |
+ |
+ /// The reasons for disapproval within this restriction, if any. Note that |
+ /// not all disapproval reasons may be categorized, so it is possible for the |
+ /// creative to have a status of DISAPPROVED or CONDITIONALLY_APPROVED with |
+ /// an empty list for disapproval_reasons. In this case, please reach out to |
+ /// your TAM to help debug the issue. |
core.List<CreativeServingRestrictionsDisapprovalReasons> disapprovalReasons; |
- /** |
- * Why the creative is ineligible to serve in this context (e.g., it has been |
- * explicitly disapproved or is pending review). |
- */ |
+ |
+ /// Why the creative is ineligible to serve in this context (e.g., it has |
+ /// been explicitly disapproved or is pending review). |
core.String reason; |
CreativeServingRestrictions(); |
CreativeServingRestrictions.fromJson(core.Map _json) { |
if (_json.containsKey("contexts")) { |
- contexts = _json["contexts"].map((value) => new CreativeServingRestrictionsContexts.fromJson(value)).toList(); |
+ contexts = _json["contexts"] |
+ .map((value) => |
+ new CreativeServingRestrictionsContexts.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("disapprovalReasons")) { |
- disapprovalReasons = _json["disapprovalReasons"].map((value) => new CreativeServingRestrictionsDisapprovalReasons.fromJson(value)).toList(); |
+ disapprovalReasons = _json["disapprovalReasons"] |
+ .map((value) => |
+ new CreativeServingRestrictionsDisapprovalReasons.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("reason")) { |
reason = _json["reason"]; |
@@ -2975,12 +2986,14 @@ class CreativeServingRestrictions { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (contexts != null) { |
_json["contexts"] = contexts.map((value) => (value).toJson()).toList(); |
} |
if (disapprovalReasons != null) { |
- _json["disapprovalReasons"] = disapprovalReasons.map((value) => (value).toJson()).toList(); |
+ _json["disapprovalReasons"] = |
+ disapprovalReasons.map((value) => (value).toJson()).toList(); |
} |
if (reason != null) { |
_json["reason"] = reason; |
@@ -2989,137 +3002,125 @@ class CreativeServingRestrictions { |
} |
} |
-/** A creative and its classification data. */ |
+/// A creative and its classification data. |
class Creative { |
- /** |
- * The HTML snippet that displays the ad when inserted in the web page. If |
- * set, videoURL should not be set. |
- */ |
+ /// The HTML snippet that displays the ad when inserted in the web page. If |
+ /// set, videoURL should not be set. |
core.String HTMLSnippet; |
- /** Account id. */ |
+ |
+ /// Account id. |
core.int accountId; |
- /** |
- * The link to the Ad Preferences page. This is only supported for native ads. |
- */ |
+ |
+ /// The link to the Ad Preferences page. This is only supported for native |
+ /// ads. |
core.String adChoicesDestinationUrl; |
- /** |
- * Detected advertiser id, if any. Read-only. This field should not be set in |
- * requests. |
- */ |
+ |
+ /// Detected advertiser id, if any. Read-only. This field should not be set |
+ /// in requests. |
core.List<core.String> advertiserId; |
- /** |
- * The name of the company being advertised in the creative. The value |
- * provided must exist in the advertisers.txt file. |
- */ |
+ |
+ /// The name of the company being advertised in the creative. The value |
+ /// provided must exist in the advertisers.txt file. |
core.String advertiserName; |
- /** The agency id for this creative. */ |
+ |
+ /// The agency id for this creative. |
core.String agencyId; |
- /** |
- * The last upload timestamp of this creative if it was uploaded via API. |
- * Read-only. The value of this field is generated, and will be ignored for |
- * uploads. (formatted RFC 3339 timestamp). |
- */ |
+ |
+ /// The last upload timestamp of this creative if it was uploaded via API. |
+ /// Read-only. The value of this field is generated, and will be ignored for |
+ /// uploads. (formatted RFC 3339 timestamp). |
core.DateTime apiUploadTimestamp; |
- /** |
- * List of buyer selectable attributes for the ads that may be shown from this |
- * snippet. Each attribute is represented by an integer as defined in |
- * buyer-declarable-creative-attributes.txt. |
- */ |
+ |
+ /// List of buyer selectable attributes for the ads that may be shown from |
+ /// this snippet. Each attribute is represented by an integer as defined in |
+ /// buyer-declarable-creative-attributes.txt. |
core.List<core.int> attribute; |
- /** A buyer-specific id identifying the creative in this ad. */ |
+ |
+ /// A buyer-specific id identifying the creative in this ad. |
core.String buyerCreativeId; |
- /** The set of destination urls for the snippet. */ |
+ |
+ /// The set of destination urls for the snippet. |
core.List<core.String> clickThroughUrl; |
- /** |
- * Shows any corrections that were applied to this creative. Read-only. This |
- * field should not be set in requests. |
- */ |
+ |
+ /// Shows any corrections that were applied to this creative. Read-only. This |
+ /// field should not be set in requests. |
core.List<CreativeCorrections> corrections; |
- /** |
- * Top-level deals status. Read-only. This field should not be set in |
- * requests. If disapproved, an entry for auctionType=DIRECT_DEALS (or ALL) in |
- * servingRestrictions will also exist. Note that this may be nuanced with |
- * other contextual restrictions, in which case it may be preferable to read |
- * from servingRestrictions directly. |
- */ |
+ |
+ /// Top-level deals status. Read-only. This field should not be set in |
+ /// requests. If disapproved, an entry for auctionType=DIRECT_DEALS (or ALL) |
+ /// in servingRestrictions will also exist. Note that this may be nuanced |
+ /// with other contextual restrictions, in which case it may be preferable to |
+ /// read from servingRestrictions directly. |
core.String dealsStatus; |
- /** |
- * Detected domains for this creative. Read-only. This field should not be set |
- * in requests. |
- */ |
+ |
+ /// Detected domains for this creative. Read-only. This field should not be |
+ /// set in requests. |
core.List<core.String> detectedDomains; |
- /** |
- * The filtering reasons for the creative. Read-only. This field should not be |
- * set in requests. |
- */ |
+ |
+ /// The filtering reasons for the creative. Read-only. This field should not |
+ /// be set in requests. |
CreativeFilteringReasons filteringReasons; |
- /** Ad height. */ |
+ |
+ /// Ad height. |
core.int height; |
- /** The set of urls to be called to record an impression. */ |
+ |
+ /// The set of urls to be called to record an impression. |
core.List<core.String> impressionTrackingUrl; |
- /** Resource type. */ |
+ |
+ /// Resource type. |
core.String kind; |
- /** |
- * Detected languages for this creative. Read-only. This field should not be |
- * set in requests. |
- */ |
+ |
+ /// Detected languages for this creative. Read-only. This field should not be |
+ /// set in requests. |
core.List<core.String> languages; |
- /** |
- * If nativeAd is set, HTMLSnippet and the videoURL outside of nativeAd should |
- * not be set. (The videoURL inside nativeAd can be set.) |
- */ |
+ |
+ /// If nativeAd is set, HTMLSnippet and the videoURL outside of nativeAd |
+ /// should not be set. (The videoURL inside nativeAd can be set.) |
CreativeNativeAd nativeAd; |
- /** |
- * Top-level open auction status. Read-only. This field should not be set in |
- * requests. If disapproved, an entry for auctionType=OPEN_AUCTION (or ALL) in |
- * servingRestrictions will also exist. Note that this may be nuanced with |
- * other contextual restrictions, in which case it may be preferable to read |
- * from ServingRestrictions directly. |
- */ |
+ |
+ /// Top-level open auction status. Read-only. This field should not be set in |
+ /// requests. If disapproved, an entry for auctionType=OPEN_AUCTION (or ALL) |
+ /// in servingRestrictions will also exist. Note that this may be nuanced |
+ /// with other contextual restrictions, in which case it may be preferable to |
+ /// read from ServingRestrictions directly. |
core.String openAuctionStatus; |
- /** |
- * Detected product categories, if any. Each category is represented by an |
- * integer as defined in ad-product-categories.txt. Read-only. This field |
- * should not be set in requests. |
- */ |
+ |
+ /// Detected product categories, if any. Each category is represented by an |
+ /// integer as defined in ad-product-categories.txt. Read-only. This field |
+ /// should not be set in requests. |
core.List<core.int> productCategories; |
- /** |
- * All restricted categories for the ads that may be shown from this snippet. |
- * Each category is represented by an integer as defined in the |
- * ad-restricted-categories.txt. |
- */ |
+ |
+ /// All restricted categories for the ads that may be shown from this |
+ /// snippet. Each category is represented by an integer as defined in the |
+ /// ad-restricted-categories.txt. |
core.List<core.int> restrictedCategories; |
- /** |
- * Detected sensitive categories, if any. Each category is represented by an |
- * integer as defined in ad-sensitive-categories.txt. Read-only. This field |
- * should not be set in requests. |
- */ |
+ |
+ /// Detected sensitive categories, if any. Each category is represented by an |
+ /// integer as defined in ad-sensitive-categories.txt. Read-only. This field |
+ /// should not be set in requests. |
core.List<core.int> sensitiveCategories; |
- /** |
- * The granular status of this ad in specific contexts. A context here relates |
- * to where something ultimately serves (for example, a physical location, a |
- * platform, an HTTPS vs HTTP request, or the type of auction). Read-only. |
- * This field should not be set in requests. See the examples in the Creatives |
- * guide for more details. |
- */ |
+ |
+ /// The granular status of this ad in specific contexts. A context here |
+ /// relates to where something ultimately serves (for example, a physical |
+ /// location, a platform, an HTTPS vs HTTP request, or the type of auction). |
+ /// Read-only. This field should not be set in requests. See the examples in |
+ /// the Creatives guide for more details. |
core.List<CreativeServingRestrictions> servingRestrictions; |
- /** |
- * List of vendor types for the ads that may be shown from this snippet. Each |
- * vendor type is represented by an integer as defined in vendors.txt. |
- */ |
+ |
+ /// List of vendor types for the ads that may be shown from this snippet. |
+ /// Each vendor type is represented by an integer as defined in vendors.txt. |
core.List<core.int> vendorType; |
- /** |
- * The version for this creative. Read-only. This field should not be set in |
- * requests. |
- */ |
+ |
+ /// The version for this creative. Read-only. This field should not be set in |
+ /// requests. |
core.int version; |
- /** |
- * The URL to fetch a video ad. If set, HTMLSnippet and the nativeAd should |
- * not be set. Note, this is different from resource.native_ad.video_url |
- * above. |
- */ |
+ |
+ /// The URL to fetch a video ad. If set, HTMLSnippet and the nativeAd should |
+ /// not be set. Note, this is different from resource.native_ad.video_url |
+ /// above. |
core.String videoURL; |
- /** Ad width. */ |
+ |
+ /// Ad width. |
core.int width; |
Creative(); |
@@ -3156,7 +3157,9 @@ class Creative { |
clickThroughUrl = _json["clickThroughUrl"]; |
} |
if (_json.containsKey("corrections")) { |
- corrections = _json["corrections"].map((value) => new CreativeCorrections.fromJson(value)).toList(); |
+ corrections = _json["corrections"] |
+ .map((value) => new CreativeCorrections.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("dealsStatus")) { |
dealsStatus = _json["dealsStatus"]; |
@@ -3165,7 +3168,8 @@ class Creative { |
detectedDomains = _json["detectedDomains"]; |
} |
if (_json.containsKey("filteringReasons")) { |
- filteringReasons = new CreativeFilteringReasons.fromJson(_json["filteringReasons"]); |
+ filteringReasons = |
+ new CreativeFilteringReasons.fromJson(_json["filteringReasons"]); |
} |
if (_json.containsKey("height")) { |
height = _json["height"]; |
@@ -3195,7 +3199,9 @@ class Creative { |
sensitiveCategories = _json["sensitiveCategories"]; |
} |
if (_json.containsKey("servingRestrictions")) { |
- servingRestrictions = _json["servingRestrictions"].map((value) => new CreativeServingRestrictions.fromJson(value)).toList(); |
+ servingRestrictions = _json["servingRestrictions"] |
+ .map((value) => new CreativeServingRestrictions.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("vendorType")) { |
vendorType = _json["vendorType"]; |
@@ -3212,7 +3218,8 @@ class Creative { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (HTMLSnippet != null) { |
_json["HTMLSnippet"] = HTMLSnippet; |
} |
@@ -3244,7 +3251,8 @@ class Creative { |
_json["clickThroughUrl"] = clickThroughUrl; |
} |
if (corrections != null) { |
- _json["corrections"] = corrections.map((value) => (value).toJson()).toList(); |
+ _json["corrections"] = |
+ corrections.map((value) => (value).toJson()).toList(); |
} |
if (dealsStatus != null) { |
_json["dealsStatus"] = dealsStatus; |
@@ -3283,7 +3291,8 @@ class Creative { |
_json["sensitiveCategories"] = sensitiveCategories; |
} |
if (servingRestrictions != null) { |
- _json["servingRestrictions"] = servingRestrictions.map((value) => (value).toJson()).toList(); |
+ _json["servingRestrictions"] = |
+ servingRestrictions.map((value) => (value).toJson()).toList(); |
} |
if (vendorType != null) { |
_json["vendorType"] = vendorType; |
@@ -3302,11 +3311,13 @@ class Creative { |
} |
class CreativeDealIdsDealStatuses { |
- /** ARC approval status. */ |
+ /// ARC approval status. |
core.String arcStatus; |
- /** External deal ID. */ |
+ |
+ /// External deal ID. |
core.String dealId; |
- /** Publisher ID. */ |
+ |
+ /// Publisher ID. |
core.int webPropertyId; |
CreativeDealIdsDealStatuses(); |
@@ -3324,7 +3335,8 @@ class CreativeDealIdsDealStatuses { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (arcStatus != null) { |
_json["arcStatus"] = arcStatus; |
} |
@@ -3338,18 +3350,21 @@ class CreativeDealIdsDealStatuses { |
} |
} |
-/** The external deal ids associated with a creative. */ |
+/// The external deal ids associated with a creative. |
class CreativeDealIds { |
- /** A list of external deal ids and ARC approval status. */ |
+ /// A list of external deal ids and ARC approval status. |
core.List<CreativeDealIdsDealStatuses> dealStatuses; |
- /** Resource type. */ |
+ |
+ /// Resource type. |
core.String kind; |
CreativeDealIds(); |
CreativeDealIds.fromJson(core.Map _json) { |
if (_json.containsKey("dealStatuses")) { |
- dealStatuses = _json["dealStatuses"].map((value) => new CreativeDealIdsDealStatuses.fromJson(value)).toList(); |
+ dealStatuses = _json["dealStatuses"] |
+ .map((value) => new CreativeDealIdsDealStatuses.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("kind")) { |
kind = _json["kind"]; |
@@ -3357,9 +3372,11 @@ class CreativeDealIds { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (dealStatuses != null) { |
- _json["dealStatuses"] = dealStatuses.map((value) => (value).toJson()).toList(); |
+ _json["dealStatuses"] = |
+ dealStatuses.map((value) => (value).toJson()).toList(); |
} |
if (kind != null) { |
_json["kind"] = kind; |
@@ -3368,27 +3385,26 @@ class CreativeDealIds { |
} |
} |
-/** |
- * The creatives feed lists the active creatives for the Ad Exchange buyer |
- * accounts that the user has access to. Each entry in the feed corresponds to a |
- * single creative. |
- */ |
+/// The creatives feed lists the active creatives for the Ad Exchange buyer |
+/// accounts that the user has access to. Each entry in the feed corresponds to |
+/// a single creative. |
class CreativesList { |
- /** A list of creatives. */ |
+ /// A list of creatives. |
core.List<Creative> items; |
- /** Resource type. */ |
+ |
+ /// Resource type. |
core.String kind; |
- /** |
- * Continuation token used to page through creatives. To retrieve the next |
- * page of results, set the next request's "pageToken" value to this. |
- */ |
+ |
+ /// Continuation token used to page through creatives. To retrieve the next |
+ /// page of results, set the next request's "pageToken" value to this. |
core.String nextPageToken; |
CreativesList(); |
CreativesList.fromJson(core.Map _json) { |
if (_json.containsKey("items")) { |
- items = _json["items"].map((value) => new Creative.fromJson(value)).toList(); |
+ items = |
+ _json["items"].map((value) => new Creative.fromJson(value)).toList(); |
} |
if (_json.containsKey("kind")) { |
kind = _json["kind"]; |
@@ -3399,7 +3415,8 @@ class CreativesList { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (items != null) { |
_json["items"] = items.map((value) => (value).toJson()).toList(); |
} |
@@ -3414,16 +3431,13 @@ class CreativesList { |
} |
class DealServingMetadata { |
- /** |
- * True if alcohol ads are allowed for this deal (read-only). This field is |
- * only populated when querying for finalized orders using the method |
- * GetFinalizedOrderDeals |
- */ |
+ /// True if alcohol ads are allowed for this deal (read-only). This field is |
+ /// only populated when querying for finalized orders using the method |
+ /// GetFinalizedOrderDeals |
core.bool alcoholAdsAllowed; |
- /** |
- * Tracks which parties (if any) have paused a deal. (readonly, except via |
- * PauseResumeOrderDeals action) |
- */ |
+ |
+ /// Tracks which parties (if any) have paused a deal. (readonly, except via |
+ /// PauseResumeOrderDeals action) |
DealServingMetadataDealPauseStatus dealPauseStatus; |
DealServingMetadata(); |
@@ -3433,12 +3447,14 @@ class DealServingMetadata { |
alcoholAdsAllowed = _json["alcoholAdsAllowed"]; |
} |
if (_json.containsKey("dealPauseStatus")) { |
- dealPauseStatus = new DealServingMetadataDealPauseStatus.fromJson(_json["dealPauseStatus"]); |
+ dealPauseStatus = new DealServingMetadataDealPauseStatus.fromJson( |
+ _json["dealPauseStatus"]); |
} |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (alcoholAdsAllowed != null) { |
_json["alcoholAdsAllowed"] = alcoholAdsAllowed; |
} |
@@ -3449,14 +3465,13 @@ class DealServingMetadata { |
} |
} |
-/** |
- * Tracks which parties (if any) have paused a deal. The deal is considered |
- * paused if has_buyer_paused || has_seller_paused. Each of the has_buyer_paused |
- * or the has_seller_paused bits can be set independently. |
- */ |
+/// Tracks which parties (if any) have paused a deal. The deal is considered |
+/// paused if has_buyer_paused || has_seller_paused. Each of the |
+/// has_buyer_paused or the has_seller_paused bits can be set independently. |
class DealServingMetadataDealPauseStatus { |
core.String buyerPauseReason; |
- /** If the deal is paused, records which party paused the deal first. */ |
+ |
+ /// If the deal is paused, records which party paused the deal first. |
core.String firstPausedBy; |
core.bool hasBuyerPaused; |
core.bool hasSellerPaused; |
@@ -3483,7 +3498,8 @@ class DealServingMetadataDealPauseStatus { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (buyerPauseReason != null) { |
_json["buyerPauseReason"] = buyerPauseReason; |
} |
@@ -3504,38 +3520,39 @@ class DealServingMetadataDealPauseStatus { |
} |
class DealTerms { |
- /** Visibilty of the URL in bid requests. */ |
+ /// Visibilty of the URL in bid requests. |
core.String brandingType; |
- /** |
- * Indicates that this ExternalDealId exists under at least two different |
- * AdxInventoryDeals. Currently, the only case that the same ExternalDealId |
- * will exist is programmatic cross sell case. |
- */ |
+ |
+ /// Indicates that this ExternalDealId exists under at least two different |
+ /// AdxInventoryDeals. Currently, the only case that the same ExternalDealId |
+ /// will exist is programmatic cross sell case. |
core.String crossListedExternalDealIdType; |
- /** Description for the proposed terms of the deal. */ |
+ |
+ /// Description for the proposed terms of the deal. |
core.String description; |
- /** |
- * Non-binding estimate of the estimated gross spend for this deal Can be set |
- * by buyer or seller. |
- */ |
+ |
+ /// Non-binding estimate of the estimated gross spend for this deal Can be |
+ /// set by buyer or seller. |
Price estimatedGrossSpend; |
- /** |
- * Non-binding estimate of the impressions served per day Can be set by buyer |
- * or seller. |
- */ |
+ |
+ /// Non-binding estimate of the impressions served per day Can be set by |
+ /// buyer or seller. |
core.String estimatedImpressionsPerDay; |
- /** The terms for guaranteed fixed price deals. */ |
+ |
+ /// The terms for guaranteed fixed price deals. |
DealTermsGuaranteedFixedPriceTerms guaranteedFixedPriceTerms; |
- /** The terms for non-guaranteed auction deals. */ |
+ |
+ /// The terms for non-guaranteed auction deals. |
DealTermsNonGuaranteedAuctionTerms nonGuaranteedAuctionTerms; |
- /** The terms for non-guaranteed fixed price deals. */ |
+ |
+ /// The terms for non-guaranteed fixed price deals. |
DealTermsNonGuaranteedFixedPriceTerms nonGuaranteedFixedPriceTerms; |
- /** The terms for rubicon non-guaranteed deals. */ |
+ |
+ /// The terms for rubicon non-guaranteed deals. |
DealTermsRubiconNonGuaranteedTerms rubiconNonGuaranteedTerms; |
- /** |
- * For deals with Cost Per Day billing, defines the timezone used to mark the |
- * boundaries of a day (buyer-readonly) |
- */ |
+ |
+ /// For deals with Cost Per Day billing, defines the timezone used to mark |
+ /// the boundaries of a day (buyer-readonly) |
core.String sellerTimeZone; |
DealTerms(); |
@@ -3557,16 +3574,24 @@ class DealTerms { |
estimatedImpressionsPerDay = _json["estimatedImpressionsPerDay"]; |
} |
if (_json.containsKey("guaranteedFixedPriceTerms")) { |
- guaranteedFixedPriceTerms = new DealTermsGuaranteedFixedPriceTerms.fromJson(_json["guaranteedFixedPriceTerms"]); |
+ guaranteedFixedPriceTerms = |
+ new DealTermsGuaranteedFixedPriceTerms.fromJson( |
+ _json["guaranteedFixedPriceTerms"]); |
} |
if (_json.containsKey("nonGuaranteedAuctionTerms")) { |
- nonGuaranteedAuctionTerms = new DealTermsNonGuaranteedAuctionTerms.fromJson(_json["nonGuaranteedAuctionTerms"]); |
+ nonGuaranteedAuctionTerms = |
+ new DealTermsNonGuaranteedAuctionTerms.fromJson( |
+ _json["nonGuaranteedAuctionTerms"]); |
} |
if (_json.containsKey("nonGuaranteedFixedPriceTerms")) { |
- nonGuaranteedFixedPriceTerms = new DealTermsNonGuaranteedFixedPriceTerms.fromJson(_json["nonGuaranteedFixedPriceTerms"]); |
+ nonGuaranteedFixedPriceTerms = |
+ new DealTermsNonGuaranteedFixedPriceTerms.fromJson( |
+ _json["nonGuaranteedFixedPriceTerms"]); |
} |
if (_json.containsKey("rubiconNonGuaranteedTerms")) { |
- rubiconNonGuaranteedTerms = new DealTermsRubiconNonGuaranteedTerms.fromJson(_json["rubiconNonGuaranteedTerms"]); |
+ rubiconNonGuaranteedTerms = |
+ new DealTermsRubiconNonGuaranteedTerms.fromJson( |
+ _json["rubiconNonGuaranteedTerms"]); |
} |
if (_json.containsKey("sellerTimeZone")) { |
sellerTimeZone = _json["sellerTimeZone"]; |
@@ -3574,7 +3599,8 @@ class DealTerms { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (brandingType != null) { |
_json["brandingType"] = brandingType; |
} |
@@ -3597,7 +3623,8 @@ class DealTerms { |
_json["nonGuaranteedAuctionTerms"] = (nonGuaranteedAuctionTerms).toJson(); |
} |
if (nonGuaranteedFixedPriceTerms != null) { |
- _json["nonGuaranteedFixedPriceTerms"] = (nonGuaranteedFixedPriceTerms).toJson(); |
+ _json["nonGuaranteedFixedPriceTerms"] = |
+ (nonGuaranteedFixedPriceTerms).toJson(); |
} |
if (rubiconNonGuaranteedTerms != null) { |
_json["rubiconNonGuaranteedTerms"] = (rubiconNonGuaranteedTerms).toJson(); |
@@ -3610,37 +3637,36 @@ class DealTerms { |
} |
class DealTermsGuaranteedFixedPriceTerms { |
- /** |
- * External billing info for this Deal. This field is relevant when external |
- * billing info such as price has a different currency code than DFP/AdX. |
- */ |
+ /// External billing info for this Deal. This field is relevant when external |
+ /// billing info such as price has a different currency code than DFP/AdX. |
DealTermsGuaranteedFixedPriceTermsBillingInfo billingInfo; |
- /** Fixed price for the specified buyer. */ |
+ |
+ /// Fixed price for the specified buyer. |
core.List<PricePerBuyer> fixedPrices; |
- /** |
- * Guaranteed impressions as a percentage. This is the percentage of |
- * guaranteed looks that the buyer is guaranteeing to buy. |
- */ |
+ |
+ /// Guaranteed impressions as a percentage. This is the percentage of |
+ /// guaranteed looks that the buyer is guaranteeing to buy. |
core.String guaranteedImpressions; |
- /** |
- * Count of guaranteed looks. Required for deal, optional for product. For CPD |
- * deals, buyer changes to guaranteed_looks will be ignored. |
- */ |
+ |
+ /// Count of guaranteed looks. Required for deal, optional for product. For |
+ /// CPD deals, buyer changes to guaranteed_looks will be ignored. |
core.String guaranteedLooks; |
- /** |
- * Count of minimum daily looks for a CPD deal. For CPD deals, buyer should |
- * negotiate on this field instead of guaranteed_looks. |
- */ |
+ |
+ /// Count of minimum daily looks for a CPD deal. For CPD deals, buyer should |
+ /// negotiate on this field instead of guaranteed_looks. |
core.String minimumDailyLooks; |
DealTermsGuaranteedFixedPriceTerms(); |
DealTermsGuaranteedFixedPriceTerms.fromJson(core.Map _json) { |
if (_json.containsKey("billingInfo")) { |
- billingInfo = new DealTermsGuaranteedFixedPriceTermsBillingInfo.fromJson(_json["billingInfo"]); |
+ billingInfo = new DealTermsGuaranteedFixedPriceTermsBillingInfo.fromJson( |
+ _json["billingInfo"]); |
} |
if (_json.containsKey("fixedPrices")) { |
- fixedPrices = _json["fixedPrices"].map((value) => new PricePerBuyer.fromJson(value)).toList(); |
+ fixedPrices = _json["fixedPrices"] |
+ .map((value) => new PricePerBuyer.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("guaranteedImpressions")) { |
guaranteedImpressions = _json["guaranteedImpressions"]; |
@@ -3654,12 +3680,14 @@ class DealTermsGuaranteedFixedPriceTerms { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (billingInfo != null) { |
_json["billingInfo"] = (billingInfo).toJson(); |
} |
if (fixedPrices != null) { |
- _json["fixedPrices"] = fixedPrices.map((value) => (value).toJson()).toList(); |
+ _json["fixedPrices"] = |
+ fixedPrices.map((value) => (value).toJson()).toList(); |
} |
if (guaranteedImpressions != null) { |
_json["guaranteedImpressions"] = guaranteedImpressions; |
@@ -3675,28 +3703,24 @@ class DealTermsGuaranteedFixedPriceTerms { |
} |
class DealTermsGuaranteedFixedPriceTermsBillingInfo { |
- /** |
- * The timestamp (in ms since epoch) when the original reservation price for |
- * the deal was first converted to DFP currency. This is used to convert the |
- * contracted price into buyer's currency without discrepancy. |
- */ |
+ /// The timestamp (in ms since epoch) when the original reservation price for |
+ /// the deal was first converted to DFP currency. This is used to convert the |
+ /// contracted price into buyer's currency without discrepancy. |
core.String currencyConversionTimeMs; |
- /** |
- * The DFP line item id associated with this deal. For features like CPD, |
- * buyers can retrieve the DFP line item for billing reconciliation. |
- */ |
+ |
+ /// The DFP line item id associated with this deal. For features like CPD, |
+ /// buyers can retrieve the DFP line item for billing reconciliation. |
core.String dfpLineItemId; |
- /** |
- * The original contracted quantity (# impressions) for this deal. To ensure |
- * delivery, sometimes the publisher will book the deal with a impression |
- * buffer, such that guaranteed_looks is greater than the contracted quantity. |
- * However clients are billed using the original contracted quantity. |
- */ |
+ |
+ /// The original contracted quantity (# impressions) for this deal. To ensure |
+ /// delivery, sometimes the publisher will book the deal with a impression |
+ /// buffer, such that guaranteed_looks is greater than the contracted |
+ /// quantity. However clients are billed using the original contracted |
+ /// quantity. |
core.String originalContractedQuantity; |
- /** |
- * The original reservation price for the deal, if the currency code is |
- * different from the one used in negotiation. |
- */ |
+ |
+ /// The original reservation price for the deal, if the currency code is |
+ /// different from the one used in negotiation. |
Price price; |
DealTermsGuaranteedFixedPriceTermsBillingInfo(); |
@@ -3717,7 +3741,8 @@ class DealTermsGuaranteedFixedPriceTermsBillingInfo { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (currencyConversionTimeMs != null) { |
_json["currencyConversionTimeMs"] = currencyConversionTimeMs; |
} |
@@ -3735,12 +3760,11 @@ class DealTermsGuaranteedFixedPriceTermsBillingInfo { |
} |
class DealTermsNonGuaranteedAuctionTerms { |
- /** |
- * True if open auction buyers are allowed to compete with invited buyers in |
- * this private auction (buyer-readonly). |
- */ |
+ /// True if open auction buyers are allowed to compete with invited buyers in |
+ /// this private auction (buyer-readonly). |
core.bool autoOptimizePrivateAuction; |
- /** Reserve price for the specified buyer. */ |
+ |
+ /// Reserve price for the specified buyer. |
core.List<PricePerBuyer> reservePricePerBuyers; |
DealTermsNonGuaranteedAuctionTerms(); |
@@ -3750,47 +3774,56 @@ class DealTermsNonGuaranteedAuctionTerms { |
autoOptimizePrivateAuction = _json["autoOptimizePrivateAuction"]; |
} |
if (_json.containsKey("reservePricePerBuyers")) { |
- reservePricePerBuyers = _json["reservePricePerBuyers"].map((value) => new PricePerBuyer.fromJson(value)).toList(); |
+ reservePricePerBuyers = _json["reservePricePerBuyers"] |
+ .map((value) => new PricePerBuyer.fromJson(value)) |
+ .toList(); |
} |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (autoOptimizePrivateAuction != null) { |
_json["autoOptimizePrivateAuction"] = autoOptimizePrivateAuction; |
} |
if (reservePricePerBuyers != null) { |
- _json["reservePricePerBuyers"] = reservePricePerBuyers.map((value) => (value).toJson()).toList(); |
+ _json["reservePricePerBuyers"] = |
+ reservePricePerBuyers.map((value) => (value).toJson()).toList(); |
} |
return _json; |
} |
} |
class DealTermsNonGuaranteedFixedPriceTerms { |
- /** Fixed price for the specified buyer. */ |
+ /// Fixed price for the specified buyer. |
core.List<PricePerBuyer> fixedPrices; |
DealTermsNonGuaranteedFixedPriceTerms(); |
DealTermsNonGuaranteedFixedPriceTerms.fromJson(core.Map _json) { |
if (_json.containsKey("fixedPrices")) { |
- fixedPrices = _json["fixedPrices"].map((value) => new PricePerBuyer.fromJson(value)).toList(); |
+ fixedPrices = _json["fixedPrices"] |
+ .map((value) => new PricePerBuyer.fromJson(value)) |
+ .toList(); |
} |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (fixedPrices != null) { |
- _json["fixedPrices"] = fixedPrices.map((value) => (value).toJson()).toList(); |
+ _json["fixedPrices"] = |
+ fixedPrices.map((value) => (value).toJson()).toList(); |
} |
return _json; |
} |
} |
class DealTermsRubiconNonGuaranteedTerms { |
- /** Optional price for Rubicon priority access in the auction. */ |
+ /// Optional price for Rubicon priority access in the auction. |
Price priorityPrice; |
- /** Optional price for Rubicon standard access in the auction. */ |
+ |
+ /// Optional price for Rubicon standard access in the auction. |
Price standardPrice; |
DealTermsRubiconNonGuaranteedTerms(); |
@@ -3805,7 +3838,8 @@ class DealTermsRubiconNonGuaranteedTerms { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (priorityPrice != null) { |
_json["priorityPrice"] = (priorityPrice).toJson(); |
} |
@@ -3817,11 +3851,13 @@ class DealTermsRubiconNonGuaranteedTerms { |
} |
class DeleteOrderDealsRequest { |
- /** List of deals to delete for a given proposal */ |
+ /// List of deals to delete for a given proposal |
core.List<core.String> dealIds; |
- /** The last known proposal revision number. */ |
+ |
+ /// The last known proposal revision number. |
core.String proposalRevisionNumber; |
- /** Indicates an optional action to take on the proposal */ |
+ |
+ /// Indicates an optional action to take on the proposal |
core.String updateAction; |
DeleteOrderDealsRequest(); |
@@ -3839,7 +3875,8 @@ class DeleteOrderDealsRequest { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (dealIds != null) { |
_json["dealIds"] = dealIds; |
} |
@@ -3854,16 +3891,19 @@ class DeleteOrderDealsRequest { |
} |
class DeleteOrderDealsResponse { |
- /** List of deals deleted (in the same proposal as passed in the request) */ |
+ /// List of deals deleted (in the same proposal as passed in the request) |
core.List<MarketplaceDeal> deals; |
- /** The updated revision number for the proposal. */ |
+ |
+ /// The updated revision number for the proposal. |
core.String proposalRevisionNumber; |
DeleteOrderDealsResponse(); |
DeleteOrderDealsResponse.fromJson(core.Map _json) { |
if (_json.containsKey("deals")) { |
- deals = _json["deals"].map((value) => new MarketplaceDeal.fromJson(value)).toList(); |
+ deals = _json["deals"] |
+ .map((value) => new MarketplaceDeal.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("proposalRevisionNumber")) { |
proposalRevisionNumber = _json["proposalRevisionNumber"]; |
@@ -3871,7 +3911,8 @@ class DeleteOrderDealsResponse { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (deals != null) { |
_json["deals"] = deals.map((value) => (value).toJson()).toList(); |
} |
@@ -3897,12 +3938,15 @@ class DeliveryControl { |
deliveryRateType = _json["deliveryRateType"]; |
} |
if (_json.containsKey("frequencyCaps")) { |
- frequencyCaps = _json["frequencyCaps"].map((value) => new DeliveryControlFrequencyCap.fromJson(value)).toList(); |
+ frequencyCaps = _json["frequencyCaps"] |
+ .map((value) => new DeliveryControlFrequencyCap.fromJson(value)) |
+ .toList(); |
} |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (creativeBlockingLevel != null) { |
_json["creativeBlockingLevel"] = creativeBlockingLevel; |
} |
@@ -3910,7 +3954,8 @@ class DeliveryControl { |
_json["deliveryRateType"] = deliveryRateType; |
} |
if (frequencyCaps != null) { |
- _json["frequencyCaps"] = frequencyCaps.map((value) => (value).toJson()).toList(); |
+ _json["frequencyCaps"] = |
+ frequencyCaps.map((value) => (value).toJson()).toList(); |
} |
return _json; |
} |
@@ -3936,7 +3981,8 @@ class DeliveryControlFrequencyCap { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (maxImpressions != null) { |
_json["maxImpressions"] = maxImpressions; |
} |
@@ -3950,11 +3996,9 @@ class DeliveryControlFrequencyCap { |
} |
} |
-/** |
- * This message carries publisher provided breakdown. E.g. {dimension_type: |
- * 'COUNTRY', [{dimension_value: {id: 1, name: 'US'}}, {dimension_value: {id: 2, |
- * name: 'UK'}}]} |
- */ |
+/// This message carries publisher provided breakdown. E.g. {dimension_type: |
+/// 'COUNTRY', [{dimension_value: {id: 1, name: 'US'}}, {dimension_value: {id: |
+/// 2, name: 'UK'}}]} |
class Dimension { |
core.String dimensionType; |
core.List<DimensionDimensionValue> dimensionValues; |
@@ -3966,36 +4010,38 @@ class Dimension { |
dimensionType = _json["dimensionType"]; |
} |
if (_json.containsKey("dimensionValues")) { |
- dimensionValues = _json["dimensionValues"].map((value) => new DimensionDimensionValue.fromJson(value)).toList(); |
+ dimensionValues = _json["dimensionValues"] |
+ .map((value) => new DimensionDimensionValue.fromJson(value)) |
+ .toList(); |
} |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (dimensionType != null) { |
_json["dimensionType"] = dimensionType; |
} |
if (dimensionValues != null) { |
- _json["dimensionValues"] = dimensionValues.map((value) => (value).toJson()).toList(); |
+ _json["dimensionValues"] = |
+ dimensionValues.map((value) => (value).toJson()).toList(); |
} |
return _json; |
} |
} |
-/** Value of the dimension. */ |
+/// Value of the dimension. |
class DimensionDimensionValue { |
- /** Id of the dimension. */ |
+ /// Id of the dimension. |
core.int id; |
- /** |
- * Name of the dimension mainly for debugging purposes, except for the case of |
- * CREATIVE_SIZE. For CREATIVE_SIZE, strings are used instead of ids. |
- */ |
+ |
+ /// Name of the dimension mainly for debugging purposes, except for the case |
+ /// of CREATIVE_SIZE. For CREATIVE_SIZE, strings are used instead of ids. |
core.String name; |
- /** |
- * Percent of total impressions for a dimension type. e.g. {dimension_type: |
- * 'GENDER', [{dimension_value: {id: 1, name: 'MALE', percentage: 60}}]} |
- * Gender MALE is 60% of all impressions which have gender. |
- */ |
+ |
+ /// Percent of total impressions for a dimension type. e.g. {dimension_type: |
+ /// 'GENDER', [{dimension_value: {id: 1, name: 'MALE', percentage: 60}}]} |
+ /// Gender MALE is 60% of all impressions which have gender. |
core.int percentage; |
DimensionDimensionValue(); |
@@ -4013,7 +4059,8 @@ class DimensionDimensionValue { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (id != null) { |
_json["id"] = id; |
} |
@@ -4028,36 +4075,37 @@ class DimensionDimensionValue { |
} |
class EditAllOrderDealsRequest { |
- /** |
- * List of deals to edit. Service may perform 3 different operations based on |
- * comparison of deals in this list vs deals already persisted in database: 1. |
- * Add new deal to proposal If a deal in this list does not exist in the |
- * proposal, the service will create a new deal and add it to the proposal. |
- * Validation will follow AddOrderDealsRequest. 2. Update existing deal in the |
- * proposal If a deal in this list already exist in the proposal, the service |
- * will update that existing deal to this new deal in the request. Validation |
- * will follow UpdateOrderDealsRequest. 3. Delete deals from the proposal |
- * (just need the id) If a existing deal in the proposal is not present in |
- * this list, the service will delete that deal from the proposal. Validation |
- * will follow DeleteOrderDealsRequest. |
- */ |
+ /// List of deals to edit. Service may perform 3 different operations based |
+ /// on comparison of deals in this list vs deals already persisted in |
+ /// database: 1. Add new deal to proposal If a deal in this list does not |
+ /// exist in the proposal, the service will create a new deal and add it to |
+ /// the proposal. Validation will follow AddOrderDealsRequest. 2. Update |
+ /// existing deal in the proposal If a deal in this list already exist in the |
+ /// proposal, the service will update that existing deal to this new deal in |
+ /// the request. Validation will follow UpdateOrderDealsRequest. 3. Delete |
+ /// deals from the proposal (just need the id) If a existing deal in the |
+ /// proposal is not present in this list, the service will delete that deal |
+ /// from the proposal. Validation will follow DeleteOrderDealsRequest. |
core.List<MarketplaceDeal> deals; |
- /** |
- * If specified, also updates the proposal in the batch transaction. This is |
- * useful when the proposal and the deals need to be updated in one |
- * transaction. |
- */ |
+ |
+ /// If specified, also updates the proposal in the batch transaction. This is |
+ /// useful when the proposal and the deals need to be updated in one |
+ /// transaction. |
Proposal proposal; |
- /** The last known revision number for the proposal. */ |
+ |
+ /// The last known revision number for the proposal. |
core.String proposalRevisionNumber; |
- /** Indicates an optional action to take on the proposal */ |
+ |
+ /// Indicates an optional action to take on the proposal |
core.String updateAction; |
EditAllOrderDealsRequest(); |
EditAllOrderDealsRequest.fromJson(core.Map _json) { |
if (_json.containsKey("deals")) { |
- deals = _json["deals"].map((value) => new MarketplaceDeal.fromJson(value)).toList(); |
+ deals = _json["deals"] |
+ .map((value) => new MarketplaceDeal.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("proposal")) { |
proposal = new Proposal.fromJson(_json["proposal"]); |
@@ -4071,7 +4119,8 @@ class EditAllOrderDealsRequest { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (deals != null) { |
_json["deals"] = deals.map((value) => (value).toJson()).toList(); |
} |
@@ -4089,16 +4138,19 @@ class EditAllOrderDealsRequest { |
} |
class EditAllOrderDealsResponse { |
- /** List of all deals in the proposal after edit. */ |
+ /// List of all deals in the proposal after edit. |
core.List<MarketplaceDeal> deals; |
- /** The latest revision number after the update has been applied. */ |
+ |
+ /// The latest revision number after the update has been applied. |
core.String orderRevisionNumber; |
EditAllOrderDealsResponse(); |
EditAllOrderDealsResponse.fromJson(core.Map _json) { |
if (_json.containsKey("deals")) { |
- deals = _json["deals"].map((value) => new MarketplaceDeal.fromJson(value)).toList(); |
+ deals = _json["deals"] |
+ .map((value) => new MarketplaceDeal.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("orderRevisionNumber")) { |
orderRevisionNumber = _json["orderRevisionNumber"]; |
@@ -4106,7 +4158,8 @@ class EditAllOrderDealsResponse { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (deals != null) { |
_json["deals"] = deals.map((value) => (value).toJson()).toList(); |
} |
@@ -4118,19 +4171,22 @@ class EditAllOrderDealsResponse { |
} |
class GetOffersResponse { |
- /** The returned list of products. */ |
+ /// The returned list of products. |
core.List<Product> products; |
GetOffersResponse(); |
GetOffersResponse.fromJson(core.Map _json) { |
if (_json.containsKey("products")) { |
- products = _json["products"].map((value) => new Product.fromJson(value)).toList(); |
+ products = _json["products"] |
+ .map((value) => new Product.fromJson(value)) |
+ .toList(); |
} |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (products != null) { |
_json["products"] = products.map((value) => (value).toJson()).toList(); |
} |
@@ -4139,19 +4195,22 @@ class GetOffersResponse { |
} |
class GetOrderDealsResponse { |
- /** List of deals for the proposal */ |
+ /// List of deals for the proposal |
core.List<MarketplaceDeal> deals; |
GetOrderDealsResponse(); |
GetOrderDealsResponse.fromJson(core.Map _json) { |
if (_json.containsKey("deals")) { |
- deals = _json["deals"].map((value) => new MarketplaceDeal.fromJson(value)).toList(); |
+ deals = _json["deals"] |
+ .map((value) => new MarketplaceDeal.fromJson(value)) |
+ .toList(); |
} |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (deals != null) { |
_json["deals"] = deals.map((value) => (value).toJson()).toList(); |
} |
@@ -4160,24 +4219,25 @@ class GetOrderDealsResponse { |
} |
class GetOrderNotesResponse { |
- /** |
- * The list of matching notes. The notes for a proposal are ordered from |
- * oldest to newest. If the notes span multiple proposals, they will be |
- * grouped by proposal, with the notes for the most recently modified proposal |
- * appearing first. |
- */ |
+ /// The list of matching notes. The notes for a proposal are ordered from |
+ /// oldest to newest. If the notes span multiple proposals, they will be |
+ /// grouped by proposal, with the notes for the most recently modified |
+ /// proposal appearing first. |
core.List<MarketplaceNote> notes; |
GetOrderNotesResponse(); |
GetOrderNotesResponse.fromJson(core.Map _json) { |
if (_json.containsKey("notes")) { |
- notes = _json["notes"].map((value) => new MarketplaceNote.fromJson(value)).toList(); |
+ notes = _json["notes"] |
+ .map((value) => new MarketplaceNote.fromJson(value)) |
+ .toList(); |
} |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (notes != null) { |
_json["notes"] = notes.map((value) => (value).toJson()).toList(); |
} |
@@ -4186,19 +4246,22 @@ class GetOrderNotesResponse { |
} |
class GetOrdersResponse { |
- /** The list of matching proposals. */ |
+ /// The list of matching proposals. |
core.List<Proposal> proposals; |
GetOrdersResponse(); |
GetOrdersResponse.fromJson(core.Map _json) { |
if (_json.containsKey("proposals")) { |
- proposals = _json["proposals"].map((value) => new Proposal.fromJson(value)).toList(); |
+ proposals = _json["proposals"] |
+ .map((value) => new Proposal.fromJson(value)) |
+ .toList(); |
} |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (proposals != null) { |
_json["proposals"] = proposals.map((value) => (value).toJson()).toList(); |
} |
@@ -4207,19 +4270,22 @@ class GetOrdersResponse { |
} |
class GetPublisherProfilesByAccountIdResponse { |
- /** Profiles for the requested publisher */ |
+ /// Profiles for the requested publisher |
core.List<PublisherProfileApiProto> profiles; |
GetPublisherProfilesByAccountIdResponse(); |
GetPublisherProfilesByAccountIdResponse.fromJson(core.Map _json) { |
if (_json.containsKey("profiles")) { |
- profiles = _json["profiles"].map((value) => new PublisherProfileApiProto.fromJson(value)).toList(); |
+ profiles = _json["profiles"] |
+ .map((value) => new PublisherProfileApiProto.fromJson(value)) |
+ .toList(); |
} |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (profiles != null) { |
_json["profiles"] = profiles.map((value) => (value).toJson()).toList(); |
} |
@@ -4227,101 +4293,93 @@ class GetPublisherProfilesByAccountIdResponse { |
} |
} |
-/** |
- * A proposal can contain multiple deals. A deal contains the terms and |
- * targeting information that is used for serving. |
- */ |
+/// A proposal can contain multiple deals. A deal contains the terms and |
+/// targeting information that is used for serving. |
class MarketplaceDeal { |
- /** Buyer private data (hidden from seller). */ |
+ /// Buyer private data (hidden from seller). |
PrivateData buyerPrivateData; |
- /** The time (ms since epoch) of the deal creation. (readonly) */ |
+ |
+ /// The time (ms since epoch) of the deal creation. (readonly) |
core.String creationTimeMs; |
- /** Specifies the creative pre-approval policy (buyer-readonly) */ |
+ |
+ /// Specifies the creative pre-approval policy (buyer-readonly) |
core.String creativePreApprovalPolicy; |
- /** |
- * Specifies whether the creative is safeFrame compatible (buyer-readonly) |
- */ |
+ |
+ /// Specifies whether the creative is safeFrame compatible (buyer-readonly) |
core.String creativeSafeFrameCompatibility; |
- /** A unique deal-id for the deal (readonly). */ |
+ |
+ /// A unique deal-id for the deal (readonly). |
core.String dealId; |
- /** |
- * Metadata about the serving status of this deal (readonly, writes via custom |
- * actions) |
- */ |
+ |
+ /// Metadata about the serving status of this deal (readonly, writes via |
+ /// custom actions) |
DealServingMetadata dealServingMetadata; |
- /** |
- * The set of fields around delivery control that are interesting for a buyer |
- * to see but are non-negotiable. These are set by the publisher. This message |
- * is assigned an id of 100 since some day we would want to model this as a |
- * protobuf extension. |
- */ |
+ |
+ /// The set of fields around delivery control that are interesting for a |
+ /// buyer to see but are non-negotiable. These are set by the publisher. This |
+ /// message is assigned an id of 100 since some day we would want to model |
+ /// this as a protobuf extension. |
DeliveryControl deliveryControl; |
- /** |
- * The external deal id assigned to this deal once the deal is finalized. This |
- * is the deal-id that shows up in serving/reporting etc. (readonly) |
- */ |
+ |
+ /// The external deal id assigned to this deal once the deal is finalized. |
+ /// This is the deal-id that shows up in serving/reporting etc. (readonly) |
core.String externalDealId; |
- /** |
- * Proposed flight end time of the deal (ms since epoch) This will generally |
- * be stored in a granularity of a second. (updatable) |
- */ |
+ |
+ /// Proposed flight end time of the deal (ms since epoch) This will generally |
+ /// be stored in a granularity of a second. (updatable) |
core.String flightEndTimeMs; |
- /** |
- * Proposed flight start time of the deal (ms since epoch) This will generally |
- * be stored in a granularity of a second. (updatable) |
- */ |
+ |
+ /// Proposed flight start time of the deal (ms since epoch) This will |
+ /// generally be stored in a granularity of a second. (updatable) |
core.String flightStartTimeMs; |
- /** Description for the deal terms. (buyer-readonly) */ |
+ |
+ /// Description for the deal terms. (buyer-readonly) |
core.String inventoryDescription; |
- /** |
- * Indicates whether the current deal is a RFP template. RFP template is |
- * created by buyer and not based on seller created products. |
- */ |
+ |
+ /// Indicates whether the current deal is a RFP template. RFP template is |
+ /// created by buyer and not based on seller created products. |
core.bool isRfpTemplate; |
- /** |
- * True, if the buyside inventory setup is complete for this deal. (readonly, |
- * except via OrderSetupCompleted action) |
- */ |
+ |
+ /// True, if the buyside inventory setup is complete for this deal. |
+ /// (readonly, except via OrderSetupCompleted action) |
core.bool isSetupComplete; |
- /** |
- * Identifies what kind of resource this is. Value: the fixed string |
- * "adexchangebuyer#marketplaceDeal". |
- */ |
+ |
+ /// Identifies what kind of resource this is. Value: the fixed string |
+ /// "adexchangebuyer#marketplaceDeal". |
core.String kind; |
- /** The time (ms since epoch) when the deal was last updated. (readonly) */ |
+ |
+ /// The time (ms since epoch) when the deal was last updated. (readonly) |
core.String lastUpdateTimeMs; |
- /** The name of the deal. (updatable) */ |
+ |
+ /// The name of the deal. (updatable) |
core.String name; |
- /** |
- * The product-id from which this deal was created. (readonly, except on |
- * create) |
- */ |
+ |
+ /// The product-id from which this deal was created. (readonly, except on |
+ /// create) |
core.String productId; |
- /** |
- * The revision number of the product that the deal was created from |
- * (readonly, except on create) |
- */ |
+ |
+ /// The revision number of the product that the deal was created from |
+ /// (readonly, except on create) |
core.String productRevisionNumber; |
- /** |
- * Specifies the creative source for programmatic deals, PUBLISHER means |
- * creative is provided by seller and ADVERTISR means creative is provided by |
- * buyer. (buyer-readonly) |
- */ |
+ |
+ /// Specifies the creative source for programmatic deals, PUBLISHER means |
+ /// creative is provided by seller and ADVERTISR means creative is provided |
+ /// by buyer. (buyer-readonly) |
core.String programmaticCreativeSource; |
core.String proposalId; |
- /** Optional Seller contact information for the deal (buyer-readonly) */ |
+ |
+ /// Optional Seller contact information for the deal (buyer-readonly) |
core.List<ContactInformation> sellerContacts; |
- /** |
- * The shared targeting visible to buyers and sellers. Each shared targeting |
- * entity is AND'd together. (updatable) |
- */ |
+ |
+ /// The shared targeting visible to buyers and sellers. Each shared targeting |
+ /// entity is AND'd together. (updatable) |
core.List<SharedTargeting> sharedTargetings; |
- /** |
- * The syndication product associated with the deal. (readonly, except on |
- * create) |
- */ |
+ |
+ /// The syndication product associated with the deal. (readonly, except on |
+ /// create) |
core.String syndicationProduct; |
- /** The negotiable terms of the deal. (updatable) */ |
+ |
+ /// The negotiable terms of the deal. (updatable) |
DealTerms terms; |
core.String webPropertyCode; |
@@ -4344,7 +4402,8 @@ class MarketplaceDeal { |
dealId = _json["dealId"]; |
} |
if (_json.containsKey("dealServingMetadata")) { |
- dealServingMetadata = new DealServingMetadata.fromJson(_json["dealServingMetadata"]); |
+ dealServingMetadata = |
+ new DealServingMetadata.fromJson(_json["dealServingMetadata"]); |
} |
if (_json.containsKey("deliveryControl")) { |
deliveryControl = new DeliveryControl.fromJson(_json["deliveryControl"]); |
@@ -4389,10 +4448,14 @@ class MarketplaceDeal { |
proposalId = _json["proposalId"]; |
} |
if (_json.containsKey("sellerContacts")) { |
- sellerContacts = _json["sellerContacts"].map((value) => new ContactInformation.fromJson(value)).toList(); |
+ sellerContacts = _json["sellerContacts"] |
+ .map((value) => new ContactInformation.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("sharedTargetings")) { |
- sharedTargetings = _json["sharedTargetings"].map((value) => new SharedTargeting.fromJson(value)).toList(); |
+ sharedTargetings = _json["sharedTargetings"] |
+ .map((value) => new SharedTargeting.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("syndicationProduct")) { |
syndicationProduct = _json["syndicationProduct"]; |
@@ -4406,7 +4469,8 @@ class MarketplaceDeal { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (buyerPrivateData != null) { |
_json["buyerPrivateData"] = (buyerPrivateData).toJson(); |
} |
@@ -4468,10 +4532,12 @@ class MarketplaceDeal { |
_json["proposalId"] = proposalId; |
} |
if (sellerContacts != null) { |
- _json["sellerContacts"] = sellerContacts.map((value) => (value).toJson()).toList(); |
+ _json["sellerContacts"] = |
+ sellerContacts.map((value) => (value).toJson()).toList(); |
} |
if (sharedTargetings != null) { |
- _json["sharedTargetings"] = sharedTargetings.map((value) => (value).toJson()).toList(); |
+ _json["sharedTargetings"] = |
+ sharedTargetings.map((value) => (value).toJson()).toList(); |
} |
if (syndicationProduct != null) { |
_json["syndicationProduct"] = syndicationProduct; |
@@ -4487,15 +4553,12 @@ class MarketplaceDeal { |
} |
class MarketplaceDealParty { |
- /** |
- * The buyer/seller associated with the deal. One of buyer/seller is specified |
- * for a deal-party. |
- */ |
+ /// The buyer/seller associated with the deal. One of buyer/seller is |
+ /// specified for a deal-party. |
Buyer buyer; |
- /** |
- * The buyer/seller associated with the deal. One of buyer/seller is specified |
- * for a deal party. |
- */ |
+ |
+ /// The buyer/seller associated with the deal. One of buyer/seller is |
+ /// specified for a deal party. |
Seller seller; |
MarketplaceDealParty(); |
@@ -4510,7 +4573,8 @@ class MarketplaceDealParty { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (buyer != null) { |
_json["buyer"] = (buyer).toJson(); |
} |
@@ -4522,13 +4586,16 @@ class MarketplaceDealParty { |
} |
class MarketplaceLabel { |
- /** The accountId of the party that created the label. */ |
+ /// The accountId of the party that created the label. |
core.String accountId; |
- /** The creation time (in ms since epoch) for the label. */ |
+ |
+ /// The creation time (in ms since epoch) for the label. |
core.String createTimeMs; |
- /** Information about the party that created the label. */ |
+ |
+ /// Information about the party that created the label. |
MarketplaceDealParty deprecatedMarketplaceDealParty; |
- /** The label to use. */ |
+ |
+ /// The label to use. |
core.String label; |
MarketplaceLabel(); |
@@ -4541,7 +4608,8 @@ class MarketplaceLabel { |
createTimeMs = _json["createTimeMs"]; |
} |
if (_json.containsKey("deprecatedMarketplaceDealParty")) { |
- deprecatedMarketplaceDealParty = new MarketplaceDealParty.fromJson(_json["deprecatedMarketplaceDealParty"]); |
+ deprecatedMarketplaceDealParty = new MarketplaceDealParty.fromJson( |
+ _json["deprecatedMarketplaceDealParty"]); |
} |
if (_json.containsKey("label")) { |
label = _json["label"]; |
@@ -4549,7 +4617,8 @@ class MarketplaceLabel { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (accountId != null) { |
_json["accountId"] = accountId; |
} |
@@ -4557,7 +4626,8 @@ class MarketplaceLabel { |
_json["createTimeMs"] = createTimeMs; |
} |
if (deprecatedMarketplaceDealParty != null) { |
- _json["deprecatedMarketplaceDealParty"] = (deprecatedMarketplaceDealParty).toJson(); |
+ _json["deprecatedMarketplaceDealParty"] = |
+ (deprecatedMarketplaceDealParty).toJson(); |
} |
if (label != null) { |
_json["label"] = label; |
@@ -4566,35 +4636,34 @@ class MarketplaceLabel { |
} |
} |
-/** |
- * A proposal is associated with a bunch of notes which may optionally be |
- * associated with a deal and/or revision number. |
- */ |
+/// A proposal is associated with a bunch of notes which may optionally be |
+/// associated with a deal and/or revision number. |
class MarketplaceNote { |
- /** The role of the person (buyer/seller) creating the note. (readonly) */ |
+ /// The role of the person (buyer/seller) creating the note. (readonly) |
core.String creatorRole; |
- /** |
- * Notes can optionally be associated with a deal. (readonly, except on |
- * create) |
- */ |
+ |
+ /// Notes can optionally be associated with a deal. (readonly, except on |
+ /// create) |
core.String dealId; |
- /** |
- * Identifies what kind of resource this is. Value: the fixed string |
- * "adexchangebuyer#marketplaceNote". |
- */ |
+ |
+ /// Identifies what kind of resource this is. Value: the fixed string |
+ /// "adexchangebuyer#marketplaceNote". |
core.String kind; |
- /** The actual note to attach. (readonly, except on create) */ |
+ |
+ /// The actual note to attach. (readonly, except on create) |
core.String note; |
- /** The unique id for the note. (readonly) */ |
+ |
+ /// The unique id for the note. (readonly) |
core.String noteId; |
- /** The proposalId that a note is attached to. (readonly) */ |
+ |
+ /// The proposalId that a note is attached to. (readonly) |
core.String proposalId; |
- /** |
- * If the note is associated with a proposal revision number, then store that |
- * here. (readonly, except on create) |
- */ |
+ |
+ /// If the note is associated with a proposal revision number, then store |
+ /// that here. (readonly, except on create) |
core.String proposalRevisionNumber; |
- /** The timestamp (ms since epoch) that this note was created. (readonly) */ |
+ |
+ /// The timestamp (ms since epoch) that this note was created. (readonly) |
core.String timestampMs; |
MarketplaceNote(); |
@@ -4627,7 +4696,8 @@ class MarketplaceNote { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (creatorRole != null) { |
_json["creatorRole"] = creatorRole; |
} |
@@ -4656,91 +4726,92 @@ class MarketplaceNote { |
} |
} |
-/** The configuration data for an Ad Exchange performance report list. */ |
+/// The configuration data for an Ad Exchange performance report list. |
class PerformanceReport { |
- /** The number of bid responses with an ad. */ |
+ /// The number of bid responses with an ad. |
core.double bidRate; |
- /** The number of bid requests sent to your bidder. */ |
+ |
+ /// The number of bid requests sent to your bidder. |
core.double bidRequestRate; |
- /** |
- * Rate of various prefiltering statuses per match. Please refer to the |
- * callout-status-codes.txt file for different statuses. |
- * |
- * The values for Object must be JSON objects. It can consist of `num`, |
- * `String`, `bool` and `null` as well as `Map` and `List` values. |
- */ |
+ |
+ /// Rate of various prefiltering statuses per match. Please refer to the |
+ /// callout-status-codes.txt file for different statuses. |
+ /// |
+ /// The values for Object must be JSON objects. It can consist of `num`, |
+ /// `String`, `bool` and `null` as well as `Map` and `List` values. |
core.List<core.Object> calloutStatusRate; |
- /** |
- * Average QPS for cookie matcher operations. |
- * |
- * The values for Object must be JSON objects. It can consist of `num`, |
- * `String`, `bool` and `null` as well as `Map` and `List` values. |
- */ |
+ |
+ /// Average QPS for cookie matcher operations. |
+ /// |
+ /// The values for Object must be JSON objects. It can consist of `num`, |
+ /// `String`, `bool` and `null` as well as `Map` and `List` values. |
core.List<core.Object> cookieMatcherStatusRate; |
- /** |
- * Rate of ads with a given status. Please refer to the |
- * creative-status-codes.txt file for different statuses. |
- * |
- * The values for Object must be JSON objects. It can consist of `num`, |
- * `String`, `bool` and `null` as well as `Map` and `List` values. |
- */ |
+ |
+ /// Rate of ads with a given status. Please refer to the |
+ /// creative-status-codes.txt file for different statuses. |
+ /// |
+ /// The values for Object must be JSON objects. It can consist of `num`, |
+ /// `String`, `bool` and `null` as well as `Map` and `List` values. |
core.List<core.Object> creativeStatusRate; |
- /** |
- * The number of bid responses that were filtered due to a policy violation or |
- * other errors. |
- */ |
+ |
+ /// The number of bid responses that were filtered due to a policy violation |
+ /// or other errors. |
core.double filteredBidRate; |
- /** |
- * Average QPS for hosted match operations. |
- * |
- * The values for Object must be JSON objects. It can consist of `num`, |
- * `String`, `bool` and `null` as well as `Map` and `List` values. |
- */ |
+ |
+ /// Average QPS for hosted match operations. |
+ /// |
+ /// The values for Object must be JSON objects. It can consist of `num`, |
+ /// `String`, `bool` and `null` as well as `Map` and `List` values. |
core.List<core.Object> hostedMatchStatusRate; |
- /** The number of potential queries based on your pretargeting settings. */ |
+ |
+ /// The number of potential queries based on your pretargeting settings. |
core.double inventoryMatchRate; |
- /** Resource type. */ |
+ |
+ /// Resource type. |
core.String kind; |
- /** |
- * The 50th percentile round trip latency(ms) as perceived from Google servers |
- * for the duration period covered by the report. |
- */ |
+ |
+ /// The 50th percentile round trip latency(ms) as perceived from Google |
+ /// servers for the duration period covered by the report. |
core.double latency50thPercentile; |
- /** |
- * The 85th percentile round trip latency(ms) as perceived from Google servers |
- * for the duration period covered by the report. |
- */ |
+ |
+ /// The 85th percentile round trip latency(ms) as perceived from Google |
+ /// servers for the duration period covered by the report. |
core.double latency85thPercentile; |
- /** |
- * The 95th percentile round trip latency(ms) as perceived from Google servers |
- * for the duration period covered by the report. |
- */ |
+ |
+ /// The 95th percentile round trip latency(ms) as perceived from Google |
+ /// servers for the duration period covered by the report. |
core.double latency95thPercentile; |
- /** Rate of various quota account statuses per quota check. */ |
+ |
+ /// Rate of various quota account statuses per quota check. |
core.double noQuotaInRegion; |
- /** Rate of various quota account statuses per quota check. */ |
+ |
+ /// Rate of various quota account statuses per quota check. |
core.double outOfQuota; |
- /** Average QPS for pixel match requests from clients. */ |
+ |
+ /// Average QPS for pixel match requests from clients. |
core.double pixelMatchRequests; |
- /** Average QPS for pixel match responses from clients. */ |
+ |
+ /// Average QPS for pixel match responses from clients. |
core.double pixelMatchResponses; |
- /** The configured quota limits for this account. */ |
+ |
+ /// The configured quota limits for this account. |
core.double quotaConfiguredLimit; |
- /** The throttled quota limits for this account. */ |
+ |
+ /// The throttled quota limits for this account. |
core.double quotaThrottledLimit; |
- /** The trading location of this data. */ |
+ |
+ /// The trading location of this data. |
core.String region; |
- /** |
- * The number of properly formed bid responses received by our servers within |
- * the deadline. |
- */ |
+ |
+ /// The number of properly formed bid responses received by our servers |
+ /// within the deadline. |
core.double successfulRequestRate; |
- /** The unix timestamp of the starting time of this performance data. */ |
+ |
+ /// The unix timestamp of the starting time of this performance data. |
core.String timestamp; |
- /** |
- * The number of bid responses that were unsuccessful due to timeouts, |
- * incorrect formatting, etc. |
- */ |
+ |
+ /// The number of bid responses that were unsuccessful due to timeouts, |
+ /// incorrect formatting, etc. |
core.double unsuccessfulRequestRate; |
PerformanceReport(); |
@@ -4815,7 +4886,8 @@ class PerformanceReport { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (bidRate != null) { |
_json["bidRate"] = bidRate; |
} |
@@ -4886,11 +4958,12 @@ class PerformanceReport { |
} |
} |
-/** The configuration data for an Ad Exchange performance report list. */ |
+/// The configuration data for an Ad Exchange performance report list. |
class PerformanceReportList { |
- /** Resource type. */ |
+ /// Resource type. |
core.String kind; |
- /** A list of performance reports relevant for the account. */ |
+ |
+ /// A list of performance reports relevant for the account. |
core.List<PerformanceReport> performanceReport; |
PerformanceReportList(); |
@@ -4900,26 +4973,31 @@ class PerformanceReportList { |
kind = _json["kind"]; |
} |
if (_json.containsKey("performanceReport")) { |
- performanceReport = _json["performanceReport"].map((value) => new PerformanceReport.fromJson(value)).toList(); |
+ performanceReport = _json["performanceReport"] |
+ .map((value) => new PerformanceReport.fromJson(value)) |
+ .toList(); |
} |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (kind != null) { |
_json["kind"] = kind; |
} |
if (performanceReport != null) { |
- _json["performanceReport"] = performanceReport.map((value) => (value).toJson()).toList(); |
+ _json["performanceReport"] = |
+ performanceReport.map((value) => (value).toJson()).toList(); |
} |
return _json; |
} |
} |
class PretargetingConfigDimensions { |
- /** Height in pixels. */ |
+ /// Height in pixels. |
core.String height; |
- /** Width in pixels. */ |
+ |
+ /// Width in pixels. |
core.String width; |
PretargetingConfigDimensions(); |
@@ -4934,7 +5012,8 @@ class PretargetingConfigDimensions { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (height != null) { |
_json["height"] = height; |
} |
@@ -4946,13 +5025,12 @@ class PretargetingConfigDimensions { |
} |
class PretargetingConfigExcludedPlacements { |
- /** |
- * The value of the placement. Interpretation depends on the placement type, |
- * e.g. URL for a site placement, channel name for a channel placement, app id |
- * for a mobile app placement. |
- */ |
+ /// The value of the placement. Interpretation depends on the placement type, |
+ /// e.g. URL for a site placement, channel name for a channel placement, app |
+ /// id for a mobile app placement. |
core.String token; |
- /** The type of the placement. */ |
+ |
+ /// The type of the placement. |
core.String type; |
PretargetingConfigExcludedPlacements(); |
@@ -4967,7 +5045,8 @@ class PretargetingConfigExcludedPlacements { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (token != null) { |
_json["token"] = token; |
} |
@@ -4979,13 +5058,12 @@ class PretargetingConfigExcludedPlacements { |
} |
class PretargetingConfigPlacements { |
- /** |
- * The value of the placement. Interpretation depends on the placement type, |
- * e.g. URL for a site placement, channel name for a channel placement, app id |
- * for a mobile app placement. |
- */ |
+ /// The value of the placement. Interpretation depends on the placement type, |
+ /// e.g. URL for a site placement, channel name for a channel placement, app |
+ /// id for a mobile app placement. |
core.String token; |
- /** The type of the placement. */ |
+ |
+ /// The type of the placement. |
core.String type; |
PretargetingConfigPlacements(); |
@@ -5000,7 +5078,8 @@ class PretargetingConfigPlacements { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (token != null) { |
_json["token"] = token; |
} |
@@ -5012,20 +5091,16 @@ class PretargetingConfigPlacements { |
} |
class PretargetingConfigVideoPlayerSizes { |
- /** |
- * The type of aspect ratio. Leave this field blank to match all aspect |
- * ratios. |
- */ |
+ /// The type of aspect ratio. Leave this field blank to match all aspect |
+ /// ratios. |
core.String aspectRatio; |
- /** |
- * The minimum player height in pixels. Leave this field blank to match any |
- * player height. |
- */ |
+ |
+ /// The minimum player height in pixels. Leave this field blank to match any |
+ /// player height. |
core.String minHeight; |
- /** |
- * The minimum player width in pixels. Leave this field blank to match any |
- * player width. |
- */ |
+ |
+ /// The minimum player width in pixels. Leave this field blank to match any |
+ /// player width. |
core.String minWidth; |
PretargetingConfigVideoPlayerSizes(); |
@@ -5043,7 +5118,8 @@ class PretargetingConfigVideoPlayerSizes { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (aspectRatio != null) { |
_json["aspectRatio"] = aspectRatio; |
} |
@@ -5058,108 +5134,105 @@ class PretargetingConfigVideoPlayerSizes { |
} |
class PretargetingConfig { |
- /** |
- * The id for billing purposes, provided for reference. Leave this field blank |
- * for insert requests; the id will be generated automatically. |
- */ |
+ /// The id for billing purposes, provided for reference. Leave this field |
+ /// blank for insert requests; the id will be generated automatically. |
core.String billingId; |
- /** |
- * The config id; generated automatically. Leave this field blank for insert |
- * requests. |
- */ |
+ |
+ /// The config id; generated automatically. Leave this field blank for insert |
+ /// requests. |
core.String configId; |
- /** The name of the config. Must be unique. Required for all requests. */ |
+ |
+ /// The name of the config. Must be unique. Required for all requests. |
core.String configName; |
- /** |
- * List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or |
- * PRETARGETING_CREATIVE_TYPE_VIDEO. |
- */ |
+ |
+ /// List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or |
+ /// PRETARGETING_CREATIVE_TYPE_VIDEO. |
core.List<core.String> creativeType; |
- /** |
- * Requests which allow one of these (width, height) pairs will match. All |
- * pairs must be supported ad dimensions. |
- */ |
+ |
+ /// Requests which allow one of these (width, height) pairs will match. All |
+ /// pairs must be supported ad dimensions. |
core.List<PretargetingConfigDimensions> dimensions; |
- /** |
- * Requests with any of these content labels will not match. Values are from |
- * content-labels.txt in the downloadable files section. |
- */ |
+ |
+ /// Requests with any of these content labels will not match. Values are from |
+ /// content-labels.txt in the downloadable files section. |
core.List<core.String> excludedContentLabels; |
- /** Requests containing any of these geo criteria ids will not match. */ |
+ |
+ /// Requests containing any of these geo criteria ids will not match. |
core.List<core.String> excludedGeoCriteriaIds; |
- /** Requests containing any of these placements will not match. */ |
+ |
+ /// Requests containing any of these placements will not match. |
core.List<PretargetingConfigExcludedPlacements> excludedPlacements; |
- /** Requests containing any of these users list ids will not match. */ |
+ |
+ /// Requests containing any of these users list ids will not match. |
core.List<core.String> excludedUserLists; |
- /** |
- * Requests containing any of these vertical ids will not match. Values are |
- * from the publisher-verticals.txt file in the downloadable files section. |
- */ |
+ |
+ /// Requests containing any of these vertical ids will not match. Values are |
+ /// from the publisher-verticals.txt file in the downloadable files section. |
core.List<core.String> excludedVerticals; |
- /** Requests containing any of these geo criteria ids will match. */ |
+ |
+ /// Requests containing any of these geo criteria ids will match. |
core.List<core.String> geoCriteriaIds; |
- /** Whether this config is active. Required for all requests. */ |
+ |
+ /// Whether this config is active. Required for all requests. |
core.bool isActive; |
- /** The kind of the resource, i.e. "adexchangebuyer#pretargetingConfig". */ |
+ |
+ /// The kind of the resource, i.e. "adexchangebuyer#pretargetingConfig". |
core.String kind; |
- /** Request containing any of these language codes will match. */ |
+ |
+ /// Request containing any of these language codes will match. |
core.List<core.String> languages; |
- /** |
- * Requests where the predicted viewability is below the specified decile will |
- * not match. E.g. if the buyer sets this value to 5, requests from slots |
- * where the predicted viewability is below 50% will not match. If the |
- * predicted viewability is unknown this field will be ignored. |
- */ |
+ |
+ /// Requests where the predicted viewability is below the specified decile |
+ /// will not match. E.g. if the buyer sets this value to 5, requests from |
+ /// slots where the predicted viewability is below 50% will not match. If the |
+ /// predicted viewability is unknown this field will be ignored. |
core.int minimumViewabilityDecile; |
- /** |
- * Requests containing any of these mobile carrier ids will match. Values are |
- * from mobile-carriers.csv in the downloadable files section. |
- */ |
+ |
+ /// Requests containing any of these mobile carrier ids will match. Values |
+ /// are from mobile-carriers.csv in the downloadable files section. |
core.List<core.String> mobileCarriers; |
- /** |
- * Requests containing any of these mobile device ids will match. Values are |
- * from mobile-devices.csv in the downloadable files section. |
- */ |
+ |
+ /// Requests containing any of these mobile device ids will match. Values are |
+ /// from mobile-devices.csv in the downloadable files section. |
core.List<core.String> mobileDevices; |
- /** |
- * Requests containing any of these mobile operating system version ids will |
- * match. Values are from mobile-os.csv in the downloadable files section. |
- */ |
+ |
+ /// Requests containing any of these mobile operating system version ids will |
+ /// match. Values are from mobile-os.csv in the downloadable files section. |
core.List<core.String> mobileOperatingSystemVersions; |
- /** Requests containing any of these placements will match. */ |
+ |
+ /// Requests containing any of these placements will match. |
core.List<PretargetingConfigPlacements> placements; |
- /** |
- * Requests matching any of these platforms will match. Possible values are |
- * PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and |
- * PRETARGETING_PLATFORM_TABLET. |
- */ |
+ |
+ /// Requests matching any of these platforms will match. Possible values are |
+ /// PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and |
+ /// PRETARGETING_PLATFORM_TABLET. |
core.List<core.String> platforms; |
- /** |
- * Creative attributes should be declared here if all creatives corresponding |
- * to this pretargeting configuration have that creative attribute. Values are |
- * from pretargetable-creative-attributes.txt in the downloadable files |
- * section. |
- */ |
+ |
+ /// Creative attributes should be declared here if all creatives |
+ /// corresponding to this pretargeting configuration have that creative |
+ /// attribute. Values are from pretargetable-creative-attributes.txt in the |
+ /// downloadable files section. |
core.List<core.String> supportedCreativeAttributes; |
- /** |
- * Requests containing the specified type of user data will match. Possible |
- * values are HOSTED_MATCH_DATA, which means the request is cookie-targetable |
- * and has a match in the buyer's hosted match table, and COOKIE_OR_IDFA, |
- * which means the request has either a targetable cookie or an iOS IDFA. |
- */ |
+ |
+ /// Requests containing the specified type of user data will match. Possible |
+ /// values are HOSTED_MATCH_DATA, which means the request is |
+ /// cookie-targetable and has a match in the buyer's hosted match table, and |
+ /// COOKIE_OR_IDFA, which means the request has either a targetable cookie or |
+ /// an iOS IDFA. |
core.List<core.String> userIdentifierDataRequired; |
- /** Requests containing any of these user list ids will match. */ |
+ |
+ /// Requests containing any of these user list ids will match. |
core.List<core.String> userLists; |
- /** |
- * Requests that allow any of these vendor ids will match. Values are from |
- * vendors.txt in the downloadable files section. |
- */ |
+ |
+ /// Requests that allow any of these vendor ids will match. Values are from |
+ /// vendors.txt in the downloadable files section. |
core.List<core.String> vendorTypes; |
- /** Requests containing any of these vertical ids will match. */ |
+ |
+ /// Requests containing any of these vertical ids will match. |
core.List<core.String> verticals; |
- /** |
- * Video requests satisfying any of these player size constraints will match. |
- */ |
+ |
+ /// Video requests satisfying any of these player size constraints will |
+ /// match. |
core.List<PretargetingConfigVideoPlayerSizes> videoPlayerSizes; |
PretargetingConfig(); |
@@ -5178,7 +5251,9 @@ class PretargetingConfig { |
creativeType = _json["creativeType"]; |
} |
if (_json.containsKey("dimensions")) { |
- dimensions = _json["dimensions"].map((value) => new PretargetingConfigDimensions.fromJson(value)).toList(); |
+ dimensions = _json["dimensions"] |
+ .map((value) => new PretargetingConfigDimensions.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("excludedContentLabels")) { |
excludedContentLabels = _json["excludedContentLabels"]; |
@@ -5187,7 +5262,10 @@ class PretargetingConfig { |
excludedGeoCriteriaIds = _json["excludedGeoCriteriaIds"]; |
} |
if (_json.containsKey("excludedPlacements")) { |
- excludedPlacements = _json["excludedPlacements"].map((value) => new PretargetingConfigExcludedPlacements.fromJson(value)).toList(); |
+ excludedPlacements = _json["excludedPlacements"] |
+ .map((value) => |
+ new PretargetingConfigExcludedPlacements.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("excludedUserLists")) { |
excludedUserLists = _json["excludedUserLists"]; |
@@ -5220,7 +5298,9 @@ class PretargetingConfig { |
mobileOperatingSystemVersions = _json["mobileOperatingSystemVersions"]; |
} |
if (_json.containsKey("placements")) { |
- placements = _json["placements"].map((value) => new PretargetingConfigPlacements.fromJson(value)).toList(); |
+ placements = _json["placements"] |
+ .map((value) => new PretargetingConfigPlacements.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("platforms")) { |
platforms = _json["platforms"]; |
@@ -5241,12 +5321,16 @@ class PretargetingConfig { |
verticals = _json["verticals"]; |
} |
if (_json.containsKey("videoPlayerSizes")) { |
- videoPlayerSizes = _json["videoPlayerSizes"].map((value) => new PretargetingConfigVideoPlayerSizes.fromJson(value)).toList(); |
+ videoPlayerSizes = _json["videoPlayerSizes"] |
+ .map( |
+ (value) => new PretargetingConfigVideoPlayerSizes.fromJson(value)) |
+ .toList(); |
} |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (billingId != null) { |
_json["billingId"] = billingId; |
} |
@@ -5260,7 +5344,8 @@ class PretargetingConfig { |
_json["creativeType"] = creativeType; |
} |
if (dimensions != null) { |
- _json["dimensions"] = dimensions.map((value) => (value).toJson()).toList(); |
+ _json["dimensions"] = |
+ dimensions.map((value) => (value).toJson()).toList(); |
} |
if (excludedContentLabels != null) { |
_json["excludedContentLabels"] = excludedContentLabels; |
@@ -5269,7 +5354,8 @@ class PretargetingConfig { |
_json["excludedGeoCriteriaIds"] = excludedGeoCriteriaIds; |
} |
if (excludedPlacements != null) { |
- _json["excludedPlacements"] = excludedPlacements.map((value) => (value).toJson()).toList(); |
+ _json["excludedPlacements"] = |
+ excludedPlacements.map((value) => (value).toJson()).toList(); |
} |
if (excludedUserLists != null) { |
_json["excludedUserLists"] = excludedUserLists; |
@@ -5302,7 +5388,8 @@ class PretargetingConfig { |
_json["mobileOperatingSystemVersions"] = mobileOperatingSystemVersions; |
} |
if (placements != null) { |
- _json["placements"] = placements.map((value) => (value).toJson()).toList(); |
+ _json["placements"] = |
+ placements.map((value) => (value).toJson()).toList(); |
} |
if (platforms != null) { |
_json["platforms"] = platforms; |
@@ -5323,23 +5410,27 @@ class PretargetingConfig { |
_json["verticals"] = verticals; |
} |
if (videoPlayerSizes != null) { |
- _json["videoPlayerSizes"] = videoPlayerSizes.map((value) => (value).toJson()).toList(); |
+ _json["videoPlayerSizes"] = |
+ videoPlayerSizes.map((value) => (value).toJson()).toList(); |
} |
return _json; |
} |
} |
class PretargetingConfigList { |
- /** A list of pretargeting configs */ |
+ /// A list of pretargeting configs |
core.List<PretargetingConfig> items; |
- /** Resource type. */ |
+ |
+ /// Resource type. |
core.String kind; |
PretargetingConfigList(); |
PretargetingConfigList.fromJson(core.Map _json) { |
if (_json.containsKey("items")) { |
- items = _json["items"].map((value) => new PretargetingConfig.fromJson(value)).toList(); |
+ items = _json["items"] |
+ .map((value) => new PretargetingConfig.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("kind")) { |
kind = _json["kind"]; |
@@ -5347,7 +5438,8 @@ class PretargetingConfigList { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (items != null) { |
_json["items"] = items.map((value) => (value).toJson()).toList(); |
} |
@@ -5359,13 +5451,16 @@ class PretargetingConfigList { |
} |
class Price { |
- /** The price value in micros. */ |
+ /// The price value in micros. |
core.double amountMicros; |
- /** The currency code for the price. */ |
+ |
+ /// The currency code for the price. |
core.String currencyCode; |
- /** In case of CPD deals, the expected CPM in micros. */ |
+ |
+ /// In case of CPD deals, the expected CPM in micros. |
core.double expectedCpmMicros; |
- /** The pricing type for the deal/product. */ |
+ |
+ /// The pricing type for the deal/product. |
core.String pricingType; |
Price(); |
@@ -5386,7 +5481,8 @@ class Price { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (amountMicros != null) { |
_json["amountMicros"] = amountMicros; |
} |
@@ -5403,25 +5499,24 @@ class Price { |
} |
} |
-/** |
- * Used to specify pricing rules for buyers. Each PricePerBuyer in a product can |
- * become [0,1] deals. To check if there is a PricePerBuyer for a particular |
- * buyer we look for the most specific matching rule - we first look for a rule |
- * matching the buyer and otherwise look for a matching rule where no buyer is |
- * set. |
- */ |
+/// Used to specify pricing rules for buyers. Each PricePerBuyer in a product |
+/// can become [0,1] deals. To check if there is a PricePerBuyer for a |
+/// particular buyer we look for the most specific matching rule - we first |
+/// look for a rule matching the buyer and otherwise look for a matching rule |
+/// where no buyer is set. |
class PricePerBuyer { |
- /** Optional access type for this buyer. */ |
+ /// Optional access type for this buyer. |
core.String auctionTier; |
- /** Reference to the buyer that will get billed. */ |
+ |
+ /// Reference to the buyer that will get billed. |
Buyer billedBuyer; |
- /** |
- * The buyer who will pay this price. If unset, all buyers can pay this price |
- * (if the advertisers match, and there's no more specific rule matching the |
- * buyer). |
- */ |
+ |
+ /// The buyer who will pay this price. If unset, all buyers can pay this |
+ /// price (if the advertisers match, and there's no more specific rule |
+ /// matching the buyer). |
Buyer buyer; |
- /** The specified price */ |
+ |
+ /// The specified price |
Price price; |
PricePerBuyer(); |
@@ -5442,7 +5537,8 @@ class PricePerBuyer { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (auctionTier != null) { |
_json["auctionTier"] = auctionTier; |
} |
@@ -5467,7 +5563,8 @@ class PrivateData { |
} |
void set referencePayloadAsBytes(core.List<core.int> _bytes) { |
- referencePayload = convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "-"); |
+ referencePayload = |
+ convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "-"); |
} |
PrivateData(); |
@@ -5482,7 +5579,8 @@ class PrivateData { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (referenceId != null) { |
_json["referenceId"] = referenceId; |
} |
@@ -5493,123 +5591,117 @@ class PrivateData { |
} |
} |
-/** |
- * A product is segment of inventory that a seller wishes to sell. It is |
- * associated with certain terms and targeting information which helps buyer |
- * know more about the inventory. Each field in a product can have one of the |
- * following setting: |
- * |
- * (readonly) - It is an error to try and set this field. (buyer-readonly) - |
- * Only the seller can set this field. (seller-readonly) - Only the buyer can |
- * set this field. (updatable) - The field is updatable at all times by either |
- * buyer or the seller. |
- */ |
+/// A product is segment of inventory that a seller wishes to sell. It is |
+/// associated with certain terms and targeting information which helps buyer |
+/// know more about the inventory. Each field in a product can have one of the |
+/// following setting: |
+/// |
+/// (readonly) - It is an error to try and set this field. (buyer-readonly) - |
+/// Only the seller can set this field. (seller-readonly) - Only the buyer can |
+/// set this field. (updatable) - The field is updatable at all times by either |
+/// buyer or the seller. |
class Product { |
- /** |
- * The billed buyer corresponding to the buyer that created the offer. |
- * (readonly, except on create) |
- */ |
+ /// The billed buyer corresponding to the buyer that created the offer. |
+ /// (readonly, except on create) |
Buyer billedBuyer; |
- /** |
- * The buyer that created the offer if this is a buyer initiated offer |
- * (readonly, except on create) |
- */ |
+ |
+ /// The buyer that created the offer if this is a buyer initiated offer |
+ /// (readonly, except on create) |
Buyer buyer; |
- /** Creation time in ms. since epoch (readonly) */ |
+ |
+ /// Creation time in ms. since epoch (readonly) |
core.String creationTimeMs; |
- /** |
- * Optional contact information for the creator of this product. |
- * (buyer-readonly) |
- */ |
+ |
+ /// Optional contact information for the creator of this product. |
+ /// (buyer-readonly) |
core.List<ContactInformation> creatorContacts; |
- /** |
- * The role that created the offer. Set to BUYER for buyer initiated offers. |
- */ |
+ |
+ /// The role that created the offer. Set to BUYER for buyer initiated offers. |
core.String creatorRole; |
- /** |
- * The set of fields around delivery control that are interesting for a buyer |
- * to see but are non-negotiable. These are set by the publisher. This message |
- * is assigned an id of 100 since some day we would want to model this as a |
- * protobuf extension. |
- */ |
+ |
+ /// The set of fields around delivery control that are interesting for a |
+ /// buyer to see but are non-negotiable. These are set by the publisher. This |
+ /// message is assigned an id of 100 since some day we would want to model |
+ /// this as a protobuf extension. |
DeliveryControl deliveryControl; |
- /** The proposed end time for the deal (ms since epoch) (buyer-readonly) */ |
+ |
+ /// The proposed end time for the deal (ms since epoch) (buyer-readonly) |
core.String flightEndTimeMs; |
- /** |
- * Inventory availability dates. (times are in ms since epoch) The granularity |
- * is generally in the order of seconds. (buyer-readonly) |
- */ |
+ |
+ /// Inventory availability dates. (times are in ms since epoch) The |
+ /// granularity is generally in the order of seconds. (buyer-readonly) |
core.String flightStartTimeMs; |
- /** |
- * If the creator has already signed off on the product, then the buyer can |
- * finalize the deal by accepting the product as is. When copying to a |
- * proposal, if any of the terms are changed, then auto_finalize is |
- * automatically set to false. |
- */ |
+ |
+ /// If the creator has already signed off on the product, then the buyer can |
+ /// finalize the deal by accepting the product as is. When copying to a |
+ /// proposal, if any of the terms are changed, then auto_finalize is |
+ /// automatically set to false. |
core.bool hasCreatorSignedOff; |
- /** |
- * What exchange will provide this inventory (readonly, except on create). |
- */ |
+ |
+ /// What exchange will provide this inventory (readonly, except on create). |
core.String inventorySource; |
- /** |
- * Identifies what kind of resource this is. Value: the fixed string |
- * "adexchangebuyer#product". |
- */ |
+ |
+ /// Identifies what kind of resource this is. Value: the fixed string |
+ /// "adexchangebuyer#product". |
core.String kind; |
- /** Optional List of labels for the product (optional, buyer-readonly). */ |
+ |
+ /// Optional List of labels for the product (optional, buyer-readonly). |
core.List<MarketplaceLabel> labels; |
- /** Time of last update in ms. since epoch (readonly) */ |
+ |
+ /// Time of last update in ms. since epoch (readonly) |
core.String lastUpdateTimeMs; |
- /** Optional legacy offer id if this offer is a preferred deal offer. */ |
+ |
+ /// Optional legacy offer id if this offer is a preferred deal offer. |
core.String legacyOfferId; |
- /** |
- * Marketplace publisher profile Id. This Id differs from the regular |
- * publisher_profile_id in that 1. This is a new id, the old Id will be |
- * deprecated in 2017. 2. This id uniquely identifies a publisher profile by |
- * itself. |
- */ |
+ |
+ /// Marketplace publisher profile Id. This Id differs from the regular |
+ /// publisher_profile_id in that 1. This is a new id, the old Id will be |
+ /// deprecated in 2017. 2. This id uniquely identifies a publisher profile by |
+ /// itself. |
core.String marketplacePublisherProfileId; |
- /** The name for this product as set by the seller. (buyer-readonly) */ |
+ |
+ /// The name for this product as set by the seller. (buyer-readonly) |
core.String name; |
- /** Optional private auction id if this offer is a private auction offer. */ |
+ |
+ /// Optional private auction id if this offer is a private auction offer. |
core.String privateAuctionId; |
- /** The unique id for the product (readonly) */ |
+ |
+ /// The unique id for the product (readonly) |
core.String productId; |
- /** |
- * Id of the publisher profile for a given seller. A (seller.account_id, |
- * publisher_profile_id) pair uniquely identifies a publisher profile. Buyers |
- * can call the PublisherProfiles::List endpoint to get a list of publisher |
- * profiles for a given seller. |
- */ |
+ |
+ /// Id of the publisher profile for a given seller. A (seller.account_id, |
+ /// publisher_profile_id) pair uniquely identifies a publisher profile. |
+ /// Buyers can call the PublisherProfiles::List endpoint to get a list of |
+ /// publisher profiles for a given seller. |
core.String publisherProfileId; |
- /** Publisher self-provided forecast information. */ |
+ |
+ /// Publisher self-provided forecast information. |
PublisherProvidedForecast publisherProvidedForecast; |
- /** The revision number of the product. (readonly) */ |
+ |
+ /// The revision number of the product. (readonly) |
core.String revisionNumber; |
- /** |
- * Information about the seller that created this product (readonly, except on |
- * create) |
- */ |
+ |
+ /// Information about the seller that created this product (readonly, except |
+ /// on create) |
Seller seller; |
- /** |
- * Targeting that is shared between the buyer and the seller. Each targeting |
- * criteria has a specified key and for each key there is a list of inclusion |
- * value or exclusion values. (buyer-readonly) |
- */ |
+ |
+ /// Targeting that is shared between the buyer and the seller. Each targeting |
+ /// criteria has a specified key and for each key there is a list of |
+ /// inclusion value or exclusion values. (buyer-readonly) |
core.List<SharedTargeting> sharedTargetings; |
- /** The state of the product. (buyer-readonly) */ |
+ |
+ /// The state of the product. (buyer-readonly) |
core.String state; |
- /** |
- * The syndication product associated with the deal. (readonly, except on |
- * create) |
- */ |
+ |
+ /// The syndication product associated with the deal. (readonly, except on |
+ /// create) |
core.String syndicationProduct; |
- /** The negotiable terms of the deal (buyer-readonly) */ |
+ |
+ /// The negotiable terms of the deal (buyer-readonly) |
DealTerms terms; |
- /** |
- * The web property code for the seller. This field is meant to be copied over |
- * as is when creating deals. |
- */ |
+ |
+ /// The web property code for the seller. This field is meant to be copied |
+ /// over as is when creating deals. |
core.String webPropertyCode; |
Product(); |
@@ -5625,7 +5717,9 @@ class Product { |
creationTimeMs = _json["creationTimeMs"]; |
} |
if (_json.containsKey("creatorContacts")) { |
- creatorContacts = _json["creatorContacts"].map((value) => new ContactInformation.fromJson(value)).toList(); |
+ creatorContacts = _json["creatorContacts"] |
+ .map((value) => new ContactInformation.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("creatorRole")) { |
creatorRole = _json["creatorRole"]; |
@@ -5649,7 +5743,9 @@ class Product { |
kind = _json["kind"]; |
} |
if (_json.containsKey("labels")) { |
- labels = _json["labels"].map((value) => new MarketplaceLabel.fromJson(value)).toList(); |
+ labels = _json["labels"] |
+ .map((value) => new MarketplaceLabel.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("lastUpdateTimeMs")) { |
lastUpdateTimeMs = _json["lastUpdateTimeMs"]; |
@@ -5673,7 +5769,8 @@ class Product { |
publisherProfileId = _json["publisherProfileId"]; |
} |
if (_json.containsKey("publisherProvidedForecast")) { |
- publisherProvidedForecast = new PublisherProvidedForecast.fromJson(_json["publisherProvidedForecast"]); |
+ publisherProvidedForecast = new PublisherProvidedForecast.fromJson( |
+ _json["publisherProvidedForecast"]); |
} |
if (_json.containsKey("revisionNumber")) { |
revisionNumber = _json["revisionNumber"]; |
@@ -5682,7 +5779,9 @@ class Product { |
seller = new Seller.fromJson(_json["seller"]); |
} |
if (_json.containsKey("sharedTargetings")) { |
- sharedTargetings = _json["sharedTargetings"].map((value) => new SharedTargeting.fromJson(value)).toList(); |
+ sharedTargetings = _json["sharedTargetings"] |
+ .map((value) => new SharedTargeting.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("state")) { |
state = _json["state"]; |
@@ -5699,7 +5798,8 @@ class Product { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (billedBuyer != null) { |
_json["billedBuyer"] = (billedBuyer).toJson(); |
} |
@@ -5710,7 +5810,8 @@ class Product { |
_json["creationTimeMs"] = creationTimeMs; |
} |
if (creatorContacts != null) { |
- _json["creatorContacts"] = creatorContacts.map((value) => (value).toJson()).toList(); |
+ _json["creatorContacts"] = |
+ creatorContacts.map((value) => (value).toJson()).toList(); |
} |
if (creatorRole != null) { |
_json["creatorRole"] = creatorRole; |
@@ -5767,7 +5868,8 @@ class Product { |
_json["seller"] = (seller).toJson(); |
} |
if (sharedTargetings != null) { |
- _json["sharedTargetings"] = sharedTargetings.map((value) => (value).toJson()).toList(); |
+ _json["sharedTargetings"] = |
+ sharedTargetings.map((value) => (value).toJson()).toList(); |
} |
if (state != null) { |
_json["state"] = state; |
@@ -5785,88 +5887,91 @@ class Product { |
} |
} |
-/** |
- * Represents a proposal in the marketplace. A proposal is the unit of |
- * negotiation between a seller and a buyer and contains deals which are served. |
- * Each field in a proposal can have one of the following setting: |
- * |
- * (readonly) - It is an error to try and set this field. (buyer-readonly) - |
- * Only the seller can set this field. (seller-readonly) - Only the buyer can |
- * set this field. (updatable) - The field is updatable at all times by either |
- * buyer or the seller. |
- */ |
+/// Represents a proposal in the marketplace. A proposal is the unit of |
+/// negotiation between a seller and a buyer and contains deals which are |
+/// served. Each field in a proposal can have one of the following setting: |
+/// |
+/// (readonly) - It is an error to try and set this field. (buyer-readonly) - |
+/// Only the seller can set this field. (seller-readonly) - Only the buyer can |
+/// set this field. (updatable) - The field is updatable at all times by either |
+/// buyer or the seller. |
class Proposal { |
- /** |
- * Reference to the buyer that will get billed for this proposal. (readonly) |
- */ |
+ /// Reference to the buyer that will get billed for this proposal. (readonly) |
Buyer billedBuyer; |
- /** Reference to the buyer on the proposal. (readonly, except on create) */ |
+ |
+ /// Reference to the buyer on the proposal. (readonly, except on create) |
Buyer buyer; |
- /** Optional contact information of the buyer. (seller-readonly) */ |
+ |
+ /// Optional contact information of the buyer. (seller-readonly) |
core.List<ContactInformation> buyerContacts; |
- /** Private data for buyer. (hidden from seller). */ |
+ |
+ /// Private data for buyer. (hidden from seller). |
PrivateData buyerPrivateData; |
- /** IDs of DBM advertisers permission to this proposal. */ |
+ |
+ /// IDs of DBM advertisers permission to this proposal. |
core.List<core.String> dbmAdvertiserIds; |
- /** |
- * When an proposal is in an accepted state, indicates whether the buyer has |
- * signed off. Once both sides have signed off on a deal, the proposal can be |
- * finalized by the seller. (seller-readonly) |
- */ |
+ |
+ /// When an proposal is in an accepted state, indicates whether the buyer has |
+ /// signed off. Once both sides have signed off on a deal, the proposal can |
+ /// be finalized by the seller. (seller-readonly) |
core.bool hasBuyerSignedOff; |
- /** |
- * When an proposal is in an accepted state, indicates whether the buyer has |
- * signed off Once both sides have signed off on a deal, the proposal can be |
- * finalized by the seller. (buyer-readonly) |
- */ |
+ |
+ /// When an proposal is in an accepted state, indicates whether the buyer has |
+ /// signed off Once both sides have signed off on a deal, the proposal can be |
+ /// finalized by the seller. (buyer-readonly) |
core.bool hasSellerSignedOff; |
- /** |
- * What exchange will provide this inventory (readonly, except on create). |
- */ |
+ |
+ /// What exchange will provide this inventory (readonly, except on create). |
core.String inventorySource; |
- /** True if the proposal is being renegotiated (readonly). */ |
+ |
+ /// True if the proposal is being renegotiated (readonly). |
core.bool isRenegotiating; |
- /** |
- * True, if the buyside inventory setup is complete for this proposal. |
- * (readonly, except via OrderSetupCompleted action) Deprecated in favor of |
- * deal level setup complete flag. |
- */ |
+ |
+ /// True, if the buyside inventory setup is complete for this proposal. |
+ /// (readonly, except via OrderSetupCompleted action) Deprecated in favor of |
+ /// deal level setup complete flag. |
core.bool isSetupComplete; |
- /** |
- * Identifies what kind of resource this is. Value: the fixed string |
- * "adexchangebuyer#proposal". |
- */ |
+ |
+ /// Identifies what kind of resource this is. Value: the fixed string |
+ /// "adexchangebuyer#proposal". |
core.String kind; |
- /** List of labels associated with the proposal. (readonly) */ |
+ |
+ /// List of labels associated with the proposal. (readonly) |
core.List<MarketplaceLabel> labels; |
- /** |
- * The role of the last user that either updated the proposal or left a |
- * comment. (readonly) |
- */ |
+ |
+ /// The role of the last user that either updated the proposal or left a |
+ /// comment. (readonly) |
core.String lastUpdaterOrCommentorRole; |
- /** The name for the proposal (updatable) */ |
+ |
+ /// The name for the proposal (updatable) |
core.String name; |
- /** Optional negotiation id if this proposal is a preferred deal proposal. */ |
+ |
+ /// Optional negotiation id if this proposal is a preferred deal proposal. |
core.String negotiationId; |
- /** Indicates whether the buyer/seller created the proposal.(readonly) */ |
+ |
+ /// Indicates whether the buyer/seller created the proposal.(readonly) |
core.String originatorRole; |
- /** |
- * Optional private auction id if this proposal is a private auction proposal. |
- */ |
+ |
+ /// Optional private auction id if this proposal is a private auction |
+ /// proposal. |
core.String privateAuctionId; |
- /** The unique id of the proposal. (readonly). */ |
+ |
+ /// The unique id of the proposal. (readonly). |
core.String proposalId; |
- /** The current state of the proposal. (readonly) */ |
+ |
+ /// The current state of the proposal. (readonly) |
core.String proposalState; |
- /** The revision number for the proposal (readonly). */ |
+ |
+ /// The revision number for the proposal (readonly). |
core.String revisionNumber; |
- /** |
- * The time (ms since epoch) when the proposal was last revised (readonly). |
- */ |
+ |
+ /// The time (ms since epoch) when the proposal was last revised (readonly). |
core.String revisionTimeMs; |
- /** Reference to the seller on the proposal. (readonly, except on create) */ |
+ |
+ /// Reference to the seller on the proposal. (readonly, except on create) |
Seller seller; |
- /** Optional contact information of the seller (buyer-readonly). */ |
+ |
+ /// Optional contact information of the seller (buyer-readonly). |
core.List<ContactInformation> sellerContacts; |
Proposal(); |
@@ -5879,7 +5984,9 @@ class Proposal { |
buyer = new Buyer.fromJson(_json["buyer"]); |
} |
if (_json.containsKey("buyerContacts")) { |
- buyerContacts = _json["buyerContacts"].map((value) => new ContactInformation.fromJson(value)).toList(); |
+ buyerContacts = _json["buyerContacts"] |
+ .map((value) => new ContactInformation.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("buyerPrivateData")) { |
buyerPrivateData = new PrivateData.fromJson(_json["buyerPrivateData"]); |
@@ -5906,7 +6013,9 @@ class Proposal { |
kind = _json["kind"]; |
} |
if (_json.containsKey("labels")) { |
- labels = _json["labels"].map((value) => new MarketplaceLabel.fromJson(value)).toList(); |
+ labels = _json["labels"] |
+ .map((value) => new MarketplaceLabel.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("lastUpdaterOrCommentorRole")) { |
lastUpdaterOrCommentorRole = _json["lastUpdaterOrCommentorRole"]; |
@@ -5939,12 +6048,15 @@ class Proposal { |
seller = new Seller.fromJson(_json["seller"]); |
} |
if (_json.containsKey("sellerContacts")) { |
- sellerContacts = _json["sellerContacts"].map((value) => new ContactInformation.fromJson(value)).toList(); |
+ sellerContacts = _json["sellerContacts"] |
+ .map((value) => new ContactInformation.fromJson(value)) |
+ .toList(); |
} |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (billedBuyer != null) { |
_json["billedBuyer"] = (billedBuyer).toJson(); |
} |
@@ -5952,7 +6064,8 @@ class Proposal { |
_json["buyer"] = (buyer).toJson(); |
} |
if (buyerContacts != null) { |
- _json["buyerContacts"] = buyerContacts.map((value) => (value).toJson()).toList(); |
+ _json["buyerContacts"] = |
+ buyerContacts.map((value) => (value).toJson()).toList(); |
} |
if (buyerPrivateData != null) { |
_json["buyerPrivateData"] = (buyerPrivateData).toJson(); |
@@ -6012,71 +6125,83 @@ class Proposal { |
_json["seller"] = (seller).toJson(); |
} |
if (sellerContacts != null) { |
- _json["sellerContacts"] = sellerContacts.map((value) => (value).toJson()).toList(); |
+ _json["sellerContacts"] = |
+ sellerContacts.map((value) => (value).toJson()).toList(); |
} |
return _json; |
} |
} |
class PublisherProfileApiProto { |
- /** Deprecated: use the seller.account_id. The account id of the seller. */ |
+ /// Deprecated: use the seller.account_id. The account id of the seller. |
core.String accountId; |
- /** Publisher provided info on its audience. */ |
+ |
+ /// Publisher provided info on its audience. |
core.String audience; |
- /** A pitch statement for the buyer */ |
+ |
+ /// A pitch statement for the buyer |
core.String buyerPitchStatement; |
- /** Direct contact for the publisher profile. */ |
+ |
+ /// Direct contact for the publisher profile. |
core.String directContact; |
- /** |
- * Exchange where this publisher profile is from. E.g. AdX, Rubicon etc... |
- */ |
+ |
+ /// Exchange where this publisher profile is from. E.g. AdX, Rubicon etc... |
core.String exchange; |
- /** Link to publisher's Google+ page. */ |
+ |
+ /// Link to publisher's Google+ page. |
core.String googlePlusLink; |
- /** |
- * True, if this is the parent profile, which represents all domains owned by |
- * the publisher. |
- */ |
+ |
+ /// True, if this is the parent profile, which represents all domains owned |
+ /// by the publisher. |
core.bool isParent; |
- /** True, if this profile is published. Deprecated for state. */ |
+ |
+ /// True, if this profile is published. Deprecated for state. |
core.bool isPublished; |
- /** |
- * Identifies what kind of resource this is. Value: the fixed string |
- * "adexchangebuyer#publisherProfileApiProto". |
- */ |
+ |
+ /// Identifies what kind of resource this is. Value: the fixed string |
+ /// "adexchangebuyer#publisherProfileApiProto". |
core.String kind; |
- /** The url to the logo for the publisher. */ |
+ |
+ /// The url to the logo for the publisher. |
core.String logoUrl; |
- /** The url for additional marketing and sales materials. */ |
+ |
+ /// The url for additional marketing and sales materials. |
core.String mediaKitLink; |
core.String name; |
- /** Publisher provided overview. */ |
+ |
+ /// Publisher provided overview. |
core.String overview; |
- /** |
- * The pair of (seller.account_id, profile_id) uniquely identifies a publisher |
- * profile for a given publisher. |
- */ |
+ |
+ /// The pair of (seller.account_id, profile_id) uniquely identifies a |
+ /// publisher profile for a given publisher. |
core.int profileId; |
- /** Programmatic contact for the publisher profile. */ |
+ |
+ /// Programmatic contact for the publisher profile. |
core.String programmaticContact; |
- /** |
- * The list of domains represented in this publisher profile. Empty if this is |
- * a parent profile. |
- */ |
+ |
+ /// The list of domains represented in this publisher profile. Empty if this |
+ /// is a parent profile. |
core.List<core.String> publisherDomains; |
- /** Unique Id for publisher profile. */ |
+ |
+ /// Unique Id for publisher profile. |
core.String publisherProfileId; |
- /** Publisher provided forecasting information. */ |
+ |
+ /// Publisher provided forecasting information. |
PublisherProvidedForecast publisherProvidedForecast; |
- /** Link to publisher rate card */ |
+ |
+ /// Link to publisher rate card |
core.String rateCardInfoLink; |
- /** Link for a sample content page. */ |
+ |
+ /// Link for a sample content page. |
core.String samplePageLink; |
- /** Seller of the publisher profile. */ |
+ |
+ /// Seller of the publisher profile. |
Seller seller; |
- /** State of the publisher profile. */ |
+ |
+ /// State of the publisher profile. |
core.String state; |
- /** Publisher provided key metrics and rankings. */ |
+ |
+ /// Publisher provided key metrics and rankings. |
core.List<core.String> topHeadlines; |
PublisherProfileApiProto(); |
@@ -6134,7 +6259,8 @@ class PublisherProfileApiProto { |
publisherProfileId = _json["publisherProfileId"]; |
} |
if (_json.containsKey("publisherProvidedForecast")) { |
- publisherProvidedForecast = new PublisherProvidedForecast.fromJson(_json["publisherProvidedForecast"]); |
+ publisherProvidedForecast = new PublisherProvidedForecast.fromJson( |
+ _json["publisherProvidedForecast"]); |
} |
if (_json.containsKey("rateCardInfoLink")) { |
rateCardInfoLink = _json["rateCardInfoLink"]; |
@@ -6154,7 +6280,8 @@ class PublisherProfileApiProto { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (accountId != null) { |
_json["accountId"] = accountId; |
} |
@@ -6228,20 +6355,24 @@ class PublisherProfileApiProto { |
} |
} |
-/** This message carries publisher provided forecasting information. */ |
+/// This message carries publisher provided forecasting information. |
class PublisherProvidedForecast { |
- /** Publisher provided dimensions. E.g. geo, sizes etc... */ |
+ /// Publisher provided dimensions. E.g. geo, sizes etc... |
core.List<Dimension> dimensions; |
- /** Publisher provided weekly impressions. */ |
+ |
+ /// Publisher provided weekly impressions. |
core.String weeklyImpressions; |
- /** Publisher provided weekly uniques. */ |
+ |
+ /// Publisher provided weekly uniques. |
core.String weeklyUniques; |
PublisherProvidedForecast(); |
PublisherProvidedForecast.fromJson(core.Map _json) { |
if (_json.containsKey("dimensions")) { |
- dimensions = _json["dimensions"].map((value) => new Dimension.fromJson(value)).toList(); |
+ dimensions = _json["dimensions"] |
+ .map((value) => new Dimension.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("weeklyImpressions")) { |
weeklyImpressions = _json["weeklyImpressions"]; |
@@ -6252,9 +6383,11 @@ class PublisherProvidedForecast { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (dimensions != null) { |
- _json["dimensions"] = dimensions.map((value) => (value).toJson()).toList(); |
+ _json["dimensions"] = |
+ dimensions.map((value) => (value).toJson()).toList(); |
} |
if (weeklyImpressions != null) { |
_json["weeklyImpressions"] = weeklyImpressions; |
@@ -6267,12 +6400,11 @@ class PublisherProvidedForecast { |
} |
class Seller { |
- /** |
- * The unique id for the seller. The seller fills in this field. The seller |
- * account id is then available to buyer in the product. |
- */ |
+ /// The unique id for the seller. The seller fills in this field. The seller |
+ /// account id is then available to buyer in the product. |
core.String accountId; |
- /** Optional sub-account id for the seller. */ |
+ |
+ /// Optional sub-account id for the seller. |
core.String subAccountId; |
Seller(); |
@@ -6287,7 +6419,8 @@ class Seller { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (accountId != null) { |
_json["accountId"] = accountId; |
} |
@@ -6299,26 +6432,29 @@ class Seller { |
} |
class SharedTargeting { |
- /** |
- * The list of values to exclude from targeting. Each value is AND'd together. |
- */ |
+ /// The list of values to exclude from targeting. Each value is AND'd |
+ /// together. |
core.List<TargetingValue> exclusions; |
- /** |
- * The list of value to include as part of the targeting. Each value is OR'd |
- * together. |
- */ |
+ |
+ /// The list of value to include as part of the targeting. Each value is OR'd |
+ /// together. |
core.List<TargetingValue> inclusions; |
- /** The key representing the shared targeting criterion. */ |
+ |
+ /// The key representing the shared targeting criterion. |
core.String key; |
SharedTargeting(); |
SharedTargeting.fromJson(core.Map _json) { |
if (_json.containsKey("exclusions")) { |
- exclusions = _json["exclusions"].map((value) => new TargetingValue.fromJson(value)).toList(); |
+ exclusions = _json["exclusions"] |
+ .map((value) => new TargetingValue.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("inclusions")) { |
- inclusions = _json["inclusions"].map((value) => new TargetingValue.fromJson(value)).toList(); |
+ inclusions = _json["inclusions"] |
+ .map((value) => new TargetingValue.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("key")) { |
key = _json["key"]; |
@@ -6326,12 +6462,15 @@ class SharedTargeting { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (exclusions != null) { |
- _json["exclusions"] = exclusions.map((value) => (value).toJson()).toList(); |
+ _json["exclusions"] = |
+ exclusions.map((value) => (value).toJson()).toList(); |
} |
if (inclusions != null) { |
- _json["inclusions"] = inclusions.map((value) => (value).toJson()).toList(); |
+ _json["inclusions"] = |
+ inclusions.map((value) => (value).toJson()).toList(); |
} |
if (key != null) { |
_json["key"] = key; |
@@ -6341,26 +6480,29 @@ class SharedTargeting { |
} |
class TargetingValue { |
- /** The creative size value to exclude/include. */ |
+ /// The creative size value to exclude/include. |
TargetingValueCreativeSize creativeSizeValue; |
- /** |
- * The daypart targeting to include / exclude. Filled in when the key is |
- * GOOG_DAYPART_TARGETING. |
- */ |
+ |
+ /// The daypart targeting to include / exclude. Filled in when the key is |
+ /// GOOG_DAYPART_TARGETING. |
TargetingValueDayPartTargeting dayPartTargetingValue; |
- /** The long value to exclude/include. */ |
+ |
+ /// The long value to exclude/include. |
core.String longValue; |
- /** The string value to exclude/include. */ |
+ |
+ /// The string value to exclude/include. |
core.String stringValue; |
TargetingValue(); |
TargetingValue.fromJson(core.Map _json) { |
if (_json.containsKey("creativeSizeValue")) { |
- creativeSizeValue = new TargetingValueCreativeSize.fromJson(_json["creativeSizeValue"]); |
+ creativeSizeValue = |
+ new TargetingValueCreativeSize.fromJson(_json["creativeSizeValue"]); |
} |
if (_json.containsKey("dayPartTargetingValue")) { |
- dayPartTargetingValue = new TargetingValueDayPartTargeting.fromJson(_json["dayPartTargetingValue"]); |
+ dayPartTargetingValue = new TargetingValueDayPartTargeting.fromJson( |
+ _json["dayPartTargetingValue"]); |
} |
if (_json.containsKey("longValue")) { |
longValue = _json["longValue"]; |
@@ -6371,7 +6513,8 @@ class TargetingValue { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (creativeSizeValue != null) { |
_json["creativeSizeValue"] = (creativeSizeValue).toJson(); |
} |
@@ -6389,25 +6532,29 @@ class TargetingValue { |
} |
class TargetingValueCreativeSize { |
- /** For video size type, the list of companion sizes. */ |
+ /// For video size type, the list of companion sizes. |
core.List<TargetingValueSize> companionSizes; |
- /** The Creative size type. */ |
+ |
+ /// The Creative size type. |
core.String creativeSizeType; |
- /** The native template for native ad. */ |
+ |
+ /// The native template for native ad. |
core.String nativeTemplate; |
- /** |
- * For regular or video creative size type, specifies the size of the |
- * creative. |
- */ |
+ |
+ /// For regular or video creative size type, specifies the size of the |
+ /// creative. |
TargetingValueSize size; |
- /** The skippable ad type for video size. */ |
+ |
+ /// The skippable ad type for video size. |
core.String skippableAdType; |
TargetingValueCreativeSize(); |
TargetingValueCreativeSize.fromJson(core.Map _json) { |
if (_json.containsKey("companionSizes")) { |
- companionSizes = _json["companionSizes"].map((value) => new TargetingValueSize.fromJson(value)).toList(); |
+ companionSizes = _json["companionSizes"] |
+ .map((value) => new TargetingValueSize.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("creativeSizeType")) { |
creativeSizeType = _json["creativeSizeType"]; |
@@ -6424,9 +6571,11 @@ class TargetingValueCreativeSize { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (companionSizes != null) { |
- _json["companionSizes"] = companionSizes.map((value) => (value).toJson()).toList(); |
+ _json["companionSizes"] = |
+ companionSizes.map((value) => (value).toJson()).toList(); |
} |
if (creativeSizeType != null) { |
_json["creativeSizeType"] = creativeSizeType; |
@@ -6452,7 +6601,10 @@ class TargetingValueDayPartTargeting { |
TargetingValueDayPartTargeting.fromJson(core.Map _json) { |
if (_json.containsKey("dayParts")) { |
- dayParts = _json["dayParts"].map((value) => new TargetingValueDayPartTargetingDayPart.fromJson(value)).toList(); |
+ dayParts = _json["dayParts"] |
+ .map((value) => |
+ new TargetingValueDayPartTargetingDayPart.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("timeZoneType")) { |
timeZoneType = _json["timeZoneType"]; |
@@ -6460,7 +6612,8 @@ class TargetingValueDayPartTargeting { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (dayParts != null) { |
_json["dayParts"] = dayParts.map((value) => (value).toJson()).toList(); |
} |
@@ -6499,7 +6652,8 @@ class TargetingValueDayPartTargetingDayPart { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (dayOfWeek != null) { |
_json["dayOfWeek"] = dayOfWeek; |
} |
@@ -6520,9 +6674,10 @@ class TargetingValueDayPartTargetingDayPart { |
} |
class TargetingValueSize { |
- /** The height of the creative. */ |
+ /// The height of the creative. |
core.int height; |
- /** The width of the creative. */ |
+ |
+ /// The width of the creative. |
core.int width; |
TargetingValueSize(); |
@@ -6537,7 +6692,8 @@ class TargetingValueSize { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (height != null) { |
_json["height"] = height; |
} |
@@ -6549,13 +6705,16 @@ class TargetingValueSize { |
} |
class UpdatePrivateAuctionProposalRequest { |
- /** The externalDealId of the deal to be updated. */ |
+ /// The externalDealId of the deal to be updated. |
core.String externalDealId; |
- /** Optional note to be added. */ |
+ |
+ /// Optional note to be added. |
MarketplaceNote note; |
- /** The current revision number of the proposal to be updated. */ |
+ |
+ /// The current revision number of the proposal to be updated. |
core.String proposalRevisionNumber; |
- /** The proposed action on the private auction proposal. */ |
+ |
+ /// The proposed action on the private auction proposal. |
core.String updateAction; |
UpdatePrivateAuctionProposalRequest(); |
@@ -6576,7 +6735,8 @@ class UpdatePrivateAuctionProposalRequest { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (externalDealId != null) { |
_json["externalDealId"] = externalDealId; |
} |