google-apis-searchads360_v0 0.7.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,6 +22,59 @@ module Google
22
22
  module Apis
23
23
  module Searchads360V0
24
24
 
25
+ # Represents an AdSchedule criterion. AdSchedule is specified as the day of the
26
+ # week and a time interval within which ads will be shown. No more than six
27
+ # AdSchedules can be added for the same day.
28
+ class GoogleAdsSearchads360V0CommonAdScheduleInfo
29
+ include Google::Apis::Core::Hashable
30
+
31
+ # Day of the week the schedule applies to. This field is required for CREATE
32
+ # operations and is prohibited on UPDATE operations.
33
+ # Corresponds to the JSON property `dayOfWeek`
34
+ # @return [String]
35
+ attr_accessor :day_of_week
36
+
37
+ # Ending hour in 24 hour time; 24 signifies end of the day. This field must be
38
+ # between 0 and 24, inclusive. This field is required for CREATE operations and
39
+ # is prohibited on UPDATE operations.
40
+ # Corresponds to the JSON property `endHour`
41
+ # @return [Fixnum]
42
+ attr_accessor :end_hour
43
+
44
+ # Minutes after the end hour at which this schedule ends. The schedule is
45
+ # exclusive of the end minute. This field is required for CREATE operations and
46
+ # is prohibited on UPDATE operations.
47
+ # Corresponds to the JSON property `endMinute`
48
+ # @return [String]
49
+ attr_accessor :end_minute
50
+
51
+ # Starting hour in 24 hour time. This field must be between 0 and 23, inclusive.
52
+ # This field is required for CREATE operations and is prohibited on UPDATE
53
+ # operations.
54
+ # Corresponds to the JSON property `startHour`
55
+ # @return [Fixnum]
56
+ attr_accessor :start_hour
57
+
58
+ # Minutes after the start hour at which this schedule starts. This field is
59
+ # required for CREATE operations and is prohibited on UPDATE operations.
60
+ # Corresponds to the JSON property `startMinute`
61
+ # @return [String]
62
+ attr_accessor :start_minute
63
+
64
+ def initialize(**args)
65
+ update!(**args)
66
+ end
67
+
68
+ # Update properties of this object
69
+ def update!(**args)
70
+ @day_of_week = args[:day_of_week] if args.key?(:day_of_week)
71
+ @end_hour = args[:end_hour] if args.key?(:end_hour)
72
+ @end_minute = args[:end_minute] if args.key?(:end_minute)
73
+ @start_hour = args[:start_hour] if args.key?(:start_hour)
74
+ @start_minute = args[:start_minute] if args.key?(:start_minute)
75
+ end
76
+ end
77
+
25
78
  # An age range criterion.
26
79
  class GoogleAdsSearchads360V0CommonAgeRangeInfo
27
80
  include Google::Apis::Core::Hashable
@@ -41,6 +94,131 @@ module Google
41
94
  end
42
95
  end
43
96
 
97
+ # An AssetInteractionTarget segment.
98
+ class GoogleAdsSearchads360V0CommonAssetInteractionTarget
99
+ include Google::Apis::Core::Hashable
100
+
101
+ # The asset resource name.
102
+ # Corresponds to the JSON property `asset`
103
+ # @return [String]
104
+ attr_accessor :asset
105
+
106
+ # Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics.
107
+ # Indicates whether the interaction metrics occurred on the asset itself or a
108
+ # different asset or ad unit.
109
+ # Corresponds to the JSON property `interactionOnThisAsset`
110
+ # @return [Boolean]
111
+ attr_accessor :interaction_on_this_asset
112
+ alias_method :interaction_on_this_asset?, :interaction_on_this_asset
113
+
114
+ def initialize(**args)
115
+ update!(**args)
116
+ end
117
+
118
+ # Update properties of this object
119
+ def update!(**args)
120
+ @asset = args[:asset] if args.key?(:asset)
121
+ @interaction_on_this_asset = args[:interaction_on_this_asset] if args.key?(:interaction_on_this_asset)
122
+ end
123
+ end
124
+
125
+ # Contains the usage information of the asset.
126
+ class GoogleAdsSearchads360V0CommonAssetUsage
127
+ include Google::Apis::Core::Hashable
128
+
129
+ # Resource name of the asset.
130
+ # Corresponds to the JSON property `asset`
131
+ # @return [String]
132
+ attr_accessor :asset
133
+
134
+ # The served field type of the asset.
135
+ # Corresponds to the JSON property `servedAssetFieldType`
136
+ # @return [String]
137
+ attr_accessor :served_asset_field_type
138
+
139
+ def initialize(**args)
140
+ update!(**args)
141
+ end
142
+
143
+ # Update properties of this object
144
+ def update!(**args)
145
+ @asset = args[:asset] if args.key?(:asset)
146
+ @served_asset_field_type = args[:served_asset_field_type] if args.key?(:served_asset_field_type)
147
+ end
148
+ end
149
+
150
+ # An audience criterion.
151
+ class GoogleAdsSearchads360V0CommonAudienceInfo
152
+ include Google::Apis::Core::Hashable
153
+
154
+ # The Audience resource name.
155
+ # Corresponds to the JSON property `audience`
156
+ # @return [String]
157
+ attr_accessor :audience
158
+
159
+ def initialize(**args)
160
+ update!(**args)
161
+ end
162
+
163
+ # Update properties of this object
164
+ def update!(**args)
165
+ @audience = args[:audience] if args.key?(:audience)
166
+ end
167
+ end
168
+
169
+ # Business Profile location data synced from the linked Business Profile account.
170
+ class GoogleAdsSearchads360V0CommonBusinessProfileLocation
171
+ include Google::Apis::Core::Hashable
172
+
173
+ # Advertiser specified label for the location on the Business Profile account.
174
+ # This is synced from the Business Profile account.
175
+ # Corresponds to the JSON property `labels`
176
+ # @return [Array<String>]
177
+ attr_accessor :labels
178
+
179
+ # Listing ID of this Business Profile location. This is synced from the linked
180
+ # Business Profile account.
181
+ # Corresponds to the JSON property `listingId`
182
+ # @return [Fixnum]
183
+ attr_accessor :listing_id
184
+
185
+ # Business Profile store code of this location. This is synced from the Business
186
+ # Profile account.
187
+ # Corresponds to the JSON property `storeCode`
188
+ # @return [String]
189
+ attr_accessor :store_code
190
+
191
+ def initialize(**args)
192
+ update!(**args)
193
+ end
194
+
195
+ # Update properties of this object
196
+ def update!(**args)
197
+ @labels = args[:labels] if args.key?(:labels)
198
+ @listing_id = args[:listing_id] if args.key?(:listing_id)
199
+ @store_code = args[:store_code] if args.key?(:store_code)
200
+ end
201
+ end
202
+
203
+ # A call to action asset.
204
+ class GoogleAdsSearchads360V0CommonCallToActionAsset
205
+ include Google::Apis::Core::Hashable
206
+
207
+ # Call to action.
208
+ # Corresponds to the JSON property `callToAction`
209
+ # @return [String]
210
+ attr_accessor :call_to_action
211
+
212
+ def initialize(**args)
213
+ update!(**args)
214
+ end
215
+
216
+ # Update properties of this object
217
+ def update!(**args)
218
+ @call_to_action = args[:call_to_action] if args.key?(:call_to_action)
219
+ end
220
+ end
221
+
44
222
  # A mapping that can be used by custom parameter tags in a `
45
223
  # tracking_url_template`, `final_urls`, or `mobile_final_urls`.
46
224
  class GoogleAdsSearchads360V0CommonCustomParameter
@@ -135,6 +313,68 @@ module Google
135
313
  end
136
314
  end
137
315
 
316
+ # An Image asset.
317
+ class GoogleAdsSearchads360V0CommonImageAsset
318
+ include Google::Apis::Core::Hashable
319
+
320
+ # File size of the image asset in bytes.
321
+ # Corresponds to the JSON property `fileSize`
322
+ # @return [Fixnum]
323
+ attr_accessor :file_size
324
+
325
+ # Metadata for an image at a certain size, either original or resized.
326
+ # Corresponds to the JSON property `fullSize`
327
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonImageDimension]
328
+ attr_accessor :full_size
329
+
330
+ # MIME type of the image asset.
331
+ # Corresponds to the JSON property `mimeType`
332
+ # @return [String]
333
+ attr_accessor :mime_type
334
+
335
+ def initialize(**args)
336
+ update!(**args)
337
+ end
338
+
339
+ # Update properties of this object
340
+ def update!(**args)
341
+ @file_size = args[:file_size] if args.key?(:file_size)
342
+ @full_size = args[:full_size] if args.key?(:full_size)
343
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
344
+ end
345
+ end
346
+
347
+ # Metadata for an image at a certain size, either original or resized.
348
+ class GoogleAdsSearchads360V0CommonImageDimension
349
+ include Google::Apis::Core::Hashable
350
+
351
+ # Height of the image.
352
+ # Corresponds to the JSON property `heightPixels`
353
+ # @return [Fixnum]
354
+ attr_accessor :height_pixels
355
+
356
+ # A URL that returns the image with this height and width.
357
+ # Corresponds to the JSON property `url`
358
+ # @return [String]
359
+ attr_accessor :url
360
+
361
+ # Width of the image.
362
+ # Corresponds to the JSON property `widthPixels`
363
+ # @return [Fixnum]
364
+ attr_accessor :width_pixels
365
+
366
+ def initialize(**args)
367
+ update!(**args)
368
+ end
369
+
370
+ # Update properties of this object
371
+ def update!(**args)
372
+ @height_pixels = args[:height_pixels] if args.key?(:height_pixels)
373
+ @url = args[:url] if args.key?(:url)
374
+ @width_pixels = args[:width_pixels] if args.key?(:width_pixels)
375
+ end
376
+ end
377
+
138
378
  # A Keyword criterion segment.
139
379
  class GoogleAdsSearchads360V0CommonKeyword
140
380
  include Google::Apis::Core::Hashable
@@ -522,11 +762,17 @@ module Google
522
762
  attr_accessor :average_cost
523
763
 
524
764
  # The total cost of all clicks divided by the total number of clicks received.
765
+ # This metric is a monetary value and returned in the customer's currency by
766
+ # default. See the metrics_currency parameter at https://developers.google.com/
767
+ # search-ads/reporting/query/query-structure#parameters_clause
525
768
  # Corresponds to the JSON property `averageCpc`
526
769
  # @return [Float]
527
770
  attr_accessor :average_cpc
528
771
 
529
- # Average cost-per-thousand impressions (CPM).
772
+ # Average cost-per-thousand impressions (CPM). This metric is a monetary value
773
+ # and returned in the customer's currency by default. See the metrics_currency
774
+ # parameter at https://developers.google.com/search-ads/reporting/query/query-
775
+ # structure#parameters_clause
530
776
  # Corresponds to the JSON property `averageCpm`
531
777
  # @return [Float]
532
778
  attr_accessor :average_cpm
@@ -552,6 +798,150 @@ module Google
552
798
  # @return [Float]
553
799
  attr_accessor :client_account_conversions_value
554
800
 
801
+ # Client account cross-sell cost of goods sold (COGS) is the total cost of
802
+ # products sold as a result of advertising a different product. How it works:
803
+ # You report conversions with cart data for completed purchases on your website.
804
+ # If the ad that was interacted with before the purchase has an associated
805
+ # product (see Shopping Ads) then this product is considered the advertised
806
+ # product. Any product included in the order the customer places is a sold
807
+ # product. If these products don't match then this is considered cross-sell.
808
+ # Cross-sell cost of goods sold is the total cost of the products sold that
809
+ # weren't advertised. Example: Someone clicked on a Shopping ad for a hat then
810
+ # bought the same hat and a shirt. The hat has a cost of goods sold value of $3,
811
+ # the shirt has a cost of goods sold value of $5. The cross-sell cost of goods
812
+ # sold for this order is $5. This metric is only available if you report
813
+ # conversions with cart data. This metric is a monetary value and returned in
814
+ # the customer's currency by default. See the metrics_currency parameter at
815
+ # https://developers.google.com/search-ads/reporting/query/query-structure#
816
+ # parameters_clause
817
+ # Corresponds to the JSON property `clientAccountCrossSellCostOfGoodsSoldMicros`
818
+ # @return [Fixnum]
819
+ attr_accessor :client_account_cross_sell_cost_of_goods_sold_micros
820
+
821
+ # Client account cross-sell gross profit is the profit you made from products
822
+ # sold as a result of advertising a different product, minus cost of goods sold (
823
+ # COGS). How it works: You report conversions with cart data for completed
824
+ # purchases on your website. If the ad that was interacted with before the
825
+ # purchase has an associated product (see Shopping Ads) then this product is
826
+ # considered the advertised product. Any product included in the purchase is a
827
+ # sold product. If these products don't match then this is considered cross-sell.
828
+ # Cross-sell gross profit is the revenue you made from cross-sell attributed to
829
+ # your ads minus the cost of the goods sold. Example: Someone clicked on a
830
+ # Shopping ad for a hat then bought the same hat and a shirt. The shirt is
831
+ # priced $20 and has a cost of goods sold value of $5. The cross-sell gross
832
+ # profit of this order is $15 = $20 - $5. This metric is only available if you
833
+ # report conversions with cart data. This metric is a monetary value and
834
+ # returned in the customer's currency by default. See the metrics_currency
835
+ # parameter at https://developers.google.com/search-ads/reporting/query/query-
836
+ # structure#parameters_clause
837
+ # Corresponds to the JSON property `clientAccountCrossSellGrossProfitMicros`
838
+ # @return [Fixnum]
839
+ attr_accessor :client_account_cross_sell_gross_profit_micros
840
+
841
+ # Client account cross-sell revenue is the total amount you made from products
842
+ # sold as a result of advertising a different product. How it works: You report
843
+ # conversions with cart data for completed purchases on your website. If the ad
844
+ # that was interacted with before the purchase has an associated product (see
845
+ # Shopping Ads) then this product is considered the advertised product. Any
846
+ # product included in the order the customer places is a sold product. If these
847
+ # products don't match then this is considered cross-sell. Cross-sell revenue is
848
+ # the total value you made from cross-sell attributed to your ads. Example:
849
+ # Someone clicked on a Shopping ad for a hat then bought the same hat and a
850
+ # shirt. The hat is priced $10 and the shirt is priced $20. The cross-sell
851
+ # revenue of this order is $20. This metric is only available if you report
852
+ # conversions with cart data. This metric is a monetary value and returned in
853
+ # the customer's currency by default. See the metrics_currency parameter at
854
+ # https://developers.google.com/search-ads/reporting/query/query-structure#
855
+ # parameters_clause
856
+ # Corresponds to the JSON property `clientAccountCrossSellRevenueMicros`
857
+ # @return [Fixnum]
858
+ attr_accessor :client_account_cross_sell_revenue_micros
859
+
860
+ # Client account cross-sell units sold is the total number of products sold as a
861
+ # result of advertising a different product. How it works: You report
862
+ # conversions with cart data for completed purchases on your website. If the ad
863
+ # that was interacted with before the purchase has an associated product (see
864
+ # Shopping Ads) then this product is considered the advertised product. Any
865
+ # product included in the order the customer places is a sold product. If these
866
+ # products don't match then this is considered cross-sell. Cross-sell units sold
867
+ # is the total number of cross-sold products from all orders attributed to your
868
+ # ads. Example: Someone clicked on a Shopping ad for a hat then bought the same
869
+ # hat, a shirt and a jacket. The cross-sell units sold in this order is 2. This
870
+ # metric is only available if you report conversions with cart data.
871
+ # Corresponds to the JSON property `clientAccountCrossSellUnitsSold`
872
+ # @return [Float]
873
+ attr_accessor :client_account_cross_sell_units_sold
874
+
875
+ # Client account lead cost of goods sold (COGS) is the total cost of products
876
+ # sold as a result of advertising the same product. How it works: You report
877
+ # conversions with cart data for completed purchases on your website. If the ad
878
+ # that was interacted with has an associated product (see Shopping Ads) then
879
+ # this product is considered the advertised product. Any product included in the
880
+ # order the customer places is a sold product. If the advertised and sold
881
+ # products match, then the cost of these goods is counted under lead cost of
882
+ # goods sold. Example: Someone clicked on a Shopping ad for a hat then bought
883
+ # the same hat and a shirt. The hat has a cost of goods sold value of $3, the
884
+ # shirt has a cost of goods sold value of $5. The lead cost of goods sold for
885
+ # this order is $3. This metric is only available if you report conversions with
886
+ # cart data. This metric is a monetary value and returned in the customer's
887
+ # currency by default. See the metrics_currency parameter at https://developers.
888
+ # google.com/search-ads/reporting/query/query-structure#parameters_clause
889
+ # Corresponds to the JSON property `clientAccountLeadCostOfGoodsSoldMicros`
890
+ # @return [Fixnum]
891
+ attr_accessor :client_account_lead_cost_of_goods_sold_micros
892
+
893
+ # Client account lead gross profit is the profit you made from products sold as
894
+ # a result of advertising the same product, minus cost of goods sold (COGS). How
895
+ # it works: You report conversions with cart data for completed purchases on
896
+ # your website. If the ad that was interacted with before the purchase has an
897
+ # associated product (see Shopping Ads) then this product is considered the
898
+ # advertised product. Any product included in the order the customer places is a
899
+ # sold product. If the advertised and sold products match, then the revenue you
900
+ # made from these sales minus the cost of goods sold is your lead gross profit.
901
+ # Example: Someone clicked on a Shopping ad for a hat then bought the same hat
902
+ # and a shirt. The hat is priced $10 and has a cost of goods sold value of $3.
903
+ # The lead gross profit of this order is $7 = $10 - $3. This metric is only
904
+ # available if you report conversions with cart data. This metric is a monetary
905
+ # value and returned in the customer's currency by default. See the
906
+ # metrics_currency parameter at https://developers.google.com/search-ads/
907
+ # reporting/query/query-structure#parameters_clause
908
+ # Corresponds to the JSON property `clientAccountLeadGrossProfitMicros`
909
+ # @return [Fixnum]
910
+ attr_accessor :client_account_lead_gross_profit_micros
911
+
912
+ # Client account lead revenue is the total amount you made from products sold as
913
+ # a result of advertising the same product. How it works: You report conversions
914
+ # with cart data for completed purchases on your website. If the ad that was
915
+ # interacted with before the purchase has an associated product (see Shopping
916
+ # Ads) then this product is considered the advertised product. Any product
917
+ # included in the order the customer places is a sold product. If the advertised
918
+ # and sold products match, then the total value you made from the sales of these
919
+ # products is shown under lead revenue. Example: Someone clicked on a Shopping
920
+ # ad for a hat then bought the same hat and a shirt. The hat is priced $10 and
921
+ # the shirt is priced $20. The lead revenue of this order is $10. This metric is
922
+ # only available if you report conversions with cart data. This metric is a
923
+ # monetary value and returned in the customer's currency by default. See the
924
+ # metrics_currency parameter at https://developers.google.com/search-ads/
925
+ # reporting/query/query-structure#parameters_clause
926
+ # Corresponds to the JSON property `clientAccountLeadRevenueMicros`
927
+ # @return [Fixnum]
928
+ attr_accessor :client_account_lead_revenue_micros
929
+
930
+ # Client account lead units sold is the total number of products sold as a
931
+ # result of advertising the same product. How it works: You report conversions
932
+ # with cart data for completed purchases on your website. If the ad that was
933
+ # interacted with before the purchase has an associated product (see Shopping
934
+ # Ads) then this product is considered the advertised product. Any product
935
+ # included in the order the customer places is a sold product. If the advertised
936
+ # and sold products match, then the total number of these products sold is shown
937
+ # under lead units sold. Example: Someone clicked on a Shopping ad for a hat
938
+ # then bought the same hat, a shirt and a jacket. The lead units sold in this
939
+ # order is 1. This metric is only available if you report conversions with cart
940
+ # data.
941
+ # Corresponds to the JSON property `clientAccountLeadUnitsSold`
942
+ # @return [Float]
943
+ attr_accessor :client_account_lead_units_sold
944
+
555
945
  # The total number of view-through conversions. These happen when a customer
556
946
  # sees an image or rich media ad, then later completes a conversion on your site
557
947
  # without interacting with (for example, clicking on) another ad.
@@ -632,7 +1022,10 @@ module Google
632
1022
  attr_accessor :conversions_value_per_cost
