google-ads-googleads 18.0.0 → 18.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/ChangeLog +3 -0
  3. data/THIRD-PARTY-LICENCES.txt +1689 -0
  4. data/lib/google/ads/google_ads/factories/v11/enums.rb +24 -0
  5. data/lib/google/ads/google_ads/factories/v11/resources.rb +247 -0
  6. data/lib/google/ads/google_ads/factories/v11/services.rb +3 -1
  7. data/lib/google/ads/google_ads/v11/common/offline_user_data_pb.rb +14 -0
  8. data/lib/google/ads/google_ads/v11/common/segments_pb.rb +1 -0
  9. data/lib/google/ads/google_ads/v11/common/user_lists_pb.rb +13 -0
  10. data/lib/google/ads/google_ads/v11/enums/audience_insights_dimension_pb.rb +10 -0
  11. data/lib/google/ads/google_ads/v11/enums/bidding_strategy_system_status_pb.rb +53 -0
  12. data/lib/google/ads/google_ads/v11/enums/lead_form_field_user_input_type_pb.rb +49 -0
  13. data/lib/google/ads/google_ads/v11/enums/recommendation_type_pb.rb +2 -0
  14. data/lib/google/ads/google_ads/v11/enums/user_list_flexible_rule_operator_pb.rb +30 -0
  15. data/lib/google/ads/google_ads/v11/errors/asset_link_error_pb.rb +1 -0
  16. data/lib/google/ads/google_ads/v11/errors/audience_insights_error_pb.rb +29 -0
  17. data/lib/google/ads/google_ads/v11/errors/errors_pb.rb +2 -0
  18. data/lib/google/ads/google_ads/v11/errors/offline_user_data_job_error_pb.rb +4 -0
  19. data/lib/google/ads/google_ads/v11/resources/asset_group_pb.rb +2 -0
  20. data/lib/google/ads/google_ads/v11/resources/campaign_pb.rb +2 -0
  21. data/lib/google/ads/google_ads/v11/resources/recommendation_pb.rb +8 -0
  22. data/lib/google/ads/google_ads/v11/services/account_budget_proposal_service/client.rb +1 -1
  23. data/lib/google/ads/google_ads/v11/services/account_budget_proposal_service.rb +1 -1
  24. data/lib/google/ads/google_ads/v11/services/account_budget_proposal_service_services_pb.rb +1 -1
  25. data/lib/google/ads/google_ads/v11/services/account_link_service/client.rb +1 -1
  26. data/lib/google/ads/google_ads/v11/services/account_link_service_services_pb.rb +1 -1
  27. data/lib/google/ads/google_ads/v11/services/audience_insights_service/client.rb +117 -0
  28. data/lib/google/ads/google_ads/v11/services/audience_insights_service_pb.rb +74 -0
  29. data/lib/google/ads/google_ads/v11/services/audience_insights_service_services_pb.rb +15 -0
  30. data/lib/google/ads/google_ads/v11/services/batch_job_service/operations.rb +3 -0
  31. data/lib/google/ads/google_ads/v11/services/batch_job_service/paths.rb +2 -1
  32. data/lib/google/ads/google_ads/v11/services/campaign_draft_service/operations.rb +3 -0
  33. data/lib/google/ads/google_ads/v11/services/campaign_experiment_service/operations.rb +3 -0
  34. data/lib/google/ads/google_ads/v11/services/customer_manager_link_service/client.rb +1 -1
  35. data/lib/google/ads/google_ads/v11/services/customer_manager_link_service_services_pb.rb +1 -1
  36. data/lib/google/ads/google_ads/v11/services/experiment_service/operations.rb +3 -0
  37. data/lib/google/ads/google_ads/v11/services/feed_item_target_service/paths.rb +2 -1
  38. data/lib/google/ads/google_ads/v11/services/google_ads_service/client.rb +2 -2
  39. data/lib/google/ads/google_ads/v11/services/google_ads_service/paths.rb +16 -8
  40. data/lib/google/ads/google_ads/v11/services/google_ads_service_pb.rb +2 -0
  41. data/lib/google/ads/google_ads/v11/services/google_ads_service_services_pb.rb +1 -1
  42. data/lib/google/ads/google_ads/v11/services/keyword_plan_idea_service/client.rb +4 -4
  43. data/lib/google/ads/google_ads/v11/services/keyword_theme_constant_service/client.rb +1 -1
  44. data/lib/google/ads/google_ads/v11/services/offline_user_data_job_service/operations.rb +3 -0
  45. data/lib/google/ads/google_ads/v11/services/reach_plan_service/client.rb +9 -6
  46. data/lib/google/ads/google_ads/v11/services/reach_plan_service_pb.rb +23 -0
  47. data/lib/google/ads/google_ads/v11/services/user_data_service/client.rb +4 -4
  48. data/lib/google/ads/google_ads/v11/services/user_data_service.rb +4 -4
  49. data/lib/google/ads/google_ads/v11/services/user_data_service_services_pb.rb +4 -4
  50. data/lib/google/ads/google_ads/version.rb +1 -1
  51. metadata +9 -5
