google-ads-ad_manager-v1 0.a → 0.2.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.
- checksums.yaml +4 -4
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +122 -0
- data/README.md +154 -8
- data/lib/google/ads/ad_manager/v1/ad_unit_service/credentials.rb +44 -0
- data/lib/google/ads/ad_manager/v1/ad_unit_service/paths.rb +64 -0
- data/lib/google/ads/ad_manager/v1/ad_unit_service/rest/client.rb +644 -0
- data/lib/google/ads/ad_manager/v1/ad_unit_service/rest/service_stub.rb +264 -0
- data/lib/google/ads/ad_manager/v1/ad_unit_service/rest.rb +52 -0
- data/lib/google/ads/ad_manager/v1/ad_unit_service.rb +48 -0
- data/lib/google/ads/ad_manager/v1/company_service/credentials.rb +44 -0
- data/lib/google/ads/ad_manager/v1/company_service/paths.rb +64 -0
- data/lib/google/ads/ad_manager/v1/company_service/rest/client.rb +531 -0
- data/lib/google/ads/ad_manager/v1/company_service/rest/service_stub.rb +203 -0
- data/lib/google/ads/ad_manager/v1/company_service/rest.rb +52 -0
- data/lib/google/ads/ad_manager/v1/company_service.rb +48 -0
- data/lib/google/ads/ad_manager/v1/custom_field_service/credentials.rb +44 -0
- data/lib/google/ads/ad_manager/v1/custom_field_service/paths.rb +64 -0
- data/lib/google/ads/ad_manager/v1/custom_field_service/rest/client.rb +531 -0
- data/lib/google/ads/ad_manager/v1/custom_field_service/rest/service_stub.rb +203 -0
- data/lib/google/ads/ad_manager/v1/custom_field_service/rest.rb +52 -0
- data/lib/google/ads/ad_manager/v1/custom_field_service.rb +48 -0
- data/lib/google/ads/ad_manager/v1/custom_targeting_key_service/credentials.rb +44 -0
- data/lib/google/ads/ad_manager/v1/custom_targeting_key_service/paths.rb +64 -0
- data/lib/google/ads/ad_manager/v1/custom_targeting_key_service/rest/client.rb +532 -0
- data/lib/google/ads/ad_manager/v1/custom_targeting_key_service/rest/service_stub.rb +203 -0
- data/lib/google/ads/ad_manager/v1/custom_targeting_key_service/rest.rb +52 -0
- data/lib/google/ads/ad_manager/v1/custom_targeting_key_service.rb +48 -0
- data/lib/google/ads/ad_manager/v1/custom_targeting_value_service/credentials.rb +44 -0
- data/lib/google/ads/ad_manager/v1/custom_targeting_value_service/paths.rb +69 -0
- data/lib/google/ads/ad_manager/v1/custom_targeting_value_service/rest/client.rb +535 -0
- data/lib/google/ads/ad_manager/v1/custom_targeting_value_service/rest/service_stub.rb +203 -0
- data/lib/google/ads/ad_manager/v1/custom_targeting_value_service/rest.rb +52 -0
- data/lib/google/ads/ad_manager/v1/custom_targeting_value_service.rb +48 -0
- data/lib/google/ads/ad_manager/v1/entity_signals_mapping_service/credentials.rb +44 -0
- data/lib/google/ads/ad_manager/v1/entity_signals_mapping_service/paths.rb +64 -0
- data/lib/google/ads/ad_manager/v1/entity_signals_mapping_service/rest/client.rb +894 -0
- data/lib/google/ads/ad_manager/v1/entity_signals_mapping_service/rest/service_stub.rb +451 -0
- data/lib/google/ads/ad_manager/v1/entity_signals_mapping_service/rest.rb +52 -0
- data/lib/google/ads/ad_manager/v1/entity_signals_mapping_service.rb +48 -0
- data/lib/google/ads/ad_manager/v1/network_service/credentials.rb +44 -0
- data/lib/google/ads/ad_manager/v1/network_service/paths.rb +47 -0
- data/lib/google/ads/ad_manager/v1/network_service/rest/client.rb +495 -0
- data/lib/google/ads/ad_manager/v1/network_service/rest/service_stub.rb +201 -0
- data/lib/google/ads/ad_manager/v1/network_service/rest.rb +52 -0
- data/lib/google/ads/ad_manager/v1/network_service.rb +48 -0
- data/lib/google/ads/ad_manager/v1/order_service/credentials.rb +44 -0
- data/lib/google/ads/ad_manager/v1/order_service/paths.rb +64 -0
- data/lib/google/ads/ad_manager/v1/order_service/rest/client.rb +541 -0
- data/lib/google/ads/ad_manager/v1/order_service/rest/service_stub.rb +203 -0
- data/lib/google/ads/ad_manager/v1/order_service/rest.rb +52 -0
- data/lib/google/ads/ad_manager/v1/order_service.rb +48 -0
- data/lib/google/ads/ad_manager/v1/placement_service/credentials.rb +44 -0
- data/lib/google/ads/ad_manager/v1/placement_service/paths.rb +64 -0
- data/lib/google/ads/ad_manager/v1/placement_service/rest/client.rb +531 -0
- data/lib/google/ads/ad_manager/v1/placement_service/rest/service_stub.rb +203 -0
- data/lib/google/ads/ad_manager/v1/placement_service/rest.rb +52 -0
- data/lib/google/ads/ad_manager/v1/placement_service.rb +48 -0
- data/lib/google/ads/ad_manager/v1/report_service/credentials.rb +44 -0
- data/lib/google/ads/ad_manager/v1/report_service/paths.rb +64 -0
- data/lib/google/ads/ad_manager/v1/report_service/rest/client.rb +923 -0
- data/lib/google/ads/ad_manager/v1/report_service/rest/operations.rb +914 -0
- data/lib/google/ads/ad_manager/v1/report_service/rest/service_stub.rb +450 -0
- data/lib/google/ads/ad_manager/v1/report_service/rest.rb +53 -0
- data/lib/google/ads/ad_manager/v1/report_service.rb +48 -0
- data/lib/google/ads/ad_manager/v1/rest.rb +49 -0
- data/lib/google/ads/ad_manager/v1/role_service/credentials.rb +44 -0
- data/lib/google/ads/ad_manager/v1/role_service/paths.rb +64 -0
- data/lib/google/ads/ad_manager/v1/role_service/rest/client.rb +530 -0
- data/lib/google/ads/ad_manager/v1/role_service/rest/service_stub.rb +203 -0
- data/lib/google/ads/ad_manager/v1/role_service/rest.rb +52 -0
- data/lib/google/ads/ad_manager/v1/role_service.rb +48 -0
- data/lib/google/ads/ad_manager/v1/taxonomy_category_service/credentials.rb +44 -0
- data/lib/google/ads/ad_manager/v1/taxonomy_category_service/paths.rb +64 -0
- data/lib/google/ads/ad_manager/v1/taxonomy_category_service/rest/client.rb +531 -0
- data/lib/google/ads/ad_manager/v1/taxonomy_category_service/rest/service_stub.rb +203 -0
- data/lib/google/ads/ad_manager/v1/taxonomy_category_service/rest.rb +52 -0
- data/lib/google/ads/ad_manager/v1/taxonomy_category_service.rb +48 -0
- data/lib/google/ads/ad_manager/v1/user_service/credentials.rb +44 -0
- data/lib/google/ads/ad_manager/v1/user_service/paths.rb +50 -0
- data/lib/google/ads/ad_manager/v1/user_service/rest/client.rb +421 -0
- data/lib/google/ads/ad_manager/v1/user_service/rest/service_stub.rb +142 -0
- data/lib/google/ads/ad_manager/v1/user_service/rest.rb +52 -0
- data/lib/google/ads/ad_manager/v1/user_service.rb +48 -0
- data/lib/google/ads/ad_manager/v1/version.rb +7 -2
- data/lib/google/ads/ad_manager/v1.rb +52 -0
- data/lib/google/ads/admanager/v1/ad_unit_enums_pb.rb +47 -0
- data/lib/google/ads/admanager/v1/ad_unit_messages_pb.rb +60 -0
- data/lib/google/ads/admanager/v1/ad_unit_service_pb.rb +53 -0
- data/lib/google/ads/admanager/v1/ad_unit_service_services_pb.rb +49 -0
- data/lib/google/ads/admanager/v1/admanager_error_pb.rb +45 -0
- data/lib/google/ads/admanager/v1/applied_label_pb.rb +45 -0
- data/lib/google/ads/admanager/v1/company_credit_status_enum_pb.rb +43 -0
- data/lib/google/ads/admanager/v1/company_messages_pb.rb +51 -0
- data/lib/google/ads/admanager/v1/company_service_pb.rb +51 -0
- data/lib/google/ads/admanager/v1/company_service_services_pb.rb +47 -0
- data/lib/google/ads/admanager/v1/company_type_enum_pb.rb +43 -0
- data/lib/google/ads/admanager/v1/contact_messages_pb.rb +45 -0
- data/lib/google/ads/admanager/v1/custom_field_enums_pb.rb +49 -0
- data/lib/google/ads/admanager/v1/custom_field_messages_pb.rb +47 -0
- data/lib/google/ads/admanager/v1/custom_field_service_pb.rb +51 -0
- data/lib/google/ads/admanager/v1/custom_field_service_services_pb.rb +47 -0
- data/lib/google/ads/admanager/v1/custom_field_value_pb.rb +46 -0
- data/lib/google/ads/admanager/v1/custom_targeting_key_enums_pb.rb +47 -0
- data/lib/google/ads/admanager/v1/custom_targeting_key_messages_pb.rb +46 -0
- data/lib/google/ads/admanager/v1/custom_targeting_key_service_pb.rb +51 -0
- data/lib/google/ads/admanager/v1/custom_targeting_key_service_services_pb.rb +47 -0
- data/lib/google/ads/admanager/v1/custom_targeting_value_enums_pb.rb +45 -0
- data/lib/google/ads/admanager/v1/custom_targeting_value_messages_pb.rb +46 -0
- data/lib/google/ads/admanager/v1/custom_targeting_value_service_pb.rb +51 -0
- data/lib/google/ads/admanager/v1/custom_targeting_value_service_services_pb.rb +47 -0
- data/lib/google/ads/admanager/v1/entity_signals_mapping_messages_pb.rb +45 -0
- data/lib/google/ads/admanager/v1/entity_signals_mapping_service_pb.rb +59 -0
- data/lib/google/ads/admanager/v1/entity_signals_mapping_service_services_pb.rb +55 -0
- data/lib/google/ads/admanager/v1/environment_type_enum_pb.rb +43 -0
- data/lib/google/ads/admanager/v1/frequency_cap_pb.rb +44 -0
- data/lib/google/ads/admanager/v1/label_messages_pb.rb +45 -0
- data/lib/google/ads/admanager/v1/network_messages_pb.rb +45 -0
- data/lib/google/ads/admanager/v1/network_service_pb.rb +51 -0
- data/lib/google/ads/admanager/v1/network_service_services_pb.rb +47 -0
- data/lib/google/ads/admanager/v1/order_enums_pb.rb +43 -0
- data/lib/google/ads/admanager/v1/order_messages_pb.rb +52 -0
- data/lib/google/ads/admanager/v1/order_service_pb.rb +51 -0
- data/lib/google/ads/admanager/v1/order_service_services_pb.rb +52 -0
- data/lib/google/ads/admanager/v1/placement_enums_pb.rb +43 -0
- data/lib/google/ads/admanager/v1/placement_messages_pb.rb +48 -0
- data/lib/google/ads/admanager/v1/placement_service_pb.rb +51 -0
- data/lib/google/ads/admanager/v1/placement_service_services_pb.rb +47 -0
- data/lib/google/ads/admanager/v1/report_service_pb.rb +97 -0
- data/lib/google/ads/admanager/v1/report_service_services_pb.rb +65 -0
- data/lib/google/ads/admanager/v1/role_enums_pb.rb +43 -0
- data/lib/google/ads/admanager/v1/role_messages_pb.rb +46 -0
- data/lib/google/ads/admanager/v1/role_service_pb.rb +51 -0
- data/lib/google/ads/admanager/v1/role_service_services_pb.rb +47 -0
- data/lib/google/ads/admanager/v1/size_pb.rb +45 -0
- data/lib/google/ads/admanager/v1/size_type_enum_pb.rb +43 -0
- data/lib/google/ads/admanager/v1/taxonomy_category_messages_pb.rb +46 -0
- data/lib/google/ads/admanager/v1/taxonomy_category_service_pb.rb +51 -0
- data/lib/google/ads/admanager/v1/taxonomy_category_service_services_pb.rb +47 -0
- data/lib/google/ads/admanager/v1/taxonomy_type_enum_pb.rb +43 -0
- data/lib/google/ads/admanager/v1/team_messages_pb.rb +45 -0
- data/lib/google/ads/admanager/v1/time_unit_enum_pb.rb +43 -0
- data/lib/google/ads/admanager/v1/user_messages_pb.rb +45 -0
- data/lib/google/ads/admanager/v1/user_service_pb.rb +48 -0
- data/lib/google/ads/admanager/v1/user_service_services_pb.rb +48 -0
- data/lib/google-ads-ad_manager-v1.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/ads/admanager/v1/ad_unit_enums.rb +91 -0
- data/proto_docs/google/ads/admanager/v1/ad_unit_messages.rb +188 -0
- data/proto_docs/google/ads/admanager/v1/ad_unit_service.rb +160 -0
- data/proto_docs/google/ads/admanager/v1/admanager_error.rb +54 -0
- data/proto_docs/google/ads/admanager/v1/applied_label.rb +39 -0
- data/proto_docs/google/ads/admanager/v1/company_credit_status_enum.rb +101 -0
- data/proto_docs/google/ads/admanager/v1/company_messages.rb +101 -0
- data/proto_docs/google/ads/admanager/v1/company_service.rb +99 -0
- data/proto_docs/google/ads/admanager/v1/company_type_enum.rb +55 -0
- data/proto_docs/google/ads/admanager/v1/contact_messages.rb +43 -0
- data/proto_docs/google/ads/admanager/v1/custom_field_enums.rb +123 -0
- data/proto_docs/google/ads/admanager/v1/custom_field_messages.rb +78 -0
- data/proto_docs/google/ads/admanager/v1/custom_field_service.rb +99 -0
- data/proto_docs/google/ads/admanager/v1/custom_field_value.rb +58 -0
- data/proto_docs/google/ads/admanager/v1/custom_targeting_key_enums.rb +86 -0
- data/proto_docs/google/ads/admanager/v1/custom_targeting_key_messages.rb +59 -0
- data/proto_docs/google/ads/admanager/v1/custom_targeting_key_service.rb +100 -0
- data/proto_docs/google/ads/admanager/v1/custom_targeting_value_enums.rb +97 -0
- data/proto_docs/google/ads/admanager/v1/custom_targeting_value_messages.rb +54 -0
- data/proto_docs/google/ads/admanager/v1/custom_targeting_value_service.rb +103 -0
- data/proto_docs/google/ads/admanager/v1/entity_signals_mapping_messages.rb +53 -0
- data/proto_docs/google/ads/admanager/v1/entity_signals_mapping_service.rb +180 -0
- data/proto_docs/google/ads/admanager/v1/environment_type_enum.rb +45 -0
- data/proto_docs/google/ads/admanager/v1/frequency_cap.rb +41 -0
- data/proto_docs/google/ads/admanager/v1/label_messages.rb +36 -0
- data/proto_docs/google/ads/admanager/v1/network_messages.rb +67 -0
- data/proto_docs/google/ads/admanager/v1/network_service.rb +51 -0
- data/proto_docs/google/ads/admanager/v1/order_enums.rb +63 -0
- data/proto_docs/google/ads/admanager/v1/order_messages.rb +149 -0
- data/proto_docs/google/ads/admanager/v1/order_service.rb +99 -0
- data/proto_docs/google/ads/admanager/v1/placement_enums.rb +48 -0
- data/proto_docs/google/ads/admanager/v1/placement_messages.rb +62 -0
- data/proto_docs/google/ads/admanager/v1/placement_service.rb +99 -0
- data/proto_docs/google/ads/admanager/v1/report_service.rb +3476 -0
- data/proto_docs/google/ads/admanager/v1/role_enums.rb +45 -0
- data/proto_docs/google/ads/admanager/v1/role_messages.rb +51 -0
- data/proto_docs/google/ads/admanager/v1/role_service.rb +97 -0
- data/proto_docs/google/ads/admanager/v1/size.rb +48 -0
- data/proto_docs/google/ads/admanager/v1/size_type_enum.rb +66 -0
- data/proto_docs/google/ads/admanager/v1/taxonomy_category_messages.rb +59 -0
- data/proto_docs/google/ads/admanager/v1/taxonomy_category_service.rb +99 -0
- data/proto_docs/google/ads/admanager/v1/taxonomy_type_enum.rb +55 -0
- data/proto_docs/google/ads/admanager/v1/team_messages.rb +40 -0
- data/proto_docs/google/ads/admanager/v1/time_unit_enum.rb +63 -0
- data/proto_docs/google/ads/admanager/v1/user_messages.rb +69 -0
- data/proto_docs/google/ads/admanager/v1/user_service.rb +36 -0
- data/proto_docs/google/api/client.rb +459 -0
- data/proto_docs/google/api/field_behavior.rb +85 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/api/resource.rb +227 -0
- data/proto_docs/google/longrunning/operations.rb +169 -0
- data/proto_docs/google/protobuf/any.rb +145 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +34 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/timestamp.rb +127 -0
- data/proto_docs/google/rpc/status.rb +48 -0
- data/proto_docs/google/type/date.rb +53 -0
- data/proto_docs/google/type/dayofweek.rb +49 -0
- data/proto_docs/google/type/timeofday.rb +45 -0
- metadata +248 -11
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2024 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Ads
|
|
22
|
+
module AdManager
|
|
23
|
+
module V1
|
|
24
|
+
# Wrapper message for
|
|
25
|
+
# {::Google::Ads::AdManager::V1::CompanyCreditStatusEnum::CompanyCreditStatus CompanyCreditStatus}
|
|
26
|
+
class CompanyCreditStatusEnum
|
|
27
|
+
include ::Google::Protobuf::MessageExts
|
|
28
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
29
|
+
|
|
30
|
+
# The credit status of a company.
|
|
31
|
+
#
|
|
32
|
+
# Credit statuses specify the credit-worthiness of a company and affect the
|
|
33
|
+
# ad serving of campaigns belonging to the company.
|
|
34
|
+
#
|
|
35
|
+
# In basic settings, only the
|
|
36
|
+
# {::Google::Ads::AdManager::V1::CompanyCreditStatusEnum::CompanyCreditStatus::ACTIVE ACTIVE}
|
|
37
|
+
# and
|
|
38
|
+
# {::Google::Ads::AdManager::V1::CompanyCreditStatusEnum::CompanyCreditStatus::INACTIVE INACTIVE}
|
|
39
|
+
# credit statuses are applicable. In advance settings, all credit statuses
|
|
40
|
+
# are applicable.
|
|
41
|
+
module CompanyCreditStatus
|
|
42
|
+
# No value specified
|
|
43
|
+
COMPANY_CREDIT_STATUS_UNSPECIFIED = 0
|
|
44
|
+
|
|
45
|
+
# The company's credit status is active.
|
|
46
|
+
#
|
|
47
|
+
# Line items belonging to the company can serve.
|
|
48
|
+
#
|
|
49
|
+
# This credit status is the default for basic settings and is available in
|
|
50
|
+
# both basic and advance settings.
|
|
51
|
+
ACTIVE = 1
|
|
52
|
+
|
|
53
|
+
# The company's credit status is inactive.
|
|
54
|
+
#
|
|
55
|
+
# Line items belonging to the company cannot be activated. However, line
|
|
56
|
+
# items that were activated before the credit status changed will remain
|
|
57
|
+
# active. New orders or line items belonging to the company cannot be
|
|
58
|
+
# created.
|
|
59
|
+
#
|
|
60
|
+
# Companies with this credit status will be hidden by default in company
|
|
61
|
+
# search results.
|
|
62
|
+
#
|
|
63
|
+
# This credit status is available in both basic and advance settings.
|
|
64
|
+
INACTIVE = 2
|
|
65
|
+
|
|
66
|
+
# The company's credit status is on hold.
|
|
67
|
+
#
|
|
68
|
+
# Line items belonging to the company cannot be activated. However, line
|
|
69
|
+
# items that were activated before the credit status changed will remain
|
|
70
|
+
# active. New orders or line items belonging to the company can be
|
|
71
|
+
# created.
|
|
72
|
+
#
|
|
73
|
+
# This credit status is the default in advance settings and is only
|
|
74
|
+
# available in advance settings.
|
|
75
|
+
ON_HOLD = 3
|
|
76
|
+
|
|
77
|
+
# The company's credit status is stopped.
|
|
78
|
+
#
|
|
79
|
+
# Line items belonging to the company cannot be activated. However, line
|
|
80
|
+
# items that were activated before the credit status changed will remain
|
|
81
|
+
# active. New orders or line items belonging to the company cannot be
|
|
82
|
+
# created.
|
|
83
|
+
#
|
|
84
|
+
# This credit status is only available in advance settings.
|
|
85
|
+
STOP = 4
|
|
86
|
+
|
|
87
|
+
# The company's credit status is blocked.
|
|
88
|
+
#
|
|
89
|
+
# All active line items belonging to the company will stop serving with
|
|
90
|
+
# immediate effect. Line items belonging to the company cannot be
|
|
91
|
+
# activated, and new orders or line items belonging to the company cannot
|
|
92
|
+
# be created.
|
|
93
|
+
#
|
|
94
|
+
# This credit status is only available in advance settings.
|
|
95
|
+
BLOCKED = 5
|
|
96
|
+
end
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
end
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2024 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Ads
|
|
22
|
+
module AdManager
|
|
23
|
+
module V1
|
|
24
|
+
# The `Company` resource.
|
|
25
|
+
# @!attribute [rw] name
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# Identifier. The resource name of the `Company`.
|
|
28
|
+
# Format: `networks/{network_code}/companies/{company_id}`
|
|
29
|
+
# @!attribute [r] company_id
|
|
30
|
+
# @return [::Integer]
|
|
31
|
+
# Output only. `Company` ID.
|
|
32
|
+
# @!attribute [rw] display_name
|
|
33
|
+
# @return [::String]
|
|
34
|
+
# Required. The display name of the `Company`.
|
|
35
|
+
#
|
|
36
|
+
# This value has a maximum length of 127 characters.
|
|
37
|
+
# @!attribute [rw] type
|
|
38
|
+
# @return [::Google::Ads::AdManager::V1::CompanyTypeEnum::CompanyType]
|
|
39
|
+
# Required. The type of the `Company`.
|
|
40
|
+
# @!attribute [rw] address
|
|
41
|
+
# @return [::String]
|
|
42
|
+
# Optional. The address for the `Company`.
|
|
43
|
+
#
|
|
44
|
+
# This value has a maximum length of 1024 characters.
|
|
45
|
+
# @!attribute [rw] email
|
|
46
|
+
# @return [::String]
|
|
47
|
+
# Optional. The email for the `Company`.
|
|
48
|
+
#
|
|
49
|
+
# This value has a maximum length of 128 characters.
|
|
50
|
+
# @!attribute [rw] fax
|
|
51
|
+
# @return [::String]
|
|
52
|
+
# Optional. The fax number for the `Company`.
|
|
53
|
+
#
|
|
54
|
+
# This value has a maximum length of 63 characters.
|
|
55
|
+
# @!attribute [rw] phone
|
|
56
|
+
# @return [::String]
|
|
57
|
+
# Optional. The phone number for the `Company`.
|
|
58
|
+
#
|
|
59
|
+
# This value has a maximum length of 63 characters.
|
|
60
|
+
# @!attribute [rw] external_id
|
|
61
|
+
# @return [::String]
|
|
62
|
+
# Optional. The external ID for the `Company`.
|
|
63
|
+
#
|
|
64
|
+
# This value has a maximum length of 255 characters.
|
|
65
|
+
# @!attribute [rw] comment
|
|
66
|
+
# @return [::String]
|
|
67
|
+
# Optional. Comments about the `Company`.
|
|
68
|
+
#
|
|
69
|
+
# This value has a maximum length of 1024 characters.
|
|
70
|
+
# @!attribute [rw] credit_status
|
|
71
|
+
# @return [::Google::Ads::AdManager::V1::CompanyCreditStatusEnum::CompanyCreditStatus]
|
|
72
|
+
# Optional. The credit status of the `Company`.
|
|
73
|
+
#
|
|
74
|
+
# This attribute defaults to `ACTIVE` if basic settings are enabled and
|
|
75
|
+
# `ON_HOLD` if advance settings are enabled.
|
|
76
|
+
# @!attribute [rw] applied_labels
|
|
77
|
+
# @return [::Array<::Google::Ads::AdManager::V1::AppliedLabel>]
|
|
78
|
+
# Optional. The labels that are directly applied to the `Company`.
|
|
79
|
+
# @!attribute [rw] primary_contact
|
|
80
|
+
# @return [::String]
|
|
81
|
+
# Optional. The resource names of primary Contact of the `Company`.
|
|
82
|
+
# Format: "networks/\\{network_code}/contacts/\\{contact_id}"
|
|
83
|
+
# @!attribute [rw] applied_teams
|
|
84
|
+
# @return [::Array<::String>]
|
|
85
|
+
# Optional. The resource names of Teams that are directly associated with the
|
|
86
|
+
# `Company`. Format: "networks/\\{network_code}/teams/\\{team_id}"
|
|
87
|
+
# @!attribute [r] update_time
|
|
88
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
89
|
+
# Output only. The time the `Company` was last modified.
|
|
90
|
+
# @!attribute [rw] third_party_company_id
|
|
91
|
+
# @return [::Integer]
|
|
92
|
+
# Optional. The ID of the Google-recognized canonicalized form of the
|
|
93
|
+
# `Company`.
|
|
94
|
+
class Company
|
|
95
|
+
include ::Google::Protobuf::MessageExts
|
|
96
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
end
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2024 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Ads
|
|
22
|
+
module AdManager
|
|
23
|
+
module V1
|
|
24
|
+
# Request object for `GetCompany` method.
|
|
25
|
+
# @!attribute [rw] name
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# Required. The resource name of the Company.
|
|
28
|
+
# Format: `networks/{network_code}/companies/{company_id}`
|
|
29
|
+
class GetCompanyRequest
|
|
30
|
+
include ::Google::Protobuf::MessageExts
|
|
31
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
# Request object for `ListCompanies` method.
|
|
35
|
+
# @!attribute [rw] parent
|
|
36
|
+
# @return [::String]
|
|
37
|
+
# Required. The parent, which owns this collection of Companies.
|
|
38
|
+
# Format: `networks/{network_code}`
|
|
39
|
+
# @!attribute [rw] page_size
|
|
40
|
+
# @return [::Integer]
|
|
41
|
+
# Optional. The maximum number of `Companies` to return. The service may
|
|
42
|
+
# return fewer than this value. If unspecified, at most 50 `Companies` will
|
|
43
|
+
# be returned. The maximum value is 1000; values above 1000 will be coerced
|
|
44
|
+
# to 1000.
|
|
45
|
+
# @!attribute [rw] page_token
|
|
46
|
+
# @return [::String]
|
|
47
|
+
# Optional. A page token, received from a previous `ListCompanies` call.
|
|
48
|
+
# Provide this to retrieve the subsequent page.
|
|
49
|
+
#
|
|
50
|
+
# When paginating, all other parameters provided to `ListCompanies` must
|
|
51
|
+
# match the call that provided the page token.
|
|
52
|
+
# @!attribute [rw] filter
|
|
53
|
+
# @return [::String]
|
|
54
|
+
# Optional. Expression to filter the response.
|
|
55
|
+
# See syntax details at
|
|
56
|
+
# https://developers.google.com/ad-manager/api/beta/filters
|
|
57
|
+
# @!attribute [rw] order_by
|
|
58
|
+
# @return [::String]
|
|
59
|
+
# Optional. Expression to specify sorting order.
|
|
60
|
+
# See syntax details at
|
|
61
|
+
# https://developers.google.com/ad-manager/api/beta/filters#order
|
|
62
|
+
# @!attribute [rw] skip
|
|
63
|
+
# @return [::Integer]
|
|
64
|
+
# Optional. Number of individual resources to skip while paginating.
|
|
65
|
+
class ListCompaniesRequest
|
|
66
|
+
include ::Google::Protobuf::MessageExts
|
|
67
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
# Response object for `ListCompaniesRequest` containing matching `Company`
|
|
71
|
+
# objects.
|
|
72
|
+
# @!attribute [rw] companies
|
|
73
|
+
# @return [::Array<::Google::Ads::AdManager::V1::Company>]
|
|
74
|
+
# The `Company` objects from the specified network.
|
|
75
|
+
# @!attribute [rw] next_page_token
|
|
76
|
+
# @return [::String]
|
|
77
|
+
# A token, which can be sent as `page_token` to retrieve the next page.
|
|
78
|
+
# If this field is omitted, there are no subsequent pages.
|
|
79
|
+
# @!attribute [rw] total_size
|
|
80
|
+
# @return [::Integer]
|
|
81
|
+
# Total number of `Company` objects.
|
|
82
|
+
# If a filter was included in the request, this reflects the total number
|
|
83
|
+
# after the filtering is applied.
|
|
84
|
+
#
|
|
85
|
+
# `total_size` will not be calculated in the response unless it has been
|
|
86
|
+
# included in a response field mask. The response field mask can be provided
|
|
87
|
+
# to the method by using the URL parameter `$fields` or `fields`, or by using
|
|
88
|
+
# the HTTP/gRPC header `X-Goog-FieldMask`.
|
|
89
|
+
#
|
|
90
|
+
# For more information, see
|
|
91
|
+
# https://developers.google.com/ad-manager/api/beta/field-masks
|
|
92
|
+
class ListCompaniesResponse
|
|
93
|
+
include ::Google::Protobuf::MessageExts
|
|
94
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
95
|
+
end
|
|
96
|
+
end
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
end
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2024 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Ads
|
|
22
|
+
module AdManager
|
|
23
|
+
module V1
|
|
24
|
+
# Wrapper message for
|
|
25
|
+
# {::Google::Ads::AdManager::V1::CompanyTypeEnum::CompanyType CompanyType}
|
|
26
|
+
class CompanyTypeEnum
|
|
27
|
+
include ::Google::Protobuf::MessageExts
|
|
28
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
29
|
+
|
|
30
|
+
# The type of a company.
|
|
31
|
+
module CompanyType
|
|
32
|
+
# No value specified
|
|
33
|
+
COMPANY_TYPE_UNSPECIFIED = 0
|
|
34
|
+
|
|
35
|
+
# A business entity that purchases ad inventory.
|
|
36
|
+
ADVERTISER = 1
|
|
37
|
+
|
|
38
|
+
# A company representing the publisher's own advertiser for house ads.
|
|
39
|
+
HOUSE_ADVERTISER = 2
|
|
40
|
+
|
|
41
|
+
# An organization that manages ad accounts and offers services, such as ad
|
|
42
|
+
# creation, placement, and management to advertisers.
|
|
43
|
+
AGENCY = 3
|
|
44
|
+
|
|
45
|
+
# A company representing the publisher's own agency.
|
|
46
|
+
HOUSE_AGENCY = 4
|
|
47
|
+
|
|
48
|
+
# A company representing multiple advertisers and agencies.
|
|
49
|
+
AD_NETWORK = 5
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
end
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2024 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Ads
|
|
22
|
+
module AdManager
|
|
23
|
+
module V1
|
|
24
|
+
# A contact represents a person who is affiliated with a single company. A
|
|
25
|
+
# contact can have a variety of contact information associated to it, and can
|
|
26
|
+
# be invited to view their company's orders, line items, creatives, and
|
|
27
|
+
# reports.
|
|
28
|
+
# @!attribute [rw] name
|
|
29
|
+
# @return [::String]
|
|
30
|
+
# Identifier. The resource name of the `Contact`.
|
|
31
|
+
# Format: `networks/{network_code}/contacts/{contact_id}`
|
|
32
|
+
# @!attribute [r] contact_id
|
|
33
|
+
# @return [::Integer]
|
|
34
|
+
# Output only. The unique ID of the contact. This value is readonly and is
|
|
35
|
+
# assigned by Google.
|
|
36
|
+
class Contact
|
|
37
|
+
include ::Google::Protobuf::MessageExts
|
|
38
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2024 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Ads
|
|
22
|
+
module AdManager
|
|
23
|
+
module V1
|
|
24
|
+
# Wrapper message for
|
|
25
|
+
# {::Google::Ads::AdManager::V1::CustomFieldDataTypeEnum::CustomFieldDataType CustomFieldDataType}
|
|
26
|
+
class CustomFieldDataTypeEnum
|
|
27
|
+
include ::Google::Protobuf::MessageExts
|
|
28
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
29
|
+
|
|
30
|
+
# The data type for a CustomField.
|
|
31
|
+
module CustomFieldDataType
|
|
32
|
+
# No value specified
|
|
33
|
+
CUSTOM_FIELD_DATA_TYPE_UNSPECIFIED = 0
|
|
34
|
+
|
|
35
|
+
# A string field
|
|
36
|
+
#
|
|
37
|
+
# The max length is 255 characters.
|
|
38
|
+
STRING = 1
|
|
39
|
+
|
|
40
|
+
# A number field.
|
|
41
|
+
NUMBER = 2
|
|
42
|
+
|
|
43
|
+
# A "Yes" or "No" toggle field.
|
|
44
|
+
TOGGLE = 3
|
|
45
|
+
|
|
46
|
+
# A drop-down field.
|
|
47
|
+
DROP_DOWN = 4
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
# Wrapper message for
|
|
52
|
+
# {::Google::Ads::AdManager::V1::CustomFieldEntityTypeEnum::CustomFieldEntityType CustomFieldEntityType}
|
|
53
|
+
class CustomFieldEntityTypeEnum
|
|
54
|
+
include ::Google::Protobuf::MessageExts
|
|
55
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
56
|
+
|
|
57
|
+
# The types of entities that a CustomField can be applied to.
|
|
58
|
+
module CustomFieldEntityType
|
|
59
|
+
# No value specified
|
|
60
|
+
CUSTOM_FIELD_ENTITY_TYPE_UNSPECIFIED = 0
|
|
61
|
+
|
|
62
|
+
# The CustomField is applied to LineItems.
|
|
63
|
+
LINE_ITEM = 1
|
|
64
|
+
|
|
65
|
+
# The CustomField is applied to Orders.
|
|
66
|
+
ORDER = 2
|
|
67
|
+
|
|
68
|
+
# The CustomField is applied to Creatives.
|
|
69
|
+
CREATIVE = 3
|
|
70
|
+
|
|
71
|
+
# The CustomField is applied to Proposals.
|
|
72
|
+
PROPOSAL = 4
|
|
73
|
+
|
|
74
|
+
# The CustomField is applied to ProposalLineItems.
|
|
75
|
+
PROPOSAL_LINE_ITEM = 5
|
|
76
|
+
end
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
# Wrapper message for
|
|
80
|
+
# {::Google::Ads::AdManager::V1::CustomFieldStatusEnum::CustomFieldStatus CustomFieldStatus}
|
|
81
|
+
class CustomFieldStatusEnum
|
|
82
|
+
include ::Google::Protobuf::MessageExts
|
|
83
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
84
|
+
|
|
85
|
+
# The status of the CustomField.
|
|
86
|
+
module CustomFieldStatus
|
|
87
|
+
# No value specified
|
|
88
|
+
CUSTOM_FIELD_STATUS_UNSPECIFIED = 0
|
|
89
|
+
|
|
90
|
+
# The CustomField is active.
|
|
91
|
+
ACTIVE = 1
|
|
92
|
+
|
|
93
|
+
# The CustomField is inactive.
|
|
94
|
+
INACTIVE = 2
|
|
95
|
+
end
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
# Wrapper message for
|
|
99
|
+
# {::Google::Ads::AdManager::V1::CustomFieldVisibilityEnum::CustomFieldVisibility CustomFieldVisibility}
|
|
100
|
+
class CustomFieldVisibilityEnum
|
|
101
|
+
include ::Google::Protobuf::MessageExts
|
|
102
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
103
|
+
|
|
104
|
+
# The visibility level of a CustomField.
|
|
105
|
+
module CustomFieldVisibility
|
|
106
|
+
# No value specified
|
|
107
|
+
CUSTOM_FIELD_VISIBILITY_UNSPECIFIED = 0
|
|
108
|
+
|
|
109
|
+
# The CustomField is not visible in the UI and only visible through the
|
|
110
|
+
# API.
|
|
111
|
+
HIDDEN = 1
|
|
112
|
+
|
|
113
|
+
# The CustomField is visible in the UI and only editable through the API.
|
|
114
|
+
READ_ONLY = 2
|
|
115
|
+
|
|
116
|
+
# The CustomField is visible and editable in both the API and UI.
|
|
117
|
+
EDITABLE = 3
|
|
118
|
+
end
|
|
119
|
+
end
|
|
120
|
+
end
|
|
121
|
+
end
|
|
122
|
+
end
|
|
123
|
+
end
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2024 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Ads
|
|
22
|
+
module AdManager
|
|
23
|
+
module V1
|
|
24
|
+
# An additional, user-created field on an entity.
|
|
25
|
+
# @!attribute [rw] name
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# Identifier. The resource name of the `CustomField`.
|
|
28
|
+
# Format: `networks/{network_code}/customFields/{custom_field_id}`
|
|
29
|
+
# @!attribute [r] custom_field_id
|
|
30
|
+
# @return [::Integer]
|
|
31
|
+
# Output only. Unique ID of the CustomField. This value is readonly and is
|
|
32
|
+
# assigned by Google.
|
|
33
|
+
# @!attribute [rw] display_name
|
|
34
|
+
# @return [::String]
|
|
35
|
+
# Required. Name of the CustomField. The max length is 127 characters.
|
|
36
|
+
# @!attribute [rw] description
|
|
37
|
+
# @return [::String]
|
|
38
|
+
# Optional. A description of the custom field. The maximum length is 511
|
|
39
|
+
# characters.
|
|
40
|
+
# @!attribute [r] status
|
|
41
|
+
# @return [::Google::Ads::AdManager::V1::CustomFieldStatusEnum::CustomFieldStatus]
|
|
42
|
+
# Output only. The status of the `CustomField`.
|
|
43
|
+
# @!attribute [rw] entity_type
|
|
44
|
+
# @return [::Google::Ads::AdManager::V1::CustomFieldEntityTypeEnum::CustomFieldEntityType]
|
|
45
|
+
# Required. The type of entity the `CustomField` can be applied to.
|
|
46
|
+
# @!attribute [rw] data_type
|
|
47
|
+
# @return [::Google::Ads::AdManager::V1::CustomFieldDataTypeEnum::CustomFieldDataType]
|
|
48
|
+
# Required. The data type of the `CustomField`.
|
|
49
|
+
# @!attribute [rw] visibility
|
|
50
|
+
# @return [::Google::Ads::AdManager::V1::CustomFieldVisibilityEnum::CustomFieldVisibility]
|
|
51
|
+
# Required. The visibility of the `CustomField`.
|
|
52
|
+
# @!attribute [rw] options
|
|
53
|
+
# @return [::Array<::Google::Ads::AdManager::V1::CustomFieldOption>]
|
|
54
|
+
# Optional. The drop-down options for the `CustomField`.
|
|
55
|
+
#
|
|
56
|
+
# Only applicable for `CustomField` with the drop-down data type.
|
|
57
|
+
class CustomField
|
|
58
|
+
include ::Google::Protobuf::MessageExts
|
|
59
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
# An option for a drop-down `CustomField`.
|
|
63
|
+
# @!attribute [r] custom_field_option_id
|
|
64
|
+
# @return [::Integer]
|
|
65
|
+
# Output only. `CustomFieldOption` ID.
|
|
66
|
+
# @!attribute [rw] display_name
|
|
67
|
+
# @return [::String]
|
|
68
|
+
# Required. The display name of the `CustomFieldOption`.
|
|
69
|
+
#
|
|
70
|
+
# This value has a maximum length of 127 characters.
|
|
71
|
+
class CustomFieldOption
|
|
72
|
+
include ::Google::Protobuf::MessageExts
|
|
73
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
end
|
|
78
|
+
end
|