633
1023
 
634
1024
  # The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM)
635
- # costs during this period.
1025
+ # costs during this period. This metric is a monetary value and returned in the
1026
+ # customer's currency by default. See the metrics_currency parameter at https://
1027
+ # developers.google.com/search-ads/reporting/query/query-structure#
1028
+ # parameters_clause
636
1029
  # Corresponds to the JSON property `costMicros`
637
1030
  # @return [Fixnum]
638
1031
  attr_accessor :cost_micros
@@ -667,6 +1060,78 @@ module Google
667
1060
  # @return [Float]
668
1061
  attr_accessor :cross_device_conversions_value
669
1062
 
1063
+ # Cross-sell cost of goods sold (COGS) is the total cost of products sold as a
1064
+ # result of advertising a different product. How it works: You report
1065
+ # conversions with cart data for completed purchases on your website. If the ad
1066
+ # that was interacted with before the purchase has an associated product (see
1067
+ # Shopping Ads) then this product is considered the advertised product. Any
1068
+ # product included in the order the customer places is a sold product. If these
1069
+ # products don't match then this is considered cross-sell. Cross-sell cost of
1070
+ # goods sold is the total cost of the products sold that weren't advertised.
1071
+ # Example: Someone clicked on a Shopping ad for a hat then bought the same hat
1072
+ # and a shirt. The hat has a cost of goods sold value of $3, the shirt has a
1073
+ # cost of goods sold value of $5. The cross-sell cost of goods sold for this
1074
+ # order is $5. This metric is only available if you report conversions with cart
1075
+ # data. This metric is a monetary value and returned in the customer's currency
1076
+ # by default. See the metrics_currency parameter at https://developers.google.
1077
+ # com/search-ads/reporting/query/query-structure#parameters_clause
1078
+ # Corresponds to the JSON property `crossSellCostOfGoodsSoldMicros`
1079
+ # @return [Fixnum]
1080
+ attr_accessor :cross_sell_cost_of_goods_sold_micros
1081
+
1082
+ # Cross-sell gross profit is the profit you made from products sold as a result
1083
+ # of advertising a different product, minus cost of goods sold (COGS). How it
1084
+ # works: You report conversions with cart data for completed purchases on your
1085
+ # website. If the ad that was interacted with before the purchase has an
1086
+ # associated product (see Shopping Ads) then this product is considered the
1087
+ # advertised product. Any product included in the purchase is a sold product. If
1088
+ # these products don't match then this is considered cross-sell. Cross-sell
1089
+ # gross profit is the revenue you made from cross-sell attributed to your ads
1090
+ # minus the cost of the goods sold. Example: Someone clicked on a Shopping ad
1091
+ # for a hat then bought the same hat and a shirt. The shirt is priced $20 and
1092
+ # has a cost of goods sold value of $5. The cross-sell gross profit of this
1093
+ # order is $15 = $20 - $5. This metric is only available if you report
1094
+ # conversions with cart data. This metric is a monetary value and returned in
1095
+ # the customer's currency by default. See the metrics_currency parameter at
1096
+ # https://developers.google.com/search-ads/reporting/query/query-structure#
1097
+ # parameters_clause
1098
+ # Corresponds to the JSON property `crossSellGrossProfitMicros`
1099
+ # @return [Fixnum]
1100
+ attr_accessor :cross_sell_gross_profit_micros
1101
+
1102
+ # Cross-sell revenue is the total amount you made from products sold as a result
1103
+ # of advertising a different product. How it works: You report conversions with
1104
+ # cart data for completed purchases on your website. If the ad that was
1105
+ # interacted with before the purchase has an associated product (see Shopping
1106
+ # Ads) then this product is considered the advertised product. Any product
1107
+ # included in the order the customer places is a sold product. If these products
1108
+ # don't match then this is considered cross-sell. Cross-sell revenue is the
1109
+ # total value you made from cross-sell attributed to your ads. Example: Someone
1110
+ # clicked on a Shopping ad for a hat then bought the same hat and a shirt. The
1111
+ # hat is priced $10 and the shirt is priced $20. The cross-sell revenue of this
1112
+ # order is $20. This metric is only available if you report conversions with
1113
+ # cart data. This metric is a monetary value and returned in the customer's
1114
+ # currency by default. See the metrics_currency parameter at https://developers.
1115
+ # google.com/search-ads/reporting/query/query-structure#parameters_clause
1116
+ # Corresponds to the JSON property `crossSellRevenueMicros`
1117
+ # @return [Fixnum]
1118
+ attr_accessor :cross_sell_revenue_micros
1119
+
1120
+ # Cross-sell units sold is the total number of products sold as a result of
1121
+ # advertising a different product. How it works: You report conversions with
1122
+ # cart data for completed purchases on your website. If the ad that was
1123
+ # interacted with before the purchase has an associated product (see Shopping
1124
+ # Ads) then this product is considered the advertised product. Any product
1125
+ # included in the order the customer places is a sold product. If these products
1126
+ # don't match then this is considered cross-sell. Cross-sell units sold is the
1127
+ # total number of cross-sold products from all orders attributed to your ads.
1128
+ # Example: Someone clicked on a Shopping ad for a hat then bought the same hat,
1129
+ # a shirt and a jacket. The cross-sell units sold in this order is 2. This
1130
+ # metric is only available if you report conversions with cart data.
1131
+ # Corresponds to the JSON property `crossSellUnitsSold`
1132
+ # @return [Float]
1133
+ attr_accessor :cross_sell_units_sold
1134
+
670
1135
  # The number of clicks your ad receives (Clicks) divided by the number of times
671
1136
  # your ad is shown (Impressions).
672
1137
  # Corresponds to the JSON property `ctr`
@@ -728,6 +1193,75 @@ module Google
728
1193
  # @return [Fixnum]
729
1194
  attr_accessor :invalid_clicks
730
1195
 
1196
+ # Lead cost of goods sold (COGS) is the total cost of products sold as a result
1197
+ # of advertising the same product. How it works: You report conversions with
1198
+ # cart data for completed purchases on your website. If the ad that was
1199
+ # interacted with has an associated product (see Shopping Ads) then this product
1200
+ # is considered the advertised product. Any product included in the order the
1201
+ # customer places is a sold product. If the advertised and sold products match,
1202
+ # then the cost of these goods is counted under lead cost of goods sold. Example:
1203
+ # Someone clicked on a Shopping ad for a hat then bought the same hat and a
1204
+ # shirt. The hat has a cost of goods sold value of $3, the shirt has a cost of
1205
+ # goods sold value of $5. The lead cost of goods sold for this order is $3. This
1206
+ # metric is only available if you report conversions with cart data. This metric
1207
+ # is a monetary value and returned in the customer's currency by default. See
1208
+ # the metrics_currency parameter at https://developers.google.com/search-ads/
1209
+ # reporting/query/query-structure#parameters_clause
1210
+ # Corresponds to the JSON property `leadCostOfGoodsSoldMicros`
1211
+ # @return [Fixnum]
1212
+ attr_accessor :lead_cost_of_goods_sold_micros
1213
+
1214
+ # Lead gross profit is the profit you made from products sold as a result of
1215
+ # advertising the same product, minus cost of goods sold (COGS). How it works:
1216
+ # You report conversions with cart data for completed purchases on your website.
1217
+ # If the ad that was interacted with before the purchase has an associated
1218
+ # product (see Shopping Ads) then this product is considered the advertised
1219
+ # product. Any product included in the order the customer places is a sold
1220
+ # product. If the advertised and sold products match, then the revenue you made
1221
+ # from these sales minus the cost of goods sold is your lead gross profit.
1222
+ # Example: Someone clicked on a Shopping ad for a hat then bought the same hat
1223
+ # and a shirt. The hat is priced $10 and has a cost of goods sold value of $3.
1224
+ # The lead gross profit of this order is $7 = $10 - $3. This metric is only
1225
+ # available if you report conversions with cart data. This metric is a monetary
1226
+ # value and returned in the customer's currency by default. See the
1227
+ # metrics_currency parameter at https://developers.google.com/search-ads/
1228
+ # reporting/query/query-structure#parameters_clause
1229
+ # Corresponds to the JSON property `leadGrossProfitMicros`
1230
+ # @return [Fixnum]
1231
+ attr_accessor :lead_gross_profit_micros
1232
+
1233
+ # Lead revenue is the total amount you made from products sold as a result of
1234
+ # advertising the same product. How it works: You report conversions with cart
1235
+ # data for completed purchases on your website. If the ad that was interacted
1236
+ # with before the purchase has an associated product (see Shopping Ads) then
1237
+ # this product is considered the advertised product. Any product included in the
1238
+ # order the customer places is a sold product. If the advertised and sold
1239
+ # products match, then the total value you made from the sales of these products
1240
+ # is shown under lead revenue. Example: Someone clicked on a Shopping ad for a
1241
+ # hat then bought the same hat and a shirt. The hat is priced $10 and the shirt
1242
+ # is priced $20. The lead revenue of this order is $10. This metric is only
1243
+ # available if you report conversions with cart data. This metric is a monetary
1244
+ # value and returned in the customer's currency by default. See the
1245
+ # metrics_currency parameter at https://developers.google.com/search-ads/
1246
+ # reporting/query/query-structure#parameters_clause
1247
+ # Corresponds to the JSON property `leadRevenueMicros`
1248
+ # @return [Fixnum]
1249
+ attr_accessor :lead_revenue_micros
1250
+
1251
+ # Lead units sold is the total number of products sold as a result of
1252
+ # advertising the same product. How it works: You report conversions with cart
1253
+ # data for completed purchases on your website. If the ad that was interacted
1254
+ # with before the purchase has an associated product (see Shopping Ads) then
1255
+ # this product is considered the advertised product. Any product included in the
1256
+ # order the customer places is a sold product. If the advertised and sold
1257
+ # products match, then the total number of these products sold is shown under
1258
+ # lead units sold. Example: Someone clicked on a Shopping ad for a hat then
1259
+ # bought the same hat, a shirt and a jacket. The lead units sold in this order
1260
+ # is 1. This metric is only available if you report conversions with cart data.
1261
+ # Corresponds to the JSON property `leadUnitsSold`
1262
+ # @return [Float]
1263
+ attr_accessor :lead_units_sold
1264
+
731
1265
  # The percentage of mobile clicks that go to a mobile-friendly page.
732
1266
  # Corresponds to the JSON property `mobileFriendlyClicksPercentage`
733
1267
  # @return [Float]
@@ -888,6 +1422,14 @@ module Google
888
1422
  @clicks = args[:clicks] if args.key?(:clicks)
889
1423
  @client_account_conversions = args[:client_account_conversions] if args.key?(:client_account_conversions)
890
1424
  @client_account_conversions_value = args[:client_account_conversions_value] if args.key?(:client_account_conversions_value)
1425
+ @client_account_cross_sell_cost_of_goods_sold_micros = args[:client_account_cross_sell_cost_of_goods_sold_micros] if args.key?(:client_account_cross_sell_cost_of_goods_sold_micros)
1426
+ @client_account_cross_sell_gross_profit_micros = args[:client_account_cross_sell_gross_profit_micros] if args.key?(:client_account_cross_sell_gross_profit_micros)
1427
+ @client_account_cross_sell_revenue_micros = args[:client_account_cross_sell_revenue_micros] if args.key?(:client_account_cross_sell_revenue_micros)
1428
+ @client_account_cross_sell_units_sold = args[:client_account_cross_sell_units_sold] if args.key?(:client_account_cross_sell_units_sold)
1429
+ @client_account_lead_cost_of_goods_sold_micros = args[:client_account_lead_cost_of_goods_sold_micros] if args.key?(:client_account_lead_cost_of_goods_sold_micros)
1430
+ @client_account_lead_gross_profit_micros = args[:client_account_lead_gross_profit_micros] if args.key?(:client_account_lead_gross_profit_micros)
1431
+ @client_account_lead_revenue_micros = args[:client_account_lead_revenue_micros] if args.key?(:client_account_lead_revenue_micros)
1432
+ @client_account_lead_units_sold = args[:client_account_lead_units_sold] if args.key?(:client_account_lead_units_sold)
891
1433
  @client_account_view_through_conversions = args[:client_account_view_through_conversions] if args.key?(:client_account_view_through_conversions)
892
1434
  @content_budget_lost_impression_share = args[:content_budget_lost_impression_share] if args.key?(:content_budget_lost_impression_share)
893
1435
  @content_impression_share = args[:content_impression_share] if args.key?(:content_impression_share)
@@ -905,6 +1447,10 @@ module Google
905
1447
  @cost_per_current_model_attributed_conversion = args[:cost_per_current_model_attributed_conversion] if args.key?(:cost_per_current_model_attributed_conversion)
906
1448
  @cross_device_conversions = args[:cross_device_conversions] if args.key?(:cross_device_conversions)
907
1449
  @cross_device_conversions_value = args[:cross_device_conversions_value] if args.key?(:cross_device_conversions_value)
1450
+ @cross_sell_cost_of_goods_sold_micros = args[:cross_sell_cost_of_goods_sold_micros] if args.key?(:cross_sell_cost_of_goods_sold_micros)
1451
+ @cross_sell_gross_profit_micros = args[:cross_sell_gross_profit_micros] if args.key?(:cross_sell_gross_profit_micros)
1452
+ @cross_sell_revenue_micros = args[:cross_sell_revenue_micros] if args.key?(:cross_sell_revenue_micros)
1453
+ @cross_sell_units_sold = args[:cross_sell_units_sold] if args.key?(:cross_sell_units_sold)
908
1454
  @ctr = args[:ctr] if args.key?(:ctr)
909
1455
  @historical_creative_quality_score = args[:historical_creative_quality_score] if args.key?(:historical_creative_quality_score)
910
1456
  @historical_landing_page_quality_score = args[:historical_landing_page_quality_score] if args.key?(:historical_landing_page_quality_score)
@@ -916,6 +1462,10 @@ module Google
916
1462
  @interactions = args[:interactions] if args.key?(:interactions)
917
1463
  @invalid_click_rate = args[:invalid_click_rate] if args.key?(:invalid_click_rate)
918
1464
  @invalid_clicks = args[:invalid_clicks] if args.key?(:invalid_clicks)
1465
+ @lead_cost_of_goods_sold_micros = args[:lead_cost_of_goods_sold_micros] if args.key?(:lead_cost_of_goods_sold_micros)
1466
+ @lead_gross_profit_micros = args[:lead_gross_profit_micros] if args.key?(:lead_gross_profit_micros)
1467
+ @lead_revenue_micros = args[:lead_revenue_micros] if args.key?(:lead_revenue_micros)
1468
+ @lead_units_sold = args[:lead_units_sold] if args.key?(:lead_units_sold)
919
1469
  @mobile_friendly_clicks_percentage = args[:mobile_friendly_clicks_percentage] if args.key?(:mobile_friendly_clicks_percentage)
920
1470
  @search_absolute_top_impression_share = args[:search_absolute_top_impression_share] if args.key?(:search_absolute_top_impression_share)
921
1471
  @search_budget_lost_absolute_top_impression_share = args[:search_budget_lost_absolute_top_impression_share] if args.key?(:search_budget_lost_absolute_top_impression_share)
@@ -1210,6 +1760,11 @@ module Google
1210
1760
  # @return [String]
1211
1761
  attr_accessor :ad_network_type
1212
1762
 
1763
+ # An AssetInteractionTarget segment.
1764
+ # Corresponds to the JSON property `assetInteractionTarget`
1765
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonAssetInteractionTarget]
1766
+ attr_accessor :asset_interaction_target
1767
+
1213
1768
  # Resource name of the conversion action.
1214
1769
  # Corresponds to the JSON property `conversionAction`
1215
1770
  # @return [String]
@@ -1251,6 +1806,222 @@ module Google
1251
1806
  # @return [String]
1252
1807
  attr_accessor :month
1253
1808
 
