google-apis-searchads360_v0 0.4.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 92f322a0dfb035172ddbceac78b82d4122d9f048b59d2fffb0ed834a78d15d7d
4
- data.tar.gz: b123654c11be0110231d899aea53436d28f1a3a81e35d7c77ed40036d2229e78
3
+ metadata.gz: 8ca8e5e74b7c8b7c1dbde9b59637aeb46937bcf0d28876bd686cfd88e9660ec4
4
+ data.tar.gz: 4cc1e97faeb3ebccf0035bbb024cd957922b2e64c2f507d082ede123db092d60
5
5
  SHA512:
6
- metadata.gz: efce1eaa18198b3852dba95bb49dea76a48cf1c457eecd73497df0cc7d0735f33a79ace0097a07730105776cd18c28bb8abe0f9d07bfed6f3b6924546ef7d22c
7
- data.tar.gz: 0e199257d3b06fefdb5a43f4c237d6c686189504f272da74e51d297c65035a483f94d88e82296acdd23d87d0d974e8f988da52906e3c59a190311d9fe9680ad1
6
+ metadata.gz: ff0fc796b5a972334799e4e516f03683414a30b68133604a8f8d360b2bd5709d62d0cde53c7f374b27ec57235bd17a69ddcee079c419a99a927a8ade191fc8f8
7
+ data.tar.gz: 16e52685f9867fb5952df5e4aa71b08458c17a5800c38fab302e6876b554fe552a51e99178f5dac8836654deeb98f237f91dd02421e08f3994e417af9732f324
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.5.0 (2023-04-30)
8
+
9
+ * Regenerated from discovery document revision 20230425
10
+
3
11
  ### v0.4.0 (2023-04-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20230405
@@ -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,6 +989,191 @@ 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
+
1128
+ # A Search Ads 360 text ad.
1129
+ class GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo
1130
+ include Google::Apis::Core::Hashable
1131
+
1132
+ # The tracking id of the ad.
1133
+ # Corresponds to the JSON property `adTrackingId`
1134
+ # @return [Fixnum]
1135
+ attr_accessor :ad_tracking_id
1136
+
1137
+ # The first line of the ad's description.
1138
+ # Corresponds to the JSON property `description1`
1139
+ # @return [String]
1140
+ attr_accessor :description1
1141
+
1142
+ # The second line of the ad's description.
1143
+ # Corresponds to the JSON property `description2`
1144
+ # @return [String]
1145
+ attr_accessor :description2
1146
+
1147
+ # The displayed mobile URL of the ad.
1148
+ # Corresponds to the JSON property `displayMobileUrl`
1149
+ # @return [String]
1150
+ attr_accessor :display_mobile_url
1151
+
1152
+ # The displayed URL of the ad.
1153
+ # Corresponds to the JSON property `displayUrl`
1154
+ # @return [String]
1155
+ attr_accessor :display_url
1156
+
1157
+ # The headline of the ad.
1158
+ # Corresponds to the JSON property `headline`
1159
+ # @return [String]
1160
+ attr_accessor :headline
1161
+
1162
+ def initialize(**args)
1163
+ update!(**args)
1164
+ end
1165
+
1166
+ # Update properties of this object
1167
+ def update!(**args)
1168
+ @ad_tracking_id = args[:ad_tracking_id] if args.key?(:ad_tracking_id)
1169
+ @description1 = args[:description1] if args.key?(:description1)
1170
+ @description2 = args[:description2] if args.key?(:description2)
1171
+ @display_mobile_url = args[:display_mobile_url] if args.key?(:display_mobile_url)
1172
+ @display_url = args[:display_url] if args.key?(:display_url)
1173
+ @headline = args[:headline] if args.key?(:headline)
1174
+ end
1175
+ end
1176
+
967
1177
  # Segment only fields.
968
1178
  class GoogleAdsSearchads360V0CommonSegments
969
1179
  include Google::Apis::Core::Hashable
@@ -998,6 +1208,11 @@ module Google
998
1208
  # @return [String]
999
1209
  attr_accessor :device
1000
1210
 
1211
+ # A Keyword criterion segment.
1212
+ # Corresponds to the JSON property `keyword`
1213
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonKeyword]
1214
+ attr_accessor :keyword
1215
+
1001
1216
  # Month as represented by the date of the first day of a month. Formatted as
