google-apis-searchads360_v0 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a01ff665b1d6688c8e377555b32bc55e742a5dcf8ec2cecd0baf88045f2ef7dc
4
- data.tar.gz: 506baf8f4821dabc04f0421962cf8898a1c3ff0779e172512958b000058f4bf3
3
+ metadata.gz: 8ca8e5e74b7c8b7c1dbde9b59637aeb46937bcf0d28876bd686cfd88e9660ec4
4
+ data.tar.gz: 4cc1e97faeb3ebccf0035bbb024cd957922b2e64c2f507d082ede123db092d60
5
5
  SHA512:
6
- metadata.gz: 16831e3a676a4b621e08d1af3752254cd181dea39365b74ff540be9970af62455e44e146c2500d7346039136d0b7ef315fd74a72cb2be02ee4517b5bd1d0e444
7
- data.tar.gz: 1fbc1031ef0849512da16915f21d7671ccf49c3fada60babdc569c1de293cbd7901f98939fda67320f877ff1fa27c4b0d3f350d7d98a2fa74540d69de0d528d7
6
+ metadata.gz: ff0fc796b5a972334799e4e516f03683414a30b68133604a8f8d360b2bd5709d62d0cde53c7f374b27ec57235bd17a69ddcee079c419a99a927a8ade191fc8f8
7
+ data.tar.gz: 16e52685f9867fb5952df5e4aa71b08458c17a5800c38fab302e6876b554fe552a51e99178f5dac8836654deeb98f237f91dd02421e08f3994e417af9732f324
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-searchads360_v0
2
2
 
3
+ ### v0.6.0 (2023-05-07)
4
+
5
+ * Regenerated from discovery document revision 20230502
6
+
3
7
  ### v0.5.0 (2023-04-30)
4
8
 
5
9
  * Regenerated from discovery document revision 20230425
@@ -135,6 +135,31 @@ module Google
135
135
  end
136
136
  end
137
137
 
138
+ # A Keyword criterion segment.
139
+ class GoogleAdsSearchads360V0CommonKeyword
140
+ include Google::Apis::Core::Hashable
141
+
142
+ # The AdGroupCriterion resource name.
143
+ # Corresponds to the JSON property `adGroupCriterion`
144
+ # @return [String]
145
+ attr_accessor :ad_group_criterion
146
+
147
+ # A keyword criterion.
148
+ # Corresponds to the JSON property `info`
149
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonKeywordInfo]
150
+ attr_accessor :info
151
+
152
+ def initialize(**args)
153
+ update!(**args)
154
+ end
155
+
156
+ # Update properties of this object
157
+ def update!(**args)
158
+ @ad_group_criterion = args[:ad_group_criterion] if args.key?(:ad_group_criterion)
159
+ @info = args[:info] if args.key?(:info)
160
+ end
161
+ end
162
+
138
163
  # A keyword criterion.
139
164
  class GoogleAdsSearchads360V0CommonKeywordInfo
140
165
  include Google::Apis::Core::Hashable
@@ -964,14 +989,150 @@ module Google
964
989
  end
965
990
  end
966
991
 