1809
+ # Bidding category (level 1) of the product.
1810
+ # Corresponds to the JSON property `productBiddingCategoryLevel1`
1811
+ # @return [String]
1812
+ attr_accessor :product_bidding_category_level1
1813
+
1814
+ # Bidding category (level 2) of the product.
1815
+ # Corresponds to the JSON property `productBiddingCategoryLevel2`
1816
+ # @return [String]
1817
+ attr_accessor :product_bidding_category_level2
1818
+
1819
+ # Bidding category (level 3) of the product.
1820
+ # Corresponds to the JSON property `productBiddingCategoryLevel3`
1821
+ # @return [String]
1822
+ attr_accessor :product_bidding_category_level3
1823
+
1824
+ # Bidding category (level 4) of the product.
1825
+ # Corresponds to the JSON property `productBiddingCategoryLevel4`
1826
+ # @return [String]
1827
+ attr_accessor :product_bidding_category_level4
1828
+
1829
+ # Bidding category (level 5) of the product.
1830
+ # Corresponds to the JSON property `productBiddingCategoryLevel5`
1831
+ # @return [String]
1832
+ attr_accessor :product_bidding_category_level5
1833
+
1834
+ # Brand of the product.
1835
+ # Corresponds to the JSON property `productBrand`
1836
+ # @return [String]
1837
+ attr_accessor :product_brand
1838
+
1839
+ # Channel of the product.
1840
+ # Corresponds to the JSON property `productChannel`
1841
+ # @return [String]
1842
+ attr_accessor :product_channel
1843
+
1844
+ # Channel exclusivity of the product.
1845
+ # Corresponds to the JSON property `productChannelExclusivity`
1846
+ # @return [String]
1847
+ attr_accessor :product_channel_exclusivity
1848
+
1849
+ # Condition of the product.
1850
+ # Corresponds to the JSON property `productCondition`
1851
+ # @return [String]
1852
+ attr_accessor :product_condition
1853
+
1854
+ # Resource name of the geo target constant for the country of sale of the
1855
+ # product.
1856
+ # Corresponds to the JSON property `productCountry`
1857
+ # @return [String]
1858
+ attr_accessor :product_country
1859
+
1860
+ # Custom attribute 0 of the product.
1861
+ # Corresponds to the JSON property `productCustomAttribute0`
1862
+ # @return [String]
1863
+ attr_accessor :product_custom_attribute0
1864
+
1865
+ # Custom attribute 1 of the product.
1866
+ # Corresponds to the JSON property `productCustomAttribute1`
1867
+ # @return [String]
1868
+ attr_accessor :product_custom_attribute1
1869
+
1870
+ # Custom attribute 2 of the product.
1871
+ # Corresponds to the JSON property `productCustomAttribute2`
1872
+ # @return [String]
1873
+ attr_accessor :product_custom_attribute2
1874
+
1875
+ # Custom attribute 3 of the product.
1876
+ # Corresponds to the JSON property `productCustomAttribute3`
1877
+ # @return [String]
1878
+ attr_accessor :product_custom_attribute3
1879
+
1880
+ # Custom attribute 4 of the product.
1881
+ # Corresponds to the JSON property `productCustomAttribute4`
1882
+ # @return [String]
1883
+ attr_accessor :product_custom_attribute4
1884
+
1885
+ # Item ID of the product.
1886
+ # Corresponds to the JSON property `productItemId`
1887
+ # @return [String]
1888
+ attr_accessor :product_item_id
1889
+
1890
+ # Resource name of the language constant for the language of the product.
1891
+ # Corresponds to the JSON property `productLanguage`
1892
+ # @return [String]
1893
+ attr_accessor :product_language
1894
+
1895
+ # Bidding category (level 1) of the product sold.
1896
+ # Corresponds to the JSON property `productSoldBiddingCategoryLevel1`
1897
+ # @return [String]
1898
+ attr_accessor :product_sold_bidding_category_level1
1899
+
1900
+ # Bidding category (level 2) of the product sold.
1901
+ # Corresponds to the JSON property `productSoldBiddingCategoryLevel2`
1902
+ # @return [String]
1903
+ attr_accessor :product_sold_bidding_category_level2
1904
+
1905
+ # Bidding category (level 3) of the product sold.
1906
+ # Corresponds to the JSON property `productSoldBiddingCategoryLevel3`
1907
+ # @return [String]
1908
+ attr_accessor :product_sold_bidding_category_level3
1909
+
1910
+ # Bidding category (level 4) of the product sold.
1911
+ # Corresponds to the JSON property `productSoldBiddingCategoryLevel4`
1912
+ # @return [String]
1913
+ attr_accessor :product_sold_bidding_category_level4
1914
+
1915
+ # Bidding category (level 5) of the product sold.
1916
+ # Corresponds to the JSON property `productSoldBiddingCategoryLevel5`
1917
+ # @return [String]
1918
+ attr_accessor :product_sold_bidding_category_level5
1919
+
1920
+ # Brand of the product sold.
1921
+ # Corresponds to the JSON property `productSoldBrand`
1922
+ # @return [String]
1923
+ attr_accessor :product_sold_brand
1924
+
1925
+ # Condition of the product sold.
1926
+ # Corresponds to the JSON property `productSoldCondition`
1927
+ # @return [String]
1928
+ attr_accessor :product_sold_condition
1929
+
1930
+ # Custom attribute 0 of the product sold.
1931
+ # Corresponds to the JSON property `productSoldCustomAttribute0`
1932
+ # @return [String]
1933
+ attr_accessor :product_sold_custom_attribute0
1934
+
1935
+ # Custom attribute 1 of the product sold.
1936
+ # Corresponds to the JSON property `productSoldCustomAttribute1`
1937
+ # @return [String]
1938
+ attr_accessor :product_sold_custom_attribute1
1939
+
1940
+ # Custom attribute 2 of the product sold.
1941
+ # Corresponds to the JSON property `productSoldCustomAttribute2`
1942
+ # @return [String]
1943
+ attr_accessor :product_sold_custom_attribute2
1944
+
1945
+ # Custom attribute 3 of the product sold.
1946
+ # Corresponds to the JSON property `productSoldCustomAttribute3`
1947
+ # @return [String]
1948
+ attr_accessor :product_sold_custom_attribute3
1949
+
1950
+ # Custom attribute 4 of the product sold.
1951
+ # Corresponds to the JSON property `productSoldCustomAttribute4`
1952
+ # @return [String]
1953
+ attr_accessor :product_sold_custom_attribute4
1954
+
1955
+ # Item ID of the product sold.
1956
+ # Corresponds to the JSON property `productSoldItemId`
1957
+ # @return [String]
1958
+ attr_accessor :product_sold_item_id
1959
+
1960
+ # Title of the product sold.
1961
+ # Corresponds to the JSON property `productSoldTitle`
1962
+ # @return [String]
1963
+ attr_accessor :product_sold_title
1964
+
1965
+ # Type (level 1) of the product sold.
1966
+ # Corresponds to the JSON property `productSoldTypeL1`
1967
+ # @return [String]
1968
+ attr_accessor :product_sold_type_l1
1969
+
1970
+ # Type (level 2) of the product sold.
1971
+ # Corresponds to the JSON property `productSoldTypeL2`
1972
+ # @return [String]
1973
+ attr_accessor :product_sold_type_l2
1974
+
1975
+ # Type (level 3) of the product sold.
1976
+ # Corresponds to the JSON property `productSoldTypeL3`
1977
+ # @return [String]
1978
+ attr_accessor :product_sold_type_l3
1979
+
1980
+ # Type (level 4) of the product sold.
1981
+ # Corresponds to the JSON property `productSoldTypeL4`
1982
+ # @return [String]
1983
+ attr_accessor :product_sold_type_l4
1984
+
1985
+ # Type (level 5) of the product sold.
1986
+ # Corresponds to the JSON property `productSoldTypeL5`
1987
+ # @return [String]
1988
+ attr_accessor :product_sold_type_l5
1989
+
1990
+ # Store ID of the product.
1991
+ # Corresponds to the JSON property `productStoreId`
1992
+ # @return [String]
1993
+ attr_accessor :product_store_id
1994
+
1995
+ # Title of the product.
1996
+ # Corresponds to the JSON property `productTitle`
1997
+ # @return [String]
1998
+ attr_accessor :product_title
1999
+
2000
+ # Type (level 1) of the product.
2001
+ # Corresponds to the JSON property `productTypeL1`
2002
+ # @return [String]
2003
+ attr_accessor :product_type_l1
2004
+
2005
+ # Type (level 2) of the product.
2006
+ # Corresponds to the JSON property `productTypeL2`
2007
+ # @return [String]
2008
+ attr_accessor :product_type_l2
2009
+
2010
+ # Type (level 3) of the product.
2011
+ # Corresponds to the JSON property `productTypeL3`
2012
+ # @return [String]
2013
+ attr_accessor :product_type_l3
2014
+
2015
+ # Type (level 4) of the product.
2016
+ # Corresponds to the JSON property `productTypeL4`
2017
+ # @return [String]
2018
+ attr_accessor :product_type_l4
2019
+
2020
+ # Type (level 5) of the product.
2021
+ # Corresponds to the JSON property `productTypeL5`
2022
+ # @return [String]
2023
+ attr_accessor :product_type_l5
2024
+
1254
2025
  # Quarter as represented by the date of the first day of a quarter. Uses the
1255
2026
  # calendar year for quarters, for example, the second quarter of 2018 starts on
1256
2027
  # 2018-04-01. Formatted as yyyy-MM-dd.
@@ -1276,6 +2047,7 @@ module Google
1276
2047
  # Update properties of this object
1277
2048
  def update!(**args)
1278
2049
  @ad_network_type = args[:ad_network_type] if args.key?(:ad_network_type)
2050
+ @asset_interaction_target = args[:asset_interaction_target] if args.key?(:asset_interaction_target)
1279
2051
  @conversion_action = args[:conversion_action] if args.key?(:conversion_action)
1280
2052
  @conversion_action_category = args[:conversion_action_category] if args.key?(:conversion_action_category)
1281
2053
  @conversion_action_name = args[:conversion_action_name] if args.key?(:conversion_action_name)
@@ -1284,6 +2056,49 @@ module Google
1284
2056
  @device = args[:device] if args.key?(:device)
1285
2057
  @keyword = args[:keyword] if args.key?(:keyword)
1286
2058
  @month = args[:month] if args.key?(:month)
2059
+ @product_bidding_category_level1 = args[:product_bidding_category_level1] if args.key?(:product_bidding_category_level1)
2060
+ @product_bidding_category_level2 = args[:product_bidding_category_level2] if args.key?(:product_bidding_category_level2)
2061
+ @product_bidding_category_level3 = args[:product_bidding_category_level3] if args.key?(:product_bidding_category_level3)
2062
+ @product_bidding_category_level4 = args[:product_bidding_category_level4] if args.key?(:product_bidding_category_level4)
2063
+ @product_bidding_category_level5 = args[:product_bidding_category_level5] if args.key?(:product_bidding_category_level5)
2064
+ @product_brand = args[:product_brand] if args.key?(:product_brand)
2065
+ @product_channel = args[:product_channel] if args.key?(:product_channel)
2066
+ @product_channel_exclusivity = args[:product_channel_exclusivity] if args.key?(:product_channel_exclusivity)
2067
+ @product_condition = args[:product_condition] if args.key?(:product_condition)
2068
+ @product_country = args[:product_country] if args.key?(:product_country)
2069
+ @product_custom_attribute0 = args[:product_custom_attribute0] if args.key?(:product_custom_attribute0)
2070
+ @product_custom_attribute1 = args[:product_custom_attribute1] if args.key?(:product_custom_attribute1)
2071
+ @product_custom_attribute2 = args[:product_custom_attribute2] if args.key?(:product_custom_attribute2)
2072
+ @product_custom_attribute3 = args[:product_custom_attribute3] if args.key?(:product_custom_attribute3)
2073
+ @product_custom_attribute4 = args[:product_custom_attribute4] if args.key?(:product_custom_attribute4)
2074
+ @product_item_id = args[:product_item_id] if args.key?(:product_item_id)
2075
+ @product_language = args[:product_language] if args.key?(:product_language)
2076
+ @product_sold_bidding_category_level1 = args[:product_sold_bidding_category_level1] if args.key?(:product_sold_bidding_category_level1)
2077
+ @product_sold_bidding_category_level2 = args[:product_sold_bidding_category_level2] if args.key?(:product_sold_bidding_category_level2)
2078
+ @product_sold_bidding_category_level3 = args[:product_sold_bidding_category_level3] if args.key?(:product_sold_bidding_category_level3)
2079
+ @product_sold_bidding_category_level4 = args[:product_sold_bidding_category_level4] if args.key?(:product_sold_bidding_category_level4)
2080
+ @product_sold_bidding_category_level5 = args[:product_sold_bidding_category_level5] if args.key?(:product_sold_bidding_category_level5)
2081
+ @product_sold_brand = args[:product_sold_brand] if args.key?(:product_sold_brand)
2082
+ @product_sold_condition = args[:product_sold_condition] if args.key?(:product_sold_condition)
2083
+ @product_sold_custom_attribute0 = args[:product_sold_custom_attribute0] if args.key?(:product_sold_custom_attribute0)
2084
+ @product_sold_custom_attribute1 = args[:product_sold_custom_attribute1] if args.key?(:product_sold_custom_attribute1)
2085
+ @product_sold_custom_attribute2 = args[:product_sold_custom_attribute2] if args.key?(:product_sold_custom_attribute2)
2086
+ @product_sold_custom_attribute3 = args[:product_sold_custom_attribute3] if args.key?(:product_sold_custom_attribute3)
2087
+ @product_sold_custom_attribute4 = args[:product_sold_custom_attribute4] if args.key?(:product_sold_custom_attribute4)
2088
+ @product_sold_item_id = args[:product_sold_item_id] if args.key?(:product_sold_item_id)
2089
+ @product_sold_title = args[:product_sold_title] if args.key?(:product_sold_title)
2090
+ @product_sold_type_l1 = args[:product_sold_type_l1] if args.key?(:product_sold_type_l1)
2091
+ @product_sold_type_l2 = args[:product_sold_type_l2] if args.key?(:product_sold_type_l2)
2092
+ @product_sold_type_l3 = args[:product_sold_type_l3] if args.key?(:product_sold_type_l3)
2093
+ @product_sold_type_l4 = args[:product_sold_type_l4] if args.key?(:product_sold_type_l4)
2094
+ @product_sold_type_l5 = args[:product_sold_type_l5] if args.key?(:product_sold_type_l5)
2095
+ @product_store_id = args[:product_store_id] if args.key?(:product_store_id)
2096
+ @product_title = args[:product_title] if args.key?(:product_title)
2097
+ @product_type_l1 = args[:product_type_l1] if args.key?(:product_type_l1)
2098
+ @product_type_l2 = args[:product_type_l2] if args.key?(:product_type_l2)
2099
+ @product_type_l3 = args[:product_type_l3] if args.key?(:product_type_l3)
2100
+ @product_type_l4 = args[:product_type_l4] if args.key?(:product_type_l4)
2101
+ @product_type_l5 = args[:product_type_l5] if args.key?(:product_type_l5)
1287
2102
  @quarter = args[:quarter] if args.key?(:quarter)
1288
2103
  @week = args[:week] if args.key?(:week)
1289
2104
  @year = args[:year] if args.key?(:year)
@@ -1519,18 +2334,37 @@ module Google
1519
2334
  end
1520
2335
  end
1521
2336
 
1522
- # A type of label displaying text on a colored background.
1523
- class GoogleAdsSearchads360V0CommonTextLabel
2337
+ # A Text asset.
2338
+ class GoogleAdsSearchads360V0CommonTextAsset
1524
2339
  include Google::Apis::Core::Hashable
1525
2340
 
1526
- # Background color of the label in RGB format. This string must match the
1527
- # regular expression '^\#([a-fA-F0-9]`6`|[a-fA-F0-9]`3`)$'. Note: The background
1528
- # color may not be visible for manager accounts.
1529
- # Corresponds to the JSON property `backgroundColor`
2341
+ # Text content of the text asset.
2342
+ # Corresponds to the JSON property `text`
1530
2343
  # @return [String]
1531
- attr_accessor :background_color
2344
+ attr_accessor :text
1532
2345
 
1533
- # A short description of the label. The length must be no more than 200
2346
+ def initialize(**args)
2347
+ update!(**args)
2348
+ end
2349
+
2350
+ # Update properties of this object
2351
+ def update!(**args)
2352
+ @text = args[:text] if args.key?(:text)
2353
+ end
2354
+ end
2355
+
2356
+ # A type of label displaying text on a colored background.
2357
+ class GoogleAdsSearchads360V0CommonTextLabel
2358
+ include Google::Apis::Core::Hashable
2359
+
2360
+ # Background color of the label in RGB format. This string must match the
2361
+ # regular expression '^\#([a-fA-F0-9]`6`|[a-fA-F0-9]`3`)$'. Note: The background
2362
+ # color may not be visible for manager accounts.
2363
+ # Corresponds to the JSON property `backgroundColor`
2364
+ # @return [String]
2365
+ attr_accessor :background_color
2366
+
2367
+ # A short description of the label. The length must be no more than 200
1534
2368
  # characters.
1535
2369
  # Corresponds to the JSON property `description`
1536
2370
  # @return [String]
@@ -1547,6 +2381,282 @@ module Google
1547
2381
  end
1548
2382
  end
1549
2383
 
2384
+ # A unified call asset.
2385
+ class GoogleAdsSearchads360V0CommonUnifiedCallAsset
2386
+ include Google::Apis::Core::Hashable
2387
+
2388
+ # List of non-overlapping schedules specifying all time intervals for which the
2389
+ # asset may serve. There can be a maximum of 6 schedules per day, 42 in total.
2390
+ # Corresponds to the JSON property `adScheduleTargets`
2391
+ # @return [Array<Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonAdScheduleInfo>]
2392
+ attr_accessor :ad_schedule_targets
2393
+
2394
+ # The conversion action to attribute a call conversion to. If not set, the
2395
+ # default conversion action is used. This field only has effect if
2396
+ # call_conversion_reporting_state is set to
2397
+ # USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION.
2398
+ # Corresponds to the JSON property `callConversionAction`
2399
+ # @return [String]
2400
+ attr_accessor :call_conversion_action
2401
+
2402
+ # Output only. Indicates whether this CallAsset should use its own call
2403
+ # conversion setting, follow the account level setting, or disable call
2404
+ # conversion.
2405
+ # Corresponds to the JSON property `callConversionReportingState`
2406
+ # @return [String]
2407
+ attr_accessor :call_conversion_reporting_state
2408
+
2409
+ # Whether the call only shows the phone number without a link to the website.
2410
+ # Applies to Microsoft Ads.
2411
+ # Corresponds to the JSON property `callOnly`
2412
+ # @return [Boolean]
2413
+ attr_accessor :call_only
2414
+ alias_method :call_only?, :call_only
2415
+
2416
+ # Whether the call should be enabled on call tracking. Applies to Microsoft Ads.
2417
+ # Corresponds to the JSON property `callTrackingEnabled`
2418
+ # @return [Boolean]
2419
+ attr_accessor :call_tracking_enabled
2420
+ alias_method :call_tracking_enabled?, :call_tracking_enabled
2421
+
2422
+ # Two-letter country code of the phone number. Examples: 'US', 'us'.
2423
+ # Corresponds to the JSON property `countryCode`
2424
+ # @return [String]
2425
+ attr_accessor :country_code
2426
+
2427
+ # Last date of when this asset is effective and still serving, in yyyy-MM-dd
2428
+ # format.
2429
+ # Corresponds to the JSON property `endDate`
2430
+ # @return [String]
2431
+ attr_accessor :end_date
2432
+
2433
+ # The advertiser's raw phone number. Examples: '1234567890', '(123)456-7890'
2434
+ # Corresponds to the JSON property `phoneNumber`
2435
+ # @return [String]
2436
+ attr_accessor :phone_number
2437
+
2438
+ # Start date of when this asset is effective and can begin serving, in yyyy-MM-
2439
+ # dd format.
2440
+ # Corresponds to the JSON property `startDate`
2441
+ # @return [String]
2442
+ attr_accessor :start_date
2443
+
2444
+ # Whether to show the call extension in search user's time zone. Applies to
2445
+ # Microsoft Ads.
2446
+ # Corresponds to the JSON property `useSearcherTimeZone`
2447
+ # @return [Boolean]
2448
+ attr_accessor :use_searcher_time_zone
2449
+ alias_method :use_searcher_time_zone?, :use_searcher_time_zone
2450
+
2451
+ def initialize(**args)
2452
+ update!(**args)
2453
+ end
2454
+
2455
+ # Update properties of this object
2456
+ def update!(**args)
2457
+ @ad_schedule_targets = args[:ad_schedule_targets] if args.key?(:ad_schedule_targets)
2458
+ @call_conversion_action = args[:call_conversion_action] if args.key?(:call_conversion_action)
2459
+ @call_conversion_reporting_state = args[:call_conversion_reporting_state] if args.key?(:call_conversion_reporting_state)
2460
+ @call_only = args[:call_only] if args.key?(:call_only)
2461
+ @call_tracking_enabled = args[:call_tracking_enabled] if args.key?(:call_tracking_enabled)
2462
+ @country_code = args[:country_code] if args.key?(:country_code)
2463
+ @end_date = args[:end_date] if args.key?(:end_date)
2464
+ @phone_number = args[:phone_number] if args.key?(:phone_number)
2465
+ @start_date = args[:start_date] if args.key?(:start_date)
2466
+ @use_searcher_time_zone = args[:use_searcher_time_zone] if args.key?(:use_searcher_time_zone)
2467
+ end
2468
+ end
2469
+
2470
+ # A unified callout asset.
2471
+ class GoogleAdsSearchads360V0CommonUnifiedCalloutAsset
2472
+ include Google::Apis::Core::Hashable
2473
+
2474
+ # List of non-overlapping schedules specifying all time intervals for which the
2475
+ # asset may serve. There can be a maximum of 6 schedules per day, 42 in total.
2476
+ # Corresponds to the JSON property `adScheduleTargets`
2477
+ # @return [Array<Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonAdScheduleInfo>]
2478
+ attr_accessor :ad_schedule_targets
2479
+
2480
+ # The callout text. The length of this string should be between 1 and 25,
2481
+ # inclusive.
2482
+ # Corresponds to the JSON property `calloutText`
2483
+ # @return [String]
2484
+ attr_accessor :callout_text
2485
+
2486
+ # Last date of when this asset is effective and still serving, in yyyy-MM-dd
2487
+ # format.
2488
+ # Corresponds to the JSON property `endDate`
2489
+ # @return [String]
2490
+ attr_accessor :end_date
2491
+
2492
+ # Start date of when this asset is effective and can begin serving, in yyyy-MM-
2493
+ # dd format.
2494
+ # Corresponds to the JSON property `startDate`
2495
+ # @return [String]
2496
+ attr_accessor :start_date
2497
+
2498
+ # Whether to show the asset in search user's time zone. Applies to Microsoft Ads.
2499
+ # Corresponds to the JSON property `useSearcherTimeZone`
2500
+ # @return [Boolean]
2501
+ attr_accessor :use_searcher_time_zone
2502
+ alias_method :use_searcher_time_zone?, :use_searcher_time_zone
2503
+
2504
+ def initialize(**args)
2505
+ update!(**args)
2506
+ end
2507
+
2508
+ # Update properties of this object
2509
+ def update!(**args)
2510
+ @ad_schedule_targets = args[:ad_schedule_targets] if args.key?(:ad_schedule_targets)
2511
+ @callout_text = args[:callout_text] if args.key?(:callout_text)
2512
+ @end_date = args[:end_date] if args.key?(:end_date)
2513
+ @start_date = args[:start_date] if args.key?(:start_date)
2514
+ @use_searcher_time_zone = args[:use_searcher_time_zone] if args.key?(:use_searcher_time_zone)
2515
+ end
2516
+ end
2517
+
2518
+ # A unified location asset.
2519
+ class GoogleAdsSearchads360V0CommonUnifiedLocationAsset
2520
+ include Google::Apis::Core::Hashable
2521
+
2522
+ # The list of business locations for the customer. This will only be returned if
2523
+ # the Location Asset is syncing from the Business Profile account. It is
2524
+ # possible to have multiple Business Profile listings under the same account
2525
+ # that point to the same Place ID.
2526
+ # Corresponds to the JSON property `businessProfileLocations`
2527
+ # @return [Array<Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonBusinessProfileLocation>]
2528
+ attr_accessor :business_profile_locations
2529
+
2530
+ # The type of location ownership. If the type is BUSINESS_OWNER, it will be
2531
+ # served as a location extension. If the type is AFFILIATE, it will be served as
2532
+ # an affiliate location.
2533
+ # Corresponds to the JSON property `locationOwnershipType`
2534
+ # @return [String]
2535
+ attr_accessor :location_ownership_type
2536
+
2537
+ # Place IDs uniquely identify a place in the Google Places database and on
2538
+ # Google Maps. This field is unique for a given customer ID and asset type. See
2539
+ # https://developers.google.com/places/web-service/place-id to learn more about
2540
+ # Place ID.
2541
+ # Corresponds to the JSON property `placeId`
2542
+ # @return [String]
2543
+ attr_accessor :place_id
2544
+
2545
+ def initialize(**args)
2546
+ update!(**args)
2547
+ end
2548
+
2549
+ # Update properties of this object
2550
+ def update!(**args)
2551
+ @business_profile_locations = args[:business_profile_locations] if args.key?(:business_profile_locations)
2552
+ @location_ownership_type = args[:location_ownership_type] if args.key?(:location_ownership_type)
2553
+ @place_id = args[:place_id] if args.key?(:place_id)
2554
+ end
2555
+ end
2556
+
2557
+ # A Unified Page Feed asset.
2558
+ class GoogleAdsSearchads360V0CommonUnifiedPageFeedAsset
2559
+ include Google::Apis::Core::Hashable
2560
+
2561
+ # Labels used to group the page urls.
2562
+ # Corresponds to the JSON property `labels`
2563
+ # @return [Array<String>]
2564
+ attr_accessor :labels
2565
+
2566
+ # The webpage that advertisers want to target.
2567
+ # Corresponds to the JSON property `pageUrl`
2568
+ # @return [String]
2569
+ attr_accessor :page_url
2570
+
2571
+ def initialize(**args)
2572
+ update!(**args)
2573
+ end
2574
+
2575
+ # Update properties of this object
2576
+ def update!(**args)
2577
+ @labels = args[:labels] if args.key?(:labels)
2578
+ @page_url = args[:page_url] if args.key?(:page_url)
2579
+ end
2580
+ end
2581
+
2582
+ # A unified sitelink asset.
2583
+ class GoogleAdsSearchads360V0CommonUnifiedSitelinkAsset
2584
+ include Google::Apis::Core::Hashable
2585
+
2586
+ # List of non-overlapping schedules specifying all time intervals for which the
2587
+ # asset may serve. There can be a maximum of 6 schedules per day, 42 in total.
2588
+ # Corresponds to the JSON property `adScheduleTargets`
2589
+ # @return [Array<Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonAdScheduleInfo>]
2590
+ attr_accessor :ad_schedule_targets
2591
+
2592
+ # First line of the description for the sitelink. If set, the length should be
2593
+ # between 1 and 35, inclusive, and description2 must also be set.
2594
+ # Corresponds to the JSON property `description1`
2595
+ # @return [String]
2596
+ attr_accessor :description1
2597
+
2598
+ # Second line of the description for the sitelink. If set, the length should be
2599
+ # between 1 and 35, inclusive, and description1 must also be set.
2600
+ # Corresponds to the JSON property `description2`
2601
+ # @return [String]
2602
+ attr_accessor :description2
2603
+
2604
+ # Last date of when this asset is effective and still serving, in yyyy-MM-dd
2605
+ # format.
2606
+ # Corresponds to the JSON property `endDate`
2607
+ # @return [String]
2608
+ attr_accessor :end_date
2609
+
2610
+ # URL display text for the sitelink. The length of this string should be between
2611
+ # 1 and 25, inclusive.
2612
+ # Corresponds to the JSON property `linkText`
2613
+ # @return [String]
2614
+ attr_accessor :link_text
2615
+
2616
+ # Whether the preference is for the sitelink asset to be displayed on mobile
2617
+ # devices. Applies to Microsoft Ads.
2618
+ # Corresponds to the JSON property `mobilePreferred`
2619
+ # @return [Boolean]
2620
+ attr_accessor :mobile_preferred
2621
+ alias_method :mobile_preferred?, :mobile_preferred
2622
+
2623
+ # Start date of when this asset is effective and can begin serving, in yyyy-MM-
2624
+ # dd format.
2625
+ # Corresponds to the JSON property `startDate`
2626
+ # @return [String]
2627
+ attr_accessor :start_date
2628
+
2629
+ # ID used for tracking clicks for the sitelink asset. This is a Yahoo! Japan
2630
+ # only field.
2631
+ # Corresponds to the JSON property `trackingId`
2632
+ # @return [Fixnum]
2633
+ attr_accessor :tracking_id
2634
+
2635
+ # Whether to show the sitelink asset in search user's time zone. Applies to
2636
+ # Microsoft Ads.
2637
+ # Corresponds to the JSON property `useSearcherTimeZone`
2638
+ # @return [Boolean]
2639
+ attr_accessor :use_searcher_time_zone
2640
+ alias_method :use_searcher_time_zone?, :use_searcher_time_zone
2641
+
2642
+ def initialize(**args)
2643
+ update!(**args)
2644
+ end
2645
+
2646
+ # Update properties of this object
2647
+ def update!(**args)
2648
+ @ad_schedule_targets = args[:ad_schedule_targets] if args.key?(:ad_schedule_targets)
2649
+ @description1 = args[:description1] if args.key?(:description1)
2650
+ @description2 = args[:description2] if args.key?(:description2)
2651
+ @end_date = args[:end_date] if args.key?(:end_date)
2652
+ @link_text = args[:link_text] if args.key?(:link_text)
2653
+ @mobile_preferred = args[:mobile_preferred] if args.key?(:mobile_preferred)
2654
+ @start_date = args[:start_date] if args.key?(:start_date)
2655
+ @tracking_id = args[:tracking_id] if args.key?(:tracking_id)
2656
+ @use_searcher_time_zone = args[:use_searcher_time_zone] if args.key?(:use_searcher_time_zone)
2657
+ end
2658
+ end
2659
+
1550
2660
  # A User List criterion. Represents a user list that is defined by the