1002
1217
  # yyyy-MM-dd.
1003
1218
  # Corresponds to the JSON property `month`
@@ -1034,6 +1249,7 @@ module Google
1034
1249
  @date = args[:date] if args.key?(:date)
1035
1250
  @day_of_week = args[:day_of_week] if args.key?(:day_of_week)
1036
1251
  @device = args[:device] if args.key?(:device)
1252
+ @keyword = args[:keyword] if args.key?(:keyword)
1037
1253
  @month = args[:month] if args.key?(:month)
1038
1254
  @quarter = args[:quarter] if args.key?(:quarter)
1039
1255
  @week = args[:week] if args.key?(:week)
@@ -2034,6 +2250,16 @@ module Google
2034
2250
  # @return [String]
2035
2251
  attr_accessor :display_url
2036
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
+
2037
2263
  # The list of possible final URLs after all cross-domain redirects for the ad.
2038
2264
  # Corresponds to the JSON property `finalUrls`
2039
2265
  # @return [Array<String>]
@@ -2052,12 +2278,27 @@ module Google
2052
2278
  # @return [String]
2053
2279
  attr_accessor :name
2054
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
+
2055
2286
  # Immutable. The resource name of the ad. Ad resource names have the form: `
2056
2287
  # customers/`customer_id`/ads/`ad_id``
2057
2288
  # Corresponds to the JSON property `resourceName`
2058
2289
  # @return [String]
2059
2290
  attr_accessor :resource_name
2060
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
+
2297
+ # A Search Ads 360 text ad.
2298
+ # Corresponds to the JSON property `textAd`
2299
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo]
2300
+ attr_accessor :text_ad
2301
+
2061
2302
  # Output only. The type of ad.
2062
2303
  # Corresponds to the JSON property `type`
2063
2304
  # @return [String]
@@ -2070,10 +2311,15 @@ module Google
2070
2311
  # Update properties of this object
2071
2312
  def update!(**args)
2072
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)
2073
2316
  @final_urls = args[:final_urls] if args.key?(:final_urls)
2074
2317
  @id = args[:id] if args.key?(:id)
2075
2318
  @name = args[:name] if args.key?(:name)
2319
+ @product_ad = args[:product_ad] if args.key?(:product_ad)
2076
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)
2322
+ @text_ad = args[:text_ad] if args.key?(:text_ad)
2077
2323
  @type = args[:type] if args.key?(:type)
2078
2324
  end
2079
2325
  end
@@ -4661,84 +4907,6 @@ module Google
4661
4907
  @total_results_count = args[:total_results_count] if args.key?(:total_results_count)
4662
4908
  end
4663
4909
  end