992
+ # An expanded dynamic search ad.
993
+ class GoogleAdsSearchads360V0CommonSearchAds360ExpandedDynamicSearchAdInfo
994
+ include Google::Apis::Core::Hashable
995
+
996
+ # The tracking id of the ad.
997
+ # Corresponds to the JSON property `adTrackingId`
998
+ # @return [Fixnum]
999
+ attr_accessor :ad_tracking_id
1000
+
1001
+ # The first line of the ad's description.
1002
+ # Corresponds to the JSON property `description1`
1003
+ # @return [String]
1004
+ attr_accessor :description1
1005
+
1006
+ # The second line of the ad's description.
1007
+ # Corresponds to the JSON property `description2`
1008
+ # @return [String]
1009
+ attr_accessor :description2
1010
+
1011
+ def initialize(**args)
1012
+ update!(**args)
1013
+ end
1014
+
1015
+ # Update properties of this object
1016
+ def update!(**args)
1017
+ @ad_tracking_id = args[:ad_tracking_id] if args.key?(:ad_tracking_id)
1018
+ @description1 = args[:description1] if args.key?(:description1)
1019
+ @description2 = args[:description2] if args.key?(:description2)
1020
+ end
1021
+ end
1022
+
1023
+ # A Search Ads 360 expanded text ad.
1024
+ class GoogleAdsSearchads360V0CommonSearchAds360ExpandedTextAdInfo
1025
+ include Google::Apis::Core::Hashable
1026
+
1027
+ # The tracking id of the ad.
1028
+ # Corresponds to the JSON property `adTrackingId`
1029
+ # @return [Fixnum]
1030
+ attr_accessor :ad_tracking_id
1031
+
1032
+ # The first line of the ad's description.
1033
+ # Corresponds to the JSON property `description1`
1034
+ # @return [String]
1035
+ attr_accessor :description1
1036
+
1037
+ # The second line of the ad's description.
1038
+ # Corresponds to the JSON property `description2`
1039
+ # @return [String]
1040
+ attr_accessor :description2
1041
+
1042
+ # The headline of the ad.
1043
+ # Corresponds to the JSON property `headline`
1044
+ # @return [String]
1045
+ attr_accessor :headline
1046
+
1047
+ # The second headline of the ad.
1048
+ # Corresponds to the JSON property `headline2`
1049
+ # @return [String]
1050
+ attr_accessor :headline2
1051
+
1052
+ # The third headline of the ad.
1053
+ # Corresponds to the JSON property `headline3`
1054
+ # @return [String]
1055
+ attr_accessor :headline3
1056
+
1057
+ # Text appended to the auto-generated visible URL with a delimiter.
1058
+ # Corresponds to the JSON property `path1`
1059
+ # @return [String]
1060
+ attr_accessor :path1
1061
+
1062
+ # Text appended to path1 with a delimiter.
1063
+ # Corresponds to the JSON property `path2`
1064
+ # @return [String]
1065
+ attr_accessor :path2
1066
+
1067
+ def initialize(**args)
1068
+ update!(**args)
1069
+ end
1070
+
1071
+ # Update properties of this object
1072
+ def update!(**args)
1073
+ @ad_tracking_id = args[:ad_tracking_id] if args.key?(:ad_tracking_id)
1074
+ @description1 = args[:description1] if args.key?(:description1)
1075
+ @description2 = args[:description2] if args.key?(:description2)
1076
+ @headline = args[:headline] if args.key?(:headline)
1077
+ @headline2 = args[:headline2] if args.key?(:headline2)
1078
+ @headline3 = args[:headline3] if args.key?(:headline3)
1079
+ @path1 = args[:path1] if args.key?(:path1)
1080
+ @path2 = args[:path2] if args.key?(:path2)
1081
+ end
1082
+ end
1083
+
1084
+ # A Search Ads 360 product ad.
1085
+ class GoogleAdsSearchads360V0CommonSearchAds360ProductAdInfo
1086
+ include Google::Apis::Core::Hashable
1087
+
1088
+ def initialize(**args)
1089
+ update!(**args)
1090
+ end
1091
+
1092
+ # Update properties of this object
1093
+ def update!(**args)
1094
+ end
1095
+ end
1096
+
1097
+ # A Search Ads 360 responsive search ad.
1098
+ class GoogleAdsSearchads360V0CommonSearchAds360ResponsiveSearchAdInfo
1099
+ include Google::Apis::Core::Hashable
1100
+
1101
+ # The tracking id of the ad.
1102
+ # Corresponds to the JSON property `adTrackingId`
1103
+ # @return [Fixnum]
1104
+ attr_accessor :ad_tracking_id
1105
+
1106
+ # Text appended to the auto-generated visible URL with a delimiter.
1107
+ # Corresponds to the JSON property `path1`
1108
+ # @return [String]
1109
+ attr_accessor :path1
1110
+
1111
+ # Text appended to path1 with a delimiter.
1112
+ # Corresponds to the JSON property `path2`
1113
+ # @return [String]
1114
+ attr_accessor :path2
1115
+
1116
+ def initialize(**args)
1117
+ update!(**args)
1118
+ end
1119
+
1120
+ # Update properties of this object
1121
+ def update!(**args)
1122
+ @ad_tracking_id = args[:ad_tracking_id] if args.key?(:ad_tracking_id)
1123
+ @path1 = args[:path1] if args.key?(:path1)
1124
+ @path2 = args[:path2] if args.key?(:path2)
1125
+ end
1126
+ end
1127
+
967
1128
  # A Search Ads 360 text ad.