1551
2661
  # advertiser to be targeted.
1552
2662
  class GoogleAdsSearchads360V0CommonUserListInfo
@@ -1683,6 +2793,32 @@ module Google
1683
2793
  end
1684
2794
  end
1685
2795
 
2796
+ # A YouTube asset.
2797
+ class GoogleAdsSearchads360V0CommonYoutubeVideoAsset
2798
+ include Google::Apis::Core::Hashable
2799
+
2800
+ # YouTube video id. This is the 11 character string value used in the YouTube
2801
+ # video URL.
2802
+ # Corresponds to the JSON property `youtubeVideoId`
2803
+ # @return [String]
2804
+ attr_accessor :youtube_video_id
2805
+
2806
+ # YouTube video title.
2807
+ # Corresponds to the JSON property `youtubeVideoTitle`
2808
+ # @return [String]
2809
+ attr_accessor :youtube_video_title
2810
+
2811
+ def initialize(**args)
2812
+ update!(**args)
2813
+ end
2814
+
2815
+ # Update properties of this object
2816
+ def update!(**args)
2817
+ @youtube_video_id = args[:youtube_video_id] if args.key?(:youtube_video_id)
2818
+ @youtube_video_title = args[:youtube_video_title] if args.key?(:youtube_video_title)
2819
+ end
2820
+ end
2821
+
1686
2822
  # A part of a field path.
1687
2823
  class GoogleAdsSearchads360V0ErrorsErrorLocationFieldPathElement
1688
2824
  include Google::Apis::Core::Hashable
@@ -1752,12 +2888,17 @@ module Google
1752
2888
  # @return [String]
1753
2889
  attr_accessor :internal_error
1754
2890
 
2891
+ # The reasons for invalid parameter errors.
2892
+ # Corresponds to the JSON property `invalidParameterError`
2893
+ # @return [String]
2894
+ attr_accessor :invalid_parameter_error
2895
+
1755
2896
  # An error with the query
1756
2897
  # Corresponds to the JSON property `queryError`
1757
2898
  # @return [String]
1758
2899
  attr_accessor :query_error
1759
2900
 
1760
- # An error with the amonut of quota remaining.
2901
+ # An error with the amount of quota remaining.
1761
2902
  # Corresponds to the JSON property `quotaError`
1762
2903
  # @return [String]
1763
2904
  attr_accessor :quota_error
@@ -1786,6 +2927,7 @@ module Google
1786
2927
  @distinct_error = args[:distinct_error] if args.key?(:distinct_error)
1787
2928
  @header_error = args[:header_error] if args.key?(:header_error)
1788
2929
  @internal_error = args[:internal_error] if args.key?(:internal_error)
2930
+ @invalid_parameter_error = args[:invalid_parameter_error] if args.key?(:invalid_parameter_error)
1789
2931
  @query_error = args[:query_error] if args.key?(:query_error)
1790
2932
  @quota_error = args[:quota_error] if args.key?(:quota_error)
1791
2933
  @request_error = args[:request_error] if args.key?(:request_error)
@@ -1939,6 +3081,26 @@ module Google
1939
3081
  end
1940
3082
  end
1941
3083
 
3084
+ # Estimates for criterion bids at various positions.
3085
+ class GoogleAdsSearchads360V0ResourcesAdGroupCriterionPositionEstimates
3086
+ include Google::Apis::Core::Hashable
3087
+
3088
+ # Output only. The estimate of the CPC bid required for ad to be displayed at
3089
+ # the top of the first page of search results.
3090
+ # Corresponds to the JSON property `topOfPageCpcMicros`
3091
+ # @return [Fixnum]
3092
+ attr_accessor :top_of_page_cpc_micros
3093
+
3094
+ def initialize(**args)
3095
+ update!(**args)
3096
+ end
3097
+
3098
+ # Update properties of this object
3099
+ def update!(**args)
3100
+ @top_of_page_cpc_micros = args[:top_of_page_cpc_micros] if args.key?(:top_of_page_cpc_micros)
3101
+ end
3102
+ end
3103
+
1942
3104
  # A container for ad group criterion quality information.
1943
3105
  class GoogleAdsSearchads360V0ResourcesAdGroupCriterionQualityInfo
1944
3106
  include Google::Apis::Core::Hashable
@@ -2083,7 +3245,9 @@ module Google
2083
3245
  end
2084
3246
 
2085
3247
  # Selective optimization setting for this campaign, which includes a set of
2086
- # conversion actions to optimize this campaign towards.
3248
+ # conversion actions to optimize this campaign towards. This feature only
3249
+ # applies to app campaigns that use MULTI_CHANNEL as AdvertisingChannelType and
3250
+ # APP_CAMPAIGN or APP_CAMPAIGN_FOR_ENGAGEMENT as AdvertisingChannelSubType.
2087
3251
  class GoogleAdsSearchads360V0ResourcesCampaignSelectiveOptimization
2088
3252
  include Google::Apis::Core::Hashable
2089
3253
 
@@ -2280,68 +3444,225 @@ module Google
2280
3444
  end
2281
3445
  end
2282
3446
 
2283
- # An ad.
2284
- class GoogleAdsSearchads360V0ResourcesAd
3447
+ # One element of a bidding category at a certain level. Top-level categories are
3448
+ # at level 1, their children at level 2, and so on. We currently support up to 5
3449
+ # levels. The user must specify a dimension type that indicates the level of the
3450
+ # category. All cases of the same subdivision must have the same dimension type (
3451
+ # category level).
3452
+ class GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBiddingCategory
2285
3453
  include Google::Apis::Core::Hashable
2286
3454
 
2287
- # The URL that appears in the ad description for some ad formats.
2288
- # Corresponds to the JSON property `displayUrl`
2289
- # @return [String]
2290
- attr_accessor :display_url
2291
-
2292
- # An expanded dynamic search ad.
2293
- # Corresponds to the JSON property `expandedDynamicSearchAd`
2294
- # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360ExpandedDynamicSearchAdInfo]
2295
- attr_accessor :expanded_dynamic_search_ad
2296
-
2297
- # A Search Ads 360 expanded text ad.
2298
- # Corresponds to the JSON property `expandedTextAd`
2299
- # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360ExpandedTextAdInfo]
2300
- attr_accessor :expanded_text_ad
2301
-
2302
- # The list of possible final URLs after all cross-domain redirects for the ad.
2303
- # Corresponds to the JSON property `finalUrls`
2304
- # @return [Array<String>]
2305
- attr_accessor :final_urls
2306
-
2307
- # Output only. The ID of the ad.
3455
+ # ID of the product bidding category. This ID is equivalent to the
3456
+ # google_product_category ID as described in this article: https://support.
3457
+ # google.com/merchants/answer/6324436
2308
3458
  # Corresponds to the JSON property `id`
2309
3459
  # @return [Fixnum]
2310
3460
  attr_accessor :id
2311
3461
 
2312
- # Immutable. The name of the ad. This is only used to be able to identify the ad.
2313
- # It does not need to be unique and does not affect the served ad. The name
2314
- # field is currently only supported for DisplayUploadAd, ImageAd,
2315
- # ShoppingComparisonListingAd and VideoAd.
2316
- # Corresponds to the JSON property `name`
3462
+ # Indicates the level of the category in the taxonomy.
3463
+ # Corresponds to the JSON property `level`
2317
3464
  # @return [String]
2318
- attr_accessor :name
2319
-
2320
- # A Search Ads 360 product ad.
2321
- # Corresponds to the JSON property `productAd`
2322
- # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360ProductAdInfo]
2323
- attr_accessor :product_ad
3465
+ attr_accessor :level
2324
3466
 
2325
- # Immutable. The resource name of the ad. Ad resource names have the form: `
2326
- # customers/`customer_id`/ads/`ad_id``
2327
- # Corresponds to the JSON property `resourceName`
2328
- # @return [String]
2329
- attr_accessor :resource_name
3467
+ def initialize(**args)
3468
+ update!(**args)
3469
+ end
2330
3470
 
2331
- # A Search Ads 360 responsive search ad.
2332
- # Corresponds to the JSON property `responsiveSearchAd`
2333
- # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360ResponsiveSearchAdInfo]
2334
- attr_accessor :responsive_search_ad
3471
+ # Update properties of this object
3472
+ def update!(**args)
3473
+ @id = args[:id] if args.key?(:id)
3474
+ @level = args[:level] if args.key?(:level)
3475
+ end
3476
+ end
2335
3477
 
2336
- # A Search Ads 360 text ad.
2337
- # Corresponds to the JSON property `textAd`
2338
- # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo]
2339
- attr_accessor :text_ad
3478
+ # Brand of the product.
3479
+ class GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBrand
3480
+ include Google::Apis::Core::Hashable
2340
3481
 
2341
- # Output only. The type of ad.
2342
- # Corresponds to the JSON property `type`
3482
+ # String value of the product brand.
3483
+ # Corresponds to the JSON property `value`
2343
3484
  # @return [String]
2344
- attr_accessor :type
3485
+ attr_accessor :value
3486
+
3487
+ def initialize(**args)
3488
+ update!(**args)
3489
+ end
3490
+
3491
+ # Update properties of this object
3492
+ def update!(**args)
3493
+ @value = args[:value] if args.key?(:value)
3494
+ end
3495
+ end
3496
+
3497
+ # Locality of a product offer.
3498
+ class GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductChannel
3499
+ include Google::Apis::Core::Hashable
3500
+
3501
+ # Value of the locality.
3502
+ # Corresponds to the JSON property `channel`
3503
+ # @return [String]
3504
+ attr_accessor :channel
3505
+
3506
+ def initialize(**args)
3507
+ update!(**args)
3508
+ end
3509
+
3510
+ # Update properties of this object
3511
+ def update!(**args)
3512
+ @channel = args[:channel] if args.key?(:channel)
3513
+ end
3514
+ end
3515
+
3516
+ # Condition of a product offer.
3517
+ class GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCondition
3518
+ include Google::Apis::Core::Hashable
3519
+
3520
+ # Value of the condition.
3521
+ # Corresponds to the JSON property `condition`
3522
+ # @return [String]
3523
+ attr_accessor :condition
3524
+
3525
+ def initialize(**args)
3526
+ update!(**args)
3527
+ end
3528
+
3529
+ # Update properties of this object
3530
+ def update!(**args)
3531
+ @condition = args[:condition] if args.key?(:condition)
3532
+ end
3533
+ end
3534
+
3535
+ # Custom attribute of a product offer.
3536
+ class GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCustomAttribute
3537
+ include Google::Apis::Core::Hashable
3538
+
3539
+ # Indicates the index of the custom attribute.
3540
+ # Corresponds to the JSON property `index`
3541
+ # @return [String]
3542
+ attr_accessor :index
3543
+
3544
+ # String value of the product custom attribute.
3545
+ # Corresponds to the JSON property `value`
3546
+ # @return [String]
3547
+ attr_accessor :value
3548
+
3549
+ def initialize(**args)
3550
+ update!(**args)
3551
+ end
3552
+
3553
+ # Update properties of this object
3554
+ def update!(**args)
3555
+ @index = args[:index] if args.key?(:index)
3556
+ @value = args[:value] if args.key?(:value)
3557
+ end
3558
+ end
3559
+
3560
+ # Item id of a product offer.
3561
+ class GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductItemId
3562
+ include Google::Apis::Core::Hashable
3563
+
3564
+ # Value of the id.
3565
+ # Corresponds to the JSON property `value`
3566
+ # @return [String]
3567
+ attr_accessor :value
3568
+
3569
+ def initialize(**args)
3570
+ update!(**args)
3571
+ end
3572
+
3573
+ # Update properties of this object
3574
+ def update!(**args)
3575
+ @value = args[:value] if args.key?(:value)
3576
+ end
3577
+ end
3578
+
3579
+ # Type of a product offer.
3580
+ class GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductType
3581
+ include Google::Apis::Core::Hashable
3582
+
3583
+ # Level of the type.
3584
+ # Corresponds to the JSON property `level`
3585
+ # @return [String]
3586
+ attr_accessor :level
3587
+
3588
+ # Value of the type.
3589
+ # Corresponds to the JSON property `value`
3590
+ # @return [String]
3591
+ attr_accessor :value
3592
+
3593
+ def initialize(**args)
3594
+ update!(**args)
3595
+ end
3596
+
3597
+ # Update properties of this object
3598
+ def update!(**args)
3599
+ @level = args[:level] if args.key?(:level)
3600
+ @value = args[:value] if args.key?(:value)
3601
+ end
3602
+ end
3603
+
3604
+ # An ad.
3605
+ class GoogleAdsSearchads360V0ResourcesAd
3606
+ include Google::Apis::Core::Hashable
3607
+
3608
+ # The URL that appears in the ad description for some ad formats.
3609
+ # Corresponds to the JSON property `displayUrl`
3610
+ # @return [String]
3611
+ attr_accessor :display_url
3612
+
3613
+ # An expanded dynamic search ad.
3614
+ # Corresponds to the JSON property `expandedDynamicSearchAd`
3615
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360ExpandedDynamicSearchAdInfo]
3616
+ attr_accessor :expanded_dynamic_search_ad
3617
+
3618
+ # A Search Ads 360 expanded text ad.
3619
+ # Corresponds to the JSON property `expandedTextAd`
3620
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360ExpandedTextAdInfo]
3621
+ attr_accessor :expanded_text_ad
3622
+
3623
+ # The list of possible final URLs after all cross-domain redirects for the ad.
3624
+ # Corresponds to the JSON property `finalUrls`
3625
+ # @return [Array<String>]
3626
+ attr_accessor :final_urls
3627
+
3628
+ # Output only. The ID of the ad.
3629
+ # Corresponds to the JSON property `id`
3630
+ # @return [Fixnum]
3631
+ attr_accessor :id
3632
+
3633
+ # Immutable. The name of the ad. This is only used to be able to identify the ad.
3634
+ # It does not need to be unique and does not affect the served ad. The name
3635
+ # field is currently only supported for DisplayUploadAd, ImageAd,
3636
+ # ShoppingComparisonListingAd and VideoAd.
3637
+ # Corresponds to the JSON property `name`
3638
+ # @return [String]
3639
+ attr_accessor :name
3640
+
3641
+ # A Search Ads 360 product ad.
3642
+ # Corresponds to the JSON property `productAd`
3643
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360ProductAdInfo]
3644
+ attr_accessor :product_ad
3645
+
3646
+ # Immutable. The resource name of the ad. Ad resource names have the form: `
3647
+ # customers/`customer_id`/ads/`ad_id``
3648
+ # Corresponds to the JSON property `resourceName`
3649
+ # @return [String]
3650
+ attr_accessor :resource_name
3651
+
3652
+ # A Search Ads 360 responsive search ad.
3653
+ # Corresponds to the JSON property `responsiveSearchAd`
3654
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360ResponsiveSearchAdInfo]
3655
+ attr_accessor :responsive_search_ad
3656
+
3657
+ # A Search Ads 360 text ad.
3658
+ # Corresponds to the JSON property `textAd`
3659
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo]
3660
+ attr_accessor :text_ad
3661
+
3662
+ # Output only. The type of ad.
3663
+ # Corresponds to the JSON property `type`
3664
+ # @return [String]
3665
+ attr_accessor :type
2345
3666
 
