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,149 @@
|
|
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 `Order` resource.
|
25
|
+
# @!attribute [rw] name
|
26
|
+
# @return [::String]
|
27
|
+
# Identifier. The resource name of the `Order`.
|
28
|
+
# Format: `networks/{network_code}/orders/{order_id}`
|
29
|
+
# @!attribute [r] order_id
|
30
|
+
# @return [::Integer]
|
31
|
+
# Output only. Order ID.
|
32
|
+
# @!attribute [rw] display_name
|
33
|
+
# @return [::String]
|
34
|
+
# Required. The display name of the Order. This value has a maximum length
|
35
|
+
# of 255 characters.
|
36
|
+
# @!attribute [rw] programmatic
|
37
|
+
# @return [::Boolean]
|
38
|
+
# Optional. Specifies whether or not the Order is a programmatic order.
|
39
|
+
# @!attribute [rw] trafficker
|
40
|
+
# @return [::String]
|
41
|
+
# Required. The resource name of the User responsible for trafficking the
|
42
|
+
# Order. Format: "networks/\\{network_code}/users/\\{user_id}"
|
43
|
+
# @!attribute [rw] advertiser_contacts
|
44
|
+
# @return [::Array<::String>]
|
45
|
+
# Optional. The resource names of Contacts from the advertiser of this Order.
|
46
|
+
# Format: "networks/\\{network_code}/contacts/\\{contact_id}"
|
47
|
+
# @!attribute [rw] advertiser
|
48
|
+
# @return [::String]
|
49
|
+
# Required. The resource name of the Company, which is of type
|
50
|
+
# Company.Type.ADVERTISER, to which this order belongs. Format:
|
51
|
+
# "networks/\\{network_code}/companies/\\{company_id}"
|
52
|
+
# @!attribute [rw] agency_contacts
|
53
|
+
# @return [::Array<::String>]
|
54
|
+
# Optional. The resource names of Contacts from the advertising Agency of
|
55
|
+
# this Order. Format: "networks/\\{network_code}/contacts/\\{contact_id}"
|
56
|
+
# @!attribute [rw] agency
|
57
|
+
# @return [::String]
|
58
|
+
# Optional. The resource name of the Company, which is of type
|
59
|
+
# Company.Type.AGENCY, with which this order is associated. Format:
|
60
|
+
# "networks/\\{network_code}/companies/\\{company_id}"
|
61
|
+
# @!attribute [rw] applied_teams
|
62
|
+
# @return [::Array<::String>]
|
63
|
+
# Optional. The resource names of Teams directly applied to this Order.
|
64
|
+
# Format: "networks/\\{network_code}/teams/\\{team_id}"
|
65
|
+
# @!attribute [r] effective_teams
|
66
|
+
# @return [::Array<::String>]
|
67
|
+
# Output only. The resource names of Teams applied to this Order including
|
68
|
+
# inherited values. Format: "networks/\\{network_code}/teams/\\{team_id}"
|
69
|
+
# @!attribute [r] creator
|
70
|
+
# @return [::String]
|
71
|
+
# Output only. The resource name of the User who created the Order on behalf
|
72
|
+
# of the advertiser. This value is assigned by Google. Format:
|
73
|
+
# "networks/\\{network_code}/users/\\{user_id}"
|
74
|
+
# @!attribute [r] currency_code
|
75
|
+
# @return [::String]
|
76
|
+
# Output only. The ISO 4217 3-letter currency code for the currency used by
|
77
|
+
# the Order. This value is the network's currency code.
|
78
|
+
# @!attribute [r] start_time
|
79
|
+
# @return [::Google::Protobuf::Timestamp]
|
80
|
+
# Output only. The instant at which the Order and its associated line items
|
81
|
+
# are eligible to begin serving. This attribute is derived from the line item
|
82
|
+
# of the order that has the earliest LineItem.start_time.
|
83
|
+
# @!attribute [r] end_time
|
84
|
+
# @return [::Google::Protobuf::Timestamp]
|
85
|
+
# Output only. The instant at which the Order and its associated line items
|
86
|
+
# stop being served. This attribute is derived from the line item of the
|
87
|
+
# order that has the latest LineItem.end_time.
|
88
|
+
# @!attribute [r] unlimited_end_time
|
89
|
+
# @return [::Boolean]
|
90
|
+
# Output only. Indicates whether or not this Order has an end time.
|
91
|
+
# @!attribute [rw] external_order_id
|
92
|
+
# @return [::Integer]
|
93
|
+
# Optional. An arbitrary ID to associate to the Order, which can be used as a
|
94
|
+
# key to an external system.
|
95
|
+
# @!attribute [r] archived
|
96
|
+
# @return [::Boolean]
|
97
|
+
# Output only. The archival status of the Order.
|
98
|
+
# @!attribute [r] last_modified_by_app
|
99
|
+
# @return [::String]
|
100
|
+
# Output only. The application which modified this order. This attribute is
|
101
|
+
# assigned by Google.
|
102
|
+
# @!attribute [r] update_time
|
103
|
+
# @return [::Google::Protobuf::Timestamp]
|
104
|
+
# Output only. The instant this Order was last modified.
|
105
|
+
# @!attribute [rw] notes
|
106
|
+
# @return [::String]
|
107
|
+
# Optional. Provides any additional notes that may annotate the Order. This
|
108
|
+
# attribute has a maximum length of 65,535 characters.
|
109
|
+
# @!attribute [rw] po_number
|
110
|
+
# @return [::String]
|
111
|
+
# Optional. The purchase order number for the Order. This value has a maximum
|
112
|
+
# length of 63 characters.
|
113
|
+
# @!attribute [r] status
|
114
|
+
# @return [::Google::Ads::AdManager::V1::OrderStatusEnum::OrderStatus]
|
115
|
+
# Output only. The status of the Order.
|
116
|
+
# @!attribute [rw] salesperson
|
117
|
+
# @return [::String]
|
118
|
+
# Optional. The resource name of the User responsible for the sales of the
|
119
|
+
# Order. Format: "networks/\\{network_code}/users/\\{user_id}"
|
120
|
+
# @!attribute [rw] secondary_salespeople
|
121
|
+
# @return [::Array<::String>]
|
122
|
+
# Optional. Unordered list. The resource names of the secondary salespeople
|
123
|
+
# associated with the order. Format:
|
124
|
+
# "networks/\\{network_code}/users/\\{user_id}"
|
125
|
+
# @!attribute [rw] secondary_traffickers
|
126
|
+
# @return [::Array<::String>]
|
127
|
+
# Optional. Unordered list. The resource names of the secondary traffickers
|
128
|
+
# associated with the order. Format:
|
129
|
+
# "networks/\\{network_code}/users/\\{user_id}"
|
130
|
+
# @!attribute [rw] applied_labels
|
131
|
+
# @return [::Array<::Google::Ads::AdManager::V1::AppliedLabel>]
|
132
|
+
# Optional. The set of labels applied directly to this order.
|
133
|
+
# @!attribute [r] effective_applied_labels
|
134
|
+
# @return [::Array<::Google::Ads::AdManager::V1::AppliedLabel>]
|
135
|
+
# Output only. Contains the set of labels applied directly to the order as
|
136
|
+
# well as those inherited from the company that owns the order. If a label
|
137
|
+
# has been negated, only the negated label is returned. This field is
|
138
|
+
# assigned by Google.
|
139
|
+
# @!attribute [rw] custom_field_values
|
140
|
+
# @return [::Array<::Google::Ads::AdManager::V1::CustomFieldValue>]
|
141
|
+
# Optional. The set of custom field values to this order.
|
142
|
+
class Order
|
143
|
+
include ::Google::Protobuf::MessageExts
|
144
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
145
|
+
end
|
146
|
+
end
|
147
|
+
end
|
148
|
+
end
|
149
|
+
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 `GetOrder` method.
|
25
|
+
# @!attribute [rw] name
|
26
|
+
# @return [::String]
|
27
|
+
# Required. The resource name of the Order.
|
28
|
+
# Format: `networks/{network_code}/orders/{order_id}`
|
29
|
+
class GetOrderRequest
|
30
|
+
include ::Google::Protobuf::MessageExts
|
31
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
32
|
+
end
|
33
|
+
|
34
|
+
# Request object for `ListOrders` method.
|
35
|
+
# @!attribute [rw] parent
|
36
|
+
# @return [::String]
|
37
|
+
# Required. The parent, which owns this collection of Orders.
|
38
|
+
# Format: `networks/{network_code}`
|
39
|
+
# @!attribute [rw] page_size
|
40
|
+
# @return [::Integer]
|
41
|
+
# Optional. The maximum number of `Orders` to return. The service may return
|
42
|
+
# fewer than this value. If unspecified, at most 50 `Orders` will be
|
43
|
+
# returned. The maximum value is 1000; values above 1000 will be coerced to
|
44
|
+
# 1000.
|
45
|
+
# @!attribute [rw] page_token
|
46
|
+
# @return [::String]
|
47
|
+
# Optional. A page token, received from a previous `ListOrders` call.
|
48
|
+
# Provide this to retrieve the subsequent page.
|
49
|
+
#
|
50
|
+
# When paginating, all other parameters provided to `ListOrders` must match
|
51
|
+
# 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 ListOrdersRequest
|
66
|
+
include ::Google::Protobuf::MessageExts
|
67
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
68
|
+
end
|
69
|
+
|
70
|
+
# Response object for `ListOrdersRequest` containing matching `Order`
|
71
|
+
# resources.
|
72
|
+
# @!attribute [rw] orders
|
73
|
+
# @return [::Array<::Google::Ads::AdManager::V1::Order>]
|
74
|
+
# The `Order` 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 `Orders`.
|
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 ListOrdersResponse
|
93
|
+
include ::Google::Protobuf::MessageExts
|
94
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
@@ -0,0 +1,48 @@
|
|
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::PlacementStatusEnum::PlacementStatus PlacementStatus}
|
26
|
+
class PlacementStatusEnum
|
27
|
+
include ::Google::Protobuf::MessageExts
|
28
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
29
|
+
|
30
|
+
# Status of the placement.
|
31
|
+
module PlacementStatus
|
32
|
+
# Not specified value.
|
33
|
+
PLACEMENT_STATUS_UNSPECIFIED = 0
|
34
|
+
|
35
|
+
# Stats are collected, user-visible.
|
36
|
+
ACTIVE = 1
|
37
|
+
|
38
|
+
# No stats collected, not user-visible.
|
39
|
+
INACTIVE = 2
|
40
|
+
|
41
|
+
# No stats collected, user-visible.
|
42
|
+
ARCHIVED = 3
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
@@ -0,0 +1,62 @@
|
|
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 `Placement` resource.
|
25
|
+
# @!attribute [rw] name
|
26
|
+
# @return [::String]
|
27
|
+
# Identifier. The resource name of the `Placement`.
|
28
|
+
# Format: `networks/{network_code}/placements/{placement_id}`
|
29
|
+
# @!attribute [r] placement_id
|
30
|
+
# @return [::Integer]
|
31
|
+
# Output only. `Placement` ID.
|
32
|
+
# @!attribute [rw] display_name
|
33
|
+
# @return [::String]
|
34
|
+
# Required. The display name of the placement. Its maximum length is 255
|
35
|
+
# characters.
|
36
|
+
# @!attribute [rw] description
|
37
|
+
# @return [::String]
|
38
|
+
# Optional. A description of the Placement. This value is optional and its
|
39
|
+
# maximum length is 65,535 characters.
|
40
|
+
# @!attribute [r] placement_code
|
41
|
+
# @return [::String]
|
42
|
+
# Output only. A string used to uniquely identify the Placement for purposes
|
43
|
+
# of serving the ad. This attribute is read-only and is assigned by Google
|
44
|
+
# when a placement is created.
|
45
|
+
# @!attribute [r] status
|
46
|
+
# @return [::Google::Ads::AdManager::V1::PlacementStatusEnum::PlacementStatus]
|
47
|
+
# Output only. The status of the Placement. This attribute is read-only.
|
48
|
+
# @!attribute [rw] targeted_ad_units
|
49
|
+
# @return [::Array<::String>]
|
50
|
+
# Optional. The resource names of AdUnits that constitute the Placement.
|
51
|
+
# Format: "networks/\\{network_code}/adUnits/\\{ad_unit_id}"
|
52
|
+
# @!attribute [r] update_time
|
53
|
+
# @return [::Google::Protobuf::Timestamp]
|
54
|
+
# Output only. The instant this Placement was last modified.
|
55
|
+
class Placement
|
56
|
+
include ::Google::Protobuf::MessageExts
|
57
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
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 `GetPlacement` method.
|
25
|
+
# @!attribute [rw] name
|
26
|
+
# @return [::String]
|
27
|
+
# Required. The resource name of the Placement.
|
28
|
+
# Format: `networks/{network_code}/placements/{placement_id}`
|
29
|
+
class GetPlacementRequest
|
30
|
+
include ::Google::Protobuf::MessageExts
|
31
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
32
|
+
end
|
33
|
+
|
34
|
+
# Request object for `ListPlacements` method.
|
35
|
+
# @!attribute [rw] parent
|
36
|
+
# @return [::String]
|
37
|
+
# Required. The parent, which owns this collection of Placements.
|
38
|
+
# Format: `networks/{network_code}`
|
39
|
+
# @!attribute [rw] page_size
|
40
|
+
# @return [::Integer]
|
41
|
+
# Optional. The maximum number of `Placements` to return. The service may
|
42
|
+
# return fewer than this value. If unspecified, at most 50 `Placements` 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 `ListPlacements` call.
|
48
|
+
# Provide this to retrieve the subsequent page.
|
49
|
+
#
|
50
|
+
# When paginating, all other parameters provided to `ListPlacements` 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 ListPlacementsRequest
|
66
|
+
include ::Google::Protobuf::MessageExts
|
67
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
68
|
+
end
|
69
|
+
|
70
|
+
# Response object for `ListPlacementsRequest` containing matching `Placement`
|
71
|
+
# objects.
|
72
|
+
# @!attribute [rw] placements
|
73
|
+
# @return [::Array<::Google::Ads::AdManager::V1::Placement>]
|
74
|
+
# The `Placement` 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 `Placement` 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 ListPlacementsResponse
|
93
|
+
include ::Google::Protobuf::MessageExts
|
94
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|