@@ -206,13 +206,13 @@ module Google
206
206
  # The options for historical metrics data.
207
207
  # @param keyword_and_url_seed [::Google::Ads::GoogleAds::V11::Services::KeywordAndUrlSeed, ::Hash]
208
208
  # A Keyword and a specific Url to generate ideas from
209
- # e.g. cars, www.example.com/cars.
209
+ # for example, cars, www.example.com/cars.
210
210
  # @param keyword_seed [::Google::Ads::GoogleAds::V11::Services::KeywordSeed, ::Hash]
211
- # A Keyword or phrase to generate ideas from, e.g. cars.
211
+ # A Keyword or phrase to generate ideas from, for example, cars.
212
212
  # @param url_seed [::Google::Ads::GoogleAds::V11::Services::UrlSeed, ::Hash]
213
- # A specific url to generate ideas from, e.g. www.example.com/cars.
213
+ # A specific url to generate ideas from, for example, www.example.com/cars.
214
214
  # @param site_seed [::Google::Ads::GoogleAds::V11::Services::SiteSeed, ::Hash]
215
- # The site to generate ideas from, e.g. www.example.com.
215
+ # The site to generate ideas from, for example, www.example.com.
216
216
  #
217
217
  # @yield [response, operation] Access the result along with the RPC operation
218
218
  # @yieldparam response [::Gapic::PagedEnumerable<::Google::Ads::GoogleAds::V11::Services::GenerateKeywordIdeaResult>]
@@ -171,7 +171,7 @@ module Google
171
171
  #
172
172
  # @param query_text [::String]
173
173
  # The query text of a keyword theme that will be used to map to similar
174
- # keyword themes. E.g. "plumber" or "roofer".
174
+ # keyword themes. For example, "plumber" or "roofer".
175
175
  # @param country_code [::String]
176
176
  # Upper-case, two-letter country code as defined by ISO-3166. This for
177
177
  # refining the scope of the query, default to 'US' if not set.
@@ -96,6 +96,9 @@ module Google
96
96
  channel_args: @config.channel_args,
97
97
  interceptors: @config.interceptors
98
98
  )
99
+
100
+ # Used by an LRO wrapper for some methods of this service
101
+ @operations_client = self
99
102
  end
100
103
 
101
104
  # Service calls
@@ -448,7 +448,7 @@ module Google
448
448
  # @param options [::Gapic::CallOptions, ::Hash]
449
449
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
450
450
  #
451
- # @overload generate_reach_forecast(customer_id: nil, currency_code: nil, campaign_duration: nil, cookie_frequency_cap: nil, cookie_frequency_cap_setting: nil, min_effective_frequency: nil, effective_frequency_limit: nil, targeting: nil, planned_products: nil, forecast_metric_options: nil)
451
+ # @overload generate_reach_forecast(customer_id: nil, currency_code: nil, campaign_duration: nil, cookie_frequency_cap: nil, cookie_frequency_cap_setting: nil, min_effective_frequency: nil, effective_frequency_limit: nil, targeting: nil, planned_products: nil, forecast_metric_options: nil, customer_reach_group: nil)
452
452
  # Pass arguments to `generate_reach_forecast` via keyword arguments. Note that at
453
453
  # least one keyword argument is required. To specify no parameters, or to keep all
454
454
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -461,16 +461,16 @@ module Google
461
461
  # @param campaign_duration [::Google::Ads::GoogleAds::V11::Services::CampaignDuration, ::Hash]
462
462
  # Required. Campaign duration.
463
463
  # @param cookie_frequency_cap [::Integer]
464
- # Desired cookie frequency cap to be applied to each planned product.
464
+ # Chosen cookie frequency cap to be applied to each planned product.
465
465
  # This is equivalent to the frequency cap exposed in Google Ads when creating
466
466
  # a campaign, it represents the maximum number of times an ad can be shown to
