google-ads-googleads 3.1.0 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/ChangeLog +3 -0
  3. data/Rakefile +3 -3
  4. data/lib/google/ads/google_ads/factories/v1/enums.rb +1130 -1130
  5. data/lib/google/ads/google_ads/factories/v1/operations.rb +1057 -1057
  6. data/lib/google/ads/google_ads/factories/v1/resources.rb +2420 -2420
  7. data/lib/google/ads/google_ads/factories/v1/services.rb +298 -298
  8. data/lib/google/ads/google_ads/factories/v2/enums.rb +1221 -1197
  9. data/lib/google/ads/google_ads/factories/v2/operations.rb +1080 -1080
  10. data/lib/google/ads/google_ads/factories/v2/resources.rb +2497 -2458
  11. data/lib/google/ads/google_ads/factories/v2/services.rb +329 -309
  12. data/lib/google/ads/google_ads/google_ads_client.rb +1 -0
  13. data/lib/google/ads/google_ads/v2/common/extensions_pb.rb +5 -0
  14. data/lib/google/ads/google_ads/v2/common/segments_pb.rb +2 -0
  15. data/lib/google/ads/google_ads/v2/enums/extension_type_pb.rb +1 -0
  16. data/lib/google/ads/google_ads/v2/enums/hotel_price_bucket_pb.rb +21 -0
  17. data/lib/google/ads/google_ads/v2/enums/invoice_type_pb.rb +21 -0
  18. data/lib/google/ads/google_ads/v2/errors/errors_pb.rb +2 -0
  19. data/lib/google/ads/google_ads/v2/errors/invoice_error_pb.rb +21 -0
  20. data/lib/google/ads/google_ads/v2/resources/ad_pb.rb +1 -0
  21. data/lib/google/ads/google_ads/v2/resources/campaign_pb.rb +13 -13
  22. data/lib/google/ads/google_ads/v2/resources/extension_feed_item_pb.rb +2 -0
  23. data/lib/google/ads/google_ads/v2/resources/invoice_pb.rb +47 -0
  24. data/lib/google/ads/google_ads/v2/resources/recommendation_pb.rb +21 -21
  25. data/lib/google/ads/google_ads/v2/services/invoice_service_client.rb +233 -0
  26. data/lib/google/ads/google_ads/v2/services/invoice_service_client_config.json +31 -0
  27. data/lib/google/ads/google_ads/v2/services/invoice_service_pb.rb +25 -0
  28. data/lib/google/ads/google_ads/v2/services/invoice_service_services_pb.rb +42 -0
  29. data/lib/google/ads/google_ads/v2/services/merchant_center_link_service_client.rb +1 -1
  30. data/lib/google/ads/google_ads/v2/services/merchant_center_link_service_services_pb.rb +1 -1
  31. data/lib/google/ads/google_ads/v2/services/reach_plan_service_client.rb +1 -1
  32. data/lib/google/ads/google_ads/v2/services/reach_plan_service_services_pb.rb +1 -1
  33. data/lib/google/ads/google_ads/version.rb +1 -1
  34. metadata +10 -2