4664
-
4665
- # Request message for SearchAds360Service.SearchStream.
4666
- class GoogleAdsSearchads360V0ServicesSearchSearchAds360StreamRequest
4667
- include Google::Apis::Core::Hashable
4668
-
4669
- # The number of rows that are returned in each stream response batch. When too
4670
- # large batch is requested, the server may decide to further limit the number of
4671
- # returned rows.
4672
- # Corresponds to the JSON property `batchSize`
4673
- # @return [Fixnum]
4674
- attr_accessor :batch_size
4675
-
4676
- # Required. The query string.
4677
- # Corresponds to the JSON property `query`
4678
- # @return [String]
4679
- attr_accessor :query
4680
-
4681
- # Determines whether a summary row will be returned. By default, summary row is
4682
- # not returned. If requested, the summary row will be sent in a response by
4683
- # itself after all other query results are returned.
4684
- # Corresponds to the JSON property `summaryRowSetting`
4685
- # @return [String]
4686
- attr_accessor :summary_row_setting
4687
-
4688
- def initialize(**args)
4689
- update!(**args)
4690
- end
4691
-
4692
- # Update properties of this object
4693
- def update!(**args)
4694
- @batch_size = args[:batch_size] if args.key?(:batch_size)
4695
- @query = args[:query] if args.key?(:query)
4696
- @summary_row_setting = args[:summary_row_setting] if args.key?(:summary_row_setting)
4697
- end
4698
- end
4699
-
4700
- # Response message for SearchAds360Service.SearchStream.
4701
- class GoogleAdsSearchads360V0ServicesSearchSearchAds360StreamResponse
4702
- include Google::Apis::Core::Hashable
4703
-
4704
- # The headers of the custom columns in the results.
4705
- # Corresponds to the JSON property `customColumnHeaders`
4706
- # @return [Array<Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesCustomColumnHeader>]
4707
- attr_accessor :custom_column_headers
4708
-
4709
- # FieldMask that represents what fields were requested by the user.
4710
- # Corresponds to the JSON property `fieldMask`
4711
- # @return [String]
4712
- attr_accessor :field_mask
4713
-
4714
- # The unique id of the request that is used for debugging purposes.
4715
- # Corresponds to the JSON property `requestId`
4716
- # @return [String]
4717
- attr_accessor :request_id
4718
-
4719
- # The list of rows that matched the query.
4720
- # Corresponds to the JSON property `results`
4721
- # @return [Array<Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesSearchAds360Row>]
4722
- attr_accessor :results
4723
-
4724
- # A returned row from the query.
4725
- # Corresponds to the JSON property `summaryRow`
4726
- # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesSearchAds360Row]
4727
- attr_accessor :summary_row
4728
-
4729
- def initialize(**args)
4730
- update!(**args)
4731
- end
4732
-
4733
- # Update properties of this object
4734
- def update!(**args)
4735
- @custom_column_headers = args[:custom_column_headers] if args.key?(:custom_column_headers)
4736
- @field_mask = args[:field_mask] if args.key?(:field_mask)
4737
- @request_id = args[:request_id] if args.key?(:request_id)
4738
- @results = args[:results] if args.key?(:results)
4739
- @summary_row = args[:summary_row] if args.key?(:summary_row)
4740
- end
4741
- end
4742
4910
  end
4743
4911
  end
4744
4912
  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.4.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 = "20230405"
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,36 @@ 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
+
169
+ class GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
139
175
  class GoogleAdsSearchads360V0CommonSegments
140
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
177
 
@@ -562,18 +598,6 @@ module Google
562
598
  include Google::Apis::Core::JsonObjectSupport
563
599
  end
564
600
 
565
- class GoogleAdsSearchads360V0ServicesSearchSearchAds360StreamRequest
566
- class Representation < Google::Apis::Core::JsonRepresentation; end
567
-
568
- include Google::Apis::Core::JsonObjectSupport
569
- end
570
-
571
- class GoogleAdsSearchads360V0ServicesSearchSearchAds360StreamResponse
572
- class Representation < Google::Apis::Core::JsonRepresentation; end
573
-
574
- include Google::Apis::Core::JsonObjectSupport
575
- end
576
-
577
601
  class GoogleAdsSearchads360V0CommonAgeRangeInfo
578
602
  # @private
579
603
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -615,6 +639,15 @@ module Google
615
639
  end
616
640
  end
617
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
+
618
651
  class GoogleAdsSearchads360V0CommonKeywordInfo
619
652
  # @private
620
653
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -779,6 +812,56 @@ module Google
779
812
  end
780
813
  end
781
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
+
853
+ class GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo
854
+ # @private
855
+ class Representation < Google::Apis::Core::JsonRepresentation
856
+ property :ad_tracking_id, :numeric_string => true, as: 'adTrackingId'
857
+ property :description1, as: 'description1'
858
+ property :description2, as: 'description2'
859
+ property :display_mobile_url, as: 'displayMobileUrl'
860
+ property :display_url, as: 'displayUrl'
861
+ property :headline, as: 'headline'
862
+ end
863
+ end
864
+
782
865
  class GoogleAdsSearchads360V0CommonSegments
783
866
  # @private
784
867
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -788,6 +871,8 @@ module Google
788
871
  property :date, as: 'date'
789
872
  property :day_of_week, as: 'dayOfWeek'
790
873
  property :device, as: 'device'
874
+ property :keyword, as: 'keyword', class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonKeyword, decorator: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonKeyword::Representation
875
+
791
876
  property :month, as: 'month'
792
877
  property :quarter, as: 'quarter'
793
878
  property :week, as: 'week'
@@ -1076,10 +1161,20 @@ module Google
1076
1161
  # @private
1077
1162
  class Representation < Google::Apis::Core::JsonRepresentation