2346
3667
  def initialize(**args)
2347
3668
  update!(**args)
@@ -2596,6 +3917,85 @@ module Google
2596
3917
  end
2597
3918
  end
2598
3919
 
3920
+ # A link between an ad group and an asset.
3921
+ class GoogleAdsSearchads360V0ResourcesAdGroupAsset
3922
+ include Google::Apis::Core::Hashable
3923
+
3924
+ # Required. Immutable. The ad group to which the asset is linked.
3925
+ # Corresponds to the JSON property `adGroup`
3926
+ # @return [String]
3927
+ attr_accessor :ad_group
3928
+
3929
+ # Required. Immutable. The asset which is linked to the ad group.
3930
+ # Corresponds to the JSON property `asset`
3931
+ # @return [String]
3932
+ attr_accessor :asset
3933
+
3934
+ # Immutable. The resource name of the ad group asset. AdGroupAsset resource
3935
+ # names have the form: `customers/`customer_id`/adGroupAssets/`ad_group_id`~`
3936
+ # asset_id`~`field_type``
3937
+ # Corresponds to the JSON property `resourceName`
3938
+ # @return [String]
3939
+ attr_accessor :resource_name
3940
+
3941
+ # Status of the ad group asset.
3942
+ # Corresponds to the JSON property `status`
3943
+ # @return [String]
3944
+ attr_accessor :status
3945
+
3946
+ def initialize(**args)
3947
+ update!(**args)
3948
+ end
3949
+
3950
+ # Update properties of this object
3951
+ def update!(**args)
3952
+ @ad_group = args[:ad_group] if args.key?(:ad_group)
3953
+ @asset = args[:asset] if args.key?(:asset)
3954
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
3955
+ @status = args[:status] if args.key?(:status)
3956
+ end
3957
+ end
3958
+
3959
+ # AdGroupAssetSet is the linkage between an ad group and an asset set. Creating
3960
+ # an AdGroupAssetSet links an asset set with an ad group.
3961
+ class GoogleAdsSearchads360V0ResourcesAdGroupAssetSet
3962
+ include Google::Apis::Core::Hashable
3963
+
3964
+ # Immutable. The ad group to which this asset set is linked.
3965
+ # Corresponds to the JSON property `adGroup`
3966
+ # @return [String]
3967
+ attr_accessor :ad_group
3968
+
3969
+ # Immutable. The asset set which is linked to the ad group.
3970
+ # Corresponds to the JSON property `assetSet`
3971
+ # @return [String]
3972
+ attr_accessor :asset_set
3973
+
3974
+ # Immutable. The resource name of the ad group asset set. Ad group asset set
3975
+ # resource names have the form: `customers/`customer_id`/adGroupAssetSets/`
3976
+ # ad_group_id`~`asset_set_id``
3977
+ # Corresponds to the JSON property `resourceName`
3978
+ # @return [String]
3979
+ attr_accessor :resource_name
3980
+
3981
+ # Output only. The status of the ad group asset set. Read-only.
3982
+ # Corresponds to the JSON property `status`
3983
+ # @return [String]
3984
+ attr_accessor :status
3985
+
3986
+ def initialize(**args)
3987
+ update!(**args)
3988
+ end
3989
+
3990
+ # Update properties of this object
3991
+ def update!(**args)
3992
+ @ad_group = args[:ad_group] if args.key?(:ad_group)
3993
+ @asset_set = args[:asset_set] if args.key?(:asset_set)
3994
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
3995
+ @status = args[:status] if args.key?(:status)
3996
+ end
3997
+ end
3998
+
2599
3999
  # An ad group audience view. Includes performance data from interests and
2600
4000
  # remarketing lists for Display Network and YouTube Network ads, and remarketing
2601
4001
  # lists for search ads (RLSA), aggregated at the audience level.
@@ -2758,6 +4158,11 @@ module Google
2758
4158
  attr_accessor :negative
2759
4159
  alias_method :negative?, :negative
2760
4160
 
4161
+ # Estimates for criterion bids at various positions.
4162
+ # Corresponds to the JSON property `positionEstimates`
4163
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAdGroupCriterionPositionEstimates]
4164
+ attr_accessor :position_estimates
4165
+
2761
4166
  # A container for ad group criterion quality information.
2762
4167
  # Corresponds to the JSON property `qualityInfo`
2763
4168
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAdGroupCriterionQualityInfo]
@@ -2827,6 +4232,7 @@ module Google
2827
4232
  @listing_group = args[:listing_group] if args.key?(:listing_group)
2828
4233
  @location = args[:location] if args.key?(:location)
2829
4234
  @negative = args[:negative] if args.key?(:negative)
4235
+ @position_estimates = args[:position_estimates] if args.key?(:position_estimates)
2830
4236
  @quality_info = args[:quality_info] if args.key?(:quality_info)
2831
4237
  @resource_name = args[:resource_name] if args.key?(:resource_name)
2832
4238
  @status = args[:status] if args.key?(:status)
@@ -2931,6 +4337,21 @@ module Google
2931
4337
  class GoogleAdsSearchads360V0ResourcesAsset
2932
4338
  include Google::Apis::Core::Hashable
2933
4339
 
4340
+ # A unified call asset.
4341
+ # Corresponds to the JSON property `callAsset`
4342
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonUnifiedCallAsset]
4343
+ attr_accessor :call_asset
4344
+
4345
+ # A call to action asset.
4346
+ # Corresponds to the JSON property `callToActionAsset`
4347
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonCallToActionAsset]
4348
+ attr_accessor :call_to_action_asset
4349
+
4350
+ # A unified callout asset.
4351
+ # Corresponds to the JSON property `calloutAsset`
4352
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonUnifiedCalloutAsset]
4353
+ attr_accessor :callout_asset
4354
+
2934
4355
  # Output only. The timestamp when this asset was created. The timestamp is in
2935
4356
  # the customer's time zone and in "yyyy-MM-dd HH:mm:ss" format.
2936
4357
  # Corresponds to the JSON property `creationTime`
@@ -2952,28 +4373,58 @@ module Google
2952
4373
  # @return [Fixnum]
2953
4374
  attr_accessor :id
2954
4375
 
4376
+ # An Image asset.
4377
+ # Corresponds to the JSON property `imageAsset`
4378
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonImageAsset]
4379
+ attr_accessor :image_asset
4380
+
2955
4381
  # Output only. The datetime when this asset was last modified. The datetime is
2956
4382
  # in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format.
2957
4383
  # Corresponds to the JSON property `lastModifiedTime`
2958
4384
  # @return [String]
2959
4385
  attr_accessor :last_modified_time
2960
4386
 
4387
+ # A unified location asset.
4388
+ # Corresponds to the JSON property `locationAsset`
4389
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonUnifiedLocationAsset]
4390
+ attr_accessor :location_asset
4391
+
2961
4392
  # An asset representing a mobile app.
2962
4393
  # Corresponds to the JSON property `mobileAppAsset`
2963
4394
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonMobileAppAsset]
2964
4395
  attr_accessor :mobile_app_asset
2965
4396
 
4397
+ # Optional name of the asset.
4398
+ # Corresponds to the JSON property `name`
4399
+ # @return [String]
4400
+ attr_accessor :name
4401
+
4402
+ # A Unified Page Feed asset.
4403
+ # Corresponds to the JSON property `pageFeedAsset`
4404
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonUnifiedPageFeedAsset]
4405
+ attr_accessor :page_feed_asset
4406
+
2966
4407
  # Immutable. The resource name of the asset. Asset resource names have the form:
2967
4408
  # `customers/`customer_id`/assets/`asset_id``
2968
4409
  # Corresponds to the JSON property `resourceName`
2969
4410
  # @return [String]
2970
4411
  attr_accessor :resource_name
2971
4412
 
4413
+ # A unified sitelink asset.
4414
+ # Corresponds to the JSON property `sitelinkAsset`
4415
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonUnifiedSitelinkAsset]
4416
+ attr_accessor :sitelink_asset
4417
+
2972
4418
  # Output only. The status of the asset.
2973
4419
  # Corresponds to the JSON property `status`
2974
4420
  # @return [String]
2975
4421
  attr_accessor :status
2976
4422
 
4423
+ # A Text asset.
4424
+ # Corresponds to the JSON property `textAsset`
4425
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonTextAsset]
4426
+ attr_accessor :text_asset
4427
+
2977
4428
  # URL template for constructing a tracking URL.
2978
4429
  # Corresponds to the JSON property `trackingUrlTemplate`
2979
4430
  # @return [String]
@@ -2984,37 +4435,409 @@ module Google
2984
4435
  # @return [String]
2985
4436
  attr_accessor :type
2986
4437
 
4438
+ # A YouTube asset.
4439
+ # Corresponds to the JSON property `youtubeVideoAsset`
4440
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonYoutubeVideoAsset]
4441
+ attr_accessor :youtube_video_asset
4442
+
2987
4443
  def initialize(**args)
2988
4444
  update!(**args)
2989
4445
  end
2990
4446
 
2991
4447
  # Update properties of this object
2992
4448
  def update!(**args)
4449
+ @call_asset = args[:call_asset] if args.key?(:call_asset)
4450
+ @call_to_action_asset = args[:call_to_action_asset] if args.key?(:call_to_action_asset)
4451
+ @callout_asset = args[:callout_asset] if args.key?(:callout_asset)
2993
4452
  @creation_time = args[:creation_time] if args.key?(:creation_time)
2994
4453
  @engine_status = args[:engine_status] if args.key?(:engine_status)
2995
4454
  @final_urls = args[:final_urls] if args.key?(:final_urls)
2996
4455
  @id = args[:id] if args.key?(:id)
4456
+ @image_asset = args[:image_asset] if args.key?(:image_asset)
2997
4457
  @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
4458
+ @location_asset = args[:location_asset] if args.key?(:location_asset)
2998
4459
  @mobile_app_asset = args[:mobile_app_asset] if args.key?(:mobile_app_asset)
4460
+ @name = args[:name] if args.key?(:name)
4461
+ @page_feed_asset = args[:page_feed_asset] if args.key?(:page_feed_asset)
4462
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
4463
+ @sitelink_asset = args[:sitelink_asset] if args.key?(:sitelink_asset)
4464
+ @status = args[:status] if args.key?(:status)
4465
+ @text_asset = args[:text_asset] if args.key?(:text_asset)
4466
+ @tracking_url_template = args[:tracking_url_template] if args.key?(:tracking_url_template)
4467
+ @type = args[:type] if args.key?(:type)
4468
+ @youtube_video_asset = args[:youtube_video_asset] if args.key?(:youtube_video_asset)
4469
+ end
4470
+ end
4471
+
4472
+ # An asset group. AssetGroupAsset is used to link an asset to the asset group.
4473
+ # AssetGroupSignal is used to associate a signal to an asset group.
4474
+ class GoogleAdsSearchads360V0ResourcesAssetGroup
4475
+ include Google::Apis::Core::Hashable
4476
+
4477
+ # Output only. Overall ad strength of this asset group.
4478
+ # Corresponds to the JSON property `adStrength`
4479
+ # @return [String]
4480
+ attr_accessor :ad_strength
4481
+
4482
+ # Immutable. The campaign with which this asset group is associated. The asset
4483
+ # which is linked to the asset group.
4484
+ # Corresponds to the JSON property `campaign`
4485
+ # @return [String]
4486
+ attr_accessor :campaign
4487
+
4488
+ # A list of final mobile URLs after all cross domain redirects. In performance
4489
+ # max, by default, the urls are eligible for expansion unless opted out.
4490
+ # Corresponds to the JSON property `finalMobileUrls`
4491
+ # @return [Array<String>]
4492
+ attr_accessor :final_mobile_urls
4493
+
4494
+ # A list of final URLs after all cross domain redirects. In performance max, by
4495
+ # default, the urls are eligible for expansion unless opted out.
4496
+ # Corresponds to the JSON property `finalUrls`
4497
+ # @return [Array<String>]
4498
+ attr_accessor :final_urls
4499
+
4500
+ # Output only. The ID of the asset group.
4501
+ # Corresponds to the JSON property `id`
4502
+ # @return [Fixnum]
4503
+ attr_accessor :id
4504
+
4505
+ # Required. Name of the asset group. Required. It must have a minimum length of
4506
+ # 1 and maximum length of 128. It must be unique under a campaign.
4507
+ # Corresponds to the JSON property `name`
4508
+ # @return [String]
4509
+ attr_accessor :name
4510
+
4511
+ # First part of text that may appear appended to the url displayed in the ad.
4512
+ # Corresponds to the JSON property `path1`
4513
+ # @return [String]
4514
+ attr_accessor :path1
4515
+
4516
+ # Second part of text that may appear appended to the url displayed in the ad.
4517
+ # This field can only be set when path1 is set.
4518
+ # Corresponds to the JSON property `path2`
4519
+ # @return [String]
4520
+ attr_accessor :path2
4521
+
4522
+ # Immutable. The resource name of the asset group. Asset group resource names
4523
+ # have the form: `customers/`customer_id`/assetGroups/`asset_group_id``
4524
+ # Corresponds to the JSON property `resourceName`
4525
+ # @return [String]
4526
+ attr_accessor :resource_name
4527
+
4528
+ # The status of the asset group.
4529
+ # Corresponds to the JSON property `status`
4530
+ # @return [String]
4531
+ attr_accessor :status
4532
+
4533
+ def initialize(**args)
4534
+ update!(**args)
4535
+ end
4536
+
4537
+ # Update properties of this object
4538
+ def update!(**args)
4539
+ @ad_strength = args[:ad_strength] if args.key?(:ad_strength)
4540
+ @campaign = args[:campaign] if args.key?(:campaign)
4541
+ @final_mobile_urls = args[:final_mobile_urls] if args.key?(:final_mobile_urls)
4542
+ @final_urls = args[:final_urls] if args.key?(:final_urls)
4543
+ @id = args[:id] if args.key?(:id)
4544
+ @name = args[:name] if args.key?(:name)
4545
+ @path1 = args[:path1] if args.key?(:path1)
4546
+ @path2 = args[:path2] if args.key?(:path2)
4547
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
4548
+ @status = args[:status] if args.key?(:status)
4549
+ end
4550
+ end
4551
+
4552
+ # AssetGroupAsset is the link between an asset and an asset group. Adding an
4553
+ # AssetGroupAsset links an asset with an asset group.
4554
+ class GoogleAdsSearchads360V0ResourcesAssetGroupAsset
4555
+ include Google::Apis::Core::Hashable
4556
+
4557
+ # Immutable. The asset which this asset group asset is linking.
4558
+ # Corresponds to the JSON property `asset`
4559
+ # @return [String]
4560
+ attr_accessor :asset
4561
+
4562
+ # Immutable. The asset group which this asset group asset is linking.
4563
+ # Corresponds to the JSON property `assetGroup`
4564
+ # @return [String]
4565
+ attr_accessor :asset_group
4566
+
4567
+ # The description of the placement of the asset within the asset group. For
4568
+ # example: HEADLINE, YOUTUBE_VIDEO etc
4569
+ # Corresponds to the JSON property `fieldType`
4570
+ # @return [String]
4571
+ attr_accessor :field_type
4572
+
4573
+ # Immutable. The resource name of the asset group asset. Asset group asset
4574
+ # resource name have the form: `customers/`customer_id`/assetGroupAssets/`
4575
+ # asset_group_id`~`asset_id`~`field_type``
4576
+ # Corresponds to the JSON property `resourceName`
4577
+ # @return [String]
4578
+ attr_accessor :resource_name
4579
+
4580
+ # The status of the link between an asset and asset group.
4581
+ # Corresponds to the JSON property `status`
4582
+ # @return [String]
4583
+ attr_accessor :status
4584
+
4585
+ def initialize(**args)
4586
+ update!(**args)
4587
+ end
4588
+
4589
+ # Update properties of this object
4590
+ def update!(**args)
4591
+ @asset = args[:asset] if args.key?(:asset)
4592
+ @asset_group = args[:asset_group] if args.key?(:asset_group)
4593
+ @field_type = args[:field_type] if args.key?(:field_type)
4594
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
4595
+ @status = args[:status] if args.key?(:status)
4596
+ end
4597
+ end
4598
+
4599
+ # Asset group asset combination data
4600
+ class GoogleAdsSearchads360V0ResourcesAssetGroupAssetCombinationData
4601
+ include Google::Apis::Core::Hashable
4602
+
4603
+ # Output only. Served assets.
4604
+ # Corresponds to the JSON property `assetCombinationServedAssets`
4605
+ # @return [Array<Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonAssetUsage>]
4606
+ attr_accessor :asset_combination_served_assets
4607
+
4608
+ def initialize(**args)
4609
+ update!(**args)
4610
+ end
4611
+
4612
+ # Update properties of this object
4613
+ def update!(**args)
4614
+ @asset_combination_served_assets = args[:asset_combination_served_assets] if args.key?(:asset_combination_served_assets)
4615
+ end
4616
+ end
4617
+
4618
+ # AssetGroupListingGroupFilter represents a listing group filter tree node in an
4619
+ # asset group.
4620
+ class GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter
4621
+ include Google::Apis::Core::Hashable
4622
+
4623
+ # Immutable. The asset group which this asset group listing group filter is part
4624
+ # of.
4625
+ # Corresponds to the JSON property `assetGroup`
4626
+ # @return [String]
4627
+ attr_accessor :asset_group
4628
+
4629
+ # Listing dimensions for the asset group listing group filter.
4630
+ # Corresponds to the JSON property `caseValue`
4631
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesListingGroupFilterDimension]
4632
+ attr_accessor :case_value
4633
+
4634
+ # Output only. The ID of the ListingGroupFilter.
4635
+ # Corresponds to the JSON property `id`
4636
+ # @return [Fixnum]
4637
+ attr_accessor :id
4638
+
4639
+ # Immutable. Resource name of the parent listing group subdivision. Null for the
4640
+ # root listing group filter node.
4641
+ # Corresponds to the JSON property `parentListingGroupFilter`
4642
+ # @return [String]
4643
+ attr_accessor :parent_listing_group_filter
4644
+
4645
+ # The path defining of dimensions defining a listing group filter.
4646
+ # Corresponds to the JSON property `path`
4647
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionPath]
4648
+ attr_accessor :path
4649
+
4650
+ # Immutable. The resource name of the asset group listing group filter. Asset
4651
+ # group listing group filter resource name have the form: `customers/`
4652
+ # customer_id`/assetGroupListingGroupFilters/`asset_group_id`~`
4653
+ # listing_group_filter_id``
4654
+ # Corresponds to the JSON property `resourceName`
4655
+ # @return [String]
4656
+ attr_accessor :resource_name
4657
+
4658
+ # Immutable. Type of a listing group filter node.
4659
+ # Corresponds to the JSON property `type`
4660
+ # @return [String]
4661
+ attr_accessor :type
4662
+
4663
+ # Immutable. The vertical the current node tree represents. All nodes in the
4664
+ # same tree must belong to the same vertical.
4665
+ # Corresponds to the JSON property `vertical`
4666
+ # @return [String]
4667
+ attr_accessor :vertical
4668
+
4669
+ def initialize(**args)
4670
+ update!(**args)
4671
+ end
4672
+
4673
+ # Update properties of this object
4674
+ def update!(**args)
4675
+ @asset_group = args[:asset_group] if args.key?(:asset_group)
4676
+ @case_value = args[:case_value] if args.key?(:case_value)
4677
+ @id = args[:id] if args.key?(:id)
4678
+ @parent_listing_group_filter = args[:parent_listing_group_filter] if args.key?(:parent_listing_group_filter)
4679
+ @path = args[:path] if args.key?(:path)
4680
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
4681
+ @type = args[:type] if args.key?(:type)
4682
+ @vertical = args[:vertical] if args.key?(:vertical)
4683
+ end
4684
+ end
4685
+
4686
+ # AssetGroupSignal represents a signal in an asset group. The existence of a
4687
+ # signal tells the performance max campaign who's most likely to convert.
4688
+ # Performance Max uses the signal to look for new people with similar or
4689
+ # stronger intent to find conversions across Search, Display, Video, and more.
4690
+ class GoogleAdsSearchads360V0ResourcesAssetGroupSignal
4691
+ include Google::Apis::Core::Hashable
4692
+
4693
+ # Immutable. The asset group which this asset group signal belongs to.
4694
+ # Corresponds to the JSON property `assetGroup`
4695
+ # @return [String]
4696
+ attr_accessor :asset_group
4697
+
4698
+ # An audience criterion.
4699
+ # Corresponds to the JSON property `audience`
4700
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonAudienceInfo]
4701
+ attr_accessor :audience
4702
+
4703
+ # Immutable. The resource name of the asset group signal. Asset group signal
4704
+ # resource name have the form: `customers/`customer_id`/assetGroupSignals/`
4705
+ # asset_group_id`~`signal_id``
4706
+ # Corresponds to the JSON property `resourceName`
4707
+ # @return [String]
4708
+ attr_accessor :resource_name
4709
+
4710
+ def initialize(**args)
4711
+ update!(**args)
4712
+ end
4713
+
4714
+ # Update properties of this object
4715
+ def update!(**args)
4716
+ @asset_group = args[:asset_group] if args.key?(:asset_group)
4717
+ @audience = args[:audience] if args.key?(:audience)
4718
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
4719
+ end
4720
+ end
4721
+
4722
+ # A view on the usage of ad group ad asset combination.
4723
+ class GoogleAdsSearchads360V0ResourcesAssetGroupTopCombinationView
4724
+ include Google::Apis::Core::Hashable
4725
+
4726
+ # Output only. The top combinations of assets that served together.
4727
+ # Corresponds to the JSON property `assetGroupTopCombinations`
4728
+ # @return [Array<Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAssetGroupAssetCombinationData>]
4729
+ attr_accessor :asset_group_top_combinations
4730
+
4731
+ # Output only. The resource name of the asset group top combination view.
4732
+ # AssetGroup Top Combination view resource names have the form: `"customers/`
4733
+ # customer_id`/assetGroupTopCombinationViews/`asset_group_id`~`
4734
+ # asset_combination_category`"
4735
+ # Corresponds to the JSON property `resourceName`
4736
+ # @return [String]
4737
+ attr_accessor :resource_name
4738
+
4739
+ def initialize(**args)
4740
+ update!(**args)
4741
+ end
4742
+
4743
+ # Update properties of this object
4744
+ def update!(**args)
4745
+ @asset_group_top_combinations = args[:asset_group_top_combinations] if args.key?(:asset_group_top_combinations)
4746
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
4747
+ end
4748
+ end
4749
+
4750
+ # An asset set representing a collection of assets. Use AssetSetAsset to link an
4751
+ # asset to the asset set.
4752
+ class GoogleAdsSearchads360V0ResourcesAssetSet
4753
+ include Google::Apis::Core::Hashable
4754
+
4755
+ # Output only. The ID of the asset set.
4756
+ # Corresponds to the JSON property `id`
4757
+ # @return [Fixnum]
4758
+ attr_accessor :id
4759
+
4760
+ # Immutable. The resource name of the asset set. Asset set resource names have
4761
+ # the form: `customers/`customer_id`/assetSets/`asset_set_id``
4762
+ # Corresponds to the JSON property `resourceName`
4763
+ # @return [String]
4764
+ attr_accessor :resource_name
4765
+
4766
+ def initialize(**args)
4767
+ update!(**args)
4768
+ end
4769
+
4770
+ # Update properties of this object
4771
+ def update!(**args)
4772
+ @id = args[:id] if args.key?(:id)
4773
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
4774
+ end
4775
+ end
4776
+
4777
+ # AssetSetAsset is the link between an asset and an asset set. Adding an
4778
+ # AssetSetAsset links an asset with an asset set.
4779
+ class GoogleAdsSearchads360V0ResourcesAssetSetAsset
4780
+ include Google::Apis::Core::Hashable
4781
+
4782
+ # Immutable. The asset which this asset set asset is linking to.
4783
+ # Corresponds to the JSON property `asset`
4784
+ # @return [String]
4785
+ attr_accessor :asset
4786
+
4787
+ # Immutable. The asset set which this asset set asset is linking to.
4788
+ # Corresponds to the JSON property `assetSet`
4789
+ # @return [String]
4790
+ attr_accessor :asset_set
4791
+
4792
+ # Immutable. The resource name of the asset set asset. Asset set asset resource
4793
+ # names have the form: `customers/`customer_id`/assetSetAssets/`asset_set_id`~`
4794
+ # asset_id``
4795
+ # Corresponds to the JSON property `resourceName`
4796
+ # @return [String]
4797
+ attr_accessor :resource_name
4798
+
4799
+ # Output only. The status of the asset set asset. Read-only.
4800
+ # Corresponds to the JSON property `status`
4801
+ # @return [String]
4802
+ attr_accessor :status
4803
+
4804
+ def initialize(**args)
4805
+ update!(**args)
4806
+ end
4807
+
4808
+ # Update properties of this object
4809
+ def update!(**args)
4810
+ @asset = args[:asset] if args.key?(:asset)
4811
+ @asset_set = args[:asset_set] if args.key?(:asset_set)
2999
4812
  @resource_name = args[:resource_name] if args.key?(:resource_name)
