google-ads-googleads 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/ChangeLog +3 -0
- data/lib/google/ads/googleads/path_lookup_util.rb +29 -0
- data/lib/google/ads/googleads/proto_lookup_util.rb +91 -10
- data/lib/google/ads/googleads/v0/common/{ad_pb.rb → ad_type_infos_pb.rb} +4 -22
- data/lib/google/ads/googleads/v0/common/criteria_pb.rb +37 -3
- data/lib/google/ads/googleads/v0/common/metrics_pb.rb +8 -8
- data/lib/google/ads/googleads/v0/common/policy_pb.rb +57 -0
- data/lib/google/ads/googleads/v0/enums/ad_group_type_pb.rb +2 -0
- data/lib/google/ads/googleads/v0/enums/ad_network_type_pb.rb +1 -0
- data/lib/google/ads/googleads/v0/enums/ad_type_pb.rb +1 -0
- data/lib/google/ads/googleads/v0/enums/advertising_channel_sub_type_pb.rb +3 -0
- data/lib/google/ads/googleads/v0/enums/advertising_channel_type_pb.rb +2 -0
- data/lib/google/ads/googleads/v0/enums/bid_modifier_source_pb.rb +28 -0
- data/lib/google/ads/googleads/v0/enums/campaign_group_status_pb.rb +28 -0
- data/lib/google/ads/googleads/v0/enums/campaign_shared_set_status_pb.rb +28 -0
- data/lib/google/ads/googleads/v0/enums/criterion_type_pb.rb +2 -1
- data/lib/google/ads/googleads/v0/enums/device_pb.rb +1 -0
- data/lib/google/ads/googleads/v0/enums/hotel_date_selection_type_pb.rb +28 -0
- data/lib/google/ads/googleads/v0/enums/interaction_type_pb.rb +27 -0
- data/lib/google/ads/googleads/v0/enums/minute_of_hour_pb.rb +30 -0
- data/lib/google/ads/googleads/v0/enums/month_of_year_pb.rb +38 -0
- data/lib/google/ads/googleads/v0/enums/policy_topic_entry_type_pb.rb +31 -0
- data/lib/google/ads/googleads/v0/enums/policy_topic_evidence_destination_mismatch_url_type_pb.rb +31 -0
- data/lib/google/ads/googleads/v0/enums/product_condition_pb.rb +30 -0
- data/lib/google/ads/googleads/v0/enums/product_type_level_pb.rb +31 -0
- data/lib/google/ads/googleads/v0/enums/recommendation_type_pb.rb +5 -0
- data/lib/google/ads/googleads/v0/enums/shared_set_status_pb.rb +28 -0
- data/lib/google/ads/googleads/v0/enums/shared_set_type_pb.rb +28 -0
- data/lib/google/ads/googleads/v0/enums/slot_pb.rb +1 -0
- data/lib/google/ads/googleads/v0/errors/authentication_error_pb.rb +2 -0
- data/lib/google/ads/googleads/v0/errors/authorization_error_pb.rb +2 -0
- data/lib/google/ads/googleads/v0/errors/campaign_criterion_error_pb.rb +1 -0
- data/lib/google/ads/googleads/v0/errors/campaign_error_pb.rb +1 -2
- data/lib/google/ads/googleads/v0/errors/campaign_group_error_pb.rb +29 -0
- data/lib/google/ads/googleads/v0/errors/campaign_shared_set_error_pb.rb +27 -0
- data/lib/google/ads/googleads/v0/errors/context_error_pb.rb +1 -0
- data/lib/google/ads/googleads/v0/errors/database_error_pb.rb +27 -0
- data/lib/google/ads/googleads/v0/errors/enum_error_pb.rb +27 -0
- data/lib/google/ads/googleads/v0/errors/errors_pb.rb +21 -0
- data/lib/google/ads/googleads/v0/errors/header_error_pb.rb +27 -0
- data/lib/google/ads/googleads/v0/errors/mutate_error_pb.rb +1 -0
- data/lib/google/ads/googleads/v0/errors/policy_finding_error_pb.rb +27 -0
- data/lib/google/ads/googleads/v0/errors/query_error_pb.rb +1 -0
- data/lib/google/ads/googleads/v0/errors/quota_error_pb.rb +1 -0
- data/lib/google/ads/googleads/v0/errors/recommendation_error_pb.rb +1 -0
- data/lib/google/ads/googleads/v0/errors/shared_criterion_error_pb.rb +27 -0
- data/lib/google/ads/googleads/v0/errors/shared_set_error_pb.rb +30 -0
- data/lib/google/ads/googleads/v0/resources/ad_group_ad_pb.rb +2 -2
- data/lib/google/ads/googleads/v0/resources/ad_group_bid_modifier_pb.rb +4 -0
- data/lib/google/ads/googleads/v0/resources/ad_pb.rb +42 -0
- data/lib/google/ads/googleads/v0/resources/campaign_bid_modifier_pb.rb +30 -0
- data/lib/google/ads/googleads/v0/resources/campaign_criterion_pb.rb +2 -1
- data/lib/google/ads/googleads/v0/resources/campaign_group_pb.rb +27 -0
- data/lib/google/ads/googleads/v0/resources/campaign_pb.rb +9 -0
- data/lib/google/ads/googleads/v0/resources/campaign_shared_set_pb.rb +27 -0
- data/lib/google/ads/googleads/v0/resources/recommendation_pb.rb +25 -2
- data/lib/google/ads/googleads/v0/resources/shared_criterion_pb.rb +31 -0
- data/lib/google/ads/googleads/v0/resources/shared_set_pb.rb +31 -0
- data/lib/google/ads/googleads/v0/services.rb +1163 -0
- data/lib/google/ads/googleads/v0/services/ad_group_ad_service_client.rb +4 -4
- data/lib/google/ads/googleads/v0/services/ad_group_ad_service_services_pb.rb +2 -3
- data/lib/google/ads/googleads/v0/services/ad_group_bid_modifier_service_client.rb +4 -4
- data/lib/google/ads/googleads/v0/services/ad_group_bid_modifier_service_services_pb.rb +2 -3
- data/lib/google/ads/googleads/v0/services/ad_group_criterion_service_client.rb +4 -4
- data/lib/google/ads/googleads/v0/services/ad_group_criterion_service_services_pb.rb +2 -3
- data/lib/google/ads/googleads/v0/services/ad_group_service_client.rb +4 -4
- data/lib/google/ads/googleads/v0/services/ad_group_service_services_pb.rb +2 -3
- data/lib/google/ads/googleads/v0/services/bidding_strategy_service_client.rb +4 -4
- data/lib/google/ads/googleads/v0/services/bidding_strategy_service_services_pb.rb +2 -3
- data/lib/google/ads/googleads/v0/services/campaign_bid_modifier_service_client.rb +268 -0
- data/lib/google/ads/googleads/v0/services/campaign_bid_modifier_service_client_config.json +36 -0
- data/lib/google/ads/googleads/v0/services/campaign_bid_modifier_service_pb.rb +47 -0
- data/lib/google/ads/googleads/v0/services/campaign_bid_modifier_service_services_pb.rb +51 -0
- data/lib/google/ads/googleads/v0/services/campaign_budget_service_client.rb +4 -4
- data/lib/google/ads/googleads/v0/services/campaign_budget_service_services_pb.rb +2 -3
- data/lib/google/ads/googleads/v0/services/campaign_criterion_service_client.rb +4 -4
- data/lib/google/ads/googleads/v0/services/campaign_criterion_service_services_pb.rb +2 -3
- data/lib/google/ads/googleads/v0/services/campaign_group_service_client.rb +268 -0
- data/lib/google/ads/googleads/v0/services/campaign_group_service_client_config.json +36 -0
- data/lib/google/ads/googleads/v0/services/campaign_group_service_pb.rb +47 -0
- data/lib/google/ads/googleads/v0/services/campaign_group_service_services_pb.rb +51 -0
- data/lib/google/ads/googleads/v0/services/campaign_service_client.rb +4 -4
- data/lib/google/ads/googleads/v0/services/campaign_service_services_pb.rb +2 -3
- data/lib/google/ads/googleads/v0/services/campaign_shared_set_service_client.rb +267 -0
- data/lib/google/ads/googleads/v0/services/campaign_shared_set_service_client_config.json +36 -0
- data/lib/google/ads/googleads/v0/services/campaign_shared_set_service_pb.rb +44 -0
- data/lib/google/ads/googleads/v0/services/campaign_shared_set_service_services_pb.rb +50 -0
- data/lib/google/ads/googleads/v0/services/credentials.rb +10 -2
- data/lib/google/ads/googleads/v0/services/customer_service_client.rb +2 -2
- data/lib/google/ads/googleads/v0/services/customer_service_services_pb.rb +2 -3
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/common/ad_type_infos.rb +120 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/common/bidding.rb +176 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/common/criteria.rb +225 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/common/custom_parameter.rb +33 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/common/metrics.rb +208 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/ad.rb +79 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/ad_group.rb +87 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/ad_group_ad.rb +43 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/ad_group_bid_modifier.rb +70 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/ad_group_criterion.rb +148 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/bidding_strategy.rb +73 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/campaign.rb +223 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/campaign_bid_modifier.rb +46 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/campaign_budget.rb +88 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/campaign_criterion.rb +66 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/campaign_group.rb +49 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/campaign_shared_set.rb +47 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/customer.rb +57 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/geo_target_constant.rb +44 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/google_ads_field.rb +89 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/keyword_view.rb +32 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/recommendation.rb +223 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/shared_criterion.rb +46 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/shared_set.rb +56 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/ad_group_ad_service.rb +68 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/ad_group_bid_modifier_service.rb +71 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/ad_group_criterion_service.rb +69 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/ad_group_service.rb +68 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/bidding_strategy_service.rb +70 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/campaign_bid_modifier_service.rb +71 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/campaign_budget_service.rb +69 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/campaign_criterion_service.rb +69 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/campaign_group_service.rb +70 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/campaign_service.rb +69 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/campaign_shared_set_service.rb +64 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/customer_service.rb +29 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/geo_target_constant_service.rb +29 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/google_ads_field_service.rb +59 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/google_ads_service.rb +156 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/keyword_view_service.rb +29 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/recommendation_service.rb +112 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/shared_criterion_service.rb +64 -0
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/shared_set_service.rb +69 -0
- data/lib/google/ads/googleads/v0/services/doc/google/protobuf/any.rb +124 -0
- data/lib/google/ads/googleads/v0/services/doc/google/protobuf/field_mask.rb +223 -0
- data/lib/google/ads/googleads/v0/services/doc/google/protobuf/wrappers.rb +89 -0
- data/lib/google/ads/googleads/v0/services/doc/google/rpc/status.rb +83 -0
- data/lib/google/ads/googleads/v0/services/doc/overview.rb +82 -0
- data/lib/google/ads/googleads/v0/services/geo_target_constant_service_client.rb +2 -2
- data/lib/google/ads/googleads/v0/services/geo_target_constant_service_services_pb.rb +2 -3
- data/lib/google/ads/googleads/v0/services/google_ads_field_service_client.rb +4 -4
- data/lib/google/ads/googleads/v0/services/google_ads_field_service_services_pb.rb +2 -3
- data/lib/google/ads/googleads/v0/services/google_ads_service_client.rb +2 -2
- data/lib/google/ads/googleads/v0/services/google_ads_service_pb.rb +12 -0
- data/lib/google/ads/googleads/v0/services/google_ads_service_services_pb.rb +2 -3
- data/lib/google/ads/googleads/v0/services/keyword_view_service_client.rb +2 -2
- data/lib/google/ads/googleads/v0/services/keyword_view_service_services_pb.rb +2 -3
- data/lib/google/ads/googleads/v0/services/recommendation_service_client.rb +4 -4
- data/lib/google/ads/googleads/v0/services/recommendation_service_pb.rb +2 -2
- data/lib/google/ads/googleads/v0/services/recommendation_service_services_pb.rb +2 -3
- data/lib/google/ads/googleads/v0/services/shared_criterion_service_client.rb +267 -0
- data/lib/google/ads/googleads/v0/services/shared_criterion_service_client_config.json +36 -0
- data/lib/google/ads/googleads/v0/services/shared_criterion_service_pb.rb +44 -0
- data/lib/google/ads/googleads/v0/services/shared_criterion_service_services_pb.rb +50 -0
- data/lib/google/ads/googleads/v0/services/shared_set_service_client.rb +267 -0
- data/lib/google/ads/googleads/v0/services/shared_set_service_client_config.json +36 -0
- data/lib/google/ads/googleads/v0/services/shared_set_service_pb.rb +47 -0
- data/lib/google/ads/googleads/v0/services/shared_set_service_services_pb.rb +50 -0
- data/lib/google/ads/googleads/version.rb +1 -1
- metadata +100 -4
@@ -0,0 +1,225 @@
|
|
1
|
+
# Copyright 2018 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
module Google
|
16
|
+
module Ads
|
17
|
+
module Googleads
|
18
|
+
module V0
|
19
|
+
module Common
|
20
|
+
# A keyword criterion.
|
21
|
+
# @!attribute [rw] text
|
22
|
+
# @return [Google::Protobuf::StringValue]
|
23
|
+
# The text of the keyword (at most 80 characters and 10 words).
|
24
|
+
# @!attribute [rw] match_type
|
25
|
+
# @return [Google::Ads::Googleads::V0::Enums::KeywordMatchTypeEnum::KeywordMatchType]
|
26
|
+
# The match type of the keyword.
|
27
|
+
class KeywordInfo; end
|
28
|
+
|
29
|
+
# A location criterion.
|
30
|
+
# @!attribute [rw] geo_target_constant
|
31
|
+
# @return [Google::Protobuf::StringValue]
|
32
|
+
# The geo target constant resource name.
|
33
|
+
class LocationInfo; end
|
34
|
+
|
35
|
+
# A device criterion.
|
36
|
+
# @!attribute [rw] type
|
37
|
+
# @return [Google::Ads::Googleads::V0::Enums::DeviceEnum::Device]
|
38
|
+
# Type of the device.
|
39
|
+
class DeviceInfo; end
|
40
|
+
|
41
|
+
# A listing group criterion.
|
42
|
+
# @!attribute [rw] type
|
43
|
+
# @return [Google::Ads::Googleads::V0::Enums::ListingGroupTypeEnum::ListingGroupType]
|
44
|
+
# Type of the listing group.
|
45
|
+
# @!attribute [rw] case_value
|
46
|
+
# @return [Google::Ads::Googleads::V0::Common::ListingDimensionInfo]
|
47
|
+
# Dimension value with which this listing group is refining its parent.
|
48
|
+
# Undefined for the root group.
|
49
|
+
# @!attribute [rw] parent_ad_group_criterion
|
50
|
+
# @return [Google::Protobuf::StringValue]
|
51
|
+
# Resource name of ad group criterion which is the parent listing group
|
52
|
+
# subdivision. Null for the root group.
|
53
|
+
class ListingGroupInfo; end
|
54
|
+
|
55
|
+
# Listing dimensions for listing group criterion.
|
56
|
+
# @!attribute [rw] listing_brand
|
57
|
+
# @return [Google::Ads::Googleads::V0::Common::ListingBrandInfo]
|
58
|
+
# Brand of the listing.
|
59
|
+
# @!attribute [rw] hotel_id
|
60
|
+
# @return [Google::Ads::Googleads::V0::Common::HotelIdInfo]
|
61
|
+
# Advertiser-specific hotel ID.
|
62
|
+
# @!attribute [rw] hotel_class
|
63
|
+
# @return [Google::Ads::Googleads::V0::Common::HotelClassInfo]
|
64
|
+
# Class of the hotel as a number of stars 1 to 5.
|
65
|
+
# @!attribute [rw] hotel_country_region
|
66
|
+
# @return [Google::Ads::Googleads::V0::Common::HotelCountryRegionInfo]
|
67
|
+
# Country or Region the hotel is located in.
|
68
|
+
# @!attribute [rw] hotel_state
|
69
|
+
# @return [Google::Ads::Googleads::V0::Common::HotelStateInfo]
|
70
|
+
# State the hotel is located in.
|
71
|
+
# @!attribute [rw] hotel_city
|
72
|
+
# @return [Google::Ads::Googleads::V0::Common::HotelCityInfo]
|
73
|
+
# City the hotel is located in.
|
74
|
+
# @!attribute [rw] listing_custom_attribute
|
75
|
+
# @return [Google::Ads::Googleads::V0::Common::ListingCustomAttributeInfo]
|
76
|
+
# Listing custom attribute.
|
77
|
+
# @!attribute [rw] product_condition
|
78
|
+
# @return [Google::Ads::Googleads::V0::Common::ProductConditionInfo]
|
79
|
+
# Condition of a product offer.
|
80
|
+
# @!attribute [rw] product_type
|
81
|
+
# @return [Google::Ads::Googleads::V0::Common::ProductTypeInfo]
|
82
|
+
# Type of a product offer.
|
83
|
+
class ListingDimensionInfo; end
|
84
|
+
|
85
|
+
# Brand of the listing.
|
86
|
+
# @!attribute [rw] value
|
87
|
+
# @return [Google::Protobuf::StringValue]
|
88
|
+
# String value of the listing brand.
|
89
|
+
class ListingBrandInfo; end
|
90
|
+
|
91
|
+
# Advertiser-specific hotel ID.
|
92
|
+
# @!attribute [rw] value
|
93
|
+
# @return [Google::Protobuf::StringValue]
|
94
|
+
# String value of the hotel ID.
|
95
|
+
class HotelIdInfo; end
|
96
|
+
|
97
|
+
# Class of the hotel as a number of stars 1 to 5.
|
98
|
+
# @!attribute [rw] value
|
99
|
+
# @return [Google::Protobuf::Int64Value]
|
100
|
+
# Long value of the hotel class.
|
101
|
+
class HotelClassInfo; end
|
102
|
+
|
103
|
+
# Country or Region the hotel is located in.
|
104
|
+
# @!attribute [rw] country_region_criterion
|
105
|
+
# @return [Google::Protobuf::StringValue]
|
106
|
+
# The Geo Target Constant resource name.
|
107
|
+
class HotelCountryRegionInfo; end
|
108
|
+
|
109
|
+
# State the hotel is located in.
|
110
|
+
# @!attribute [rw] state_criterion
|
111
|
+
# @return [Google::Protobuf::StringValue]
|
112
|
+
# The Geo Target Constant resource name.
|
113
|
+
class HotelStateInfo; end
|
114
|
+
|
115
|
+
# City the hotel is located in.
|
116
|
+
# @!attribute [rw] city_criterion
|
117
|
+
# @return [Google::Protobuf::StringValue]
|
118
|
+
# The Geo Target Constant resource name.
|
119
|
+
class HotelCityInfo; end
|
120
|
+
|
121
|
+
# Listing custom attribute.
|
122
|
+
# @!attribute [rw] value
|
123
|
+
# @return [Google::Protobuf::StringValue]
|
124
|
+
# String value of the listing custom attribute.
|
125
|
+
# @!attribute [rw] index
|
126
|
+
# @return [Google::Ads::Googleads::V0::Enums::ListingCustomAttributeIndexEnum::ListingCustomAttributeIndex]
|
127
|
+
# Indicates the index of the custom attribute.
|
128
|
+
class ListingCustomAttributeInfo; end
|
129
|
+
|
130
|
+
# Condition of a product offer.
|
131
|
+
# @!attribute [rw] condition
|
132
|
+
# @return [Google::Ads::Googleads::V0::Enums::ProductConditionEnum::ProductCondition]
|
133
|
+
# Value of the condition.
|
134
|
+
class ProductConditionInfo; end
|
135
|
+
|
136
|
+
# Type of a product offer.
|
137
|
+
# @!attribute [rw] value
|
138
|
+
# @return [Google::Protobuf::StringValue]
|
139
|
+
# Value of the type.
|
140
|
+
# @!attribute [rw] level
|
141
|
+
# @return [Google::Ads::Googleads::V0::Enums::ProductTypeLevelEnum::ProductTypeLevel]
|
142
|
+
# Level of the type.
|
143
|
+
class ProductTypeInfo; end
|
144
|
+
|
145
|
+
# Criterion for hotel date selection (default dates vs. user selected).
|
146
|
+
# @!attribute [rw] type
|
147
|
+
# @return [Google::Ads::Googleads::V0::Enums::HotelDateSelectionTypeEnum::HotelDateSelectionType]
|
148
|
+
# Type of the hotel date selection
|
149
|
+
class HotelDateSelectionTypeInfo; end
|
150
|
+
|
151
|
+
# Criterion for number of days prior to the stay the booking is being made.
|
152
|
+
# @!attribute [rw] min_days
|
153
|
+
# @return [Google::Protobuf::Int64Value]
|
154
|
+
# Low end of the number of days prior to the stay.
|
155
|
+
# @!attribute [rw] max_days
|
156
|
+
# @return [Google::Protobuf::Int64Value]
|
157
|
+
# High end of the number of days prior to the stay.
|
158
|
+
class HotelAdvanceBookingWindowInfo; end
|
159
|
+
|
160
|
+
# Criterion for length of hotel stay in nights.
|
161
|
+
# @!attribute [rw] min_nights
|
162
|
+
# @return [Google::Protobuf::Int64Value]
|
163
|
+
# Low end of the number of nights in the stay.
|
164
|
+
# @!attribute [rw] max_nights
|
165
|
+
# @return [Google::Protobuf::Int64Value]
|
166
|
+
# High end of the number of nights in the stay.
|
167
|
+
class HotelLengthOfStayInfo; end
|
168
|
+
|
169
|
+
# Criterion for day of the week the booking is for.
|
170
|
+
# @!attribute [rw] day_of_week
|
171
|
+
# @return [Google::Ads::Googleads::V0::Enums::DayOfWeekEnum::DayOfWeek]
|
172
|
+
# The day of the week.
|
173
|
+
class HotelCheckInDayInfo; end
|
174
|
+
|
175
|
+
# Criterion for Interaction Type.
|
176
|
+
# @!attribute [rw] type
|
177
|
+
# @return [Google::Ads::Googleads::V0::Enums::InteractionTypeEnum::InteractionType]
|
178
|
+
# The interaction type.
|
179
|
+
class InteractionTypeInfo; end
|
180
|
+
|
181
|
+
# Represents an AdSchedule criterion.
|
182
|
+
#
|
183
|
+
# AdSchedule is specified as the day of the week and a time interval
|
184
|
+
# within which ads will be shown.
|
185
|
+
#
|
186
|
+
# No more than six AdSchedules can be added for the same day.
|
187
|
+
# @!attribute [rw] start_minute
|
188
|
+
# @return [Google::Ads::Googleads::V0::Enums::MinuteOfHourEnum::MinuteOfHour]
|
189
|
+
# Minutes after the start hour at which this schedule starts.
|
190
|
+
#
|
191
|
+
# This field is required for CREATE operations and is prohibited on UPDATE
|
192
|
+
# operations.
|
193
|
+
# @!attribute [rw] end_minute
|
194
|
+
# @return [Google::Ads::Googleads::V0::Enums::MinuteOfHourEnum::MinuteOfHour]
|
195
|
+
# Minutes after the end hour at which this schedule ends. The schedule is
|
196
|
+
# exclusive of the end minute.
|
197
|
+
#
|
198
|
+
# This field is required for CREATE operations and is prohibited on UPDATE
|
199
|
+
# operations.
|
200
|
+
# @!attribute [rw] start_hour
|
201
|
+
# @return [Google::Protobuf::Int32Value]
|
202
|
+
# Starting hour in 24 hour time.
|
203
|
+
# This field must be between 0 and 23, inclusive.
|
204
|
+
#
|
205
|
+
# This field is required for CREATE operations and is prohibited on UPDATE
|
206
|
+
# operations.
|
207
|
+
# @!attribute [rw] end_hour
|
208
|
+
# @return [Google::Protobuf::Int32Value]
|
209
|
+
# Ending hour in 24 hour time; 24 signifies end of the day.
|
210
|
+
# This field must be between 0 and 24, inclusive.
|
211
|
+
#
|
212
|
+
# This field is required for CREATE operations and is prohibited on UPDATE
|
213
|
+
# operations.
|
214
|
+
# @!attribute [rw] day_of_week
|
215
|
+
# @return [Google::Ads::Googleads::V0::Enums::DayOfWeekEnum::DayOfWeek]
|
216
|
+
# Day of the week the schedule applies to.
|
217
|
+
#
|
218
|
+
# This field is required for CREATE operations and is prohibited on UPDATE
|
219
|
+
# operations.
|
220
|
+
class AdScheduleInfo; end
|
221
|
+
end
|
222
|
+
end
|
223
|
+
end
|
224
|
+
end
|
225
|
+
end
|
data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/common/custom_parameter.rb
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
# Copyright 2018 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
module Google
|
16
|
+
module Ads
|
17
|
+
module Googleads
|
18
|
+
module V0
|
19
|
+
module Common
|
20
|
+
# A mapping that can be used by custom parameter tags in a
|
21
|
+
# +tracking_url_template+, +final_urls+, or +mobile_final_urls+.
|
22
|
+
# @!attribute [rw] key
|
23
|
+
# @return [Google::Protobuf::StringValue]
|
24
|
+
# The key matching the parameter tag name.
|
25
|
+
# @!attribute [rw] value
|
26
|
+
# @return [Google::Protobuf::StringValue]
|
27
|
+
# The value to be substituted.
|
28
|
+
class CustomParameter; end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,208 @@
|
|
1
|
+
# Copyright 2018 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
module Google
|
16
|
+
module Ads
|
17
|
+
module Googleads
|
18
|
+
module V0
|
19
|
+
module Common
|
20
|
+
# Metrics data.
|
21
|
+
# @!attribute [rw] all_conversions_from_interactions_rate
|
22
|
+
# @return [Google::Protobuf::DoubleValue]
|
23
|
+
# All conversions from interactions (as oppose to view through conversions)
|
24
|
+
# divided by the number of ad interactions.
|
25
|
+
# @!attribute [rw] all_conversions_value
|
26
|
+
# @return [Google::Protobuf::DoubleValue]
|
27
|
+
# The total value of all conversions.
|
28
|
+
# @!attribute [rw] all_conversions
|
29
|
+
# @return [Google::Protobuf::DoubleValue]
|
30
|
+
# The total number of conversions. This includes "Conversions" plus
|
31
|
+
# conversions that have their "Include in Conversions" setting unchecked.
|
32
|
+
# @!attribute [rw] all_conversions_value_per_cost
|
33
|
+
# @return [Google::Protobuf::DoubleValue]
|
34
|
+
# The value of all conversions divided by the total cost of ad interactions
|
35
|
+
# (such as clicks for text ads or views for video ads).
|
36
|
+
# @!attribute [rw] all_conversions_from_interactions_value_per_interaction
|
37
|
+
# @return [Google::Protobuf::DoubleValue]
|
38
|
+
# The value of all conversions from interactions divided by the total number
|
39
|
+
# of interactions.
|
40
|
+
# @!attribute [rw] average_cost
|
41
|
+
# @return [Google::Protobuf::DoubleValue]
|
42
|
+
# The average amount you pay per interaction. This amount is the total cost
|
43
|
+
# of your ads divided by the total number of interactions.
|
44
|
+
# @!attribute [rw] average_cpc
|
45
|
+
# @return [Google::Protobuf::DoubleValue]
|
46
|
+
# The total cost of all clicks divided by the total number of clicks
|
47
|
+
# received.
|
48
|
+
# @!attribute [rw] average_cpm
|
49
|
+
# @return [Google::Protobuf::DoubleValue]
|
50
|
+
# Average cost-per-thousand impressions (CPM).
|
51
|
+
# @!attribute [rw] average_position
|
52
|
+
# @return [Google::Protobuf::DoubleValue]
|
53
|
+
# Your ad's position relative to those of other advertisers.
|
54
|
+
# @!attribute [rw] bounce_rate
|
55
|
+
# @return [Google::Protobuf::DoubleValue]
|
56
|
+
# Percentage of clicks where the user only visited a single page on your
|
57
|
+
# site. Imported from Google Analytics.
|
58
|
+
# @!attribute [rw] clicks
|
59
|
+
# @return [Google::Protobuf::Int64Value]
|
60
|
+
# The number of clicks.
|
61
|
+
# @!attribute [rw] content_budget_lost_impression_share
|
62
|
+
# @return [Google::Protobuf::DoubleValue]
|
63
|
+
# The estimated percent of times that your ad was eligible to show
|
64
|
+
# on the Display Network but didn't because your budget was too low.
|
65
|
+
# Note: Content budget lost impression share is reported in the range of 0
|
66
|
+
# to 0.9. Any value above 0.9 is reported as 0.9001.
|
67
|
+
# @!attribute [rw] content_impression_share
|
68
|
+
# @return [Google::Protobuf::DoubleValue]
|
69
|
+
# The impressions you've received on the Display Network divided
|
70
|
+
# by the estimated number of impressions you were eligible to receive.
|
71
|
+
# Note: Content impression share is reported in the range of 0.1 to 1. Any
|
72
|
+
# value below 0.1 is reported as 0.0999.
|
73
|
+
# @!attribute [rw] content_rank_lost_impression_share
|
74
|
+
# @return [Google::Protobuf::DoubleValue]
|
75
|
+
# The estimated percentage of impressions on the Display Network
|
76
|
+
# that your ads didn't receive due to poor Ad Rank.
|
77
|
+
# Note: Content rank lost impression share is reported in the range of 0
|
78
|
+
# to 0.9. Any value above 0.9 is reported as 0.9001.
|
79
|
+
# @!attribute [rw] conversions_from_interactions_rate
|
80
|
+
# @return [Google::Protobuf::DoubleValue]
|
81
|
+
# Conversions from interactions divided by the number of ad interactions
|
82
|
+
# (such as clicks for text ads or views for video ads).
|
83
|
+
# @!attribute [rw] conversions_value
|
84
|
+
# @return [Google::Protobuf::DoubleValue]
|
85
|
+
# The total value of conversions.
|
86
|
+
# @!attribute [rw] conversions_value_per_cost
|
87
|
+
# @return [Google::Protobuf::DoubleValue]
|
88
|
+
# The value of conversions divided by the cost of ad interactions.
|
89
|
+
# @!attribute [rw] conversions_from_interactions_value_per_interaction
|
90
|
+
# @return [Google::Protobuf::DoubleValue]
|
91
|
+
# The value of conversions from interactions divided by the number of ad
|
92
|
+
# interactions.
|
93
|
+
# @!attribute [rw] conversions
|
94
|
+
# @return [Google::Protobuf::DoubleValue]
|
95
|
+
# The number of conversions. This only includes conversion actions which have
|
96
|
+
# "Include in Conversions" checked.
|
97
|
+
# @!attribute [rw] cost_micros
|
98
|
+
# @return [Google::Protobuf::Int64Value]
|
99
|
+
# The sum of your cost-per-click (CPC) and cost-per-thousand impressions
|
100
|
+
# (CPM) costs during this period.
|
101
|
+
# @!attribute [rw] cost_per_all_conversions
|
102
|
+
# @return [Google::Protobuf::DoubleValue]
|
103
|
+
# The cost of ad interactions divided by all conversions.
|
104
|
+
# @!attribute [rw] cost_per_conversion
|
105
|
+
# @return [Google::Protobuf::DoubleValue]
|
106
|
+
# The cost of ad interactions divided by conversions.
|
107
|
+
# @!attribute [rw] cross_device_conversions
|
108
|
+
# @return [Google::Protobuf::DoubleValue]
|
109
|
+
# Conversions from when a customer clicks on a Google Ads ad on one device,
|
110
|
+
# then converts on a different device or browser.
|
111
|
+
# Cross-device conversions are already included in all_conversions.
|
112
|
+
# @!attribute [rw] ctr
|
113
|
+
# @return [Google::Protobuf::DoubleValue]
|
114
|
+
# The number of clicks your ad receives (Clicks) divided by the number
|
115
|
+
# of times your ad is shown (Impressions).
|
116
|
+
# @!attribute [rw] engagement_rate
|
117
|
+
# @return [Google::Protobuf::DoubleValue]
|
118
|
+
# How often people engage with your ad after it's shown to them. This is the
|
119
|
+
# number of ad expansions divided by the number of times your ad is shown.
|
120
|
+
# @!attribute [rw] engagements
|
121
|
+
# @return [Google::Protobuf::Int64Value]
|
122
|
+
# The number of engagements.
|
123
|
+
# An engagement occurs when a viewer expands your Lightbox ad. Also, in the
|
124
|
+
# future, other ad types may support engagement metrics.
|
125
|
+
# @!attribute [rw] impressions
|
126
|
+
# @return [Google::Protobuf::Int64Value]
|
127
|
+
# Count of how often your ad has appeared on a search results page or
|
128
|
+
# website on the Google Network.
|
129
|
+
# @!attribute [rw] interaction_rate
|
130
|
+
# @return [Google::Protobuf::DoubleValue]
|
131
|
+
# How often people interact with your ad after it is shown to them.
|
132
|
+
# This is the number of interactions divided by the number of times your ad
|
133
|
+
# is shown.
|
134
|
+
# @!attribute [rw] interactions
|
135
|
+
# @return [Google::Protobuf::Int64Value]
|
136
|
+
# The number of interactions.
|
137
|
+
# An interaction is the main user action associated with an ad format-clicks
|
138
|
+
# for text and shopping ads, views for video ads, and so on.
|
139
|
+
# @!attribute [rw] invalid_click_rate
|
140
|
+
# @return [Google::Protobuf::DoubleValue]
|
141
|
+
# The percentage of clicks filtered out of your total number of clicks
|
142
|
+
# (filtered + non-filtered clicks) during the reporting period.
|
143
|
+
# @!attribute [rw] invalid_clicks
|
144
|
+
# @return [Google::Protobuf::Int64Value]
|
145
|
+
# Number of clicks Google considers illegitimate and doesn't charge you for.
|
146
|
+
# @!attribute [rw] percent_new_visitors
|
147
|
+
# @return [Google::Protobuf::DoubleValue]
|
148
|
+
# Percentage of first-time sessions (from people who had never visited your
|
149
|
+
# site before). Imported from Google Analytics.
|
150
|
+
# @!attribute [rw] phone_calls
|
151
|
+
# @return [Google::Protobuf::Int64Value]
|
152
|
+
# Number of offline phone calls.
|
153
|
+
# @!attribute [rw] phone_impressions
|
154
|
+
# @return [Google::Protobuf::Int64Value]
|
155
|
+
# Number of offline phone impressions.
|
156
|
+
# @!attribute [rw] phone_through_rate
|
157
|
+
# @return [Google::Protobuf::DoubleValue]
|
158
|
+
# Number of phone calls received (phone_calls) divided by the number of
|
159
|
+
# times your phone number is shown (phone_impressions).
|
160
|
+
# @!attribute [rw] relative_ctr
|
161
|
+
# @return [Google::Protobuf::DoubleValue]
|
162
|
+
# Your clickthrough rate (Ctr) divided by the average clickthrough rate of
|
163
|
+
# all advertisers on the websites that show your ads. Measures how your ads
|
164
|
+
# perform on Display Network sites compared to other ads on the same sites.
|
165
|
+
# @!attribute [rw] search_budget_lost_impression_share
|
166
|
+
# @return [Google::Protobuf::DoubleValue]
|
167
|
+
# The estimated percent of times that your ad was eligible to show on the
|
168
|
+
# Search Network but didn't because your budget was too low. Note: Search
|
169
|
+
# budget lost impression share is reported in the range of 0 to 0.9. Any
|
170
|
+
# value above 0.9 is reported as 0.9001.
|
171
|
+
# @!attribute [rw] search_exact_match_impression_share
|
172
|
+
# @return [Google::Protobuf::DoubleValue]
|
173
|
+
# The impressions you've received divided by the estimated number of
|
174
|
+
# impressions you were eligible to receive on the Search Network for search
|
175
|
+
# terms that matched your keywords exactly (or were close variants of your
|
176
|
+
# keyword), regardless of your keyword match types. Note: Search exact match
|
177
|
+
# impression share is reported in the range of 0.1 to 1. Any value below 0.1
|
178
|
+
# is reported as 0.0999.
|
179
|
+
# @!attribute [rw] search_impression_share
|
180
|
+
# @return [Google::Protobuf::DoubleValue]
|
181
|
+
# The impressions you've received on the Search Network divided
|
182
|
+
# by the estimated number of impressions you were eligible to receive.
|
183
|
+
# Note: Search impression share is reported in the range of 0.1 to 1. Any
|
184
|
+
# value below 0.1 is reported as 0.0999.
|
185
|
+
# @!attribute [rw] search_rank_lost_impression_share
|
186
|
+
# @return [Google::Protobuf::DoubleValue]
|
187
|
+
# The estimated percentage of impressions on the Search Network
|
188
|
+
# that your ads didn't receive due to poor Ad Rank.
|
189
|
+
# Note: Search rank lost impression share is reported in the range of 0 to
|
190
|
+
# 0.9. Any value above 0.9 is reported as 0.9001.
|
191
|
+
# @!attribute [rw] value_per_all_conversions
|
192
|
+
# @return [Google::Protobuf::DoubleValue]
|
193
|
+
# The value of all conversions divided by the number of all conversions.
|
194
|
+
# @!attribute [rw] value_per_conversion
|
195
|
+
# @return [Google::Protobuf::DoubleValue]
|
196
|
+
# The value of conversions divided by the number of conversions.
|
197
|
+
# @!attribute [rw] view_through_conversions
|
198
|
+
# @return [Google::Protobuf::Int64Value]
|
199
|
+
# The total number of view-through conversions.
|
200
|
+
# These happen when a customer sees an image or rich media ad, then later
|
201
|
+
# completes a conversion on your site without interacting with (e.g.,
|
202
|
+
# clicking on) another ad.
|
203
|
+
class Metrics; end
|
204
|
+
end
|
205
|
+
end
|
206
|
+
end
|
207
|
+
end
|
208
|
+
end
|