1078
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
+
1079
1168
  collection :final_urls, as: 'finalUrls'
1080
1169
  property :id, :numeric_string => true, as: 'id'
1081
1170
  property :name, as: 'name'
1171
+ property :product_ad, as: 'productAd', class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360ProductAdInfo, decorator: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360ProductAdInfo::Representation
1172
+
1082
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
+
1176
+ property :text_ad, as: 'textAd', class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo, decorator: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo::Representation
1177
+
1083
1178
  property :type, as: 'type'
1084
1179
  end
1085
1180
  end
@@ -1700,29 +1795,6 @@ module Google
1700
1795
  property :total_results_count, :numeric_string => true, as: 'totalResultsCount'
1701
1796
  end
1702
1797
  end
1703
-
1704
- class GoogleAdsSearchads360V0ServicesSearchSearchAds360StreamRequest
1705
- # @private
1706
- class Representation < Google::Apis::Core::JsonRepresentation
1707
- property :batch_size, as: 'batchSize'
1708
- property :query, as: 'query'
1709
- property :summary_row_setting, as: 'summaryRowSetting'
1710
- end
1711
- end
1712
-
1713
- class GoogleAdsSearchads360V0ServicesSearchSearchAds360StreamResponse
1714
- # @private
1715
- class Representation < Google::Apis::Core::JsonRepresentation
1716
- collection :custom_column_headers, as: 'customColumnHeaders', class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesCustomColumnHeader, decorator: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesCustomColumnHeader::Representation
1717
-
1718
- property :field_mask, as: 'fieldMask'
1719
- property :request_id, as: 'requestId'
1720
- collection :results, as: 'results', class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesSearchAds360Row, decorator: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesSearchAds360Row::Representation
1721
-
1722
- property :summary_row, as: 'summaryRow', class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesSearchAds360Row, decorator: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesSearchAds360Row::Representation
1723
-
1724
- end
1725
- end
1726
1798
  end
1727
1799
  end
1728
1800
  end
@@ -145,41 +145,6 @@ module Google
145
145
  execute_or_queue_command(command, &block)
146
146
  end
147
147
 
148
- # Returns all rows that match the search stream query. List of thrown errors: [
149
- # AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]()
150
- # [QueryError]() [QuotaError]() [RequestError]()
151
- # @param [String] customer_id
152
- # Required. The ID of the customer being queried.
153
- # @param [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesSearchSearchAds360StreamRequest] google_ads_searchads360_v0_services__search_search_ads360_stream_request_object
154
- # @param [String] fields
155
- # Selector specifying which fields to include in a partial response.
156
- # @param [String] quota_user
157
- # Available to use for quota purposes for server-side applications. Can be any
158
- # arbitrary string assigned to a user, but should not exceed 40 characters.
159
- # @param [Google::Apis::RequestOptions] options
160
- # Request-specific options
161
- #
162
- # @yield [result, err] Result & error if block supplied
163
- # @yieldparam result [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesSearchSearchAds360StreamResponse] parsed result object
164
- # @yieldparam err [StandardError] error object if request failed
165
- #
166
- # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesSearchSearchAds360StreamResponse]
167
- #
168
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
169
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
170
- # @raise [Google::Apis::AuthorizationError] Authorization is required
171
- def search_customer_search_ads360_stream(customer_id, google_ads_searchads360_v0_services__search_search_ads360_stream_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
172
- command = make_simple_command(:post, 'v0/customers/{+customerId}/searchAds360:searchStream', options)
173
- command.request_representation = Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesSearchSearchAds360StreamRequest::Representation
174
- command.request_object = google_ads_searchads360_v0_services__search_search_ads360_stream_request_object
175
- command.response_representation = Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesSearchSearchAds360StreamResponse::Representation
176
- command.response_class = Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesSearchSearchAds360StreamResponse
177
- command.params['customerId'] = customer_id unless customer_id.nil?
178
- command.query['fields'] = fields unless fields.nil?
179
- command.query['quotaUser'] = quota_user unless quota_user.nil?
180
- execute_or_queue_command(command, &block)
181
- end
182
-
183
148
  # Returns just the requested field. List of thrown errors: [AuthenticationError](
184
149
  # ) [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [
185
150
  # RequestError]()
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.4.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-16 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.4.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: []