3000
4813
  @status = args[:status] if args.key?(:status)
3001
- @tracking_url_template = args[:tracking_url_template] if args.key?(:tracking_url_template)
3002
- @type = args[:type] if args.key?(:type)
3003
4814
  end
3004
4815
  end
3005
4816
 
3006
- # An asset set representing a collection of assets. Use AssetSetAsset to link an
3007
- # asset to the asset set.
3008
- class GoogleAdsSearchads360V0ResourcesAssetSet
4817
+ # Audience is an effective targeting option that lets you intersect different
4818
+ # segment attributes, such as detailed demographics and affinities, to create
4819
+ # audiences that represent sections of your target segments.
4820
+ class GoogleAdsSearchads360V0ResourcesAudience
3009
4821
  include Google::Apis::Core::Hashable
3010
4822
 
3011
- # Output only. The ID of the asset set.
4823
+ # Description of this audience.
4824
+ # Corresponds to the JSON property `description`
4825
+ # @return [String]
4826
+ attr_accessor :description
4827
+
4828
+ # Output only. ID of the audience.
3012
4829
  # Corresponds to the JSON property `id`
3013
4830
  # @return [Fixnum]
3014
4831
  attr_accessor :id
3015
4832
 
3016
- # Immutable. The resource name of the asset set. Asset set resource names have
3017
- # the form: `customers/`customer_id`/assetSets/`asset_set_id``
4833
+ # Required. Name of the audience. It should be unique across all audiences. It
4834
+ # must have a minimum length of 1 and maximum length of 255.
4835
+ # Corresponds to the JSON property `name`
4836
+ # @return [String]
4837
+ attr_accessor :name
4838
+
4839
+ # Immutable. The resource name of the audience. Audience names have the form: `
4840
+ # customers/`customer_id`/audiences/`audience_id``
3018
4841
  # Corresponds to the JSON property `resourceName`
3019
4842
  # @return [String]
3020
4843
  attr_accessor :resource_name
@@ -3025,7 +4848,9 @@ module Google
3025
4848
 
3026
4849
  # Update properties of this object
3027
4850
  def update!(**args)
4851
+ @description = args[:description] if args.key?(:description)
3028
4852
  @id = args[:id] if args.key?(:id)
4853
+ @name = args[:name] if args.key?(:name)
3029
4854
  @resource_name = args[:resource_name] if args.key?(:resource_name)
3030
4855
  end
3031
4856
  end
@@ -3357,7 +5182,9 @@ module Google
3357
5182
  attr_accessor :resource_name
3358
5183
 
3359
5184
  # Selective optimization setting for this campaign, which includes a set of
3360
- # conversion actions to optimize this campaign towards.
5185
+ # conversion actions to optimize this campaign towards. This feature only
5186
+ # applies to app campaigns that use MULTI_CHANNEL as AdvertisingChannelType and
5187
+ # APP_CAMPAIGN or APP_CAMPAIGN_FOR_ENGAGEMENT as AdvertisingChannelSubType.
3361
5188
  # Corresponds to the JSON property `selectiveOptimization`
3362
5189
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCampaignSelectiveOptimization]
3363
5190
  attr_accessor :selective_optimization
@@ -3495,6 +5322,85 @@ module Google
3495
5322
  end
3496
5323
  end
3497
5324
 
5325
+ # A link between a Campaign and an Asset.
5326
+ class GoogleAdsSearchads360V0ResourcesCampaignAsset
5327
+ include Google::Apis::Core::Hashable
5328
+
5329
+ # Immutable. The asset which is linked to the campaign.
5330
+ # Corresponds to the JSON property `asset`
5331
+ # @return [String]
5332
+ attr_accessor :asset
5333
+
5334
+ # Immutable. The campaign to which the asset is linked.
5335
+ # Corresponds to the JSON property `campaign`
5336
+ # @return [String]
5337
+ attr_accessor :campaign
5338
+
5339
+ # Immutable. The resource name of the campaign asset. CampaignAsset resource
5340
+ # names have the form: `customers/`customer_id`/campaignAssets/`campaign_id`~`
5341
+ # asset_id`~`field_type``
5342
+ # Corresponds to the JSON property `resourceName`
5343
+ # @return [String]
5344
+ attr_accessor :resource_name
5345
+
5346
+ # Output only. Status of the campaign asset.
5347
+ # Corresponds to the JSON property `status`
5348
+ # @return [String]
5349
+ attr_accessor :status
5350
+
5351
+ def initialize(**args)
5352
+ update!(**args)
5353
+ end
5354
+
5355
+ # Update properties of this object
5356
+ def update!(**args)
5357
+ @asset = args[:asset] if args.key?(:asset)
5358
+ @campaign = args[:campaign] if args.key?(:campaign)
5359
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
5360
+ @status = args[:status] if args.key?(:status)
5361
+ end
5362
+ end
5363
+
5364
+ # CampaignAssetSet is the linkage between a campaign and an asset set. Adding a
5365
+ # CampaignAssetSet links an asset set with a campaign.
5366
+ class GoogleAdsSearchads360V0ResourcesCampaignAssetSet
5367
+ include Google::Apis::Core::Hashable
5368
+
5369
+ # Immutable. The asset set which is linked to the campaign.
5370
+ # Corresponds to the JSON property `assetSet`
5371
+ # @return [String]
5372
+ attr_accessor :asset_set
5373
+
5374
+ # Immutable. The campaign to which this asset set is linked.
5375
+ # Corresponds to the JSON property `campaign`
5376
+ # @return [String]
5377
+ attr_accessor :campaign
5378
+
5379
+ # Immutable. The resource name of the campaign asset set. Asset set asset
5380
+ # resource names have the form: `customers/`customer_id`/campaignAssetSets/`
5381
+ # campaign_id`~`asset_set_id``
5382
+ # Corresponds to the JSON property `resourceName`
5383
+ # @return [String]
5384
+ attr_accessor :resource_name
5385
+
5386
+ # Output only. The status of the campaign asset set asset. Read-only.
5387
+ # Corresponds to the JSON property `status`
5388
+ # @return [String]
5389
+ attr_accessor :status
5390
+
5391
+ def initialize(**args)
5392
+ update!(**args)
5393
+ end
5394
+
5395
+ # Update properties of this object
5396
+ def update!(**args)
5397
+ @asset_set = args[:asset_set] if args.key?(:asset_set)
5398
+ @campaign = args[:campaign] if args.key?(:campaign)
5399
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
5400
+ @status = args[:status] if args.key?(:status)
5401
+ end
5402
+ end
5403
+
3498
5404
  # A campaign audience view. Includes performance data from interests and
3499
5405
  # remarketing lists for Display Network and YouTube Network ads, and remarketing
3500
5406
  # lists for search ads (RLSA), aggregated by campaign and audience criterion.
@@ -3718,6 +5624,204 @@ module Google
3718
5624
  end
3719
5625
  end
3720
5626
 
5627
+ # Cart data sales view.
5628
+ class GoogleAdsSearchads360V0ResourcesCartDataSalesView
5629
+ include Google::Apis::Core::Hashable
5630
+
5631
+ # Output only. The resource name of the Cart data sales view. Cart data sales
5632
+ # view resource names have the form: `customers/`customer_id`/cartDataSalesView`
5633
+ # Corresponds to the JSON property `resourceName`
5634
+ # @return [String]
5635
+ attr_accessor :resource_name
5636
+
5637
+ def initialize(**args)
5638
+ update!(**args)
5639
+ end
5640
+
5641
+ # Update properties of this object
5642
+ def update!(**args)
5643
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
5644
+ end
5645
+ end
5646
+
5647
+ # A conversion.
5648
+ class GoogleAdsSearchads360V0ResourcesConversion
5649
+ include Google::Apis::Core::Hashable
5650
+
5651
+ # Output only. Ad ID. A value of 0 indicates that the ad is unattributed.
5652
+ # Corresponds to the JSON property `adId`
5653
+ # @return [Fixnum]
5654
+ attr_accessor :ad_id
5655
+
5656
+ # Output only. For offline conversions, this is an ID provided by advertisers.
5657
+ # If an advertiser doesn't specify such an ID, Search Ads 360 generates one. For
5658
+ # online conversions, this is equal to the id column or the floodlight_order_id
5659
+ # column depending on the advertiser's Floodlight instructions.
5660
+ # Corresponds to the JSON property `advertiserConversionId`
5661
+ # @return [String]
5662
+ attr_accessor :advertiser_conversion_id
5663
+
5664
+ # Output only. Asset field type of the conversion event.
5665
+ # Corresponds to the JSON property `assetFieldType`
5666
+ # @return [String]
5667
+ attr_accessor :asset_field_type
5668
+
5669
+ # Output only. ID of the asset which was interacted with during the conversion
5670
+ # event.
5671
+ # Corresponds to the JSON property `assetId`
5672
+ # @return [Fixnum]
5673
+ attr_accessor :asset_id
5674
+
5675
+ # Output only. What the conversion is attributed to: Visit or Keyword+Ad.
5676
+ # Corresponds to the JSON property `attributionType`
5677
+ # @return [String]
5678
+ attr_accessor :attribution_type
5679
+
5680
+ # Output only. A unique string, for the visit that the conversion is attributed
5681
+ # to, that is passed to the landing page as the click id URL parameter.
5682
+ # Corresponds to the JSON property `clickId`
5683
+ # @return [String]
5684
+ attr_accessor :click_id
5685
+
5686
+ # Output only. The timestamp of the conversion event.
5687
+ # Corresponds to the JSON property `conversionDateTime`
5688
+ # @return [String]
5689
+ attr_accessor :conversion_date_time
5690
+
5691
+ # Output only. The timestamp of the last time the conversion was modified.
5692
+ # Corresponds to the JSON property `conversionLastModifiedDateTime`
5693
+ # @return [String]
5694
+ attr_accessor :conversion_last_modified_date_time
5695
+
5696
+ # Output only. The quantity of items recorded by the conversion, as determined
5697
+ # by the qty url parameter. The advertiser is responsible for dynamically
5698
+ # populating the parameter (such as number of items sold in the conversion),
5699
+ # otherwise it defaults to 1.
5700
+ # Corresponds to the JSON property `conversionQuantity`
5701
+ # @return [Fixnum]
5702
+ attr_accessor :conversion_quantity
5703
+
5704
+ # Output only. The adjusted revenue in micros for the conversion event. This
5705
+ # will always be in the currency of the serving account.
5706
+ # Corresponds to the JSON property `conversionRevenueMicros`
5707
+ # @return [Fixnum]
5708
+ attr_accessor :conversion_revenue_micros
5709
+
5710
+ # Output only. The timestamp of the visit that the conversion is attributed to.
5711
+ # Corresponds to the JSON property `conversionVisitDateTime`
5712
+ # @return [String]
5713
+ attr_accessor :conversion_visit_date_time
5714
+
5715
+ # Output only. Search Ads 360 criterion ID. A value of 0 indicates that the
5716
+ # criterion is unattributed.
5717
+ # Corresponds to the JSON property `criterionId`
5718
+ # @return [Fixnum]
5719
+ attr_accessor :criterion_id
5720
+
5721
+ # Output only. The Floodlight order ID provided by the advertiser for the
5722
+ # conversion.
5723
+ # Corresponds to the JSON property `floodlightOrderId`
5724
+ # @return [String]
5725
+ attr_accessor :floodlight_order_id
5726
+
5727
+ # Output only. The original, unchanged revenue associated with the Floodlight
5728
+ # event (in the currency of the current report), before Floodlight currency
5729
+ # instruction modifications.
5730
+ # Corresponds to the JSON property `floodlightOriginalRevenue`
5731
+ # @return [Fixnum]
5732
+ attr_accessor :floodlight_original_revenue
5733
+
5734
+ # Output only. The ID of the conversion
5735
+ # Corresponds to the JSON property `id`
5736
+ # @return [Fixnum]
5737
+ attr_accessor :id
5738
+
5739
+ # Output only. The SearchAds360 inventory account ID containing the product that
5740
+ # was clicked on. SearchAds360 generates this ID when you link an inventory
5741
+ # account in SearchAds360.
5742
+ # Corresponds to the JSON property `merchantId`
5743
+ # @return [Fixnum]
5744
+ attr_accessor :merchant_id
5745
+
5746
+ # Output only. The sales channel of the product that was clicked on: Online or
5747
+ # Local.
5748
+ # Corresponds to the JSON property `productChannel`
5749
+ # @return [String]
5750
+ attr_accessor :product_channel
5751
+
5752
+ # Output only. The country (ISO-3166-format) registered for the inventory feed
5753
+ # that contains the product clicked on.
5754
+ # Corresponds to the JSON property `productCountryCode`
5755
+ # @return [String]
5756
+ attr_accessor :product_country_code
5757
+
5758
+ # Output only. The ID of the product clicked on.
5759
+ # Corresponds to the JSON property `productId`
5760
+ # @return [String]
5761
+ attr_accessor :product_id
5762
+
5763
+ # Output only. The language (ISO-639-1) that has been set for the Merchant
5764
+ # Center feed containing data about the product.
5765
+ # Corresponds to the JSON property `productLanguageCode`
5766
+ # @return [String]
5767
+ attr_accessor :product_language_code
5768
+
5769
+ # Output only. The store in the Local Inventory Ad that was clicked on. This
5770
+ # should match the store IDs used in your local products feed.
5771
+ # Corresponds to the JSON property `productStoreId`
5772
+ # @return [String]
5773
+ attr_accessor :product_store_id
5774
+
5775
+ # Output only. The resource name of the conversion. Conversion resource names
5776
+ # have the form: `customers/`customer_id`/conversions/`ad_group_id`~`
5777
+ # criterion_id`~`ds_conversion_id``
5778
+ # Corresponds to the JSON property `resourceName`
5779
+ # @return [String]
5780
+ attr_accessor :resource_name
5781
+
5782
+ # Output only. The status of the conversion, either ENABLED or REMOVED..
5783
+ # Corresponds to the JSON property `status`
5784
+ # @return [String]
5785
+ attr_accessor :status
5786
+
5787
+ # Output only. The SearchAds360 visit ID that the conversion is attributed to.
5788
+ # Corresponds to the JSON property `visitId`
5789
+ # @return [Fixnum]
5790
+ attr_accessor :visit_id
5791
+
5792
+ def initialize(**args)
5793
+ update!(**args)
5794
+ end
5795
+
5796
+ # Update properties of this object
5797
+ def update!(**args)
5798
+ @ad_id = args[:ad_id] if args.key?(:ad_id)
5799
+ @advertiser_conversion_id = args[:advertiser_conversion_id] if args.key?(:advertiser_conversion_id)
5800
+ @asset_field_type = args[:asset_field_type] if args.key?(:asset_field_type)
5801
+ @asset_id = args[:asset_id] if args.key?(:asset_id)
5802
+ @attribution_type = args[:attribution_type] if args.key?(:attribution_type)
5803
+ @click_id = args[:click_id] if args.key?(:click_id)
5804
+ @conversion_date_time = args[:conversion_date_time] if args.key?(:conversion_date_time)
5805
+ @conversion_last_modified_date_time = args[:conversion_last_modified_date_time] if args.key?(:conversion_last_modified_date_time)
5806
+ @conversion_quantity = args[:conversion_quantity] if args.key?(:conversion_quantity)
5807
+ @conversion_revenue_micros = args[:conversion_revenue_micros] if args.key?(:conversion_revenue_micros)
5808
+ @conversion_visit_date_time = args[:conversion_visit_date_time] if args.key?(:conversion_visit_date_time)
5809
+ @criterion_id = args[:criterion_id] if args.key?(:criterion_id)
5810
+ @floodlight_order_id = args[:floodlight_order_id] if args.key?(:floodlight_order_id)
5811
+ @floodlight_original_revenue = args[:floodlight_original_revenue] if args.key?(:floodlight_original_revenue)
5812
+ @id = args[:id] if args.key?(:id)
5813
+ @merchant_id = args[:merchant_id] if args.key?(:merchant_id)
5814
+ @product_channel = args[:product_channel] if args.key?(:product_channel)
5815
+ @product_country_code = args[:product_country_code] if args.key?(:product_country_code)
5816
+ @product_id = args[:product_id] if args.key?(:product_id)
5817
+ @product_language_code = args[:product_language_code] if args.key?(:product_language_code)
5818
+ @product_store_id = args[:product_store_id] if args.key?(:product_store_id)
5819
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
5820
+ @status = args[:status] if args.key?(:status)
5821
+ @visit_id = args[:visit_id] if args.key?(:visit_id)
5822
+ end
5823
+ end
5824
+
3721
5825
  # A conversion action.