@@ -0,0 +1,31 @@
1
+ {
2
+ "interfaces": {
3
+ "google.ads.googleads.v2.services.InvoiceService": {
4
+ "retry_codes": {
5
+ "idempotent": [
6
+ "DEADLINE_EXCEEDED",
7
+ "UNAVAILABLE"
8
+ ],
9
+ "non_idempotent": []
10
+ },
11
+ "retry_params": {
12
+ "default": {
13
+ "initial_retry_delay_millis": 5000,
14
+ "retry_delay_multiplier": 1.3,
15
+ "max_retry_delay_millis": 60000,
16
+ "initial_rpc_timeout_millis": 3600000,
17
+ "rpc_timeout_multiplier": 1.0,
18
+ "max_rpc_timeout_millis": 3600000,
19
+ "total_timeout_millis": 3600000
20
+ }
21
+ },
22
+ "methods": {
23
+ "ListInvoices": {
24
+ "timeout_millis": 60000,
25
+ "retry_codes_name": "idempotent",
26
+ "retry_params_name": "default"
27
+ }
28
+ }
29
+ }
30
+ }
31
+ }
@@ -0,0 +1,25 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/ads/google_ads/v2/services/invoice_service.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/ads/google_ads/v2/enums/month_of_year_pb'
7
+ require 'google/ads/google_ads/v2/resources/invoice_pb'
8
+ require 'google/api/annotations_pb'
9
+ require 'google/api/client_pb'
10
+ Google::Protobuf::DescriptorPool.generated_pool.build do
11
+ add_message "google.ads.googleads.v2.services.ListInvoicesRequest" do
12
+ optional :customer_id, :string, 1
13
+ optional :billing_setup, :string, 2
14
+ optional :issue_year, :string, 3
15
+ optional :issue_month, :enum, 4, "google.ads.googleads.v2.enums.MonthOfYearEnum.MonthOfYear"
16
+ end
17
+ add_message "google.ads.googleads.v2.services.ListInvoicesResponse" do
18
+ repeated :invoices, :message, 1, "google.ads.googleads.v2.resources.Invoice"
19
+ end
20
+ end
21
+
22
+ module Google::Ads::GoogleAds::V2::Services
23
+ ListInvoicesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v2.services.ListInvoicesRequest").msgclass
24
+ ListInvoicesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v2.services.ListInvoicesResponse").msgclass
25
+ end
@@ -0,0 +1,42 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/ads/google_ads/v2/services/invoice_service.proto for package 'Google::Ads::GoogleAds::V2::Services'
3
+ # Original file comments:
4
+ # Copyright 2019 Google LLC.
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+ #
19
+
20
+ require 'grpc'
21
+ require 'google/ads/google_ads/v2/services/invoice_service_pb'
22
+
23
+ module Google::Ads::GoogleAds::V2::Services
24
+ module InvoiceService
25
+ # Proto file describing the Invoice service.
26
+ #
27
+ # A service to fetch invoices issued for a billing setup during a given month.
28
+ class Service
29
+
30
+ include GRPC::GenericService
31
+
32
+ self.marshal_class_method = :encode
33
+ self.unmarshal_class_method = :decode
34
+ self.service_name = 'google.ads.googleads.v2.services.InvoiceService'
35
+
36
+ # Returns all invoices associated with a billing setup, for a given month.
37
+ rpc :ListInvoices, ListInvoicesRequest, ListInvoicesResponse
38
+ end
39
+
40
+ Stub = Service.rpc_stub_class
41
+ end
42
+ end
@@ -204,7 +204,7 @@ module Google
204
204
 
205
205
  # Service calls
206
206
 
207
- # Returns Merchant Center links available tor this customer.
207
+ # Returns Merchant Center links available for this customer.
208
208
  #
209
209
  # @param customer_id [String]
210
210
  # The ID of the customer onto which to apply the Merchant Center link list
@@ -34,7 +34,7 @@ module Google::Ads::GoogleAds::V2::Services
34
34
  self.unmarshal_class_method = :decode
35
35
  self.service_name = 'google.ads.googleads.v2.services.MerchantCenterLinkService'
36
36
 
37
- # Returns Merchant Center links available tor this customer.
37
+ # Returns Merchant Center links available for this customer.
38
38
  rpc :ListMerchantCenterLinks, ListMerchantCenterLinksRequest, ListMerchantCenterLinksResponse
39
39
  # Returns the Merchant Center link in full detail.
40
40
  rpc :GetMerchantCenterLink, GetMerchantCenterLinkRequest, Google::Ads::GoogleAds::V2::Resources::MerchantCenterLink
@@ -192,7 +192,7 @@ module Google
192
192
 
193
193
  # Service calls
194
194
 
195
- # Returns the list of plannable locations (e.g. countries, DMAs).
195
+ # Returns the list of plannable locations (for example, countries & DMAs).
196
196
  #
197
197
  # @param options [Google::Gax::CallOptions]
198
198
  # Overrides the default settings for this call, e.g, timeout,
@@ -37,7 +37,7 @@ module Google::Ads::GoogleAds::V2::Services
37
37
  self.unmarshal_class_method = :decode
38
38
  self.service_name = 'google.ads.googleads.v2.services.ReachPlanService'
39
39
 
40
- # Returns the list of plannable locations (e.g. countries, DMAs).
40
+ # Returns the list of plannable locations (for example, countries & DMAs).
41
41
  rpc :ListPlannableLocations, ListPlannableLocationsRequest, ListPlannableLocationsResponse
42
42
  # Returns the list of per-location plannable YouTube ad formats with allowed
43
43
  # targeting.