467
467
  # the same user.
468
468
  # If not specified, no cap is applied.
469
469
  #
470
470
  # This field is deprecated in v4 and will eventually be removed.
471
- # Please use cookie_frequency_cap_setting instead.
471
+ # Use cookie_frequency_cap_setting instead.
472
472
  # @param cookie_frequency_cap_setting [::Google::Ads::GoogleAds::V11::Services::FrequencyCap, ::Hash]
473
- # Desired cookie frequency cap to be applied to each planned product.
473
+ # Chosen cookie frequency cap to be applied to each planned product.
474
474
  # This is equivalent to the frequency cap exposed in Google Ads when creating
475
475
  # a campaign, it represents the maximum number of times an ad can be shown to
476
476
  # the same user during a specified time interval.
@@ -478,7 +478,7 @@ module Google
478
478
  #
479
479
  # This field replaces the deprecated cookie_frequency_cap field.
480
480
  # @param min_effective_frequency [::Integer]
481
- # Desired minimum effective frequency (the number of times a person was
481
+ # Chosen minimum effective frequency (the number of times a person was
482
482
  # exposed to the ad) for the reported reach metrics [1-10].
483
483
  # This won't affect the targeting, but just the reporting.
484
484
  # If not specified, a default of 1 is applied.
@@ -499,7 +499,7 @@ module Google
499
499
  # The targeting to be applied to all products selected in the product mix.
500
500
  #
501
501
  # This is planned targeting: execution details might vary based on the
502
- # advertising product, please consult an implementation specialist.
502
+ # advertising product, consult an implementation specialist.
503
503
  #
504
504
  # See specific metrics for details on how targeting affects them.
505
505
  # @param planned_products [::Array<::Google::Ads::GoogleAds::V11::Services::PlannedProduct, ::Hash>]
@@ -507,6 +507,9 @@ module Google
507
507
  # The max number of allowed planned products is 15.
508
508
  # @param forecast_metric_options [::Google::Ads::GoogleAds::V11::Services::ForecastMetricOptions, ::Hash]
509
509
  # Controls the forecast metrics returned in the response.
510
+ # @param customer_reach_group [::String]
511
+ # The name of the customer being planned for. This is a user-defined value.
512
+ # Required if targeting.audience_targeting is set.
510
513
  #
511
514
  # @yield [response, operation] Access the result along with the RPC operation
512
515
  # @yieldparam response [::Google::Ads::GoogleAds::V11::Services::GenerateReachForecastResponse]
@@ -43,6 +43,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
43
43
  repeated :genders, :message, 2, "google.ads.googleads.v11.common.GenderInfo"
44
44
  repeated :devices, :message, 3, "google.ads.googleads.v11.common.DeviceInfo"
45
45
  repeated :networks, :enum, 4, "google.ads.googleads.v11.enums.ReachPlanNetworkEnum.ReachPlanNetwork"
46
+ repeated :youtube_select_lineups, :message, 5, "google.ads.googleads.v11.services.YouTubeSelectLineUp"
46
47
  end
47
48
  add_message "google.ads.googleads.v11.services.GenerateProductMixIdeasRequest" do
48
49
  optional :customer_id, :string, 1
@@ -76,6 +77,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
76
77
  optional :targeting, :message, 6, "google.ads.googleads.v11.services.Targeting"
77
78
  repeated :planned_products, :message, 7, "google.ads.googleads.v11.services.PlannedProduct"
78
79
  optional :forecast_metric_options, :message, 13, "google.ads.googleads.v11.services.ForecastMetricOptions"
80
+ proto3_optional :customer_reach_group, :string, 14
79
81
  end
80
82
  add_message "google.ads.googleads.v11.services.EffectiveFrequencyLimit" do
81
83
  optional :effective_frequency_breakdown_limit, :int32, 1
@@ -90,6 +92,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
90
92
  repeated :genders, :message, 3, "google.ads.googleads.v11.common.GenderInfo"
91
93
  repeated :devices, :message, 4, "google.ads.googleads.v11.common.DeviceInfo"
92
94
  optional :network, :enum, 5, "google.ads.googleads.v11.enums.ReachPlanNetworkEnum.ReachPlanNetwork"
95
+ optional :audience_targeting, :message, 7, "google.ads.googleads.v11.services.AudienceTargeting"
93
96
  end
94
97
  add_message "google.ads.googleads.v11.services.CampaignDuration" do
95
98
  proto3_optional :duration_in_days, :int32, 2