3722
5826
  class GoogleAdsSearchads360V0ResourcesConversionAction
3723
5827
  include Google::Apis::Core::Hashable
@@ -4072,50 +6176,123 @@ module Google
4072
6176
  attr_accessor :manager
4073
6177
  alias_method :manager?, :manager
4074
6178
 
4075
- # Immutable. The resource name of the customer. Customer resource names have the
4076
- # form: `customers/`customer_id``
6179
+ # Immutable. The resource name of the customer. Customer resource names have the
6180
+ # form: `customers/`customer_id``
6181
+ # Corresponds to the JSON property `resourceName`
6182
+ # @return [String]
6183
+ attr_accessor :resource_name
6184
+
6185
+ # Output only. The status of the customer.
6186
+ # Corresponds to the JSON property `status`
6187
+ # @return [String]
6188
+ attr_accessor :status
6189
+
6190
+ # Immutable. The local timezone ID of the customer.
6191
+ # Corresponds to the JSON property `timeZone`
6192
+ # @return [String]
6193
+ attr_accessor :time_zone
6194
+
6195
+ # The URL template for constructing a tracking URL out of parameters.
6196
+ # Corresponds to the JSON property `trackingUrlTemplate`
6197
+ # @return [String]
6198
+ attr_accessor :tracking_url_template
6199
+
6200
+ def initialize(**args)
6201
+ update!(**args)
6202
+ end
6203
+
6204
+ # Update properties of this object
6205
+ def update!(**args)
6206
+ @account_status = args[:account_status] if args.key?(:account_status)
6207
+ @account_type = args[:account_type] if args.key?(:account_type)
6208
+ @auto_tagging_enabled = args[:auto_tagging_enabled] if args.key?(:auto_tagging_enabled)
6209
+ @conversion_tracking_setting = args[:conversion_tracking_setting] if args.key?(:conversion_tracking_setting)
6210
+ @creation_time = args[:creation_time] if args.key?(:creation_time)
6211
+ @currency_code = args[:currency_code] if args.key?(:currency_code)
6212
+ @descriptive_name = args[:descriptive_name] if args.key?(:descriptive_name)
6213
+ @double_click_campaign_manager_setting = args[:double_click_campaign_manager_setting] if args.key?(:double_click_campaign_manager_setting)
6214
+ @engine_id = args[:engine_id] if args.key?(:engine_id)
6215
+ @final_url_suffix = args[:final_url_suffix] if args.key?(:final_url_suffix)
6216
+ @id = args[:id] if args.key?(:id)
6217
+ @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
6218
+ @manager = args[:manager] if args.key?(:manager)
6219
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
6220
+ @status = args[:status] if args.key?(:status)
6221
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
6222
+ @tracking_url_template = args[:tracking_url_template] if args.key?(:tracking_url_template)
6223
+ end
6224
+ end
6225
+
6226
+ # A link between a customer and an asset.
6227
+ class GoogleAdsSearchads360V0ResourcesCustomerAsset
6228
+ include Google::Apis::Core::Hashable
6229
+
6230
+ # Required. Immutable. The asset which is linked to the customer.
6231
+ # Corresponds to the JSON property `asset`
6232
+ # @return [String]
6233
+ attr_accessor :asset
6234
+
6235
+ # Immutable. The resource name of the customer asset. CustomerAsset resource
6236
+ # names have the form: `customers/`customer_id`/customerAssets/`asset_id`~`
6237
+ # field_type``
6238
+ # Corresponds to the JSON property `resourceName`
6239
+ # @return [String]
6240
+ attr_accessor :resource_name
6241
+
6242
+ # Status of the customer asset.
6243
+ # Corresponds to the JSON property `status`
6244
+ # @return [String]
6245
+ attr_accessor :status
6246
+
6247
+ def initialize(**args)
6248
+ update!(**args)
6249
+ end
6250
+
6251
+ # Update properties of this object
6252
+ def update!(**args)
6253
+ @asset = args[:asset] if args.key?(:asset)
6254
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
6255
+ @status = args[:status] if args.key?(:status)
6256
+ end
6257
+ end
6258
+
6259
+ # CustomerAssetSet is the linkage between a customer and an asset set. Adding a
6260
+ # CustomerAssetSet links an asset set with a customer.
6261
+ class GoogleAdsSearchads360V0ResourcesCustomerAssetSet
6262
+ include Google::Apis::Core::Hashable
6263
+
6264
+ # Immutable. The asset set which is linked to the customer.
6265
+ # Corresponds to the JSON property `assetSet`
6266
+ # @return [String]
6267
+ attr_accessor :asset_set
6268
+
6269
+ # Immutable. The customer to which this asset set is linked.
6270
+ # Corresponds to the JSON property `customer`
6271
+ # @return [String]
6272
+ attr_accessor :customer
6273
+
6274
+ # Immutable. The resource name of the customer asset set. Asset set asset
6275
+ # resource names have the form: `customers/`customer_id`/customerAssetSets/`
6276
+ # asset_set_id``
4077
6277
  # Corresponds to the JSON property `resourceName`
4078
6278
  # @return [String]
4079
6279
  attr_accessor :resource_name
4080
6280
 
4081
- # Output only. The status of the customer.
6281
+ # Output only. The status of the customer asset set asset. Read-only.
4082
6282
  # Corresponds to the JSON property `status`
4083
6283
  # @return [String]
4084
6284
  attr_accessor :status
4085
6285
 
4086
- # Immutable. The local timezone ID of the customer.
4087
- # Corresponds to the JSON property `timeZone`
4088
- # @return [String]
4089
- attr_accessor :time_zone
4090
-
4091
- # The URL template for constructing a tracking URL out of parameters.
4092
- # Corresponds to the JSON property `trackingUrlTemplate`
4093
- # @return [String]
4094
- attr_accessor :tracking_url_template
4095
-
4096
6286
  def initialize(**args)
4097
6287
  update!(**args)
4098
6288
  end
4099
6289
 
4100
6290
  # Update properties of this object
4101
6291
  def update!(**args)
4102
- @account_status = args[:account_status] if args.key?(:account_status)
4103
- @account_type = args[:account_type] if args.key?(:account_type)
4104
- @auto_tagging_enabled = args[:auto_tagging_enabled] if args.key?(:auto_tagging_enabled)
4105
- @conversion_tracking_setting = args[:conversion_tracking_setting] if args.key?(:conversion_tracking_setting)
4106
- @creation_time = args[:creation_time] if args.key?(:creation_time)
4107
- @currency_code = args[:currency_code] if args.key?(:currency_code)
4108
- @descriptive_name = args[:descriptive_name] if args.key?(:descriptive_name)
4109
- @double_click_campaign_manager_setting = args[:double_click_campaign_manager_setting] if args.key?(:double_click_campaign_manager_setting)
4110
- @engine_id = args[:engine_id] if args.key?(:engine_id)
4111
- @final_url_suffix = args[:final_url_suffix] if args.key?(:final_url_suffix)
4112
- @id = args[:id] if args.key?(:id)
4113
- @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
4114
- @manager = args[:manager] if args.key?(:manager)
6292
+ @asset_set = args[:asset_set] if args.key?(:asset_set)
6293
+ @customer = args[:customer] if args.key?(:customer)
4115
6294
  @resource_name = args[:resource_name] if args.key?(:resource_name)
4116
6295
  @status = args[:status] if args.key?(:status)
4117
- @time_zone = args[:time_zone] if args.key?(:time_zone)
4118
- @tracking_url_template = args[:tracking_url_template] if args.key?(:tracking_url_template)
4119
6296
  end
4120
6297
  end
4121
6298
 
@@ -4340,6 +6517,72 @@ module Google
4340
6517
  end
4341
6518
  end
4342
6519
 
6520
+ # A geo target constant.
6521
+ class GoogleAdsSearchads360V0ResourcesGeoTargetConstant
6522
+ include Google::Apis::Core::Hashable
6523
+
6524
+ # Output only. The fully qualified English name, consisting of the target's name
6525
+ # and that of its parent and country.
6526
+ # Corresponds to the JSON property `canonicalName`
6527
+ # @return [String]
6528
+ attr_accessor :canonical_name
6529
+
6530
+ # Output only. The ISO-3166-1 alpha-2 country code that is associated with the
6531
+ # target.
6532
+ # Corresponds to the JSON property `countryCode`
6533
+ # @return [String]
6534
+ attr_accessor :country_code
6535
+
6536
+ # Output only. The ID of the geo target constant.
6537
+ # Corresponds to the JSON property `id`
6538
+ # @return [Fixnum]
6539
+ attr_accessor :id
6540
+
6541
+ # Output only. Geo target constant English name.
6542
+ # Corresponds to the JSON property `name`
6543
+ # @return [String]
6544
+ attr_accessor :name
6545
+
6546
+ # Output only. The resource name of the parent geo target constant. Geo target
6547
+ # constant resource names have the form: `geoTargetConstants/`
6548
+ # parent_geo_target_constant_id``
6549
+ # Corresponds to the JSON property `parentGeoTarget`
6550
+ # @return [String]
6551
+ attr_accessor :parent_geo_target
6552
+
6553
+ # Output only. The resource name of the geo target constant. Geo target constant
6554
+ # resource names have the form: `geoTargetConstants/`geo_target_constant_id``
6555
+ # Corresponds to the JSON property `resourceName`
6556
+ # @return [String]
6557
+ attr_accessor :resource_name
6558
+
6559
+ # Output only. Geo target constant status.
6560
+ # Corresponds to the JSON property `status`
6561
+ # @return [String]
6562
+ attr_accessor :status
6563
+
6564
+ # Output only. Geo target constant target type.
6565
+ # Corresponds to the JSON property `targetType`
6566
+ # @return [String]
6567
+ attr_accessor :target_type
6568
+
6569
+ def initialize(**args)
6570
+ update!(**args)
6571
+ end
6572
+
6573
+ # Update properties of this object
6574
+ def update!(**args)
6575
+ @canonical_name = args[:canonical_name] if args.key?(:canonical_name)
6576
+ @country_code = args[:country_code] if args.key?(:country_code)
6577
+ @id = args[:id] if args.key?(:id)
6578
+ @name = args[:name] if args.key?(:name)
6579
+ @parent_geo_target = args[:parent_geo_target] if args.key?(:parent_geo_target)
6580
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
6581
+ @status = args[:status] if args.key?(:status)
6582
+ @target_type = args[:target_type] if args.key?(:target_type)
6583
+ end
6584
+ end
6585
+
4343
6586
  # A keyword view.
4344
6587
  class GoogleAdsSearchads360V0ResourcesKeywordView
4345
6588
  include Google::Apis::Core::Hashable
@@ -4407,6 +6650,131 @@ module Google
4407
6650
  end
4408
6651
  end
4409
6652
 
6653
+ # A language.
6654
+ class GoogleAdsSearchads360V0ResourcesLanguageConstant
6655
+ include Google::Apis::Core::Hashable
6656
+
6657
+ # Output only. The language code, for example, "en_US", "en_AU", "es", "fr", etc.
6658
+ # Corresponds to the JSON property `code`
6659
+ # @return [String]
6660
+ attr_accessor :code
6661
+
6662
+ # Output only. The ID of the language constant.
6663
+ # Corresponds to the JSON property `id`
6664
+ # @return [Fixnum]
6665
+ attr_accessor :id
6666
+
6667
+ # Output only. The full name of the language in English, for example, "English (
6668
+ # US)", "Spanish", etc.
6669
+ # Corresponds to the JSON property `name`
6670
+ # @return [String]
6671
+ attr_accessor :name
6672
+
6673
+ # Output only. The resource name of the language constant. Language constant
6674
+ # resource names have the form: `languageConstants/`criterion_id``
6675
+ # Corresponds to the JSON property `resourceName`
6676
+ # @return [String]
6677
+ attr_accessor :resource_name
6678
+
6679
+ # Output only. Whether the language is targetable.
6680
+ # Corresponds to the JSON property `targetable`
6681
+ # @return [Boolean]
6682
+ attr_accessor :targetable
6683
+ alias_method :targetable?, :targetable
6684
+
6685
+ def initialize(**args)
6686
+ update!(**args)
6687
+ end
6688
+
6689
+ # Update properties of this object
6690
+ def update!(**args)
6691
+ @code = args[:code] if args.key?(:code)
6692
+ @id = args[:id] if args.key?(:id)
6693
+ @name = args[:name] if args.key?(:name)
6694
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
6695
+ @targetable = args[:targetable] if args.key?(:targetable)
6696
+ end
6697
+ end
6698
+
6699
+ # Listing dimensions for the asset group listing group filter.
6700
+ class GoogleAdsSearchads360V0ResourcesListingGroupFilterDimension
6701
+ include Google::Apis::Core::Hashable
6702
+
6703
+ # One element of a bidding category at a certain level. Top-level categories are
6704
+ # at level 1, their children at level 2, and so on. We currently support up to 5
6705
+ # levels. The user must specify a dimension type that indicates the level of the
6706
+ # category. All cases of the same subdivision must have the same dimension type (
6707
+ # category level).
6708
+ # Corresponds to the JSON property `productBiddingCategory`
6709
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBiddingCategory]
6710
+ attr_accessor :product_bidding_category
6711
+
6712
+ # Brand of the product.
6713
+ # Corresponds to the JSON property `productBrand`
6714
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBrand]
6715
+ attr_accessor :product_brand
6716
+
6717
+ # Locality of a product offer.
6718
+ # Corresponds to the JSON property `productChannel`
6719
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductChannel]
6720
+ attr_accessor :product_channel
6721
+
6722
+ # Condition of a product offer.
6723
+ # Corresponds to the JSON property `productCondition`
6724
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCondition]
6725
+ attr_accessor :product_condition
6726
+
6727
+ # Custom attribute of a product offer.
6728
+ # Corresponds to the JSON property `productCustomAttribute`
6729
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductCustomAttribute]
6730
+ attr_accessor :product_custom_attribute
6731
+
6732
+ # Item id of a product offer.
6733
+ # Corresponds to the JSON property `productItemId`
6734
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductItemId]
6735
+ attr_accessor :product_item_id
6736
+
6737
+ # Type of a product offer.
6738
+ # Corresponds to the JSON property `productType`
6739
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductType]
6740
+ attr_accessor :product_type
6741
+
6742
+ def initialize(**args)
6743
+ update!(**args)
6744
+ end
6745
+
6746
+ # Update properties of this object
6747
+ def update!(**args)
6748
+ @product_bidding_category = args[:product_bidding_category] if args.key?(:product_bidding_category)
6749
+ @product_brand = args[:product_brand] if args.key?(:product_brand)
6750
+ @product_channel = args[:product_channel] if args.key?(:product_channel)
6751
+ @product_condition = args[:product_condition] if args.key?(:product_condition)
6752
+ @product_custom_attribute = args[:product_custom_attribute] if args.key?(:product_custom_attribute)
6753
+ @product_item_id = args[:product_item_id] if args.key?(:product_item_id)
6754
+ @product_type = args[:product_type] if args.key?(:product_type)
6755
+ end
6756
+ end
6757
+
6758
+ # The path defining of dimensions defining a listing group filter.
6759
+ class GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionPath
6760
+ include Google::Apis::Core::Hashable
6761
+
6762
+ # Output only. The complete path of dimensions through the listing group filter
6763
+ # hierarchy (excluding the root node) to this listing group filter.
6764
+ # Corresponds to the JSON property `dimensions`
6765
+ # @return [Array<Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesListingGroupFilterDimension>]
6766
+ attr_accessor :dimensions
6767
+
6768
+ def initialize(**args)
6769
+ update!(**args)
6770
+ end
6771
+
6772
+ # Update properties of this object
6773
+ def update!(**args)
6774
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
6775
+ end
6776
+ end
6777
+
4410
6778
  # A location view summarizes the performance of campaigns by Location criteria.
4411
6779
  class GoogleAdsSearchads360V0ResourcesLocationView
4412
6780
  include Google::Apis::Core::Hashable
@@ -4428,6 +6796,73 @@ module Google
4428
6796
  end
4429
6797
  end
4430
6798
 
6799
+ # A Product Bidding Category.
6800
+ class GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant
6801
+ include Google::Apis::Core::Hashable
6802
+
6803
+ # Output only. Two-letter upper-case country code of the product bidding
6804
+ # category.
6805
+ # Corresponds to the JSON property `countryCode`
6806
+ # @return [String]
6807
+ attr_accessor :country_code
6808
+
6809
+ # Output only. ID of the product bidding category. This ID is equivalent to the
6810
+ # google_product_category ID as described in this article: https://support.
6811
+ # google.com/merchants/answer/6324436.
6812
+ # Corresponds to the JSON property `id`
6813
+ # @return [Fixnum]
6814
+ attr_accessor :id
6815
+
6816
+ # Output only. Language code of the product bidding category.
6817
+ # Corresponds to the JSON property `languageCode`
6818
+ # @return [String]
6819
+ attr_accessor :language_code
6820
+
6821
+ # Output only. Level of the product bidding category.
6822
+ # Corresponds to the JSON property `level`
6823
+ # @return [String]
6824
+ attr_accessor :level
6825
+
6826
+ # Output only. Display value of the product bidding category localized according
6827
+ # to language_code.
6828
+ # Corresponds to the JSON property `localizedName`
6829
+ # @return [String]
6830
+ attr_accessor :localized_name
6831
+
6832
+ # Output only. Resource name of the parent product bidding category.
6833
+ # Corresponds to the JSON property `productBiddingCategoryConstantParent`
6834
+ # @return [String]
6835
+ attr_accessor :product_bidding_category_constant_parent
6836
+
6837
+ # Output only. The resource name of the product bidding category. Product
6838
+ # bidding category resource names have the form: `
6839
+ # productBiddingCategoryConstants/`country_code`~`level`~`id``
6840
+ # Corresponds to the JSON property `resourceName`
6841
+ # @return [String]
6842
+ attr_accessor :resource_name
6843
+
6844
+ # Output only. Status of the product bidding category.
6845
+ # Corresponds to the JSON property `status`
6846
+ # @return [String]
6847
+ attr_accessor :status
6848
+
6849
+ def initialize(**args)
6850
+ update!(**args)
6851
+ end
6852
+
6853
+ # Update properties of this object
6854
+ def update!(**args)
6855
+ @country_code = args[:country_code] if args.key?(:country_code)
6856
+ @id = args[:id] if args.key?(:id)
6857
+ @language_code = args[:language_code] if args.key?(:language_code)
6858
+ @level = args[:level] if args.key?(:level)
6859
+ @localized_name = args[:localized_name] if args.key?(:localized_name)
6860
+ @product_bidding_category_constant_parent = args[:product_bidding_category_constant_parent] if args.key?(:product_bidding_category_constant_parent)
6861
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
6862
+ @status = args[:status] if args.key?(:status)
6863
+ end
6864
+ end
6865
+
4431
6866
  # A product group view.
4432
6867
  class GoogleAdsSearchads360V0ResourcesProductGroupView
4433
6868
  include Google::Apis::Core::Hashable
@@ -4565,6 +7000,31 @@ module Google
4565
7000
  end
