google-ads-ad_manager-v1 0.a → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- 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,46 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/ads/admanager/v1/role_messages.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/ads/admanager/v1/role_enums_pb'
|
8
|
+
require 'google/api/field_behavior_pb'
|
9
|
+
require 'google/api/resource_pb'
|
10
|
+
|
11
|
+
|
12
|
+
descriptor_data = "\n+google/ads/admanager/v1/role_messages.proto\x12\x17google.ads.admanager.v1\x1a(google/ads/admanager/v1/role_enums.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x9b\x02\n\x04Role\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x14\n\x07role_id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08\x62uilt_in\x18\x05 \x01(\x08\x42\x03\xe0\x41\x03\x12G\n\x06status\x18\x06 \x01(\x0e\x32\x32.google.ads.admanager.v1.RoleStatusEnum.RoleStatusB\x03\xe0\x41\x03:U\xea\x41R\n\x1d\x61\x64manager.googleapis.com/Role\x12$networks/{network_code}/roles/{role}*\x05roles2\x04roleB\xc5\x01\n\x1b\x63om.google.ads.admanager.v1B\x11RoleMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xaa\x02\x17Google.Ads.AdManager.V1\xca\x02\x17Google\\Ads\\AdManager\\V1\xea\x02\x1aGoogle::Ads::AdManager::V1b\x06proto3"
|
13
|
+
|
14
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
|
+
|
16
|
+
begin
|
17
|
+
pool.add_serialized_file(descriptor_data)
|
18
|
+
rescue TypeError
|
19
|
+
# Compatibility code: will be removed in the next major version.
|
20
|
+
require 'google/protobuf/descriptor_pb'
|
21
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
22
|
+
parsed.clear_dependency
|
23
|
+
serialized = parsed.class.encode(parsed)
|
24
|
+
file = pool.add_serialized_file(serialized)
|
25
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
26
|
+
imports = [
|
27
|
+
]
|
28
|
+
imports.each do |type_name, expected_filename|
|
29
|
+
import_file = pool.lookup(type_name).file_descriptor
|
30
|
+
if import_file.name != expected_filename
|
31
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
32
|
+
end
|
33
|
+
end
|
34
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
35
|
+
warn "This will become an error in the next major version."
|
36
|
+
end
|
37
|
+
|
38
|
+
module Google
|
39
|
+
module Ads
|
40
|
+
module AdManager
|
41
|
+
module V1
|
42
|
+
Role = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.Role").msgclass
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/ads/admanager/v1/role_service.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/ads/admanager/v1/role_messages_pb'
|
8
|
+
require 'google/api/annotations_pb'
|
9
|
+
require 'google/api/client_pb'
|
10
|
+
require 'google/api/field_behavior_pb'
|
11
|
+
require 'google/api/resource_pb'
|
12
|
+
|
13
|
+
|
14
|
+
descriptor_data = "\n*google/ads/admanager/v1/role_service.proto\x12\x17google.ads.admanager.v1\x1a+google/ads/admanager/v1/role_messages.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"E\n\x0eGetRoleRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x61\x64manager.googleapis.com/Role\"\xbc\x01\n\x10ListRolesRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n admanager.googleapis.com/Network\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04skip\x18\x06 \x01(\x05\x42\x03\xe0\x41\x01\"n\n\x11ListRolesResponse\x12,\n\x05roles\x18\x01 \x03(\x0b\x32\x1d.google.ads.admanager.v1.Role\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x05\x32\xc0\x02\n\x0bRoleService\x12\x7f\n\x07GetRole\x12\'.google.ads.admanager.v1.GetRoleRequest\x1a\x1d.google.ads.admanager.v1.Role\",\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1f\x12\x1d/v1/{name=networks/*/roles/*}\x12\x92\x01\n\tListRoles\x12).google.ads.admanager.v1.ListRolesRequest\x1a*.google.ads.admanager.v1.ListRolesResponse\".\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x1f\x12\x1d/v1/{parent=networks/*}/roles\x1a\x1b\xca\x41\x18\x61\x64manager.googleapis.comB\xc4\x01\n\x1b\x63om.google.ads.admanager.v1B\x10RoleServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xaa\x02\x17Google.Ads.AdManager.V1\xca\x02\x17Google\\Ads\\AdManager\\V1\xea\x02\x1aGoogle::Ads::AdManager::V1b\x06proto3"
|
15
|
+
|
16
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
|
+
|
18
|
+
begin
|
19
|
+
pool.add_serialized_file(descriptor_data)
|
20
|
+
rescue TypeError
|
21
|
+
# Compatibility code: will be removed in the next major version.
|
22
|
+
require 'google/protobuf/descriptor_pb'
|
23
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
24
|
+
parsed.clear_dependency
|
25
|
+
serialized = parsed.class.encode(parsed)
|
26
|
+
file = pool.add_serialized_file(serialized)
|
27
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
28
|
+
imports = [
|
29
|
+
["google.ads.admanager.v1.Role", "google/ads/admanager/v1/role_messages.proto"],
|
30
|
+
]
|
31
|
+
imports.each do |type_name, expected_filename|
|
32
|
+
import_file = pool.lookup(type_name).file_descriptor
|
33
|
+
if import_file.name != expected_filename
|
34
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
35
|
+
end
|
36
|
+
end
|
37
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
38
|
+
warn "This will become an error in the next major version."
|
39
|
+
end
|
40
|
+
|
41
|
+
module Google
|
42
|
+
module Ads
|
43
|
+
module AdManager
|
44
|
+
module V1
|
45
|
+
GetRoleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.GetRoleRequest").msgclass
|
46
|
+
ListRolesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.ListRolesRequest").msgclass
|
47
|
+
ListRolesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.ListRolesResponse").msgclass
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: google/ads/admanager/v1/role_service.proto for package 'Google.Ads.AdManager.V1'
|
3
|
+
# Original file comments:
|
4
|
+
# Copyright 2024 Google LLC
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#
|
18
|
+
|
19
|
+
require 'grpc'
|
20
|
+
require 'google/ads/admanager/v1/role_service_pb'
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Ads
|
24
|
+
module AdManager
|
25
|
+
module V1
|
26
|
+
module RoleService
|
27
|
+
# Provides methods for handling `Role` objects.
|
28
|
+
class Service
|
29
|
+
|
30
|
+
include ::GRPC::GenericService
|
31
|
+
|
32
|
+
self.marshal_class_method = :encode
|
33
|
+
self.unmarshal_class_method = :decode
|
34
|
+
self.service_name = 'google.ads.admanager.v1.RoleService'
|
35
|
+
|
36
|
+
# API to retrieve a `Role` object.
|
37
|
+
rpc :GetRole, ::Google::Ads::AdManager::V1::GetRoleRequest, ::Google::Ads::AdManager::V1::Role
|
38
|
+
# API to retrieve a list of `Role` objects.
|
39
|
+
rpc :ListRoles, ::Google::Ads::AdManager::V1::ListRolesRequest, ::Google::Ads::AdManager::V1::ListRolesResponse
|
40
|
+
end
|
41
|
+
|
42
|
+
Stub = Service.rpc_stub_class
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/ads/admanager/v1/size.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/ads/admanager/v1/size_type_enum_pb'
|
8
|
+
require 'google/api/field_behavior_pb'
|
9
|
+
|
10
|
+
|
11
|
+
descriptor_data = "\n\"google/ads/admanager/v1/size.proto\x12\x17google.ads.admanager.v1\x1a,google/ads/admanager/v1/size_type_enum.proto\x1a\x1fgoogle/api/field_behavior.proto\"w\n\x04Size\x12\x12\n\x05width\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\x12\x13\n\x06height\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12\x46\n\tsize_type\x18\x03 \x01(\x0e\x32..google.ads.admanager.v1.SizeTypeEnum.SizeTypeB\x03\xe0\x41\x02\x42\xbd\x01\n\x1b\x63om.google.ads.admanager.v1B\tSizeProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xaa\x02\x17Google.Ads.AdManager.V1\xca\x02\x17Google\\Ads\\AdManager\\V1\xea\x02\x1aGoogle::Ads::AdManager::V1b\x06proto3"
|
12
|
+
|
13
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
|
+
|
15
|
+
begin
|
16
|
+
pool.add_serialized_file(descriptor_data)
|
17
|
+
rescue TypeError
|
18
|
+
# Compatibility code: will be removed in the next major version.
|
19
|
+
require 'google/protobuf/descriptor_pb'
|
20
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
21
|
+
parsed.clear_dependency
|
22
|
+
serialized = parsed.class.encode(parsed)
|
23
|
+
file = pool.add_serialized_file(serialized)
|
24
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
25
|
+
imports = [
|
26
|
+
]
|
27
|
+
imports.each do |type_name, expected_filename|
|
28
|
+
import_file = pool.lookup(type_name).file_descriptor
|
29
|
+
if import_file.name != expected_filename
|
30
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
31
|
+
end
|
32
|
+
end
|
33
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
34
|
+
warn "This will become an error in the next major version."
|
35
|
+
end
|
36
|
+
|
37
|
+
module Google
|
38
|
+
module Ads
|
39
|
+
module AdManager
|
40
|
+
module V1
|
41
|
+
Size = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.Size").msgclass
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/ads/admanager/v1/size_type_enum.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
|
8
|
+
descriptor_data = "\n,google/ads/admanager/v1/size_type_enum.proto\x12\x17google.ads.admanager.v1\"\x94\x01\n\x0cSizeTypeEnum\"\x83\x01\n\x08SizeType\x12\x19\n\x15SIZE_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05PIXEL\x10\x01\x12\x10\n\x0c\x41SPECT_RATIO\x10\x02\x12\x10\n\x0cINTERSTITIAL\x10\x03\x12\x0b\n\x07IGNORED\x10\x04\x12\n\n\x06NATIVE\x10\x05\x12\t\n\x05\x46LUID\x10\x06\x12\t\n\x05\x41UDIO\x10\x07\x42\xc5\x01\n\x1b\x63om.google.ads.admanager.v1B\x11SizeTypeEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xaa\x02\x17Google.Ads.AdManager.V1\xca\x02\x17Google\\Ads\\AdManager\\V1\xea\x02\x1aGoogle::Ads::AdManager::V1b\x06proto3"
|
9
|
+
|
10
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
11
|
+
|
12
|
+
begin
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
14
|
+
rescue TypeError
|
15
|
+
# Compatibility code: will be removed in the next major version.
|
16
|
+
require 'google/protobuf/descriptor_pb'
|
17
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
18
|
+
parsed.clear_dependency
|
19
|
+
serialized = parsed.class.encode(parsed)
|
20
|
+
file = pool.add_serialized_file(serialized)
|
21
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
22
|
+
imports = [
|
23
|
+
]
|
24
|
+
imports.each do |type_name, expected_filename|
|
25
|
+
import_file = pool.lookup(type_name).file_descriptor
|
26
|
+
if import_file.name != expected_filename
|
27
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
28
|
+
end
|
29
|
+
end
|
30
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
31
|
+
warn "This will become an error in the next major version."
|
32
|
+
end
|
33
|
+
|
34
|
+
module Google
|
35
|
+
module Ads
|
36
|
+
module AdManager
|
37
|
+
module V1
|
38
|
+
SizeTypeEnum = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.SizeTypeEnum").msgclass
|
39
|
+
SizeTypeEnum::SizeType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.SizeTypeEnum.SizeType").enummodule
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/ads/admanager/v1/taxonomy_category_messages.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/ads/admanager/v1/taxonomy_type_enum_pb'
|
8
|
+
require 'google/api/field_behavior_pb'
|
9
|
+
require 'google/api/resource_pb'
|
10
|
+
|
11
|
+
|
12
|
+
descriptor_data = "\n8google/ads/admanager/v1/taxonomy_category_messages.proto\x12\x17google.ads.admanager.v1\x1a\x30google/ads/admanager/v1/taxonomy_type_enum.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xdf\x03\n\x10TaxonomyCategory\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12!\n\x14taxonomy_category_id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rgrouping_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x03\x12(\n\x1bparent_taxonomy_category_id\x18\x06 \x01(\x03\x42\x03\xe0\x41\x03\x12R\n\rtaxonomy_type\x18\t \x01(\x0e\x32\x36.google.ads.admanager.v1.TaxonomyTypeEnum.TaxonomyTypeB\x03\xe0\x41\x03\x12\x1b\n\x0e\x61ncestor_names\x18\x07 \x03(\tB\x03\xe0\x41\x03\x12+\n\x1e\x61ncestor_taxonomy_category_ids\x18\x08 \x03(\x03\x42\x03\xe0\x41\x03:\x95\x01\xea\x41\x91\x01\n)admanager.googleapis.com/TaxonomyCategory\x12>networks/{network_code}/taxonomyCategories/{taxonomy_category}*\x12taxonomyCategories2\x10taxonomyCategoryB\xd1\x01\n\x1b\x63om.google.ads.admanager.v1B\x1dTaxonomyCategoryMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xaa\x02\x17Google.Ads.AdManager.V1\xca\x02\x17Google\\Ads\\AdManager\\V1\xea\x02\x1aGoogle::Ads::AdManager::V1b\x06proto3"
|
13
|
+
|
14
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
|
+
|
16
|
+
begin
|
17
|
+
pool.add_serialized_file(descriptor_data)
|
18
|
+
rescue TypeError
|
19
|
+
# Compatibility code: will be removed in the next major version.
|
20
|
+
require 'google/protobuf/descriptor_pb'
|
21
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
22
|
+
parsed.clear_dependency
|
23
|
+
serialized = parsed.class.encode(parsed)
|
24
|
+
file = pool.add_serialized_file(serialized)
|
25
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
26
|
+
imports = [
|
27
|
+
]
|
28
|
+
imports.each do |type_name, expected_filename|
|
29
|
+
import_file = pool.lookup(type_name).file_descriptor
|
30
|
+
if import_file.name != expected_filename
|
31
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
32
|
+
end
|
33
|
+
end
|
34
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
35
|
+
warn "This will become an error in the next major version."
|
36
|
+
end
|
37
|
+
|
38
|
+
module Google
|
39
|
+
module Ads
|
40
|
+
module AdManager
|
41
|
+
module V1
|
42
|
+
TaxonomyCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.TaxonomyCategory").msgclass
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/ads/admanager/v1/taxonomy_category_service.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/ads/admanager/v1/taxonomy_category_messages_pb'
|
8
|
+
require 'google/api/annotations_pb'
|
9
|
+
require 'google/api/client_pb'
|
10
|
+
require 'google/api/field_behavior_pb'
|
11
|
+
require 'google/api/resource_pb'
|
12
|
+
|
13
|
+
|
14
|
+
descriptor_data = "\n7google/ads/admanager/v1/taxonomy_category_service.proto\x12\x17google.ads.admanager.v1\x1a\x38google/ads/admanager/v1/taxonomy_category_messages.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"]\n\x1aGetTaxonomyCategoryRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)admanager.googleapis.com/TaxonomyCategory\"\xc9\x01\n\x1dListTaxonomyCategoriesRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n admanager.googleapis.com/Network\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04skip\x18\x06 \x01(\x05\x42\x03\xe0\x41\x01\"\x95\x01\n\x1eListTaxonomyCategoriesResponse\x12\x46\n\x13taxonomy_categories\x18\x01 \x03(\x0b\x32).google.ads.admanager.v1.TaxonomyCategory\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x05\x32\xb2\x03\n\x17TaxonomyCategoryService\x12\xb0\x01\n\x13GetTaxonomyCategory\x12\x33.google.ads.admanager.v1.GetTaxonomyCategoryRequest\x1a).google.ads.admanager.v1.TaxonomyCategory\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,\x12*/v1/{name=networks/*/taxonomyCategories/*}\x12\xc6\x01\n\x16ListTaxonomyCategories\x12\x36.google.ads.admanager.v1.ListTaxonomyCategoriesRequest\x1a\x37.google.ads.admanager.v1.ListTaxonomyCategoriesResponse\";\xda\x41\x06parent\x82\xd3\xe4\x93\x02,\x12*/v1/{parent=networks/*}/taxonomyCategories\x1a\x1b\xca\x41\x18\x61\x64manager.googleapis.comB\xd0\x01\n\x1b\x63om.google.ads.admanager.v1B\x1cTaxonomyCategoryServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xaa\x02\x17Google.Ads.AdManager.V1\xca\x02\x17Google\\Ads\\AdManager\\V1\xea\x02\x1aGoogle::Ads::AdManager::V1b\x06proto3"
|
15
|
+
|
16
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
|
+
|
18
|
+
begin
|
19
|
+
pool.add_serialized_file(descriptor_data)
|
20
|
+
rescue TypeError
|
21
|
+
# Compatibility code: will be removed in the next major version.
|
22
|
+
require 'google/protobuf/descriptor_pb'
|
23
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
24
|
+
parsed.clear_dependency
|
25
|
+
serialized = parsed.class.encode(parsed)
|
26
|
+
file = pool.add_serialized_file(serialized)
|
27
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
28
|
+
imports = [
|
29
|
+
["google.ads.admanager.v1.TaxonomyCategory", "google/ads/admanager/v1/taxonomy_category_messages.proto"],
|
30
|
+
]
|
31
|
+
imports.each do |type_name, expected_filename|
|
32
|
+
import_file = pool.lookup(type_name).file_descriptor
|
33
|
+
if import_file.name != expected_filename
|
34
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
35
|
+
end
|
36
|
+
end
|
37
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
38
|
+
warn "This will become an error in the next major version."
|
39
|
+
end
|
40
|
+
|
41
|
+
module Google
|
42
|
+
module Ads
|
43
|
+
module AdManager
|
44
|
+
module V1
|
45
|
+
GetTaxonomyCategoryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.GetTaxonomyCategoryRequest").msgclass
|
46
|
+
ListTaxonomyCategoriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.ListTaxonomyCategoriesRequest").msgclass
|
47
|
+
ListTaxonomyCategoriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.ListTaxonomyCategoriesResponse").msgclass
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: google/ads/admanager/v1/taxonomy_category_service.proto for package 'Google.Ads.AdManager.V1'
|
3
|
+
# Original file comments:
|
4
|
+
# Copyright 2024 Google LLC
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#
|
18
|
+
|
19
|
+
require 'grpc'
|
20
|
+
require 'google/ads/admanager/v1/taxonomy_category_service_pb'
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Ads
|
24
|
+
module AdManager
|
25
|
+
module V1
|
26
|
+
module TaxonomyCategoryService
|
27
|
+
# Provides methods for handling `TaxonomyCategory` objects.
|
28
|
+
class Service
|
29
|
+
|
30
|
+
include ::GRPC::GenericService
|
31
|
+
|
32
|
+
self.marshal_class_method = :encode
|
33
|
+
self.unmarshal_class_method = :decode
|
34
|
+
self.service_name = 'google.ads.admanager.v1.TaxonomyCategoryService'
|
35
|
+
|
36
|
+
# API to retrieve a `TaxonomyCategory` object.
|
37
|
+
rpc :GetTaxonomyCategory, ::Google::Ads::AdManager::V1::GetTaxonomyCategoryRequest, ::Google::Ads::AdManager::V1::TaxonomyCategory
|
38
|
+
# API to retrieve a list of `TaxonomyCategory` objects.
|
39
|
+
rpc :ListTaxonomyCategories, ::Google::Ads::AdManager::V1::ListTaxonomyCategoriesRequest, ::Google::Ads::AdManager::V1::ListTaxonomyCategoriesResponse
|
40
|
+
end
|
41
|
+
|
42
|
+
Stub = Service.rpc_stub_class
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/ads/admanager/v1/taxonomy_type_enum.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
|
8
|
+
descriptor_data = "\n0google/ads/admanager/v1/taxonomy_type_enum.proto\x12\x17google.ads.admanager.v1\"\xe5\x01\n\x10TaxonomyTypeEnum\"\xd0\x01\n\x0cTaxonomyType\x12\x1d\n\x19TAXONOMY_TYPE_UNSPECIFIED\x10\x00\x12\x1d\n\x19TAXONOMY_IAB_AUDIENCE_1_1\x10\x03\x12\x1c\n\x18TAXONOMY_IAB_CONTENT_2_1\x10\x04\x12\x1c\n\x18TAXONOMY_IAB_CONTENT_2_2\x10\x06\x12\x1c\n\x18TAXONOMY_IAB_CONTENT_3_0\x10\x05\x12(\n$TAXONOMY_GOOGLE_STRUCTURED_VIDEO_1_0\x10\x07\x42\xc9\x01\n\x1b\x63om.google.ads.admanager.v1B\x15TaxonomyTypeEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xaa\x02\x17Google.Ads.AdManager.V1\xca\x02\x17Google\\Ads\\AdManager\\V1\xea\x02\x1aGoogle::Ads::AdManager::V1b\x06proto3"
|
9
|
+
|
10
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
11
|
+
|
12
|
+
begin
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
14
|
+
rescue TypeError
|
15
|
+
# Compatibility code: will be removed in the next major version.
|
16
|
+
require 'google/protobuf/descriptor_pb'
|
17
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
18
|
+
parsed.clear_dependency
|
19
|
+
serialized = parsed.class.encode(parsed)
|
20
|
+
file = pool.add_serialized_file(serialized)
|
21
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
22
|
+
imports = [
|
23
|
+
]
|
24
|
+
imports.each do |type_name, expected_filename|
|
25
|
+
import_file = pool.lookup(type_name).file_descriptor
|
26
|
+
if import_file.name != expected_filename
|
27
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
28
|
+
end
|
29
|
+
end
|
30
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
31
|
+
warn "This will become an error in the next major version."
|
32
|
+
end
|
33
|
+
|
34
|
+
module Google
|
35
|
+
module Ads
|
36
|
+
module AdManager
|
37
|
+
module V1
|
38
|
+
TaxonomyTypeEnum = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.TaxonomyTypeEnum").msgclass
|
39
|
+
TaxonomyTypeEnum::TaxonomyType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.TaxonomyTypeEnum.TaxonomyType").enummodule
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/ads/admanager/v1/team_messages.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/resource_pb'
|
9
|
+
|
10
|
+
|
11
|
+
descriptor_data = "\n+google/ads/admanager/v1/team_messages.proto\x12\x17google.ads.admanager.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x86\x01\n\x04Team\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x14\n\x07team_id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03:U\xea\x41R\n\x1d\x61\x64manager.googleapis.com/Team\x12$networks/{network_code}/teams/{team}*\x05teams2\x04teamB\xc5\x01\n\x1b\x63om.google.ads.admanager.v1B\x11TeamMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xaa\x02\x17Google.Ads.AdManager.V1\xca\x02\x17Google\\Ads\\AdManager\\V1\xea\x02\x1aGoogle::Ads::AdManager::V1b\x06proto3"
|
12
|
+
|
13
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
|
+
|
15
|
+
begin
|
16
|
+
pool.add_serialized_file(descriptor_data)
|
17
|
+
rescue TypeError
|
18
|
+
# Compatibility code: will be removed in the next major version.
|
19
|
+
require 'google/protobuf/descriptor_pb'
|
20
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
21
|
+
parsed.clear_dependency
|
22
|
+
serialized = parsed.class.encode(parsed)
|
23
|
+
file = pool.add_serialized_file(serialized)
|
24
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
25
|
+
imports = [
|
26
|
+
]
|
27
|
+
imports.each do |type_name, expected_filename|
|
28
|
+
import_file = pool.lookup(type_name).file_descriptor
|
29
|
+
if import_file.name != expected_filename
|
30
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
31
|
+
end
|
32
|
+
end
|
33
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
34
|
+
warn "This will become an error in the next major version."
|
35
|
+
end
|
36
|
+
|
37
|
+
module Google
|
38
|
+
module Ads
|
39
|
+
module AdManager
|
40
|
+
module V1
|
41
|
+
Team = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.Team").msgclass
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/ads/admanager/v1/time_unit_enum.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
|
8
|
+
descriptor_data = "\n,google/ads/admanager/v1/time_unit_enum.proto\x12\x17google.ads.admanager.v1\"\x8c\x01\n\x0cTimeUnitEnum\"|\n\x08TimeUnit\x12\x19\n\x15TIME_UNIT_UNSPECIFIED\x10\x00\x12\n\n\x06MINUTE\x10\x01\x12\x08\n\x04HOUR\x10\x02\x12\x07\n\x03\x44\x41Y\x10\x03\x12\x08\n\x04WEEK\x10\x04\x12\t\n\x05MONTH\x10\x05\x12\x0c\n\x08LIFETIME\x10\x06\x12\x07\n\x03POD\x10\x07\x12\n\n\x06STREAM\x10\x08\x42\xc5\x01\n\x1b\x63om.google.ads.admanager.v1B\x11TimeUnitEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xaa\x02\x17Google.Ads.AdManager.V1\xca\x02\x17Google\\Ads\\AdManager\\V1\xea\x02\x1aGoogle::Ads::AdManager::V1b\x06proto3"
|
9
|
+
|
10
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
11
|
+
|
12
|
+
begin
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
14
|
+
rescue TypeError
|
15
|
+
# Compatibility code: will be removed in the next major version.
|
16
|
+
require 'google/protobuf/descriptor_pb'
|
17
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
18
|
+
parsed.clear_dependency
|
19
|
+
serialized = parsed.class.encode(parsed)
|
20
|
+
file = pool.add_serialized_file(serialized)
|
21
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
22
|
+
imports = [
|
23
|
+
]
|
24
|
+
imports.each do |type_name, expected_filename|
|
25
|
+
import_file = pool.lookup(type_name).file_descriptor
|
26
|
+
if import_file.name != expected_filename
|
27
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
28
|
+
end
|
29
|
+
end
|
30
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
31
|
+
warn "This will become an error in the next major version."
|
32
|
+
end
|
33
|
+
|
34
|
+
module Google
|
35
|
+
module Ads
|
36
|
+
module AdManager
|
37
|
+
module V1
|
38
|
+
TimeUnitEnum = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.TimeUnitEnum").msgclass
|
39
|
+
TimeUnitEnum::TimeUnit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.TimeUnitEnum.TimeUnit").enummodule
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/ads/admanager/v1/user_messages.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/resource_pb'
|
9
|
+
|
10
|
+
|
11
|
+
descriptor_data = "\n+google/ads/admanager/v1/user_messages.proto\x12\x17google.ads.admanager.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xdf\x02\n\x04User\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x14\n\x07user_id\x18\n \x01(\x03\x42\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05\x65mail\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x33\n\x04role\x18\x04 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x61\x64manager.googleapis.com/Role\x12\x13\n\x06\x61\x63tive\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x65xternal_id\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0fservice_account\x18\x08 \x01(\x08\x42\x03\xe0\x41\x03\x12&\n\x19orders_ui_local_time_zone\x18\t \x01(\tB\x03\xe0\x41\x01:U\xea\x41R\n\x1d\x61\x64manager.googleapis.com/User\x12$networks/{network_code}/users/{user}*\x05users2\x04userB\xc5\x01\n\x1b\x63om.google.ads.admanager.v1B\x11UserMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xaa\x02\x17Google.Ads.AdManager.V1\xca\x02\x17Google\\Ads\\AdManager\\V1\xea\x02\x1aGoogle::Ads::AdManager::V1b\x06proto3"
|
12
|
+
|
13
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
|
+
|
15
|
+
begin
|
16
|
+
pool.add_serialized_file(descriptor_data)
|
17
|
+
rescue TypeError
|
18
|
+
# Compatibility code: will be removed in the next major version.
|
19
|
+
require 'google/protobuf/descriptor_pb'
|
20
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
21
|
+
parsed.clear_dependency
|
22
|
+
serialized = parsed.class.encode(parsed)
|
23
|
+
file = pool.add_serialized_file(serialized)
|
24
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
25
|
+
imports = [
|
26
|
+
]
|
27
|
+
imports.each do |type_name, expected_filename|
|
28
|
+
import_file = pool.lookup(type_name).file_descriptor
|
29
|
+
if import_file.name != expected_filename
|
30
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
31
|
+
end
|
32
|
+
end
|
33
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
34
|
+
warn "This will become an error in the next major version."
|
35
|
+
end
|
36
|
+
|
37
|
+
module Google
|
38
|
+
module Ads
|
39
|
+
module AdManager
|
40
|
+
module V1
|
41
|
+
User = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.User").msgclass
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/ads/admanager/v1/user_service.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/ads/admanager/v1/user_messages_pb'
|
8
|
+
require 'google/api/annotations_pb'
|
9
|
+
require 'google/api/client_pb'
|
10
|
+
require 'google/api/field_behavior_pb'
|
11
|
+
require 'google/api/resource_pb'
|
12
|
+
|
13
|
+
|
14
|
+
descriptor_data = "\n*google/ads/admanager/v1/user_service.proto\x12\x17google.ads.admanager.v1\x1a+google/ads/admanager/v1/user_messages.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"E\n\x0eGetUserRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x61\x64manager.googleapis.com/User2\xab\x01\n\x0bUserService\x12\x7f\n\x07GetUser\x12\'.google.ads.admanager.v1.GetUserRequest\x1a\x1d.google.ads.admanager.v1.User\",\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1f\x12\x1d/v1/{name=networks/*/users/*}\x1a\x1b\xca\x41\x18\x61\x64manager.googleapis.comB\xc4\x01\n\x1b\x63om.google.ads.admanager.v1B\x10UserServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xaa\x02\x17Google.Ads.AdManager.V1\xca\x02\x17Google\\Ads\\AdManager\\V1\xea\x02\x1aGoogle::Ads::AdManager::V1b\x06proto3"
|
15
|
+
|
16
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
|
+
|
18
|
+
begin
|
19
|
+
pool.add_serialized_file(descriptor_data)
|
20
|
+
rescue TypeError
|
21
|
+
# Compatibility code: will be removed in the next major version.
|
22
|
+
require 'google/protobuf/descriptor_pb'
|
23
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
24
|
+
parsed.clear_dependency
|
25
|
+
serialized = parsed.class.encode(parsed)
|
26
|
+
file = pool.add_serialized_file(serialized)
|
27
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
28
|
+
imports = [
|
29
|
+
]
|
30
|
+
imports.each do |type_name, expected_filename|
|
31
|
+
import_file = pool.lookup(type_name).file_descriptor
|
32
|
+
if import_file.name != expected_filename
|
33
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
34
|
+
end
|
35
|
+
end
|
36
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
37
|
+
warn "This will become an error in the next major version."
|
38
|
+
end
|
39
|
+
|
40
|
+
module Google
|
41
|
+
module Ads
|
42
|
+
module AdManager
|
43
|
+
module V1
|
44
|
+
GetUserRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.GetUserRequest").msgclass
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|