968
1129
  class GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo
969
1130
  include Google::Apis::Core::Hashable
970
1131
 
971
1132
  # The tracking id of the ad.
972
- # Corresponds to the JSON property `adTrackId`
1133
+ # Corresponds to the JSON property `adTrackingId`
973
1134
  # @return [Fixnum]
974
- attr_accessor :ad_track_id
1135
+ attr_accessor :ad_tracking_id
975
1136
 
976
1137
  # The first line of the ad's description.
977
1138
  # Corresponds to the JSON property `description1`
@@ -1004,7 +1165,7 @@ module Google
1004
1165
 
1005
1166
  # Update properties of this object
1006
1167
  def update!(**args)
1007
- @ad_track_id = args[:ad_track_id] if args.key?(:ad_track_id)
1168
+ @ad_tracking_id = args[:ad_tracking_id] if args.key?(:ad_tracking_id)
1008
1169
  @description1 = args[:description1] if args.key?(:description1)
1009
1170
  @description2 = args[:description2] if args.key?(:description2)
1010
1171
  @display_mobile_url = args[:display_mobile_url] if args.key?(:display_mobile_url)
@@ -1047,6 +1208,11 @@ module Google
1047
1208
  # @return [String]
1048
1209
  attr_accessor :device
1049
1210
 
1211
+ # A Keyword criterion segment.
1212
+ # Corresponds to the JSON property `keyword`
1213
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonKeyword]
1214
+ attr_accessor :keyword
1215
+
1050
1216
  # Month as represented by the date of the first day of a month. Formatted as
1051
1217
  # yyyy-MM-dd.
1052
1218
  # Corresponds to the JSON property `month`
@@ -1083,6 +1249,7 @@ module Google
1083
1249
  @date = args[:date] if args.key?(:date)
1084
1250
  @day_of_week = args[:day_of_week] if args.key?(:day_of_week)
1085
1251
  @device = args[:device] if args.key?(:device)
1252
+ @keyword = args[:keyword] if args.key?(:keyword)
1086
1253
  @month = args[:month] if args.key?(:month)
1087
1254
  @quarter = args[:quarter] if args.key?(:quarter)
1088
1255
  @week = args[:week] if args.key?(:week)
@@ -2083,6 +2250,16 @@ module Google
2083
2250
  # @return [String]
2084
2251
  attr_accessor :display_url
2085
2252
 
2253
+ # An expanded dynamic search ad.
2254
+ # Corresponds to the JSON property `expandedDynamicSearchAd`
2255
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360ExpandedDynamicSearchAdInfo]
2256
+ attr_accessor :expanded_dynamic_search_ad
2257
+
2258
+ # A Search Ads 360 expanded text ad.
2259
+ # Corresponds to the JSON property `expandedTextAd`
2260
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360ExpandedTextAdInfo]
2261
+ attr_accessor :expanded_text_ad
2262
+
2086
2263
  # The list of possible final URLs after all cross-domain redirects for the ad.
2087
2264
  # Corresponds to the JSON property `finalUrls`
2088
2265
  # @return [Array<String>]
@@ -2101,12 +2278,22 @@ module Google
2101
2278
  # @return [String]
2102
2279
  attr_accessor :name
2103
2280
 