@@ -19,7 +19,7 @@
19
19
  module Google
20
20
  module Ads
21
21
  module GoogleAds
22
- CLIENT_LIB_VERSION = '3.1.0'.freeze
22
+ CLIENT_LIB_VERSION = '3.2.0'.freeze
23
23
  end
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-ads-googleads
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google Inc
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-14 00:00:00.000000000 Z
11
+ date: 2019-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-gax
@@ -1074,10 +1074,12 @@ files:
1074
1074
  - lib/google/ads/google_ads/v2/enums/google_ads_field_data_type_pb.rb
1075
1075
  - lib/google/ads/google_ads/v2/enums/hotel_date_selection_type_pb.rb
1076
1076
  - lib/google/ads/google_ads/v2/enums/hotel_placeholder_field_pb.rb
1077
+ - lib/google/ads/google_ads/v2/enums/hotel_price_bucket_pb.rb
1077
1078
  - lib/google/ads/google_ads/v2/enums/hotel_rate_type_pb.rb
1078
1079
  - lib/google/ads/google_ads/v2/enums/income_range_type_pb.rb
1079
1080
  - lib/google/ads/google_ads/v2/enums/interaction_event_type_pb.rb
1080
1081
  - lib/google/ads/google_ads/v2/enums/interaction_type_pb.rb
1082
+ - lib/google/ads/google_ads/v2/enums/invoice_type_pb.rb
1081
1083
  - lib/google/ads/google_ads/v2/enums/job_placeholder_field_pb.rb
1082
1084
  - lib/google/ads/google_ads/v2/enums/keyword_match_type_pb.rb
1083
1085
  - lib/google/ads/google_ads/v2/enums/keyword_plan_competition_level_pb.rb
@@ -1236,6 +1238,7 @@ files:
1236
1238
  - lib/google/ads/google_ads/v2/errors/id_error_pb.rb
1237
1239
  - lib/google/ads/google_ads/v2/errors/image_error_pb.rb
1238
1240
  - lib/google/ads/google_ads/v2/errors/internal_error_pb.rb
1241
+ - lib/google/ads/google_ads/v2/errors/invoice_error_pb.rb
1239
1242
  - lib/google/ads/google_ads/v2/errors/keyword_plan_ad_group_error_pb.rb
1240
1243
  - lib/google/ads/google_ads/v2/errors/keyword_plan_campaign_error_pb.rb
1241
1244
  - lib/google/ads/google_ads/v2/errors/keyword_plan_error_pb.rb
@@ -1346,6 +1349,7 @@ files:
1346
1349
  - lib/google/ads/google_ads/v2/resources/group_placement_view_pb.rb
1347
1350
  - lib/google/ads/google_ads/v2/resources/hotel_group_view_pb.rb
1348
1351
  - lib/google/ads/google_ads/v2/resources/hotel_performance_view_pb.rb
1352
+ - lib/google/ads/google_ads/v2/resources/invoice_pb.rb
1349
1353
  - lib/google/ads/google_ads/v2/resources/keyword_plan_ad_group_pb.rb
1350
1354
  - lib/google/ads/google_ads/v2/resources/keyword_plan_campaign_pb.rb
1351
1355
  - lib/google/ads/google_ads/v2/resources/keyword_plan_keyword_pb.rb
@@ -1657,6 +1661,10 @@ files:
1657
1661
  - lib/google/ads/google_ads/v2/services/hotel_performance_view_service_client_config.json
1658
1662
  - lib/google/ads/google_ads/v2/services/hotel_performance_view_service_pb.rb
1659
1663
  - lib/google/ads/google_ads/v2/services/hotel_performance_view_service_services_pb.rb
1664
+ - lib/google/ads/google_ads/v2/services/invoice_service_client.rb
1665
+ - lib/google/ads/google_ads/v2/services/invoice_service_client_config.json
1666
+ - lib/google/ads/google_ads/v2/services/invoice_service_pb.rb
1667
+ - lib/google/ads/google_ads/v2/services/invoice_service_services_pb.rb
1660
1668
  - lib/google/ads/google_ads/v2/services/keyword_plan_ad_group_service_client.rb
1661
1669
  - lib/google/ads/google_ads/v2/services/keyword_plan_ad_group_service_client_config.json
1662
1670
  - lib/google/ads/google_ads/v2/services/keyword_plan_ad_group_service_pb.rb