@google-ads/admanager 0.1.0
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/CHANGELOG.md +10 -0
- package/LICENSE +202 -0
- package/README.md +236 -0
- package/build/protos/google/ads/admanager/v1/ad_unit_enums.proto +81 -0
- package/build/protos/google/ads/admanager/v1/ad_unit_messages.proto +230 -0
- package/build/protos/google/ads/admanager/v1/ad_unit_service.proto +195 -0
- package/build/protos/google/ads/admanager/v1/admanager_error.proto +52 -0
- package/build/protos/google/ads/admanager/v1/applied_label.proto +41 -0
- package/build/protos/google/ads/admanager/v1/company_credit_status_enum.proto +97 -0
- package/build/protos/google/ads/admanager/v1/company_messages.proto +122 -0
- package/build/protos/google/ads/admanager/v1/company_service.proto +126 -0
- package/build/protos/google/ads/admanager/v1/company_type_enum.proto +51 -0
- package/build/protos/google/ads/admanager/v1/contact_messages.proto +49 -0
- package/build/protos/google/ads/admanager/v1/custom_field_enums.proto +110 -0
- package/build/protos/google/ads/admanager/v1/custom_field_messages.proto +87 -0
- package/build/protos/google/ads/admanager/v1/custom_field_service.proto +127 -0
- package/build/protos/google/ads/admanager/v1/custom_field_value.proto +62 -0
- package/build/protos/google/ads/admanager/v1/custom_targeting_key_enums.proto +76 -0
- package/build/protos/google/ads/admanager/v1/custom_targeting_key_messages.proto +69 -0
- package/build/protos/google/ads/admanager/v1/custom_targeting_key_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/custom_targeting_value_enums.proto +90 -0
- package/build/protos/google/ads/admanager/v1/custom_targeting_value_messages.proto +66 -0
- package/build/protos/google/ads/admanager/v1/custom_targeting_value_service.proto +132 -0
- package/build/protos/google/ads/admanager/v1/entity_signals_mapping_messages.proto +64 -0
- package/build/protos/google/ads/admanager/v1/entity_signals_mapping_service.proto +252 -0
- package/build/protos/google/ads/admanager/v1/environment_type_enum.proto +41 -0
- package/build/protos/google/ads/admanager/v1/frequency_cap.proto +39 -0
- package/build/protos/google/ads/admanager/v1/label_messages.proto +42 -0
- package/build/protos/google/ads/admanager/v1/network_messages.proto +79 -0
- package/build/protos/google/ads/admanager/v1/network_service.proto +72 -0
- package/build/protos/google/ads/admanager/v1/order_enums.proto +59 -0
- package/build/protos/google/ads/admanager/v1/order_messages.proto +209 -0
- package/build/protos/google/ads/admanager/v1/order_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/placement_enums.proto +44 -0
- package/build/protos/google/ads/admanager/v1/placement_messages.proto +77 -0
- package/build/protos/google/ads/admanager/v1/placement_service.proto +126 -0
- package/build/protos/google/ads/admanager/v1/report_service.proto +3526 -0
- package/build/protos/google/ads/admanager/v1/role_enums.proto +41 -0
- package/build/protos/google/ads/admanager/v1/role_messages.proto +59 -0
- package/build/protos/google/ads/admanager/v1/role_service.proto +122 -0
- package/build/protos/google/ads/admanager/v1/size.proto +47 -0
- package/build/protos/google/ads/admanager/v1/size_type_enum.proto +62 -0
- package/build/protos/google/ads/admanager/v1/taxonomy_category_messages.proto +70 -0
- package/build/protos/google/ads/admanager/v1/taxonomy_category_service.proto +128 -0
- package/build/protos/google/ads/admanager/v1/taxonomy_type_enum.proto +51 -0
- package/build/protos/google/ads/admanager/v1/team_messages.proto +46 -0
- package/build/protos/google/ads/admanager/v1/time_unit_enum.proto +59 -0
- package/build/protos/google/ads/admanager/v1/user_messages.proto +78 -0
- package/build/protos/google/ads/admanager/v1/user_service.proto +57 -0
- package/build/protos/protos.d.ts +23491 -0
- package/build/protos/protos.js +69798 -0
- package/build/protos/protos.json +7273 -0
- package/build/src/index.d.ts +47 -0
- package/build/src/index.js +67 -0
- package/build/src/index.js.map +1 -0
- package/build/src/v1/ad_unit_service_client.d.ts +794 -0
- package/build/src/v1/ad_unit_service_client.js +1136 -0
- package/build/src/v1/ad_unit_service_client.js.map +1 -0
- package/build/src/v1/ad_unit_service_client_config.json +38 -0
- package/build/src/v1/company_service_client.d.ts +663 -0
- package/build/src/v1/company_service_client.js +999 -0
- package/build/src/v1/company_service_client.js.map +1 -0
- package/build/src/v1/company_service_client_config.json +34 -0
- package/build/src/v1/custom_field_service_client.d.ts +663 -0
- package/build/src/v1/custom_field_service_client.js +1002 -0
- package/build/src/v1/custom_field_service_client.js.map +1 -0
- package/build/src/v1/custom_field_service_client_config.json +34 -0
- package/build/src/v1/custom_targeting_key_service_client.d.ts +664 -0
- package/build/src/v1/custom_targeting_key_service_client.js +1004 -0
- package/build/src/v1/custom_targeting_key_service_client.js.map +1 -0
- package/build/src/v1/custom_targeting_key_service_client_config.json +34 -0
- package/build/src/v1/custom_targeting_value_service_client.d.ts +673 -0
- package/build/src/v1/custom_targeting_value_service_client.js +1010 -0
- package/build/src/v1/custom_targeting_value_service_client.js.map +1 -0
- package/build/src/v1/custom_targeting_value_service_client_config.json +34 -0
- package/build/src/v1/entity_signals_mapping_service_client.d.ts +782 -0
- package/build/src/v1/entity_signals_mapping_service_client.js +1096 -0
- package/build/src/v1/entity_signals_mapping_service_client.js.map +1 -0
- package/build/src/v1/entity_signals_mapping_service_client_config.json +50 -0
- package/build/src/v1/index.d.ts +13 -0
- package/build/src/v1/index.js +47 -0
- package/build/src/v1/index.js.map +1 -0
- package/build/src/v1/network_service_client.d.ts +552 -0
- package/build/src/v1/network_service_client.js +877 -0
- package/build/src/v1/network_service_client.js.map +1 -0
- package/build/src/v1/network_service_client_config.json +34 -0
- package/build/src/v1/order_service_client.d.ts +668 -0
- package/build/src/v1/order_service_client.js +999 -0
- package/build/src/v1/order_service_client.js.map +1 -0
- package/build/src/v1/order_service_client_config.json +48 -0
- package/build/src/v1/placement_service_client.d.ts +663 -0
- package/build/src/v1/placement_service_client.js +999 -0
- package/build/src/v1/placement_service_client.js.map +1 -0
- package/build/src/v1/placement_service_client_config.json +34 -0
- package/build/src/v1/report_service_client.d.ts +975 -0
- package/build/src/v1/report_service_client.js +1352 -0
- package/build/src/v1/report_service_client.js.map +1 -0
- package/build/src/v1/report_service_client_config.json +50 -0
- package/build/src/v1/role_service_client.d.ts +660 -0
- package/build/src/v1/role_service_client.js +997 -0
- package/build/src/v1/role_service_client.js.map +1 -0
- package/build/src/v1/role_service_client_config.json +34 -0
- package/build/src/v1/taxonomy_category_service_client.d.ts +663 -0
- package/build/src/v1/taxonomy_category_service_client.js +1003 -0
- package/build/src/v1/taxonomy_category_service_client.js.map +1 -0
- package/build/src/v1/taxonomy_category_service_client_config.json +34 -0
- package/build/src/v1/user_service_client.d.ts +534 -0
- package/build/src/v1/user_service_client.js +861 -0
- package/build/src/v1/user_service_client.js.map +1 -0
- package/build/src/v1/user_service_client_config.json +30 -0
- package/package.json +70 -0
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
// Copyright 2024 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
|
+
option csharp_namespace = "Google.Ads.AdManager.V1";
|
|
20
|
+
option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
|
|
21
|
+
option java_multiple_files = true;
|
|
22
|
+
option java_outer_classname = "TimeUnitEnumProto";
|
|
23
|
+
option java_package = "com.google.ads.admanager.v1";
|
|
24
|
+
option php_namespace = "Google\\Ads\\AdManager\\V1";
|
|
25
|
+
option ruby_package = "Google::Ads::AdManager::V1";
|
|
26
|
+
|
|
27
|
+
// Wrapper message for TimeUnit.
|
|
28
|
+
message TimeUnitEnum {
|
|
29
|
+
// Unit of time for the frequency cap.
|
|
30
|
+
enum TimeUnit {
|
|
31
|
+
// Default value. This value is unused.
|
|
32
|
+
TIME_UNIT_UNSPECIFIED = 0;
|
|
33
|
+
|
|
34
|
+
// Minute
|
|
35
|
+
MINUTE = 1;
|
|
36
|
+
|
|
37
|
+
// Hour
|
|
38
|
+
HOUR = 2;
|
|
39
|
+
|
|
40
|
+
// Day
|
|
41
|
+
DAY = 3;
|
|
42
|
+
|
|
43
|
+
// Week
|
|
44
|
+
WEEK = 4;
|
|
45
|
+
|
|
46
|
+
// Month
|
|
47
|
+
MONTH = 5;
|
|
48
|
+
|
|
49
|
+
// Lifetime
|
|
50
|
+
LIFETIME = 6;
|
|
51
|
+
|
|
52
|
+
// Per pod of ads in a video stream. Only valid for entities in a
|
|
53
|
+
// VIDEO_PLAYER environment.
|
|
54
|
+
POD = 7;
|
|
55
|
+
|
|
56
|
+
// Per video stream. Only valid for entities in a VIDEO_PLAYER environment.
|
|
57
|
+
STREAM = 8;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
// Copyright 2024 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/api/field_behavior.proto";
|
|
20
|
+
import "google/api/resource.proto";
|
|
21
|
+
|
|
22
|
+
option csharp_namespace = "Google.Ads.AdManager.V1";
|
|
23
|
+
option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
|
|
24
|
+
option java_multiple_files = true;
|
|
25
|
+
option java_outer_classname = "UserMessagesProto";
|
|
26
|
+
option java_package = "com.google.ads.admanager.v1";
|
|
27
|
+
option php_namespace = "Google\\Ads\\AdManager\\V1";
|
|
28
|
+
option ruby_package = "Google::Ads::AdManager::V1";
|
|
29
|
+
|
|
30
|
+
// The User resource.
|
|
31
|
+
message User {
|
|
32
|
+
option (google.api.resource) = {
|
|
33
|
+
type: "admanager.googleapis.com/User"
|
|
34
|
+
pattern: "networks/{network_code}/users/{user}"
|
|
35
|
+
plural: "users"
|
|
36
|
+
singular: "user"
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
// Identifier. The resource name of the User.
|
|
40
|
+
// Format: `networks/{network_code}/users/{user_id}`
|
|
41
|
+
string name = 1 [(google.api.field_behavior) = IDENTIFIER];
|
|
42
|
+
|
|
43
|
+
// Output only. `User` ID.
|
|
44
|
+
int64 user_id = 10 [(google.api.field_behavior) = OUTPUT_ONLY];
|
|
45
|
+
|
|
46
|
+
// Required. The name of the User. It has a maximum length of 128 characters.
|
|
47
|
+
string display_name = 2 [(google.api.field_behavior) = REQUIRED];
|
|
48
|
+
|
|
49
|
+
// Required. The email or login of the User. In order to create a new user,
|
|
50
|
+
// you must already have a Google Account.
|
|
51
|
+
string email = 3 [(google.api.field_behavior) = REQUIRED];
|
|
52
|
+
|
|
53
|
+
// Required. The unique Role ID of the User. Roles that are created by Google
|
|
54
|
+
// will have negative IDs.
|
|
55
|
+
string role = 4 [
|
|
56
|
+
(google.api.field_behavior) = REQUIRED,
|
|
57
|
+
(google.api.resource_reference) = { type: "admanager.googleapis.com/Role" }
|
|
58
|
+
];
|
|
59
|
+
|
|
60
|
+
// Output only. Specifies whether or not the User is active. An inactive user
|
|
61
|
+
// cannot log in to the system or perform any operations.
|
|
62
|
+
bool active = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
|
|
63
|
+
|
|
64
|
+
// Optional. An identifier for the User that is meaningful to the publisher.
|
|
65
|
+
// This attribute has a maximum length of 255 characters.
|
|
66
|
+
string external_id = 7 [(google.api.field_behavior) = OPTIONAL];
|
|
67
|
+
|
|
68
|
+
// Output only. Whether the user is an OAuth2 service account user.
|
|
69
|
+
// Service account users can only be added through the UI.
|
|
70
|
+
bool service_account = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
|
|
71
|
+
|
|
72
|
+
// Optional. The IANA Time Zone Database time zone, e.g. "America/New_York",
|
|
73
|
+
// used in the orders and line items UI for this User. If not provided, the UI
|
|
74
|
+
// then defaults to using the Network's timezone. This setting only affects
|
|
75
|
+
// the UI for this user and does not affect the timezone of any dates and
|
|
76
|
+
// times returned in API responses.
|
|
77
|
+
string orders_ui_local_time_zone = 9 [(google.api.field_behavior) = OPTIONAL];
|
|
78
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
// Copyright 2024 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/user_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 = "UserServiceProto";
|
|
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 User objects.
|
|
34
|
+
service UserService {
|
|
35
|
+
option (google.api.default_host) = "admanager.googleapis.com";
|
|
36
|
+
|
|
37
|
+
// API to retrieve a User object.
|
|
38
|
+
//
|
|
39
|
+
// To get the current user, the resource name
|
|
40
|
+
// `networks/{networkCode}/users/me` can be used.
|
|
41
|
+
rpc GetUser(GetUserRequest) returns (User) {
|
|
42
|
+
option (google.api.http) = {
|
|
43
|
+
get: "/v1/{name=networks/*/users/*}"
|
|
44
|
+
};
|
|
45
|
+
option (google.api.method_signature) = "name";
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
// Request object for GetUser method.
|
|
50
|
+
message GetUserRequest {
|
|
51
|
+
// Required. The resource name of the User.
|
|
52
|
+
// Format: `networks/{network_code}/users/{user_id}`
|
|
53
|
+
string name = 1 [
|
|
54
|
+
(google.api.field_behavior) = REQUIRED,
|
|
55
|
+
(google.api.resource_reference) = { type: "admanager.googleapis.com/User" }
|
|
56
|
+
];
|
|
57
|
+
}
|