@@ -98,6 +101,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
98
101
  add_message "google.ads.googleads.v11.services.PlannedProduct" do
99
102
  proto3_optional :plannable_product_code, :string, 3
100
103
  proto3_optional :budget_micros, :int64, 4
104
+ optional :advanced_product_targeting, :message, 5, "google.ads.googleads.v11.services.AdvancedProductTargeting"
101
105
  end
102
106
  add_message "google.ads.googleads.v11.services.GenerateReachForecastResponse" do
103
107
  optional :on_target_audience_metrics, :message, 1, "google.ads.googleads.v11.services.OnTargetAudienceMetrics"
@@ -153,6 +157,21 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
153
157
  add_message "google.ads.googleads.v11.services.ForecastMetricOptions" do
154
158
  optional :include_coview, :bool, 1
155
159
  end
160
+ add_message "google.ads.googleads.v11.services.AudienceTargeting" do
161
+ repeated :user_interest, :message, 1, "google.ads.googleads.v11.common.UserInterestInfo"
162
+ end
163
+ add_message "google.ads.googleads.v11.services.AdvancedProductTargeting" do
164
+ oneof :advanced_targeting do
165
+ optional :youtube_select_settings, :message, 1, "google.ads.googleads.v11.services.YouTubeSelectSettings"
166
+ end
167
+ end
168
+ add_message "google.ads.googleads.v11.services.YouTubeSelectSettings" do
169
+ optional :lineup_id, :int64, 1
170
+ end
171
+ add_message "google.ads.googleads.v11.services.YouTubeSelectLineUp" do
172
+ optional :lineup_id, :int64, 1
173
+ optional :lineup_name, :string, 2
174
+ end
156
175
  end
157
176
  end
158
177
 
@@ -187,6 +206,10 @@ module Google
187
206
  OnTargetAudienceMetrics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v11.services.OnTargetAudienceMetrics").msgclass
188
207
  EffectiveFrequencyBreakdown = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v11.services.EffectiveFrequencyBreakdown").msgclass
189
208
  ForecastMetricOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v11.services.ForecastMetricOptions").msgclass
209
+ AudienceTargeting = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v11.services.AudienceTargeting").msgclass
210
+ AdvancedProductTargeting = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v11.services.AdvancedProductTargeting").msgclass
211
+ YouTubeSelectSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v11.services.YouTubeSelectSettings").msgclass
212
+ YouTubeSelectLineUp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v11.services.YouTubeSelectLineUp").msgclass
190
213
  end
191
214
  end
192
215
  end
@@ -29,11 +29,11 @@ module Google
29
29
  # Client for the UserDataService service.
30
30
  #
31
31
  # Service to manage user data uploads.
32
- # Any uploads made to a Customer Match list via this service will be eligible
33
- # for matching as per the customer matching process. Please see
32
+ # Any uploads made to a Customer Match list through this service will be
33
+ # eligible for matching as per the customer matching process. See
34
34
  # https://support.google.com/google-ads/answer/7474263. However, the uploads
35
- # made via this service will not be visible under the 'Segment members' section
36
- # for the Customer Match List in the Google Ads UI.
35
+ # made through this service will not be visible under the 'Segment members'
36
+ # section for the Customer Match List in the Google Ads UI.
37
37
  #
38
38
  class Client
39
39
  # @private
@@ -32,11 +32,11 @@ module Google
32
32
  module Services
33
33
  ##
34
34
  # Service to manage user data uploads.
35
- # Any uploads made to a Customer Match list via this service will be eligible
36
- # for matching as per the customer matching process. Please see
35
+ # Any uploads made to a Customer Match list through this service will be
36
+ # eligible for matching as per the customer matching process. See
37
37
  # https://support.google.com/google-ads/answer/7474263. However, the uploads
38
- # made via this service will not be visible under the 'Segment members' section
39
- # for the Customer Match List in the Google Ads UI.
38
+ # made through this service will not be visible under the 'Segment members'
39
+ # section for the Customer Match List in the Google Ads UI.
40
40
  #
41
41
  # To load this service and instantiate a client:
42
42
  #
@@ -28,11 +28,11 @@ module Google
28
28
  # Proto file describing the UserDataService.
29
29
  #
30
30
  # Service to manage user data uploads.
31
- # Any uploads made to a Customer Match list via this service will be eligible
32
- # for matching as per the customer matching process. Please see
31
+ # Any uploads made to a Customer Match list through this service will be
32
+ # eligible for matching as per the customer matching process. See
33
33
  # https://support.google.com/google-ads/answer/7474263. However, the uploads
