OLD | NEW |
1 // This is a generated file (see the discoveryapis_generator project). | 1 // This is a generated file (see the discoveryapis_generator project). |
2 | 2 |
3 library googleapis_beta.adexchangebuyer2.v2beta1; | 3 library googleapis_beta.adexchangebuyer2.v2beta1; |
4 | 4 |
5 import 'dart:core' as core; | 5 import 'dart:core' as core; |
6 import 'dart:async' as async; | 6 import 'dart:async' as async; |
7 import 'dart:convert' as convert; | 7 import 'dart:convert' as convert; |
8 | 8 |
9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
10 import 'package:http/http.dart' as http; | 10 import 'package:http/http.dart' as http; |
11 | 11 |
12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show | 12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show |
13 ApiRequestError, DetailedApiRequestError; | 13 ApiRequestError, DetailedApiRequestError; |
14 | 14 |
15 const core.String USER_AGENT = 'dart-api-client adexchangebuyer2/v2beta1'; | 15 const core.String USER_AGENT = 'dart-api-client adexchangebuyer2/v2beta1'; |
16 | 16 |
17 /** | 17 /** |
18 * Accesses the latest features for managing Ad Exchange accounts and Real-Time | 18 * Accesses the latest features for managing Ad Exchange accounts, Real-Time |
19 * Bidding configurations and auction metrics. | 19 * Bidding configurations and auction metrics, and Marketplace programmatic |
| 20 * deals. |
20 */ | 21 */ |
21 class Adexchangebuyer2Api { | 22 class Adexchangebuyer2Api { |
22 /** Manage your Ad Exchange buyer account configuration */ | 23 /** Manage your Ad Exchange buyer account configuration */ |
23 static const AdexchangeBuyerScope = "https://www.googleapis.com/auth/adexchang
e.buyer"; | 24 static const AdexchangeBuyerScope = "https://www.googleapis.com/auth/adexchang
e.buyer"; |
24 | 25 |
25 | 26 |
26 final commons.ApiRequester _requester; | 27 final commons.ApiRequester _requester; |
27 | 28 |
28 AccountsResourceApi get accounts => new AccountsResourceApi(_requester); | 29 AccountsResourceApi get accounts => new AccountsResourceApi(_requester); |
29 | 30 |
(...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
680 * - "ENTITY_TYPE_UNSPECIFIED" : A placeholder for an undefined client entity | 681 * - "ENTITY_TYPE_UNSPECIFIED" : A placeholder for an undefined client entity |
681 * type. Should not be used. | 682 * type. Should not be used. |
682 * - "ADVERTISER" : An advertiser. | 683 * - "ADVERTISER" : An advertiser. |
683 * - "BRAND" : A brand. | 684 * - "BRAND" : A brand. |
684 * - "AGENCY" : An advertising agency. | 685 * - "AGENCY" : An advertising agency. |
685 */ | 686 */ |
686 core.String entityType; | 687 core.String entityType; |
687 /** | 688 /** |
688 * The role which is assigned to the client buyer. Each role implies a set of | 689 * The role which is assigned to the client buyer. Each role implies a set of |
689 * permissions granted to the client. Must be one of `CLIENT_DEAL_VIEWER`, | 690 * permissions granted to the client. Must be one of `CLIENT_DEAL_VIEWER`, |
690 * `CLIENT_DEAL_NEGOTIATOR`, or `CLIENT_DEAL_APPROVER`. | 691 * `CLIENT_DEAL_NEGOTIATOR` or `CLIENT_DEAL_APPROVER`. |
691 * Possible string values are: | 692 * Possible string values are: |
692 * - "CLIENT_ROLE_UNSPECIFIED" : A placeholder for an undefined client role. | 693 * - "CLIENT_ROLE_UNSPECIFIED" : A placeholder for an undefined client role. |
693 * - "CLIENT_DEAL_VIEWER" : Users associated with this client can see | 694 * - "CLIENT_DEAL_VIEWER" : Users associated with this client can see |
694 * publisher deal offers | 695 * publisher deal offers |
695 * in the Marketplace. | 696 * in the Marketplace. |
696 * They can neither negotiate proposals nor approve deals. | 697 * They can neither negotiate proposals nor approve deals. |
697 * If this client is visible to publishers, they can send deal proposals | 698 * If this client is visible to publishers, they can send deal proposals |
698 * to this client. | 699 * to this client. |
699 * - "CLIENT_DEAL_NEGOTIATOR" : Users associated with this client can respond | 700 * - "CLIENT_DEAL_NEGOTIATOR" : Users associated with this client can respond |
700 * to deal proposals | 701 * to deal proposals |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
851 _json["status"] = status; | 852 _json["status"] = status; |
852 } | 853 } |
853 if (userId != null) { | 854 if (userId != null) { |
854 _json["userId"] = userId; | 855 _json["userId"] = userId; |
855 } | 856 } |
856 return _json; | 857 return _json; |
857 } | 858 } |
858 } | 859 } |
859 | 860 |
860 /** | 861 /** |
861 * An invitation for a new client user to get access to the AdExchange Buyer UI. | 862 * An invitation for a new client user to get access to the Ad Exchange |
862 * | 863 * Buyer UI. |
863 * All fields are required unless otherwise specified. | 864 * All fields are required unless otherwise specified. |
864 */ | 865 */ |
865 class ClientUserInvitation { | 866 class ClientUserInvitation { |
866 /** | 867 /** |
867 * Numerical account ID of the client buyer | 868 * Numerical account ID of the client buyer |
868 * that the invited user is associated with. | 869 * that the invited user is associated with. |
869 * The value of this field is ignored in create operations. | 870 * The value of this field is ignored in create operations. |
870 */ | 871 */ |
871 core.String clientAccountId; | 872 core.String clientAccountId; |
872 /** | 873 /** |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1012 var _json = new core.Map(); | 1013 var _json = new core.Map(); |
1013 if (clients != null) { | 1014 if (clients != null) { |
1014 _json["clients"] = clients.map((value) => (value).toJson()).toList(); | 1015 _json["clients"] = clients.map((value) => (value).toJson()).toList(); |
1015 } | 1016 } |
1016 if (nextPageToken != null) { | 1017 if (nextPageToken != null) { |
1017 _json["nextPageToken"] = nextPageToken; | 1018 _json["nextPageToken"] = nextPageToken; |
1018 } | 1019 } |
1019 return _json; | 1020 return _json; |
1020 } | 1021 } |
1021 } | 1022 } |
OLD | NEW |