4566
7001
  end
4567
7002
 
7003
+ # Shopping performance view. Provides Shopping campaign statistics aggregated at
7004
+ # several product dimension levels. Product dimension values from Merchant
7005
+ # Center such as brand, category, custom attributes, product condition and
7006
+ # product type will reflect the state of each dimension as of the date and time
7007
+ # when the corresponding event was recorded.
7008
+ class GoogleAdsSearchads360V0ResourcesShoppingPerformanceView
7009
+ include Google::Apis::Core::Hashable
7010
+
7011
+ # Output only. The resource name of the Shopping performance view. Shopping
7012
+ # performance view resource names have the form: `customers/`customer_id`/
7013
+ # shoppingPerformanceView`
7014
+ # Corresponds to the JSON property `resourceName`
7015
+ # @return [String]
7016
+ attr_accessor :resource_name
7017
+
7018
+ def initialize(**args)
7019
+ update!(**args)
7020
+ end
7021
+
7022
+ # Update properties of this object
7023
+ def update!(**args)
7024
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
7025
+ end
7026
+ end
7027
+
4568
7028
  # A user list. This is a list of users a customer may target.
4569
7029
  class GoogleAdsSearchads360V0ResourcesUserList
4570
7030
  include Google::Apis::Core::Hashable
@@ -4604,6 +7064,114 @@ module Google
4604
7064
  end
4605
7065
  end
4606
7066
 
7067
+ # A visit.
7068
+ class GoogleAdsSearchads360V0ResourcesVisit
7069
+ include Google::Apis::Core::Hashable
7070
+
7071
+ # Output only. Ad ID. A value of 0 indicates that the ad is unattributed.
7072
+ # Corresponds to the JSON property `adId`
7073
+ # @return [Fixnum]
7074
+ attr_accessor :ad_id
7075
+
7076
+ # Output only. Asset field type of the visit event.
7077
+ # Corresponds to the JSON property `assetFieldType`
7078
+ # @return [String]
7079
+ attr_accessor :asset_field_type
7080
+
7081
+ # Output only. ID of the asset which was interacted with during the visit event.
7082
+ # Corresponds to the JSON property `assetId`
7083
+ # @return [Fixnum]
7084
+ attr_accessor :asset_id
7085
+
7086
+ # Output only. A unique string for each visit that is passed to the landing page
7087
+ # as the click id URL parameter.
7088
+ # Corresponds to the JSON property `clickId`
7089
+ # @return [String]
7090
+ attr_accessor :click_id
7091
+
7092
+ # Output only. Search Ads 360 keyword ID. A value of 0 indicates that the
7093
+ # keyword is unattributed.
7094
+ # Corresponds to the JSON property `criterionId`
7095
+ # @return [Fixnum]
7096
+ attr_accessor :criterion_id
7097
+
7098
+ # Output only. The ID of the visit.
7099
+ # Corresponds to the JSON property `id`
7100
+ # @return [Fixnum]
7101
+ attr_accessor :id
7102
+
7103
+ # Output only. The Search Ads 360 inventory account ID containing the product
7104
+ # that was clicked on. Search Ads 360 generates this ID when you link an
7105
+ # inventory account in Search Ads 360.
7106
+ # Corresponds to the JSON property `merchantId`
7107
+ # @return [Fixnum]
7108
+ attr_accessor :merchant_id
7109
+
7110
+ # Output only. The sales channel of the product that was clicked on: Online or
7111
+ # Local.
7112
+ # Corresponds to the JSON property `productChannel`
7113
+ # @return [String]
7114
+ attr_accessor :product_channel
7115
+
7116
+ # Output only. The country (ISO-3166 format) registered for the inventory feed
7117
+ # that contains the product clicked on.
7118
+ # Corresponds to the JSON property `productCountryCode`
7119
+ # @return [String]
7120
+ attr_accessor :product_country_code
7121
+
7122
+ # Output only. The ID of the product clicked on.
7123
+ # Corresponds to the JSON property `productId`
7124
+ # @return [String]
7125
+ attr_accessor :product_id
7126
+
7127
+ # Output only. The language (ISO-639-1) that has been set for the Merchant
7128
+ # Center feed containing data about the product.
7129
+ # Corresponds to the JSON property `productLanguageCode`
7130
+ # @return [String]
7131
+ attr_accessor :product_language_code
7132
+
7133
+ # Output only. The store in the Local Inventory Ad that was clicked on. This
7134
+ # should match the store IDs used in your local products feed.
7135
+ # Corresponds to the JSON property `productStoreId`
7136
+ # @return [String]
7137
+ attr_accessor :product_store_id
7138
+
7139
+ # Output only. The resource name of the visit. Visit resource names have the
7140
+ # form: `customers/`customer_id`/visits/`ad_group_id`~`criterion_id`~`
7141
+ # ds_visit_id``
7142
+ # Corresponds to the JSON property `resourceName`
7143
+ # @return [String]
7144
+ attr_accessor :resource_name
7145
+
7146
+ # Output only. The timestamp of the visit event. The timestamp is in the
7147
+ # customer's time zone and in "yyyy-MM-dd HH:mm:ss" format.
7148
+ # Corresponds to the JSON property `visitDateTime`
7149
+ # @return [String]
7150
+ attr_accessor :visit_date_time
7151
+
7152
+ def initialize(**args)
7153
+ update!(**args)
7154
+ end
7155
+
7156
+ # Update properties of this object
7157
+ def update!(**args)
7158
+ @ad_id = args[:ad_id] if args.key?(:ad_id)
7159
+ @asset_field_type = args[:asset_field_type] if args.key?(:asset_field_type)
7160
+ @asset_id = args[:asset_id] if args.key?(:asset_id)
7161
+ @click_id = args[:click_id] if args.key?(:click_id)
7162
+ @criterion_id = args[:criterion_id] if args.key?(:criterion_id)
7163
+ @id = args[:id] if args.key?(:id)
7164
+ @merchant_id = args[:merchant_id] if args.key?(:merchant_id)
7165
+ @product_channel = args[:product_channel] if args.key?(:product_channel)
7166
+ @product_country_code = args[:product_country_code] if args.key?(:product_country_code)
7167
+ @product_id = args[:product_id] if args.key?(:product_id)
7168
+ @product_language_code = args[:product_language_code] if args.key?(:product_language_code)
7169
+ @product_store_id = args[:product_store_id] if args.key?(:product_store_id)
7170
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
7171
+ @visit_date_time = args[:visit_date_time] if args.key?(:visit_date_time)
7172
+ end
7173
+ end
7174
+
4607
7175
  # A webpage view.
4608
7176
  class GoogleAdsSearchads360V0ResourcesWebpageView
4609
7177
  include Google::Apis::Core::Hashable
@@ -4715,6 +7283,17 @@ module Google
4715
7283
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAdGroupAdLabel]
4716
7284
  attr_accessor :ad_group_ad_label
4717
7285
 
7286
+ # A link between an ad group and an asset.
7287
+ # Corresponds to the JSON property `adGroupAsset`
7288
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAdGroupAsset]
7289
+ attr_accessor :ad_group_asset
7290
+
7291
+ # AdGroupAssetSet is the linkage between an ad group and an asset set. Creating
7292
+ # an AdGroupAssetSet links an asset set with an ad group.
7293
+ # Corresponds to the JSON property `adGroupAssetSet`
7294
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAdGroupAssetSet]
7295
+ attr_accessor :ad_group_asset_set
7296
+
4718
7297
  # An ad group audience view. Includes performance data from interests and
4719
7298
  # remarketing lists for Display Network and YouTube Network ads, and remarketing
4720
7299
  # lists for search ads (RLSA), aggregated at the audience level.
@@ -4755,12 +7334,56 @@ module Google
4755
7334
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAsset]
4756
7335
  attr_accessor :asset
4757
7336
 
7337
+ # An asset group. AssetGroupAsset is used to link an asset to the asset group.
7338
+ # AssetGroupSignal is used to associate a signal to an asset group.
7339
+ # Corresponds to the JSON property `assetGroup`
7340
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAssetGroup]
7341
+ attr_accessor :asset_group
7342
+
7343
+ # AssetGroupAsset is the link between an asset and an asset group. Adding an
7344
+ # AssetGroupAsset links an asset with an asset group.
7345
+ # Corresponds to the JSON property `assetGroupAsset`
7346
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAssetGroupAsset]
7347
+ attr_accessor :asset_group_asset
7348
+
7349
+ # AssetGroupListingGroupFilter represents a listing group filter tree node in an
7350
+ # asset group.
7351
+ # Corresponds to the JSON property `assetGroupListingGroupFilter`
7352
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter]
7353
+ attr_accessor :asset_group_listing_group_filter
7354
+
7355
+ # AssetGroupSignal represents a signal in an asset group. The existence of a
7356
+ # signal tells the performance max campaign who's most likely to convert.
7357
+ # Performance Max uses the signal to look for new people with similar or
7358
+ # stronger intent to find conversions across Search, Display, Video, and more.
7359
+ # Corresponds to the JSON property `assetGroupSignal`
7360
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAssetGroupSignal]
7361
+ attr_accessor :asset_group_signal
7362
+
7363
+ # A view on the usage of ad group ad asset combination.
7364
+ # Corresponds to the JSON property `assetGroupTopCombinationView`
7365
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAssetGroupTopCombinationView]
7366
+ attr_accessor :asset_group_top_combination_view
7367
+
4758
7368
  # An asset set representing a collection of assets. Use AssetSetAsset to link an
4759
7369
  # asset to the asset set.
4760
7370
  # Corresponds to the JSON property `assetSet`
4761
7371
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAssetSet]
4762
7372
  attr_accessor :asset_set
4763
7373
 
7374
+ # AssetSetAsset is the link between an asset and an asset set. Adding an
7375
+ # AssetSetAsset links an asset with an asset set.
7376
+ # Corresponds to the JSON property `assetSetAsset`
7377
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAssetSetAsset]
7378
+ attr_accessor :asset_set_asset
7379
+
7380
+ # Audience is an effective targeting option that lets you intersect different
7381
+ # segment attributes, such as detailed demographics and affinities, to create
7382
+ # audiences that represent sections of your target segments.
7383
+ # Corresponds to the JSON property `audience`
7384
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAudience]
7385
+ attr_accessor :audience
7386
+
4764
7387
  # A bidding strategy.
4765
7388
  # Corresponds to the JSON property `biddingStrategy`
4766
7389
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesBiddingStrategy]
@@ -4771,6 +7394,17 @@ module Google
4771
7394
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCampaign]
4772
7395
  attr_accessor :campaign
4773
7396
 
7397
+ # A link between a Campaign and an Asset.
7398
+ # Corresponds to the JSON property `campaignAsset`
7399
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCampaignAsset]
7400
+ attr_accessor :campaign_asset
7401
+
7402
+ # CampaignAssetSet is the linkage between a campaign and an asset set. Adding a
7403
+ # CampaignAssetSet links an asset set with a campaign.
7404
+ # Corresponds to the JSON property `campaignAssetSet`
7405
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCampaignAssetSet]
7406
+ attr_accessor :campaign_asset_set
7407
+
4774
7408
  # A campaign audience view. Includes performance data from interests and
4775
7409
  # remarketing lists for Display Network and YouTube Network ads, and remarketing
4776
7410
  # lists for search ads (RLSA), aggregated by campaign and audience criterion.
@@ -4794,6 +7428,16 @@ module Google
4794
7428
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCampaignLabel]
4795
7429
  attr_accessor :campaign_label
4796
7430
 
7431
+ # Cart data sales view.
7432
+ # Corresponds to the JSON property `cartDataSalesView`
7433
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCartDataSalesView]
7434
+ attr_accessor :cart_data_sales_view
7435
+
7436
+ # A conversion.
7437
+ # Corresponds to the JSON property `conversion`
7438
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesConversion]
7439
+ attr_accessor :conversion
7440
+
4797
7441
  # A conversion action.
4798
7442
  # Corresponds to the JSON property `conversionAction`
4799
7443
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesConversionAction]
@@ -4809,6 +7453,17 @@ module Google
4809
7453
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCustomer]
4810
7454
  attr_accessor :customer
4811
7455
 
7456
+ # A link between a customer and an asset.
7457
+ # Corresponds to the JSON property `customerAsset`
7458
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCustomerAsset]
7459
+ attr_accessor :customer_asset
7460
+
7461
+ # CustomerAssetSet is the linkage between a customer and an asset set. Adding a
7462
+ # CustomerAssetSet links an asset set with a customer.
7463
+ # Corresponds to the JSON property `customerAssetSet`
7464
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCustomerAssetSet]
7465
+ attr_accessor :customer_asset_set
7466
+
4812
7467
  # A link between the given customer and a client customer. CustomerClients only
4813
7468
  # exist for manager customers. All direct and indirect client customers are
4814
7469
  # included, as well as the manager itself.
@@ -4831,6 +7486,11 @@ module Google
4831
7486
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesGenderView]
4832
7487
  attr_accessor :gender_view
4833
7488
 
7489
+ # A geo target constant.
7490
+ # Corresponds to the JSON property `geoTargetConstant`
7491
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesGeoTargetConstant]
7492
+ attr_accessor :geo_target_constant
7493
+
4834
7494
  # A keyword view.
4835
7495
  # Corresponds to the JSON property `keywordView`
4836
7496
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesKeywordView]
@@ -4841,6 +7501,11 @@ module Google
4841
7501
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesLabel]
4842
7502
  attr_accessor :label
4843
7503
 
7504
+ # A language.
7505
+ # Corresponds to the JSON property `languageConstant`
7506
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesLanguageConstant]
7507
+ attr_accessor :language_constant
7508
+
4844
7509
  # A location view summarizes the performance of campaigns by Location criteria.
4845
7510
  # Corresponds to the JSON property `locationView`
4846
7511
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesLocationView]
@@ -4851,6 +7516,11 @@ module Google
4851
7516
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonMetrics]
4852
7517
  attr_accessor :metrics
4853
7518
 
7519
+ # A Product Bidding Category.
7520
+ # Corresponds to the JSON property `productBiddingCategoryConstant`
7521
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant]
7522
+ attr_accessor :product_bidding_category_constant
7523
+
4854
7524
  # A product group view.
4855
7525
  # Corresponds to the JSON property `productGroupView`
4856
7526
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesProductGroupView]
@@ -4861,11 +7531,25 @@ module Google
4861
7531
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSegments]
4862
7532
  attr_accessor :segments
4863
7533
 
7534
+ # Shopping performance view. Provides Shopping campaign statistics aggregated at
7535
+ # several product dimension levels. Product dimension values from Merchant
7536
+ # Center such as brand, category, custom attributes, product condition and
7537
+ # product type will reflect the state of each dimension as of the date and time
7538
+ # when the corresponding event was recorded.
7539
+ # Corresponds to the JSON property `shoppingPerformanceView`
7540
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesShoppingPerformanceView]
7541
+ attr_accessor :shopping_performance_view
7542
+
4864
7543
  # A user list. This is a list of users a customer may target.
4865
7544
  # Corresponds to the JSON property `userList`
4866
7545
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesUserList]
4867
7546
  attr_accessor :user_list
4868
7547
 
7548
+ # A visit.
7549
+ # Corresponds to the JSON property `visit`
7550
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesVisit]
7551
+ attr_accessor :visit
7552
+
4869
7553
  # A webpage view.
4870
7554
  # Corresponds to the JSON property `webpageView`
4871
7555
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesWebpageView]
@@ -4880,6 +7564,8 @@ module Google
4880
7564
  @ad_group = args[:ad_group] if args.key?(:ad_group)
4881
7565
  @ad_group_ad = args[:ad_group_ad] if args.key?(:ad_group_ad)
4882
7566
  @ad_group_ad_label = args[:ad_group_ad_label] if args.key?(:ad_group_ad_label)
7567
+ @ad_group_asset = args[:ad_group_asset] if args.key?(:ad_group_asset)
7568
+ @ad_group_asset_set = args[:ad_group_asset_set] if args.key?(:ad_group_asset_set)
4883
7569
  @ad_group_audience_view = args[:ad_group_audience_view] if args.key?(:ad_group_audience_view)
4884
7570
  @ad_group_bid_modifier = args[:ad_group_bid_modifier] if args.key?(:ad_group_bid_modifier)
4885
7571
  @ad_group_criterion = args[:ad_group_criterion] if args.key?(:ad_group_criterion)
@@ -4887,27 +7573,45 @@ module Google
4887
7573
  @ad_group_label = args[:ad_group_label] if args.key?(:ad_group_label)
4888
7574
  @age_range_view = args[:age_range_view] if args.key?(:age_range_view)
4889
7575
  @asset = args[:asset] if args.key?(:asset)
7576
+ @asset_group = args[:asset_group] if args.key?(:asset_group)
7577
+ @asset_group_asset = args[:asset_group_asset] if args.key?(:asset_group_asset)
7578
+ @asset_group_listing_group_filter = args[:asset_group_listing_group_filter] if args.key?(:asset_group_listing_group_filter)
7579
+ @asset_group_signal = args[:asset_group_signal] if args.key?(:asset_group_signal)
7580
+ @asset_group_top_combination_view = args[:asset_group_top_combination_view] if args.key?(:asset_group_top_combination_view)
4890
7581
  @asset_set = args[:asset_set] if args.key?(:asset_set)
7582
+ @asset_set_asset = args[:asset_set_asset] if args.key?(:asset_set_asset)
7583
+ @audience = args[:audience] if args.key?(:audience)
4891
7584
  @bidding_strategy = args[:bidding_strategy] if args.key?(:bidding_strategy)
4892
7585
  @campaign = args[:campaign] if args.key?(:campaign)
7586
+ @campaign_asset = args[:campaign_asset] if args.key?(:campaign_asset)
7587
+ @campaign_asset_set = args[:campaign_asset_set] if args.key?(:campaign_asset_set)
4893
7588
  @campaign_audience_view = args[:campaign_audience_view] if args.key?(:campaign_audience_view)
4894
7589
  @campaign_budget = args[:campaign_budget] if args.key?(:campaign_budget)
4895
7590
  @campaign_criterion = args[:campaign_criterion] if args.key?(:campaign_criterion)
4896
7591
  @campaign_label = args[:campaign_label] if args.key?(:campaign_label)
7592
+ @cart_data_sales_view = args[:cart_data_sales_view] if args.key?(:cart_data_sales_view)
7593
+ @conversion = args[:conversion] if args.key?(:conversion)
4897
7594
  @conversion_action = args[:conversion_action] if args.key?(:conversion_action)
4898
7595
  @custom_columns = args[:custom_columns] if args.key?(:custom_columns)
4899
7596
  @customer = args[:customer] if args.key?(:customer)
7597
+ @customer_asset = args[:customer_asset] if args.key?(:customer_asset)
7598
+ @customer_asset_set = args[:customer_asset_set] if args.key?(:customer_asset_set)
4900
7599
  @customer_client = args[:customer_client] if args.key?(:customer_client)
4901
7600
  @customer_manager_link = args[:customer_manager_link] if args.key?(:customer_manager_link)
4902
7601
  @dynamic_search_ads_search_term_view = args[:dynamic_search_ads_search_term_view] if args.key?(:dynamic_search_ads_search_term_view)
4903
7602
  @gender_view = args[:gender_view] if args.key?(:gender_view)
7603
+ @geo_target_constant = args[:geo_target_constant] if args.key?(:geo_target_constant)
4904
7604
  @keyword_view = args[:keyword_view] if args.key?(:keyword_view)
4905
7605
  @label = args[:label] if args.key?(:label)
7606
+ @language_constant = args[:language_constant] if args.key?(:language_constant)
4906
7607
  @location_view = args[:location_view] if args.key?(:location_view)
4907
7608
  @metrics = args[:metrics] if args.key?(:metrics)
7609
+ @product_bidding_category_constant = args[:product_bidding_category_constant] if args.key?(:product_bidding_category_constant)
4908
7610
  @product_group_view = args[:product_group_view] if args.key?(:product_group_view)
4909
7611
  @segments = args[:segments] if args.key?(:segments)
7612
+ @shopping_performance_view = args[:shopping_performance_view] if args.key?(:shopping_performance_view)
4910
7613
  @user_list = args[:user_list] if args.key?(:user_list)
7614
+ @visit = args[:visit] if args.key?(:visit)
4911
7615
  @webpage_view = args[:webpage_view] if args.key?(:webpage_view)
4912
7616
  end
4913
7617
  end