@google-ads/admanager 0.3.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +86 -150
- package/build/protos/google/ads/admanager/v1/ad_break_messages.proto +134 -0
- package/build/protos/google/ads/admanager/v1/ad_break_service.proto +269 -0
- package/build/protos/google/ads/admanager/v1/ad_unit_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/ad_unit_messages.proto +32 -26
- package/build/protos/google/ads/admanager/v1/ad_unit_service.proto +3 -1
- package/build/protos/google/ads/admanager/v1/admanager_error.proto +1 -1
- package/build/protos/google/ads/admanager/v1/applied_label.proto +1 -1
- package/build/protos/google/ads/admanager/v1/bandwidth_group_messages.proto +46 -0
- package/build/protos/google/ads/admanager/v1/bandwidth_group_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/company_enums.proto +123 -0
- package/build/protos/google/ads/admanager/v1/company_messages.proto +6 -7
- package/build/protos/google/ads/admanager/v1/company_service.proto +3 -1
- package/build/protos/google/ads/admanager/v1/contact_messages.proto +4 -4
- package/build/protos/google/ads/admanager/v1/custom_field_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/custom_field_messages.proto +12 -11
- package/build/protos/google/ads/admanager/v1/custom_field_service.proto +3 -1
- package/build/protos/google/ads/admanager/v1/custom_field_value.proto +1 -2
- package/build/protos/google/ads/admanager/v1/custom_targeting_key_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/custom_targeting_key_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/custom_targeting_key_service.proto +3 -1
- package/build/protos/google/ads/admanager/v1/custom_targeting_value_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/custom_targeting_value_messages.proto +14 -3
- package/build/protos/google/ads/admanager/v1/custom_targeting_value_service.proto +14 -6
- package/build/protos/google/ads/admanager/v1/deal_buyer_permission_type_enum.proto +41 -0
- package/build/protos/google/ads/admanager/v1/device_category_messages.proto +45 -0
- package/build/protos/google/ads/admanager/v1/device_category_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/early_ad_break_notification_enums.proto +47 -0
- package/build/protos/google/ads/admanager/v1/entity_signals_mapping_messages.proto +4 -4
- package/build/protos/google/ads/admanager/v1/entity_signals_mapping_service.proto +6 -4
- package/build/protos/google/ads/admanager/v1/environment_type_enum.proto +1 -1
- package/build/protos/google/ads/admanager/v1/frequency_cap.proto +1 -1
- package/build/protos/google/ads/admanager/v1/geo_target_messages.proto +70 -0
- package/build/protos/google/ads/admanager/v1/geo_target_service.proto +128 -0
- package/build/protos/google/ads/admanager/v1/label_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/live_stream_event_messages.proto +47 -0
- package/build/protos/google/ads/admanager/v1/network_messages.proto +2 -2
- package/build/protos/google/ads/admanager/v1/network_service.proto +4 -2
- package/build/protos/google/ads/admanager/v1/operating_system_messages.proto +45 -0
- package/build/protos/google/ads/admanager/v1/operating_system_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/operating_system_version_messages.proto +52 -0
- package/build/protos/google/ads/admanager/v1/operating_system_version_service.proto +133 -0
- package/build/protos/google/ads/admanager/v1/order_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/order_messages.proto +24 -20
- package/build/protos/google/ads/admanager/v1/order_service.proto +3 -1
- package/build/protos/google/ads/admanager/v1/placement_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/placement_messages.proto +14 -14
- package/build/protos/google/ads/admanager/v1/placement_service.proto +3 -1
- package/build/protos/google/ads/admanager/v1/private_auction_deal_messages.proto +119 -0
- package/build/protos/google/ads/admanager/v1/private_auction_deal_service.proto +184 -0
- package/build/protos/google/ads/admanager/v1/private_auction_messages.proto +74 -0
- package/build/protos/google/ads/admanager/v1/private_auction_service.proto +180 -0
- package/build/protos/google/ads/admanager/v1/private_marketplace_enums.proto +50 -0
- package/build/protos/google/ads/admanager/v1/programmatic_buyer_messages.proto +72 -0
- package/build/protos/google/ads/admanager/v1/programmatic_buyer_service.proto +131 -0
- package/build/protos/google/ads/admanager/v1/report_messages.proto +3536 -0
- package/build/protos/google/ads/admanager/v1/report_service.proto +5 -3247
- package/build/protos/google/ads/admanager/v1/request_platform_enum.proto +49 -0
- package/build/protos/google/ads/admanager/v1/role_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/role_messages.proto +6 -6
- package/build/protos/google/ads/admanager/v1/role_service.proto +3 -1
- package/build/protos/google/ads/admanager/v1/size.proto +7 -11
- package/build/protos/google/ads/admanager/v1/size_type_enum.proto +1 -1
- package/build/protos/google/ads/admanager/v1/targeted_video_bumper_type_enum.proto +44 -0
- package/build/protos/google/ads/admanager/v1/targeting.proto +328 -0
- package/build/protos/google/ads/admanager/v1/taxonomy_category_messages.proto +7 -6
- package/build/protos/google/ads/admanager/v1/taxonomy_category_service.proto +3 -1
- package/build/protos/google/ads/admanager/v1/taxonomy_type_enum.proto +1 -1
- package/build/protos/google/ads/admanager/v1/team_messages.proto +1 -5
- package/build/protos/google/ads/admanager/v1/time_unit_enum.proto +1 -1
- package/build/protos/google/ads/admanager/v1/user_messages.proto +10 -9
- package/build/protos/google/ads/admanager/v1/user_service.proto +3 -1
- package/build/protos/google/ads/admanager/v1/video_position_enum.proto +47 -0
- package/build/protos/protos.d.ts +15832 -7575
- package/build/protos/protos.js +57744 -36372
- package/build/protos/protos.json +5795 -2511
- package/build/src/index.d.ts +28 -1
- package/build/src/index.js +20 -17
- package/build/src/index.js.map +1 -1
- package/build/src/v1/ad_break_service_client.d.ts +1040 -0
- package/build/src/v1/ad_break_service_client.js +1483 -0
- package/build/src/v1/ad_break_service_client.js.map +1 -0
- package/build/src/v1/ad_break_service_client_config.json +46 -0
- package/build/src/v1/ad_break_service_proto_list.json +74 -0
- package/build/src/v1/ad_unit_service_client.d.ts +331 -91
- package/build/src/v1/ad_unit_service_client.js +414 -106
- package/build/src/v1/ad_unit_service_client.js.map +1 -1
- package/build/src/v1/ad_unit_service_proto_list.json +29 -3
- package/build/src/v1/bandwidth_group_service_client.d.ts +904 -0
- package/build/src/v1/bandwidth_group_service_client.js +1369 -0
- package/build/src/v1/bandwidth_group_service_client.js.map +1 -0
- package/build/src/v1/bandwidth_group_service_client_config.json +34 -0
- package/build/src/v1/bandwidth_group_service_proto_list.json +74 -0
- package/build/src/v1/company_service_client.d.ts +291 -51
- package/build/src/v1/company_service_client.js +402 -81
- package/build/src/v1/company_service_client.js.map +1 -1
- package/build/src/v1/company_service_proto_list.json +29 -3
- package/build/src/v1/custom_field_service_client.d.ts +291 -51
- package/build/src/v1/custom_field_service_client.js +403 -85
- package/build/src/v1/custom_field_service_client.js.map +1 -1
- package/build/src/v1/custom_field_service_proto_list.json +29 -3
- package/build/src/v1/custom_targeting_key_service_client.d.ts +291 -51
- package/build/src/v1/custom_targeting_key_service_client.js +404 -88
- package/build/src/v1/custom_targeting_key_service_client.js.map +1 -1
- package/build/src/v1/custom_targeting_key_service_proto_list.json +29 -3
- package/build/src/v1/custom_targeting_value_service_client.d.ts +298 -58
- package/build/src/v1/custom_targeting_value_service_client.js +406 -90
- package/build/src/v1/custom_targeting_value_service_client.js.map +1 -1
- package/build/src/v1/custom_targeting_value_service_proto_list.json +29 -3
- package/build/src/v1/device_category_service_client.d.ts +904 -0
- package/build/src/v1/device_category_service_client.js +1369 -0
- package/build/src/v1/device_category_service_client.js.map +1 -0
- package/build/src/v1/device_category_service_client_config.json +34 -0
- package/build/src/v1/device_category_service_proto_list.json +74 -0
- package/build/src/v1/entity_signals_mapping_service_client.d.ts +298 -58
- package/build/src/v1/entity_signals_mapping_service_client.js +444 -124
- package/build/src/v1/entity_signals_mapping_service_client.js.map +1 -1
- package/build/src/v1/entity_signals_mapping_service_proto_list.json +29 -3
- package/build/src/v1/gapic_metadata.json +412 -0
- package/build/src/v1/geo_target_service_client.d.ts +904 -0
- package/build/src/v1/geo_target_service_client.js +1369 -0
- package/build/src/v1/geo_target_service_client.js.map +1 -0
- package/build/src/v1/geo_target_service_client_config.json +34 -0
- package/build/src/v1/geo_target_service_proto_list.json +74 -0
- package/build/src/v1/index.d.ts +9 -0
- package/build/src/v1/index.js +19 -1
- package/build/src/v1/index.js.map +1 -1
- package/build/src/v1/network_service_client.d.ts +252 -12
- package/build/src/v1/network_service_client.js +397 -65
- package/build/src/v1/network_service_client.js.map +1 -1
- package/build/src/v1/network_service_proto_list.json +29 -3
- package/build/src/v1/operating_system_service_client.d.ts +904 -0
- package/build/src/v1/operating_system_service_client.js +1369 -0
- package/build/src/v1/operating_system_service_client.js.map +1 -0
- package/build/src/v1/operating_system_service_client_config.json +34 -0
- package/build/src/v1/operating_system_service_proto_list.json +74 -0
- package/build/src/v1/operating_system_version_service_client.d.ts +911 -0
- package/build/src/v1/operating_system_version_service_client.js +1373 -0
- package/build/src/v1/operating_system_version_service_client.js.map +1 -0
- package/build/src/v1/operating_system_version_service_client_config.json +34 -0
- package/build/src/v1/operating_system_version_service_proto_list.json +74 -0
- package/build/src/v1/order_service_client.d.ts +296 -56
- package/build/src/v1/order_service_client.js +402 -81
- package/build/src/v1/order_service_client.js.map +1 -1
- package/build/src/v1/order_service_proto_list.json +29 -3
- package/build/src/v1/placement_service_client.d.ts +291 -51
- package/build/src/v1/placement_service_client.js +402 -81
- package/build/src/v1/placement_service_client.js.map +1 -1
- package/build/src/v1/placement_service_proto_list.json +29 -3
- package/build/src/v1/private_auction_deal_service_client.d.ts +965 -0
- package/build/src/v1/private_auction_deal_service_client.js +1445 -0
- package/build/src/v1/private_auction_deal_service_client.js.map +1 -0
- package/build/src/v1/private_auction_deal_service_client_config.json +42 -0
- package/build/src/v1/private_auction_deal_service_proto_list.json +74 -0
- package/build/src/v1/private_auction_service_client.d.ts +962 -0
- package/build/src/v1/private_auction_service_client.js +1443 -0
- package/build/src/v1/private_auction_service_client.js.map +1 -0
- package/build/src/v1/private_auction_service_client_config.json +42 -0
- package/build/src/v1/private_auction_service_proto_list.json +74 -0
- package/build/src/v1/programmatic_buyer_service_client.d.ts +905 -0
- package/build/src/v1/programmatic_buyer_service_client.js +1369 -0
- package/build/src/v1/programmatic_buyer_service_client.js.map +1 -0
- package/build/src/v1/programmatic_buyer_service_client_config.json +34 -0
- package/build/src/v1/programmatic_buyer_service_proto_list.json +74 -0
- package/build/src/v1/report_service_client.d.ts +350 -110
- package/build/src/v1/report_service_client.js +471 -177
- package/build/src/v1/report_service_client.js.map +1 -1
- package/build/src/v1/report_service_proto_list.json +29 -3
- package/build/src/v1/role_service_client.d.ts +290 -50
- package/build/src/v1/role_service_client.js +402 -81
- package/build/src/v1/role_service_client.js.map +1 -1
- package/build/src/v1/role_service_proto_list.json +29 -3
- package/build/src/v1/taxonomy_category_service_client.d.ts +291 -51
- package/build/src/v1/taxonomy_category_service_client.js +404 -87
- package/build/src/v1/taxonomy_category_service_client.js.map +1 -1
- package/build/src/v1/taxonomy_category_service_proto_list.json +29 -3
- package/build/src/v1/user_service_client.d.ts +251 -11
- package/build/src/v1/user_service_client.js +388 -59
- package/build/src/v1/user_service_client.js.map +1 -1
- package/build/src/v1/user_service_proto_list.json +29 -3
- package/package.json +4 -4
- package/CHANGELOG.md +0 -40
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
// Copyright 2025 Google LLC
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
syntax = "proto3";
|
|
16
|
+
|
|
17
|
+
package google.ads.admanager.v1;
|
|
18
|
+
|
|
19
|
+
import "google/ads/admanager/v1/operating_system_version_messages.proto";
|
|
20
|
+
import "google/api/annotations.proto";
|
|
21
|
+
import "google/api/client.proto";
|
|
22
|
+
import "google/api/field_behavior.proto";
|
|
23
|
+
import "google/api/resource.proto";
|
|
24
|
+
|
|
25
|
+
option csharp_namespace = "Google.Ads.AdManager.V1";
|
|
26
|
+
option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
|
|
27
|
+
option java_multiple_files = true;
|
|
28
|
+
option java_outer_classname = "OperatingSystemVersionServiceProto";
|
|
29
|
+
option java_package = "com.google.ads.admanager.v1";
|
|
30
|
+
option php_namespace = "Google\\Ads\\AdManager\\V1";
|
|
31
|
+
option ruby_package = "Google::Ads::AdManager::V1";
|
|
32
|
+
|
|
33
|
+
// Provides methods for handling `OperatingSystemVersion` objects.
|
|
34
|
+
service OperatingSystemVersionService {
|
|
35
|
+
option (google.api.default_host) = "admanager.googleapis.com";
|
|
36
|
+
option (google.api.oauth_scopes) =
|
|
37
|
+
"https://www.googleapis.com/auth/admanager";
|
|
38
|
+
|
|
39
|
+
// API to retrieve a `OperatingSystemVersion` object.
|
|
40
|
+
rpc GetOperatingSystemVersion(GetOperatingSystemVersionRequest)
|
|
41
|
+
returns (OperatingSystemVersion) {
|
|
42
|
+
option (google.api.http) = {
|
|
43
|
+
get: "/v1/{name=networks/*/operatingSystemVersions/*}"
|
|
44
|
+
};
|
|
45
|
+
option (google.api.method_signature) = "name";
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// API to retrieve a list of `OperatingSystemVersion` objects.
|
|
49
|
+
rpc ListOperatingSystemVersions(ListOperatingSystemVersionsRequest)
|
|
50
|
+
returns (ListOperatingSystemVersionsResponse) {
|
|
51
|
+
option (google.api.http) = {
|
|
52
|
+
get: "/v1/{parent=networks/*}/operatingSystemVersions"
|
|
53
|
+
};
|
|
54
|
+
option (google.api.method_signature) = "parent";
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
// Request object for `GetOperatingSystemVersion` method.
|
|
59
|
+
message GetOperatingSystemVersionRequest {
|
|
60
|
+
// Required. The resource name of the OperatingSystemVersion.
|
|
61
|
+
// Format:
|
|
62
|
+
// `networks/{network_code}/operatingSystemVersions/{operating_system_version_id}`
|
|
63
|
+
string name = 1 [
|
|
64
|
+
(google.api.field_behavior) = REQUIRED,
|
|
65
|
+
(google.api.resource_reference) = {
|
|
66
|
+
type: "admanager.googleapis.com/OperatingSystemVersion"
|
|
67
|
+
}
|
|
68
|
+
];
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// Request object for `ListOperatingSystemVersions` method.
|
|
72
|
+
message ListOperatingSystemVersionsRequest {
|
|
73
|
+
// Required. The parent, which owns this collection of
|
|
74
|
+
// OperatingSystemVersions. Format: `networks/{network_code}`
|
|
75
|
+
string parent = 1 [
|
|
76
|
+
(google.api.field_behavior) = REQUIRED,
|
|
77
|
+
(google.api.resource_reference) = {
|
|
78
|
+
type: "admanager.googleapis.com/Network"
|
|
79
|
+
}
|
|
80
|
+
];
|
|
81
|
+
|
|
82
|
+
// Optional. The maximum number of `OperatingSystemVersions` to return. The
|
|
83
|
+
// service may return fewer than this value. If unspecified, at most 50
|
|
84
|
+
// `OperatingSystemVersions` will be returned. The maximum value is 1000;
|
|
85
|
+
// values above 1000 will be coerced to 1000.
|
|
86
|
+
int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
|
|
87
|
+
|
|
88
|
+
// Optional. A page token, received from a previous
|
|
89
|
+
// `ListOperatingSystemVersions` call. Provide this to retrieve the subsequent
|
|
90
|
+
// page.
|
|
91
|
+
//
|
|
92
|
+
// When paginating, all other parameters provided to
|
|
93
|
+
// `ListOperatingSystemVersions` must match the call that provided the page
|
|
94
|
+
// token.
|
|
95
|
+
string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
|
|
96
|
+
|
|
97
|
+
// Optional. Expression to filter the response.
|
|
98
|
+
// See syntax details at
|
|
99
|
+
// https://developers.google.com/ad-manager/api/beta/filters
|
|
100
|
+
string filter = 4 [(google.api.field_behavior) = OPTIONAL];
|
|
101
|
+
|
|
102
|
+
// Optional. Expression to specify sorting order.
|
|
103
|
+
// See syntax details at
|
|
104
|
+
// https://developers.google.com/ad-manager/api/beta/filters#order
|
|
105
|
+
string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
|
|
106
|
+
|
|
107
|
+
// Optional. Number of individual resources to skip while paginating.
|
|
108
|
+
int32 skip = 6 [(google.api.field_behavior) = OPTIONAL];
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
// Response object for `ListOperatingSystemVersionsRequest` containing matching
|
|
112
|
+
// `OperatingSystemVersion` objects.
|
|
113
|
+
message ListOperatingSystemVersionsResponse {
|
|
114
|
+
// The `OperatingSystemVersion` objects from the specified network.
|
|
115
|
+
repeated OperatingSystemVersion operating_system_versions = 1;
|
|
116
|
+
|
|
117
|
+
// A token, which can be sent as `page_token` to retrieve the next page.
|
|
118
|
+
// If this field is omitted, there are no subsequent pages.
|
|
119
|
+
string next_page_token = 2;
|
|
120
|
+
|
|
121
|
+
// Total number of `OperatingSystemVersion` objects.
|
|
122
|
+
// If a filter was included in the request, this reflects the total number
|
|
123
|
+
// after the filtering is applied.
|
|
124
|
+
//
|
|
125
|
+
// `total_size` will not be calculated in the response unless it has been
|
|
126
|
+
// included in a response field mask. The response field mask can be provided
|
|
127
|
+
// to the method by using the URL parameter `$fields` or `fields`, or by using
|
|
128
|
+
// the HTTP/gRPC header `X-Goog-FieldMask`.
|
|
129
|
+
//
|
|
130
|
+
// For more information, see
|
|
131
|
+
// https://developers.google.com/ad-manager/api/beta/field-masks
|
|
132
|
+
int32 total_size = 3;
|
|
133
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2025 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -45,18 +45,18 @@ message Order {
|
|
|
45
45
|
string name = 1 [(google.api.field_behavior) = IDENTIFIER];
|
|
46
46
|
|
|
47
47
|
// Output only. Order ID.
|
|
48
|
-
int64 order_id = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
|
|
48
|
+
optional int64 order_id = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
|
|
49
49
|
|
|
50
50
|
// Required. The display name of the Order. This value has a maximum length
|
|
51
51
|
// of 255 characters.
|
|
52
|
-
string display_name = 2 [(google.api.field_behavior) = REQUIRED];
|
|
52
|
+
optional string display_name = 2 [(google.api.field_behavior) = REQUIRED];
|
|
53
53
|
|
|
54
54
|
// Optional. Specifies whether or not the Order is a programmatic order.
|
|
55
|
-
bool programmatic = 3 [(google.api.field_behavior) = OPTIONAL];
|
|
55
|
+
optional bool programmatic = 3 [(google.api.field_behavior) = OPTIONAL];
|
|
56
56
|
|
|
57
57
|
// Required. The resource name of the User responsible for trafficking the
|
|
58
58
|
// Order. Format: "networks/{network_code}/users/{user_id}"
|
|
59
|
-
string trafficker = 23 [
|
|
59
|
+
optional string trafficker = 23 [
|
|
60
60
|
(google.api.field_behavior) = REQUIRED,
|
|
61
61
|
(google.api.resource_reference) = { type: "admanager.googleapis.com/User" }
|
|
62
62
|
];
|
|
@@ -73,7 +73,7 @@ message Order {
|
|
|
73
73
|
// Required. The resource name of the Company, which is of type
|
|
74
74
|
// Company.Type.ADVERTISER, to which this order belongs. Format:
|
|
75
75
|
// "networks/{network_code}/companies/{company_id}"
|
|
76
|
-
string advertiser = 6 [
|
|
76
|
+
optional string advertiser = 6 [
|
|
77
77
|
(google.api.field_behavior) = REQUIRED,
|
|
78
78
|
(google.api.resource_reference) = {
|
|
79
79
|
type: "admanager.googleapis.com/Company"
|
|
@@ -92,7 +92,7 @@ message Order {
|
|
|
92
92
|
// Optional. The resource name of the Company, which is of type
|
|
93
93
|
// Company.Type.AGENCY, with which this order is associated. Format:
|
|
94
94
|
// "networks/{network_code}/companies/{company_id}"
|
|
95
|
-
string agency = 8 [
|
|
95
|
+
optional string agency = 8 [
|
|
96
96
|
(google.api.field_behavior) = OPTIONAL,
|
|
97
97
|
(google.api.resource_reference) = {
|
|
98
98
|
type: "admanager.googleapis.com/Company"
|
|
@@ -116,60 +116,64 @@ message Order {
|
|
|
116
116
|
// Output only. The resource name of the User who created the Order on behalf
|
|
117
117
|
// of the advertiser. This value is assigned by Google. Format:
|
|
118
118
|
// "networks/{network_code}/users/{user_id}"
|
|
119
|
-
string creator = 10 [
|
|
119
|
+
optional string creator = 10 [
|
|
120
120
|
(google.api.field_behavior) = OUTPUT_ONLY,
|
|
121
121
|
(google.api.resource_reference) = { type: "admanager.googleapis.com/User" }
|
|
122
122
|
];
|
|
123
123
|
|
|
124
124
|
// Output only. The ISO 4217 3-letter currency code for the currency used by
|
|
125
125
|
// the Order. This value is the network's currency code.
|
|
126
|
-
string currency_code = 11
|
|
126
|
+
optional string currency_code = 11
|
|
127
|
+
[(google.api.field_behavior) = OUTPUT_ONLY];
|
|
127
128
|
|
|
128
129
|
// Output only. The instant at which the Order and its associated line items
|
|
129
130
|
// are eligible to begin serving. This attribute is derived from the line item
|
|
130
131
|
// of the order that has the earliest LineItem.start_time.
|
|
131
|
-
google.protobuf.Timestamp start_time = 19
|
|
132
|
+
optional google.protobuf.Timestamp start_time = 19
|
|
132
133
|
[(google.api.field_behavior) = OUTPUT_ONLY];
|
|
133
134
|
|
|
134
135
|
// Output only. The instant at which the Order and its associated line items
|
|
135
136
|
// stop being served. This attribute is derived from the line item of the
|
|
136
137
|
// order that has the latest LineItem.end_time.
|
|
137
|
-
google.protobuf.Timestamp end_time = 12
|
|
138
|
+
optional google.protobuf.Timestamp end_time = 12
|
|
138
139
|
[(google.api.field_behavior) = OUTPUT_ONLY];
|
|
139
140
|
|
|
140
141
|
// Output only. Indicates whether or not this Order has an end time.
|
|
141
|
-
bool unlimited_end_time = 45
|
|
142
|
+
optional bool unlimited_end_time = 45
|
|
143
|
+
[(google.api.field_behavior) = OUTPUT_ONLY];
|
|
142
144
|
|
|
143
145
|
// Optional. An arbitrary ID to associate to the Order, which can be used as a
|
|
144
146
|
// key to an external system.
|
|
145
|
-
|
|
147
|
+
optional int32 external_order_id = 13
|
|
148
|
+
[(google.api.field_behavior) = OPTIONAL];
|
|
146
149
|
|
|
147
150
|
// Output only. The archival status of the Order.
|
|
148
|
-
bool archived = 14 [(google.api.field_behavior) = OUTPUT_ONLY];
|
|
151
|
+
optional bool archived = 14 [(google.api.field_behavior) = OUTPUT_ONLY];
|
|
149
152
|
|
|
150
153
|
// Output only. The application which modified this order. This attribute is
|
|
151
154
|
// assigned by Google.
|
|
152
|
-
string last_modified_by_app = 15
|
|
155
|
+
optional string last_modified_by_app = 15
|
|
156
|
+
[(google.api.field_behavior) = OUTPUT_ONLY];
|
|
153
157
|
|
|
154
158
|
// Output only. The instant this Order was last modified.
|
|
155
|
-
google.protobuf.Timestamp update_time = 16
|
|
159
|
+
optional google.protobuf.Timestamp update_time = 16
|
|
156
160
|
[(google.api.field_behavior) = OUTPUT_ONLY];
|
|
157
161
|
|
|
158
162
|
// Optional. Provides any additional notes that may annotate the Order. This
|
|
159
163
|
// attribute has a maximum length of 65,535 characters.
|
|
160
|
-
string notes = 17 [(google.api.field_behavior) = OPTIONAL];
|
|
164
|
+
optional string notes = 17 [(google.api.field_behavior) = OPTIONAL];
|
|
161
165
|
|
|
162
166
|
// Optional. The purchase order number for the Order. This value has a maximum
|
|
163
167
|
// length of 63 characters.
|
|
164
|
-
string po_number = 18 [(google.api.field_behavior) = OPTIONAL];
|
|
168
|
+
optional string po_number = 18 [(google.api.field_behavior) = OPTIONAL];
|
|
165
169
|
|
|
166
170
|
// Output only. The status of the Order.
|
|
167
|
-
OrderStatusEnum.OrderStatus status = 20
|
|
171
|
+
optional OrderStatusEnum.OrderStatus status = 20
|
|
168
172
|
[(google.api.field_behavior) = OUTPUT_ONLY];
|
|
169
173
|
|
|
170
174
|
// Optional. The resource name of the User responsible for the sales of the
|
|
171
175
|
// Order. Format: "networks/{network_code}/users/{user_id}"
|
|
172
|
-
string salesperson = 21 [
|
|
176
|
+
optional string salesperson = 21 [
|
|
173
177
|
(google.api.field_behavior) = OPTIONAL,
|
|
174
178
|
(google.api.resource_reference) = { type: "admanager.googleapis.com/User" }
|
|
175
179
|
];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2025 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -33,6 +33,8 @@ option ruby_package = "Google::Ads::AdManager::V1";
|
|
|
33
33
|
// Provides methods for handling `Order` objects.
|
|
34
34
|
service OrderService {
|
|
35
35
|
option (google.api.default_host) = "admanager.googleapis.com";
|
|
36
|
+
option (google.api.oauth_scopes) =
|
|
37
|
+
"https://www.googleapis.com/auth/admanager";
|
|
36
38
|
|
|
37
39
|
// API to retrieve an Order object.
|
|
38
40
|
rpc GetOrder(GetOrderRequest) returns (Order) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2025 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -45,25 +45,25 @@ message Placement {
|
|
|
45
45
|
// Output only. `Placement` ID.
|
|
46
46
|
int64 placement_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
|
|
47
47
|
|
|
48
|
-
// Required. The display name of the placement.
|
|
49
|
-
// characters.
|
|
50
|
-
string display_name = 3 [(google.api.field_behavior) = REQUIRED];
|
|
48
|
+
// Required. The display name of the placement. This attribute has a maximum
|
|
49
|
+
// length of 255 characters.
|
|
50
|
+
optional string display_name = 3 [(google.api.field_behavior) = REQUIRED];
|
|
51
51
|
|
|
52
|
-
// Optional. A description of the Placement. This
|
|
53
|
-
//
|
|
54
|
-
string description = 4 [(google.api.field_behavior) = OPTIONAL];
|
|
52
|
+
// Optional. A description of the Placement. This attribute has a maximum
|
|
53
|
+
// length of 65,535 characters.
|
|
54
|
+
optional string description = 4 [(google.api.field_behavior) = OPTIONAL];
|
|
55
55
|
|
|
56
56
|
// Output only. A string used to uniquely identify the Placement for purposes
|
|
57
|
-
// of serving the ad. This attribute is
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
// of serving the ad. This attribute is assigned by Google.
|
|
58
|
+
optional string placement_code = 5
|
|
59
|
+
[(google.api.field_behavior) = OUTPUT_ONLY];
|
|
60
60
|
|
|
61
|
-
// Output only. The status of the Placement.
|
|
62
|
-
PlacementStatusEnum.PlacementStatus status = 6
|
|
61
|
+
// Output only. The status of the Placement.
|
|
62
|
+
optional PlacementStatusEnum.PlacementStatus status = 6
|
|
63
63
|
[(google.api.field_behavior) = OUTPUT_ONLY];
|
|
64
64
|
|
|
65
65
|
// Optional. The resource names of AdUnits that constitute the Placement.
|
|
66
|
-
// Format: "networks/{network_code}/adUnits/{
|
|
66
|
+
// Format: "networks/{network_code}/adUnits/{ad_unit}"
|
|
67
67
|
repeated string targeted_ad_units = 7 [
|
|
68
68
|
(google.api.field_behavior) = OPTIONAL,
|
|
69
69
|
(google.api.resource_reference) = {
|
|
@@ -72,6 +72,6 @@ message Placement {
|
|
|
72
72
|
];
|
|
73
73
|
|
|
74
74
|
// Output only. The instant this Placement was last modified.
|
|
75
|
-
google.protobuf.Timestamp update_time = 9
|
|
75
|
+
optional google.protobuf.Timestamp update_time = 9
|
|
76
76
|
[(google.api.field_behavior) = OUTPUT_ONLY];
|
|
77
77
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2025 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -33,6 +33,8 @@ option ruby_package = "Google::Ads::AdManager::V1";
|
|
|
33
33
|
// Provides methods for handling `Placement` objects.
|
|
34
34
|
service PlacementService {
|
|
35
35
|
option (google.api.default_host) = "admanager.googleapis.com";
|
|
36
|
+
option (google.api.oauth_scopes) =
|
|
37
|
+
"https://www.googleapis.com/auth/admanager";
|
|
36
38
|
|
|
37
39
|
// API to retrieve a `Placement` object.
|
|
38
40
|
rpc GetPlacement(GetPlacementRequest) returns (Placement) {
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
// Copyright 2025 Google LLC
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
syntax = "proto3";
|
|
16
|
+
|
|
17
|
+
package google.ads.admanager.v1;
|
|
18
|
+
|
|
19
|
+
import "google/ads/admanager/v1/deal_buyer_permission_type_enum.proto";
|
|
20
|
+
import "google/ads/admanager/v1/private_marketplace_enums.proto";
|
|
21
|
+
import "google/ads/admanager/v1/size.proto";
|
|
22
|
+
import "google/ads/admanager/v1/targeting.proto";
|
|
23
|
+
import "google/api/field_behavior.proto";
|
|
24
|
+
import "google/api/resource.proto";
|
|
25
|
+
import "google/protobuf/timestamp.proto";
|
|
26
|
+
import "google/type/money.proto";
|
|
27
|
+
|
|
28
|
+
option csharp_namespace = "Google.Ads.AdManager.V1";
|
|
29
|
+
option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
|
|
30
|
+
option java_multiple_files = true;
|
|
31
|
+
option java_outer_classname = "PrivateAuctionDealMessagesProto";
|
|
32
|
+
option java_package = "com.google.ads.admanager.v1";
|
|
33
|
+
option php_namespace = "Google\\Ads\\AdManager\\V1";
|
|
34
|
+
option ruby_package = "Google::Ads::AdManager::V1";
|
|
35
|
+
|
|
36
|
+
// The `PrivateAuctionDeal` resource.
|
|
37
|
+
message PrivateAuctionDeal {
|
|
38
|
+
option (google.api.resource) = {
|
|
39
|
+
type: "admanager.googleapis.com/PrivateAuctionDeal"
|
|
40
|
+
pattern: "networks/{network_code}/privateAuctionDeals/{private_auction_deal}"
|
|
41
|
+
plural: "privateAuctionDeals"
|
|
42
|
+
singular: "privateAuctionDeal"
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
// Contains buyer data. This data is required by the Marketplace API.
|
|
46
|
+
message BuyerData {
|
|
47
|
+
// Optional. The email contacts of the buyer of the `PrivateAuctionDeal`.
|
|
48
|
+
repeated string buyer_emails = 1 [(google.api.field_behavior) = OPTIONAL];
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// Identifier. The resource name of the `PrivateAuctionDeal`.
|
|
52
|
+
// Format:
|
|
53
|
+
// `networks/{network_code}/privateAuctionDeals/{private_auction_deal_id}`
|
|
54
|
+
string name = 1 [(google.api.field_behavior) = IDENTIFIER];
|
|
55
|
+
|
|
56
|
+
// Output only. `PrivateAuctionDeal` ID.
|
|
57
|
+
optional int64 private_auction_deal_id = 2
|
|
58
|
+
[(google.api.field_behavior) = OUTPUT_ONLY];
|
|
59
|
+
|
|
60
|
+
// Immutable. The ID of the
|
|
61
|
+
// [PrivateAuction](google.ads.admanager.v1.PrivateAuction).
|
|
62
|
+
optional int64 private_auction_id = 3
|
|
63
|
+
[(google.api.field_behavior) = IMMUTABLE];
|
|
64
|
+
|
|
65
|
+
// Output only. The display name of the
|
|
66
|
+
// [PrivateAuction](google.ads.admanager.v1.PrivateAuction).
|
|
67
|
+
optional string private_auction_display_name = 20
|
|
68
|
+
[(google.api.field_behavior) = OUTPUT_ONLY];
|
|
69
|
+
|
|
70
|
+
// Immutable. The account ID of the buyer of the `PrivateAuctionDeal`.
|
|
71
|
+
optional int64 buyer_account_id = 4 [(google.api.field_behavior) = IMMUTABLE];
|
|
72
|
+
|
|
73
|
+
// Output only. The external ID of the `PrivateAuctionDeal`.
|
|
74
|
+
optional int64 external_deal_id = 5
|
|
75
|
+
[(google.api.field_behavior) = OUTPUT_ONLY];
|
|
76
|
+
|
|
77
|
+
// Optional. The targeting of the `PrivateAuctionDeal`.
|
|
78
|
+
optional Targeting targeting = 6 [(google.api.field_behavior) = OPTIONAL];
|
|
79
|
+
|
|
80
|
+
// Optional. The end time of the `PrivateAuctionDeal`.
|
|
81
|
+
optional google.protobuf.Timestamp end_time = 8
|
|
82
|
+
[(google.api.field_behavior) = OPTIONAL];
|
|
83
|
+
|
|
84
|
+
// Required. The floor price of the `PrivateAuctionDeal`.
|
|
85
|
+
optional google.type.Money floor_price = 9
|
|
86
|
+
[(google.api.field_behavior) = REQUIRED];
|
|
87
|
+
|
|
88
|
+
// Optional. The expected creative sizes of the `PrivateAuctionDeal`.
|
|
89
|
+
repeated Size creative_sizes = 18 [(google.api.field_behavior) = OPTIONAL];
|
|
90
|
+
|
|
91
|
+
// Output only. The status of the `PrivateAuctionDeal`.
|
|
92
|
+
optional PrivateMarketplaceDealStatusEnum.PrivateMarketplaceDealStatus
|
|
93
|
+
status = 10 [(google.api.field_behavior) = OUTPUT_ONLY];
|
|
94
|
+
|
|
95
|
+
// Optional. Whether the deal is enabled with priority over open auction.
|
|
96
|
+
optional bool auction_priority_enabled = 11
|
|
97
|
+
[(google.api.field_behavior) = OPTIONAL];
|
|
98
|
+
|
|
99
|
+
// Optional. Whether the deal has block override enabled.
|
|
100
|
+
optional bool block_override_enabled = 12
|
|
101
|
+
[(google.api.field_behavior) = OPTIONAL];
|
|
102
|
+
|
|
103
|
+
// Optional. The buyer permission model defining how the deal would transact
|
|
104
|
+
// among all buyers under the same bidder.
|
|
105
|
+
optional DealBuyerPermissionTypeEnum.DealBuyerPermissionType
|
|
106
|
+
buyer_permission_type = 13 [(google.api.field_behavior) = OPTIONAL];
|
|
107
|
+
|
|
108
|
+
// Optional. The buyer data required by the Marketplace API.
|
|
109
|
+
optional BuyerData buyer_data = 14 [(google.api.field_behavior) = OPTIONAL];
|
|
110
|
+
|
|
111
|
+
// Output only. The instant at which the `PrivateAuctionDeal` was created.
|
|
112
|
+
optional google.protobuf.Timestamp create_time = 15
|
|
113
|
+
[(google.api.field_behavior) = OUTPUT_ONLY];
|
|
114
|
+
|
|
115
|
+
// Output only. The instant at which the `PrivateAuctionDeal` was last
|
|
116
|
+
// updated.
|
|
117
|
+
optional google.protobuf.Timestamp update_time = 16
|
|
118
|
+
[(google.api.field_behavior) = OUTPUT_ONLY];
|
|
119
|
+
}
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
// Copyright 2025 Google LLC
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
syntax = "proto3";
|
|
16
|
+
|
|
17
|
+
package google.ads.admanager.v1;
|
|
18
|
+
|
|
19
|
+
import "google/ads/admanager/v1/private_auction_deal_messages.proto";
|
|
20
|
+
import "google/api/annotations.proto";
|
|
21
|
+
import "google/api/client.proto";
|
|
22
|
+
import "google/api/field_behavior.proto";
|
|
23
|
+
import "google/api/resource.proto";
|
|
24
|
+
import "google/protobuf/field_mask.proto";
|
|
25
|
+
|
|
26
|
+
option csharp_namespace = "Google.Ads.AdManager.V1";
|
|
27
|
+
option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
|
|
28
|
+
option java_multiple_files = true;
|
|
29
|
+
option java_outer_classname = "PrivateAuctionDealServiceProto";
|
|
30
|
+
option java_package = "com.google.ads.admanager.v1";
|
|
31
|
+
option php_namespace = "Google\\Ads\\AdManager\\V1";
|
|
32
|
+
option ruby_package = "Google::Ads::AdManager::V1";
|
|
33
|
+
|
|
34
|
+
// Provides methods for handling `PrivateAuctionDeal` objects.
|
|
35
|
+
service PrivateAuctionDealService {
|
|
36
|
+
option (google.api.default_host) = "admanager.googleapis.com";
|
|
37
|
+
option (google.api.oauth_scopes) =
|
|
38
|
+
"https://www.googleapis.com/auth/admanager";
|
|
39
|
+
|
|
40
|
+
// API to retrieve a `PrivateAuctionDeal` object.
|
|
41
|
+
rpc GetPrivateAuctionDeal(GetPrivateAuctionDealRequest)
|
|
42
|
+
returns (PrivateAuctionDeal) {
|
|
43
|
+
option (google.api.http) = {
|
|
44
|
+
get: "/v1/{name=networks/*/privateAuctionDeals/*}"
|
|
45
|
+
};
|
|
46
|
+
option (google.api.method_signature) = "name";
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
// API to retrieve a list of `PrivateAuctionDeal` objects.
|
|
50
|
+
rpc ListPrivateAuctionDeals(ListPrivateAuctionDealsRequest)
|
|
51
|
+
returns (ListPrivateAuctionDealsResponse) {
|
|
52
|
+
option (google.api.http) = {
|
|
53
|
+
get: "/v1/{parent=networks/*}/privateAuctionDeals"
|
|
54
|
+
};
|
|
55
|
+
option (google.api.method_signature) = "parent";
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
// API to create a `PrivateAuctionDeal` object.
|
|
59
|
+
rpc CreatePrivateAuctionDeal(CreatePrivateAuctionDealRequest)
|
|
60
|
+
returns (PrivateAuctionDeal) {
|
|
61
|
+
option (google.api.http) = {
|
|
62
|
+
post: "/v1/{parent=networks/*}/privateAuctionDeals"
|
|
63
|
+
body: "private_auction_deal"
|
|
64
|
+
};
|
|
65
|
+
option (google.api.method_signature) = "parent,private_auction_deal";
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
// API to update a `PrivateAuctionDeal` object.
|
|
69
|
+
rpc UpdatePrivateAuctionDeal(UpdatePrivateAuctionDealRequest)
|
|
70
|
+
returns (PrivateAuctionDeal) {
|
|
71
|
+
option (google.api.http) = {
|
|
72
|
+
patch: "/v1/{private_auction_deal.name=networks/*/privateAuctionDeals/*}"
|
|
73
|
+
body: "private_auction_deal"
|
|
74
|
+
};
|
|
75
|
+
option (google.api.method_signature) = "private_auction_deal,update_mask";
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
// Request object for `GetPrivateAuctionDeal` method.
|
|
80
|
+
message GetPrivateAuctionDealRequest {
|
|
81
|
+
// Required. The resource name of the PrivateAuctionDeal.
|
|
82
|
+
// Format:
|
|
83
|
+
// `networks/{network_code}/privateAuctionDeals/{private_auction_deal_id}`
|
|
84
|
+
string name = 1 [
|
|
85
|
+
(google.api.field_behavior) = REQUIRED,
|
|
86
|
+
(google.api.resource_reference) = {
|
|
87
|
+
type: "admanager.googleapis.com/PrivateAuctionDeal"
|
|
88
|
+
}
|
|
89
|
+
];
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
// Request object for `ListPrivateAuctionDeals` method.
|
|
93
|
+
message ListPrivateAuctionDealsRequest {
|
|
94
|
+
// Required. The parent, which owns this collection of PrivateAuctionDeals.
|
|
95
|
+
// Format:
|
|
96
|
+
// `networks/{network_code}`
|
|
97
|
+
string parent = 1 [
|
|
98
|
+
(google.api.field_behavior) = REQUIRED,
|
|
99
|
+
(google.api.resource_reference) = {
|
|
100
|
+
type: "admanager.googleapis.com/Network"
|
|
101
|
+
}
|
|
102
|
+
];
|
|
103
|
+
|
|
104
|
+
// Optional. The maximum number of `PrivateAuctionDeals` to return. The
|
|
105
|
+
// service may return fewer than this value. If unspecified, at most 50
|
|
106
|
+
// `PrivateAuctionDeals` will be returned. The maximum value is 1000;
|
|
107
|
+
// values above 1000 will be coerced to 1000.
|
|
108
|
+
int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
|
|
109
|
+
|
|
110
|
+
// Optional. A page token, received from a previous `ListPrivateAuctionDeals`
|
|
111
|
+
// call. Provide this to retrieve the subsequent page.
|
|
112
|
+
//
|
|
113
|
+
// When paginating, all other parameters provided to
|
|
114
|
+
// `ListPrivateAuctionDeals` must match the call that provided the page
|
|
115
|
+
// token.
|
|
116
|
+
string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
|
|
117
|
+
|
|
118
|
+
// Optional. Expression to filter the response.
|
|
119
|
+
// See syntax details at
|
|
120
|
+
// https://developers.google.com/ad-manager/api/beta/filters
|
|
121
|
+
string filter = 4 [(google.api.field_behavior) = OPTIONAL];
|
|
122
|
+
|
|
123
|
+
// Optional. Expression to specify sorting order.
|
|
124
|
+
// See syntax details at
|
|
125
|
+
// https://developers.google.com/ad-manager/api/beta/filters#order
|
|
126
|
+
string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
|
|
127
|
+
|
|
128
|
+
// Optional. Number of individual resources to skip while paginating.
|
|
129
|
+
int32 skip = 6 [(google.api.field_behavior) = OPTIONAL];
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
// Response object for `ListPrivateAuctionDealsRequest` containing matching
|
|
133
|
+
// `PrivateAuctionDeal` objects.
|
|
134
|
+
message ListPrivateAuctionDealsResponse {
|
|
135
|
+
// The `PrivateAuctionDeal` objects from the specified network.
|
|
136
|
+
repeated PrivateAuctionDeal private_auction_deals = 1;
|
|
137
|
+
|
|
138
|
+
// A token, which can be sent as `page_token` to retrieve the next page.
|
|
139
|
+
// If this field is omitted, there are no subsequent pages.
|
|
140
|
+
string next_page_token = 2;
|
|
141
|
+
|
|
142
|
+
// Total number of `PrivateAuctionDeal` objects.
|
|
143
|
+
// If a filter was included in the request, this reflects the total number
|
|
144
|
+
// after the filtering is applied.
|
|
145
|
+
//
|
|
146
|
+
// `total_size` will not be calculated in the response unless it has been
|
|
147
|
+
// included in a response field mask. The response field mask can be provided
|
|
148
|
+
// to the method by using the URL parameter `$fields` or `fields`, or by using
|
|
149
|
+
// the HTTP/gRPC header `X-Goog-FieldMask`.
|
|
150
|
+
//
|
|
151
|
+
// For more information, see
|
|
152
|
+
// https://developers.google.com/ad-manager/api/beta/field-masks
|
|
153
|
+
int32 total_size = 3;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
// Request object for `CreatePrivateAuctionDeal` method.
|
|
157
|
+
message CreatePrivateAuctionDealRequest {
|
|
158
|
+
// Required. The parent resource where this `PrivateAuctionDeal` will be
|
|
159
|
+
// created. Format: `networks/{network_code}`
|
|
160
|
+
string parent = 1 [
|
|
161
|
+
(google.api.field_behavior) = REQUIRED,
|
|
162
|
+
(google.api.resource_reference) = {
|
|
163
|
+
type: "admanager.googleapis.com/Network"
|
|
164
|
+
}
|
|
165
|
+
];
|
|
166
|
+
|
|
167
|
+
// Required. The `PrivateAuctionDeal` to create.
|
|
168
|
+
PrivateAuctionDeal private_auction_deal = 2
|
|
169
|
+
[(google.api.field_behavior) = REQUIRED];
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
// Request object for `UpdatePrivateAuctionDeal` method.
|
|
173
|
+
message UpdatePrivateAuctionDealRequest {
|
|
174
|
+
// Required. The `PrivateAuctionDeal` to update.
|
|
175
|
+
//
|
|
176
|
+
// The `PrivateAuctionDeal`'s `name` is used to identify the
|
|
177
|
+
// `PrivateAuctionDeal` to update.
|
|
178
|
+
PrivateAuctionDeal private_auction_deal = 1
|
|
179
|
+
[(google.api.field_behavior) = REQUIRED];
|
|
180
|
+
|
|
181
|
+
// Required. The list of fields to update.
|
|
182
|
+
google.protobuf.FieldMask update_mask = 2
|
|
183
|
+
[(google.api.field_behavior) = REQUIRED];
|
|
184
|
+
}
|