2281
+ # A Search Ads 360 product ad.
2282
+ # Corresponds to the JSON property `productAd`
2283
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360ProductAdInfo]
2284
+ attr_accessor :product_ad
2285
+
2104
2286
  # Immutable. The resource name of the ad. Ad resource names have the form: `
2105
2287
  # customers/`customer_id`/ads/`ad_id``
2106
2288
  # Corresponds to the JSON property `resourceName`
2107
2289
  # @return [String]
2108
2290
  attr_accessor :resource_name
2109
2291
 
2292
+ # A Search Ads 360 responsive search ad.
2293
+ # Corresponds to the JSON property `responsiveSearchAd`
2294
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360ResponsiveSearchAdInfo]
2295
+ attr_accessor :responsive_search_ad
2296
+
2110
2297
  # A Search Ads 360 text ad.
2111
2298
  # Corresponds to the JSON property `textAd`
2112
2299
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo]
@@ -2124,10 +2311,14 @@ module Google
2124
2311
  # Update properties of this object
2125
2312
  def update!(**args)
2126
2313
  @display_url = args[:display_url] if args.key?(:display_url)
2314
+ @expanded_dynamic_search_ad = args[:expanded_dynamic_search_ad] if args.key?(:expanded_dynamic_search_ad)
2315
+ @expanded_text_ad = args[:expanded_text_ad] if args.key?(:expanded_text_ad)
2127
2316
  @final_urls = args[:final_urls] if args.key?(:final_urls)
2128
2317
  @id = args[:id] if args.key?(:id)
2129
2318
  @name = args[:name] if args.key?(:name)
2319
+ @product_ad = args[:product_ad] if args.key?(:product_ad)
2130
2320
  @resource_name = args[:resource_name] if args.key?(:resource_name)
2321
+ @responsive_search_ad = args[:responsive_search_ad] if args.key?(:responsive_search_ad)
2131
2322
  @text_ad = args[:text_ad] if args.key?(:text_ad)
2132
2323
  @type = args[:type] if args.key?(:type)
2133
2324
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module Searchads360V0
18
18
  # Version of the google-apis-searchads360_v0 gem
19
- GEM_VERSION = "0.5.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230425"
25
+ REVISION = "20230502"
26
26
  end
27
27
  end
28
28
  end
@@ -58,6 +58,12 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
+ class GoogleAdsSearchads360V0CommonKeyword
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
61
67
  class GoogleAdsSearchads360V0CommonKeywordInfo
62
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
69
 
@@ -136,6 +142,30 @@ module Google
136
142
  include Google::Apis::Core::JsonObjectSupport
137
143
  end
138
144
 
145
+ class GoogleAdsSearchads360V0CommonSearchAds360ExpandedDynamicSearchAdInfo
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class GoogleAdsSearchads360V0CommonSearchAds360ExpandedTextAdInfo
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class GoogleAdsSearchads360V0CommonSearchAds360ProductAdInfo
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class GoogleAdsSearchads360V0CommonSearchAds360ResponsiveSearchAdInfo
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
139
169
  class GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo
140
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
171
 
@@ -609,6 +639,15 @@ module Google
609
639
  end
610
640
  end
611
641
 
642
+ class GoogleAdsSearchads360V0CommonKeyword
643
+ # @private
644
+ class Representation < Google::Apis::Core::JsonRepresentation
645
+ property :ad_group_criterion, as: 'adGroupCriterion'
646
+ property :info, as: 'info', class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonKeywordInfo, decorator: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonKeywordInfo::Representation
647
+
648
+ end
649
+ end
650
+
612
651
  class GoogleAdsSearchads360V0CommonKeywordInfo
613
652
  # @private
614
653
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -773,10 +812,48 @@ module Google
773
812
  end
774
813
  end
775
814
 
