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,53 @@
|
|
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 `EntitySignalsMapping` resource.
|
25
|
+
# @!attribute [rw] audience_segment_id
|
26
|
+
# @return [::Integer]
|
27
|
+
# ID of an AudienceSegment that this mapping belongs to.
|
28
|
+
# @!attribute [rw] content_bundle_id
|
29
|
+
# @return [::Integer]
|
30
|
+
# ID of a ContentBundle that this mapping belongs to.
|
31
|
+
# @!attribute [rw] custom_targeting_value_id
|
32
|
+
# @return [::Integer]
|
33
|
+
# ID of a CustomValue that this mapping belongs to.
|
34
|
+
# @!attribute [rw] name
|
35
|
+
# @return [::String]
|
36
|
+
# Identifier. The resource name of the `EntitySignalsMapping`.
|
37
|
+
# Format:
|
38
|
+
# `networks/{network_code}/entitySignalsMappings/{entity_signals_mapping_id}`
|
39
|
+
# @!attribute [r] entity_signals_mapping_id
|
40
|
+
# @return [::Integer]
|
41
|
+
# Output only. `EntitySignalsMapping` ID.
|
42
|
+
# @!attribute [rw] taxonomy_category_ids
|
43
|
+
# @return [::Array<::Integer>]
|
44
|
+
# Required. The IDs of the categories that are associated with the
|
45
|
+
# referencing entity.
|
46
|
+
class EntitySignalsMapping
|
47
|
+
include ::Google::Protobuf::MessageExts
|
48
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
@@ -0,0 +1,180 @@
|
|
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 `GetEntitySignalsMapping` method.
|
25
|
+
# @!attribute [rw] name
|
26
|
+
# @return [::String]
|
27
|
+
# Required. The resource name of the EntitySignalsMapping.
|
28
|
+
# Format:
|
29
|
+
# `networks/{network_code}/entitySignalsMappings/{entity_signals_mapping_id}`
|
30
|
+
class GetEntitySignalsMappingRequest
|
31
|
+
include ::Google::Protobuf::MessageExts
|
32
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
33
|
+
end
|
34
|
+
|
35
|
+
# Request object for `ListEntitySignalsMappings` method.
|
36
|
+
# @!attribute [rw] parent
|
37
|
+
# @return [::String]
|
38
|
+
# Required. The parent, which owns this collection of EntitySignalsMappings.
|
39
|
+
# Format: `networks/{network_code}`
|
40
|
+
# @!attribute [rw] page_size
|
41
|
+
# @return [::Integer]
|
42
|
+
# Optional. The maximum number of `EntitySignalsMappings` to return. The
|
43
|
+
# service may return fewer than this value. If unspecified, at most 50
|
44
|
+
# `EntitySignalsMappings` will be returned. The maximum value is 1000; values
|
45
|
+
# above 1000 will be coerced to 1000.
|
46
|
+
# @!attribute [rw] page_token
|
47
|
+
# @return [::String]
|
48
|
+
# Optional. A page token, received from a previous
|
49
|
+
# `ListEntitySignalsMappings` call. Provide this to retrieve the subsequent
|
50
|
+
# page.
|
51
|
+
#
|
52
|
+
# When paginating, all other parameters provided to
|
53
|
+
# `ListEntitySignalsMappings` must match the call that provided the page
|
54
|
+
# token.
|
55
|
+
# @!attribute [rw] filter
|
56
|
+
# @return [::String]
|
57
|
+
# Optional. Expression to filter the response.
|
58
|
+
# See syntax details at
|
59
|
+
# https://developers.google.com/ad-manager/api/beta/filters
|
60
|
+
# @!attribute [rw] order_by
|
61
|
+
# @return [::String]
|
62
|
+
# Optional. Expression to specify sorting order.
|
63
|
+
# See syntax details at
|
64
|
+
# https://developers.google.com/ad-manager/api/beta/filters#order
|
65
|
+
# @!attribute [rw] skip
|
66
|
+
# @return [::Integer]
|
67
|
+
# Optional. Number of individual resources to skip while paginating.
|
68
|
+
class ListEntitySignalsMappingsRequest
|
69
|
+
include ::Google::Protobuf::MessageExts
|
70
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
71
|
+
end
|
72
|
+
|
73
|
+
# Request object for 'CreateEntitySignalsMapping' method.
|
74
|
+
# @!attribute [rw] parent
|
75
|
+
# @return [::String]
|
76
|
+
# Required. The parent resource where this EntitySignalsMapping will be
|
77
|
+
# created. Format: `networks/{network_code}`
|
78
|
+
# @!attribute [rw] entity_signals_mapping
|
79
|
+
# @return [::Google::Ads::AdManager::V1::EntitySignalsMapping]
|
80
|
+
# Required. The EntitySignalsMapping object to create.
|
81
|
+
class CreateEntitySignalsMappingRequest
|
82
|
+
include ::Google::Protobuf::MessageExts
|
83
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
84
|
+
end
|
85
|
+
|
86
|
+
# Request object for 'UpdateEntitySignalsMapping' method.
|
87
|
+
# @!attribute [rw] entity_signals_mapping
|
88
|
+
# @return [::Google::Ads::AdManager::V1::EntitySignalsMapping]
|
89
|
+
# Required. The `EntitySignalsMapping` to update.
|
90
|
+
#
|
91
|
+
# The EntitySignalsMapping's name is used to identify the
|
92
|
+
# EntitySignalsMapping to update.
|
93
|
+
# Format:
|
94
|
+
# `networks/{network_code}/entitySignalsMappings/{entity_signals_mapping}`
|
95
|
+
# @!attribute [rw] update_mask
|
96
|
+
# @return [::Google::Protobuf::FieldMask]
|
97
|
+
# Required. The list of fields to update.
|
98
|
+
class UpdateEntitySignalsMappingRequest
|
99
|
+
include ::Google::Protobuf::MessageExts
|
100
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
101
|
+
end
|
102
|
+
|
103
|
+
# Response object for `ListEntitySignalsMappingsRequest` containing matching
|
104
|
+
# `EntitySignalsMapping` resources.
|
105
|
+
# @!attribute [rw] entity_signals_mappings
|
106
|
+
# @return [::Array<::Google::Ads::AdManager::V1::EntitySignalsMapping>]
|
107
|
+
# The `EntitySignalsMapping` from the specified network.
|
108
|
+
# @!attribute [rw] next_page_token
|
109
|
+
# @return [::String]
|
110
|
+
# A token, which can be sent as `page_token` to retrieve the next page.
|
111
|
+
# If this field is omitted, there are no subsequent pages.
|
112
|
+
# @!attribute [rw] total_size
|
113
|
+
# @return [::Integer]
|
114
|
+
# Total number of `EntitySignalsMappings`.
|
115
|
+
# If a filter was included in the request, this reflects the total number
|
116
|
+
# after the filtering is applied.
|
117
|
+
#
|
118
|
+
# `total_size` will not be calculated in the response unless it has been
|
119
|
+
# included in a response field mask. The response field mask can be provided
|
120
|
+
# to the method by using the URL parameter `$fields` or `fields`, or by using
|
121
|
+
# the HTTP/gRPC header `X-Goog-FieldMask`.
|
122
|
+
#
|
123
|
+
# For more information, see
|
124
|
+
# https://developers.google.com/ad-manager/api/beta/field-masks
|
125
|
+
class ListEntitySignalsMappingsResponse
|
126
|
+
include ::Google::Protobuf::MessageExts
|
127
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
128
|
+
end
|
129
|
+
|
130
|
+
# Request object for `BatchCreateEntitySignalsMappings` method.
|
131
|
+
# @!attribute [rw] parent
|
132
|
+
# @return [::String]
|
133
|
+
# Required. The parent resource where `EntitySignalsMappings` will be
|
134
|
+
# created. Format: `networks/{network_code}` The parent field in the
|
135
|
+
# CreateEntitySignalsMappingRequest must match this field.
|
136
|
+
# @!attribute [rw] requests
|
137
|
+
# @return [::Array<::Google::Ads::AdManager::V1::CreateEntitySignalsMappingRequest>]
|
138
|
+
# Required. The `EntitySignalsMapping` objects to create.
|
139
|
+
# A maximum of 100 objects can be created in a batch.
|
140
|
+
class BatchCreateEntitySignalsMappingsRequest
|
141
|
+
include ::Google::Protobuf::MessageExts
|
142
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
143
|
+
end
|
144
|
+
|
145
|
+
# Response object for `BatchCreateEntitySignalsMappings` method.
|
146
|
+
# @!attribute [rw] entity_signals_mappings
|
147
|
+
# @return [::Array<::Google::Ads::AdManager::V1::EntitySignalsMapping>]
|
148
|
+
# The `EntitySignalsMapping` objects created.
|
149
|
+
class BatchCreateEntitySignalsMappingsResponse
|
150
|
+
include ::Google::Protobuf::MessageExts
|
151
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
152
|
+
end
|
153
|
+
|
154
|
+
# Request object for `BatchUpdateEntitySignalsMappings` method.
|
155
|
+
# @!attribute [rw] parent
|
156
|
+
# @return [::String]
|
157
|
+
# Required. The parent resource where `EntitySignalsMappings` will be
|
158
|
+
# updated. Format: `networks/{network_code}` The parent field in the
|
159
|
+
# UpdateEntitySignalsMappingRequest must match this field.
|
160
|
+
# @!attribute [rw] requests
|
161
|
+
# @return [::Array<::Google::Ads::AdManager::V1::UpdateEntitySignalsMappingRequest>]
|
162
|
+
# Required. The `EntitySignalsMapping` objects to update.
|
163
|
+
# A maximum of 100 objects can be updated in a batch.
|
164
|
+
class BatchUpdateEntitySignalsMappingsRequest
|
165
|
+
include ::Google::Protobuf::MessageExts
|
166
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
167
|
+
end
|
168
|
+
|
169
|
+
# Response object for `BatchUpdateEntitySignalsMappings` method.
|
170
|
+
# @!attribute [rw] entity_signals_mappings
|
171
|
+
# @return [::Array<::Google::Ads::AdManager::V1::EntitySignalsMapping>]
|
172
|
+
# The `EntitySignalsMapping` objects updated.
|
173
|
+
class BatchUpdateEntitySignalsMappingsResponse
|
174
|
+
include ::Google::Protobuf::MessageExts
|
175
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
176
|
+
end
|
177
|
+
end
|
178
|
+
end
|
179
|
+
end
|
180
|
+
end
|
@@ -0,0 +1,45 @@
|
|
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::EnvironmentTypeEnum::EnvironmentType EnvironmentType}.
|
26
|
+
class EnvironmentTypeEnum
|
27
|
+
include ::Google::Protobuf::MessageExts
|
28
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
29
|
+
|
30
|
+
# The different environments in which an ad can be shown.
|
31
|
+
module EnvironmentType
|
32
|
+
# No value specified
|
33
|
+
ENVIRONMENT_TYPE_UNSPECIFIED = 0
|
34
|
+
|
35
|
+
# A regular web browser.
|
36
|
+
BROWSER = 1
|
37
|
+
|
38
|
+
# Video players.
|
39
|
+
VIDEO_PLAYER = 2
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,41 @@
|
|
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
|
+
# Represents a Frequency Cap that can be applied to an entity.
|
25
|
+
# @!attribute [rw] max_impressions
|
26
|
+
# @return [::Integer]
|
27
|
+
# The maximum number of impressions for this frequency cap.
|
28
|
+
# @!attribute [rw] time_amount
|
29
|
+
# @return [::Integer]
|
30
|
+
# The number of time units over which the frequency cap is effective.
|
31
|
+
# @!attribute [rw] time_unit
|
32
|
+
# @return [::Google::Ads::AdManager::V1::TimeUnitEnum::TimeUnit]
|
33
|
+
# The units of time of this frequency cap.
|
34
|
+
class FrequencyCap
|
35
|
+
include ::Google::Protobuf::MessageExts
|
36
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
@@ -0,0 +1,36 @@
|
|
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 Label is additional information that can be added to an entity.
|
25
|
+
# @!attribute [rw] name
|
26
|
+
# @return [::String]
|
27
|
+
# Identifier. The resource name of the `Label`.
|
28
|
+
# Format: `networks/{network_code}/labels/{label_id}`
|
29
|
+
class Label
|
30
|
+
include ::Google::Protobuf::MessageExts
|
31
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
@@ -0,0 +1,67 @@
|
|
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 Network resource.
|
25
|
+
# @!attribute [rw] name
|
26
|
+
# @return [::String]
|
27
|
+
# Identifier. The resource name of the Network.
|
28
|
+
# Format: networks/\\{network_code}
|
29
|
+
# @!attribute [rw] display_name
|
30
|
+
# @return [::String]
|
31
|
+
# Optional. Display name for Network.
|
32
|
+
# @!attribute [r] network_code
|
33
|
+
# @return [::String]
|
34
|
+
# Output only. Network Code.
|
35
|
+
# @!attribute [r] property_code
|
36
|
+
# @return [::String]
|
37
|
+
# Output only. Property code.
|
38
|
+
# @!attribute [r] time_zone
|
39
|
+
# @return [::String]
|
40
|
+
# Output only. Time zone associated with the delivery of orders and
|
41
|
+
# reporting.
|
42
|
+
# @!attribute [r] currency_code
|
43
|
+
# @return [::String]
|
44
|
+
# Output only. Primary currency code, in ISO-4217 format.
|
45
|
+
# @!attribute [rw] secondary_currency_codes
|
46
|
+
# @return [::Array<::String>]
|
47
|
+
# Optional. Currency codes that can be used as an alternative to the primary
|
48
|
+
# currency code for trafficking Line Items.
|
49
|
+
# @!attribute [r] effective_root_ad_unit
|
50
|
+
# @return [::String]
|
51
|
+
# Output only. Top most [Ad Unit](google.ads.admanager.v1.AdUnit) to which
|
52
|
+
# descendant Ad Units can be added.
|
53
|
+
# Format: networks/\\{network_code}/adUnit/\\{ad_unit_id}
|
54
|
+
# @!attribute [r] test_network
|
55
|
+
# @return [::Boolean]
|
56
|
+
# Output only. Whether this is a test network.
|
57
|
+
# @!attribute [r] network_id
|
58
|
+
# @return [::Integer]
|
59
|
+
# Output only. Network ID.
|
60
|
+
class Network
|
61
|
+
include ::Google::Protobuf::MessageExts
|
62
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
@@ -0,0 +1,51 @@
|
|
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 to get Network
|
25
|
+
# @!attribute [rw] name
|
26
|
+
# @return [::String]
|
27
|
+
# Required. Resource name of Network.
|
28
|
+
# Format: networks/\\{network_code}
|
29
|
+
class GetNetworkRequest
|
30
|
+
include ::Google::Protobuf::MessageExts
|
31
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
32
|
+
end
|
33
|
+
|
34
|
+
# Request object for `ListNetworks` method.
|
35
|
+
class ListNetworksRequest
|
36
|
+
include ::Google::Protobuf::MessageExts
|
37
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
38
|
+
end
|
39
|
+
|
40
|
+
# Response object for `ListNetworks` method.
|
41
|
+
# @!attribute [rw] networks
|
42
|
+
# @return [::Array<::Google::Ads::AdManager::V1::Network>]
|
43
|
+
# The `Network`s a user has access to.
|
44
|
+
class ListNetworksResponse
|
45
|
+
include ::Google::Protobuf::MessageExts
|
46
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,63 @@
|
|
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::OrderStatusEnum::OrderStatus OrderStatus}.
|
26
|
+
class OrderStatusEnum
|
27
|
+
include ::Google::Protobuf::MessageExts
|
28
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
29
|
+
|
30
|
+
# The status of an Order.
|
31
|
+
module OrderStatus
|
32
|
+
# Default value. This value is unused.
|
33
|
+
ORDER_STATUS_UNSPECIFIED = 0
|
34
|
+
|
35
|
+
# Indicates that the Order has just been created but no approval has been
|
36
|
+
# requested yet.
|
37
|
+
DRAFT = 2
|
38
|
+
|
39
|
+
# Indicates that a request for approval for the Order has been made.
|
40
|
+
PENDING_APPROVAL = 3
|
41
|
+
|
42
|
+
# Indicates that the Order has been approved and is ready to serve.
|
43
|
+
APPROVED = 4
|
44
|
+
|
45
|
+
# Indicates that the Order has been disapproved and is not eligible to
|
46
|
+
# serve.
|
47
|
+
DISAPPROVED = 5
|
48
|
+
|
49
|
+
# This is a legacy state. Paused status should be checked on LineItems
|
50
|
+
# within the order.
|
51
|
+
PAUSED = 6
|
52
|
+
|
53
|
+
# Indicates that the Order has been canceled and cannot serve.
|
54
|
+
CANCELED = 7
|
55
|
+
|
56
|
+
# Indicates that the Order has been deleted.
|
57
|
+
DELETED = 8
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|