34
- # made via this service will not be visible under the 'Segment members' section
35
- # for the Customer Match List in the Google Ads UI.
34
+ # made through this service will not be visible under the 'Segment members'
35
+ # section for the Customer Match List in the Google Ads UI.
36
36
  class Service
37
37
 
38
38
  include ::GRPC::GenericService
@@ -20,7 +20,7 @@ module Google
20
20
  module Ads
21
21
  module GoogleAds
22
22
  CLIENT_LIB_NAME = 'gccl'.freeze
23
- CLIENT_LIB_VERSION = '18.0.0'.freeze
23
+ CLIENT_LIB_VERSION = '18.1.0'.freeze
24
24
  VERSION = CLIENT_LIB_VERSION
25
25
  end
26
26
  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: 18.0.0
4
+ version: 18.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google Inc
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-17 00:00:00.000000000 Z
11
+ date: 2022-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -102,6 +102,7 @@ files:
102
102
  - ChangeLog
103
103
  - README.md
104
104
  - Rakefile
105
+ - THIRD-PARTY-LICENCES.txt
105
106
  - google_ads_config.rb
106
107
  - lib/google/ads/google_ads.rb
107
108
  - lib/google/ads/google_ads/api_versions.rb
@@ -1458,6 +1459,7 @@ files:
1458
1459
  - lib/google/ads/google_ads/v11/enums/bid_modifier_source_pb.rb
1459
1460
  - lib/google/ads/google_ads/v11/enums/bidding_source_pb.rb
1460
1461
  - lib/google/ads/google_ads/v11/enums/bidding_strategy_status_pb.rb
1462
+ - lib/google/ads/google_ads/v11/enums/bidding_strategy_system_status_pb.rb
1461
1463
  - lib/google/ads/google_ads/v11/enums/bidding_strategy_type_pb.rb
1462
1464
  - lib/google/ads/google_ads/v11/enums/billing_setup_status_pb.rb
1463
1465
  - lib/google/ads/google_ads/v11/enums/brand_safety_suitability_pb.rb
@@ -1689,6 +1691,7 @@ files:
1689
1691
  - lib/google/ads/google_ads/v11/enums/user_list_combined_rule_operator_pb.rb
1690
1692
  - lib/google/ads/google_ads/v11/enums/user_list_crm_data_source_type_pb.rb
1691
1693
  - lib/google/ads/google_ads/v11/enums/user_list_date_rule_item_operator_pb.rb
1694
+ - lib/google/ads/google_ads/v11/enums/user_list_flexible_rule_operator_pb.rb
1692
1695
  - lib/google/ads/google_ads/v11/enums/user_list_logical_rule_operator_pb.rb
1693
1696
  - lib/google/ads/google_ads/v11/enums/user_list_membership_status_pb.rb
1694
1697
  - lib/google/ads/google_ads/v11/enums/user_list_number_rule_item_operator_pb.rb
@@ -1731,6 +1734,7 @@ files:
1731
1734
  - lib/google/ads/google_ads/v11/errors/asset_set_error_pb.rb
1732
1735
  - lib/google/ads/google_ads/v11/errors/asset_set_link_error_pb.rb
1733
1736
  - lib/google/ads/google_ads/v11/errors/audience_error_pb.rb
1737
+ - lib/google/ads/google_ads/v11/errors/audience_insights_error_pb.rb
1734
1738
  - lib/google/ads/google_ads/v11/errors/authentication_error_pb.rb
1735
1739
  - lib/google/ads/google_ads/v11/errors/authorization_error_pb.rb
1736
1740
  - lib/google/ads/google_ads/v11/errors/batch_job_error_pb.rb
@@ -4139,7 +4143,7 @@ homepage: https://github.com/googleads/google-ads-ruby
4139
4143
  licenses:
4140
4144
  - Apache-2.0
4141
4145
  metadata: {}
4142
- post_install_message:
4146
+ post_install_message:
4143
4147
  rdoc_options: []
4144
4148
  require_paths:
4145
4149
  - lib
@@ -4155,7 +4159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
4155
4159
  version: '0'
4156
4160
  requirements: []
4157
4161
  rubygems_version: 3.2.3
4158
- signing_key:
4162
+ signing_key:
4159
4163
  specification_version: 4
4160
4164
  summary: Google client library for the Google Ads API
4161
4165
  test_files: []