815
+ class GoogleAdsSearchads360V0CommonSearchAds360ExpandedDynamicSearchAdInfo
816
+ # @private
817
+ class Representation < Google::Apis::Core::JsonRepresentation
818
+ property :ad_tracking_id, :numeric_string => true, as: 'adTrackingId'
819
+ property :description1, as: 'description1'
820
+ property :description2, as: 'description2'
821
+ end
822
+ end
823
+
824
+ class GoogleAdsSearchads360V0CommonSearchAds360ExpandedTextAdInfo
825
+ # @private
826
+ class Representation < Google::Apis::Core::JsonRepresentation
827
+ property :ad_tracking_id, :numeric_string => true, as: 'adTrackingId'
828
+ property :description1, as: 'description1'
829
+ property :description2, as: 'description2'
830
+ property :headline, as: 'headline'
831
+ property :headline2, as: 'headline2'
832
+ property :headline3, as: 'headline3'
833
+ property :path1, as: 'path1'
834
+ property :path2, as: 'path2'
835
+ end
836
+ end
837
+
838
+ class GoogleAdsSearchads360V0CommonSearchAds360ProductAdInfo
839
+ # @private
840
+ class Representation < Google::Apis::Core::JsonRepresentation
841
+ end
842
+ end
843
+
844
+ class GoogleAdsSearchads360V0CommonSearchAds360ResponsiveSearchAdInfo
845
+ # @private
846
+ class Representation < Google::Apis::Core::JsonRepresentation
847
+ property :ad_tracking_id, :numeric_string => true, as: 'adTrackingId'
848
+ property :path1, as: 'path1'
849
+ property :path2, as: 'path2'
850
+ end
851
+ end
852
+
776
853
  class GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo
777
854
  # @private
778
855
  class Representation < Google::Apis::Core::JsonRepresentation
779
- property :ad_track_id, :numeric_string => true, as: 'adTrackId'
856
+ property :ad_tracking_id, :numeric_string => true, as: 'adTrackingId'
780
857
  property :description1, as: 'description1'
781
858
  property :description2, as: 'description2'
782
859
  property :display_mobile_url, as: 'displayMobileUrl'
@@ -794,6 +871,8 @@ module Google
794
871
  property :date, as: 'date'
795
872
  property :day_of_week, as: 'dayOfWeek'
796
873
  property :device, as: 'device'
874
+ property :keyword, as: 'keyword', class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonKeyword, decorator: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonKeyword::Representation
875
+
797
876
  property :month, as: 'month'
798
877
  property :quarter, as: 'quarter'
799
878
  property :week, as: 'week'
@@ -1082,10 +1161,18 @@ module Google
1082
1161
  # @private
1083
1162
  class Representation < Google::Apis::Core::JsonRepresentation
1084
1163
  property :display_url, as: 'displayUrl'
1164
+ property :expanded_dynamic_search_ad, as: 'expandedDynamicSearchAd', class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360ExpandedDynamicSearchAdInfo, decorator: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360ExpandedDynamicSearchAdInfo::Representation
1165
+
1166
+ property :expanded_text_ad, as: 'expandedTextAd', class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360ExpandedTextAdInfo, decorator: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360ExpandedTextAdInfo::Representation
1167
+
1085
1168
  collection :final_urls, as: 'finalUrls'
1086
1169
  property :id, :numeric_string => true, as: 'id'
1087
1170
  property :name, as: 'name'
1171
+ property :product_ad, as: 'productAd', class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360ProductAdInfo, decorator: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360ProductAdInfo::Representation
1172
+
1088
1173
  property :resource_name, as: 'resourceName'
1174
+ property :responsive_search_ad, as: 'responsiveSearchAd', class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360ResponsiveSearchAdInfo, decorator: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360ResponsiveSearchAdInfo::Representation
1175
+
1089
1176
  property :text_ad, as: 'textAd', class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo, decorator: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo::Representation
1090
1177
 
1091
1178
  property :type, as: 'type'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-searchads360_v0
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-30 00:00:00.000000000 Z
11
+ date: 2023-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-searchads360_v0/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-searchads360_v0/v0.5.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-searchads360_v0/v0.6.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-searchads360_v0
63
63
  post_install_message:
64
64
  rdoc_options: []