google-apis-searchads360_v0 0.8.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -122,6 +122,50 @@ module Google
|
|
122
122
|
end
|
123
123
|
end
|
124
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
|
+
|
125
169
|
# Business Profile location data synced from the linked Business Profile account.
|
126
170
|
class GoogleAdsSearchads360V0CommonBusinessProfileLocation
|
127
171
|
include Google::Apis::Core::Hashable
|
@@ -156,6 +200,25 @@ module Google
|
|
156
200
|
end
|
157
201
|
end
|
158
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
|
+
|
159
222
|
# A mapping that can be used by custom parameter tags in a `
|
160
223
|
# tracking_url_template`, `final_urls`, or `mobile_final_urls`.
|
161
224
|
class GoogleAdsSearchads360V0CommonCustomParameter
|
@@ -250,6 +313,68 @@ module Google
|
|
250
313
|
end
|
251
314
|
end
|
252
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
|
+
|
253
378
|
# A Keyword criterion segment.
|
254
379
|
class GoogleAdsSearchads360V0CommonKeyword
|
255
380
|
include Google::Apis::Core::Hashable
|
@@ -673,6 +798,150 @@ module Google
|
|
673
798
|
# @return [Float]
|
674
799
|
attr_accessor :client_account_conversions_value
|
675
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
|
+
|
676
945
|
# The total number of view-through conversions. These happen when a customer
|
677
946
|
# sees an image or rich media ad, then later completes a conversion on your site
|
678
947
|
# without interacting with (for example, clicking on) another ad.
|
@@ -791,6 +1060,78 @@ module Google
|
|
791
1060
|
# @return [Float]
|
792
1061
|
attr_accessor :cross_device_conversions_value
|
793
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
|
+
|
794
1135
|
# The number of clicks your ad receives (Clicks) divided by the number of times
|
795
1136
|
# your ad is shown (Impressions).
|
796
1137
|
# Corresponds to the JSON property `ctr`
|
@@ -852,6 +1193,75 @@ module Google
|
|
852
1193
|
# @return [Fixnum]
|
853
1194
|
attr_accessor :invalid_clicks
|
854
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
|
+
|
855
1265
|
# The percentage of mobile clicks that go to a mobile-friendly page.
|
856
1266
|
# Corresponds to the JSON property `mobileFriendlyClicksPercentage`
|
857
1267
|
# @return [Float]
|
@@ -1012,6 +1422,14 @@ module Google
|
|
1012
1422
|
@clicks = args[:clicks] if args.key?(:clicks)
|
1013
1423
|
@client_account_conversions = args[:client_account_conversions] if args.key?(:client_account_conversions)
|
1014
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)
|
1015
1433
|
@client_account_view_through_conversions = args[:client_account_view_through_conversions] if args.key?(:client_account_view_through_conversions)
|
1016
1434
|
@content_budget_lost_impression_share = args[:content_budget_lost_impression_share] if args.key?(:content_budget_lost_impression_share)
|
1017
1435
|
@content_impression_share = args[:content_impression_share] if args.key?(:content_impression_share)
|
@@ -1029,6 +1447,10 @@ module Google
|
|
1029
1447
|
@cost_per_current_model_attributed_conversion = args[:cost_per_current_model_attributed_conversion] if args.key?(:cost_per_current_model_attributed_conversion)
|
1030
1448
|
@cross_device_conversions = args[:cross_device_conversions] if args.key?(:cross_device_conversions)
|
1031
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)
|
1032
1454
|
@ctr = args[:ctr] if args.key?(:ctr)
|
1033
1455
|
@historical_creative_quality_score = args[:historical_creative_quality_score] if args.key?(:historical_creative_quality_score)
|
1034
1456
|
@historical_landing_page_quality_score = args[:historical_landing_page_quality_score] if args.key?(:historical_landing_page_quality_score)
|
@@ -1040,6 +1462,10 @@ module Google
|
|
1040
1462
|
@interactions = args[:interactions] if args.key?(:interactions)
|
1041
1463
|
@invalid_click_rate = args[:invalid_click_rate] if args.key?(:invalid_click_rate)
|
1042
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)
|
1043
1469
|
@mobile_friendly_clicks_percentage = args[:mobile_friendly_clicks_percentage] if args.key?(:mobile_friendly_clicks_percentage)
|
1044
1470
|
@search_absolute_top_impression_share = args[:search_absolute_top_impression_share] if args.key?(:search_absolute_top_impression_share)
|
1045
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)
|
@@ -1380,6 +1806,222 @@ module Google
|
|
1380
1806
|
# @return [String]
|
1381
1807
|
attr_accessor :month
|
1382
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
|
+
|
1383
2025
|
# Quarter as represented by the date of the first day of a quarter. Uses the
|
1384
2026
|
# calendar year for quarters, for example, the second quarter of 2018 starts on
|
1385
2027
|
# 2018-04-01. Formatted as yyyy-MM-dd.
|
@@ -1414,6 +2056,49 @@ module Google
|
|
1414
2056
|
@device = args[:device] if args.key?(:device)
|
1415
2057
|
@keyword = args[:keyword] if args.key?(:keyword)
|
1416
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)
|
1417
2102
|
@quarter = args[:quarter] if args.key?(:quarter)
|
1418
2103
|
@week = args[:week] if args.key?(:week)
|
1419
2104
|
@year = args[:year] if args.key?(:year)
|
@@ -1649,6 +2334,25 @@ module Google
|
|
1649
2334
|
end
|
1650
2335
|
end
|
1651
2336
|
|
2337
|
+
# A Text asset.
|
2338
|
+
class GoogleAdsSearchads360V0CommonTextAsset
|
2339
|
+
include Google::Apis::Core::Hashable
|
2340
|
+
|
2341
|
+
# Text content of the text asset.
|
2342
|
+
# Corresponds to the JSON property `text`
|
2343
|
+
# @return [String]
|
2344
|
+
attr_accessor :text
|
2345
|
+
|
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
|
+
|
1652
2356
|
# A type of label displaying text on a colored background.
|
1653
2357
|
class GoogleAdsSearchads360V0CommonTextLabel
|
1654
2358
|
include Google::Apis::Core::Hashable
|
@@ -2089,6 +2793,32 @@ module Google
|
|
2089
2793
|
end
|
2090
2794
|
end
|
2091
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
|
+
|
2092
2822
|
# A part of a field path.
|
2093
2823
|
class GoogleAdsSearchads360V0ErrorsErrorLocationFieldPathElement
|
2094
2824
|
include Google::Apis::Core::Hashable
|
@@ -2168,7 +2898,7 @@ module Google
|
|
2168
2898
|
# @return [String]
|
2169
2899
|
attr_accessor :query_error
|
2170
2900
|
|
2171
|
-
# An error with the
|
2901
|
+
# An error with the amount of quota remaining.
|
2172
2902
|
# Corresponds to the JSON property `quotaError`
|
2173
2903
|
# @return [String]
|
2174
2904
|
attr_accessor :quota_error
|
@@ -2714,47 +3444,204 @@ module Google
|
|
2714
3444
|
end
|
2715
3445
|
end
|
2716
3446
|
|
2717
|
-
#
|
2718
|
-
|
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
|
2719
3453
|
include Google::Apis::Core::Hashable
|
2720
3454
|
|
2721
|
-
#
|
2722
|
-
#
|
2723
|
-
#
|
2724
|
-
attr_accessor :display_url
|
2725
|
-
|
2726
|
-
# An expanded dynamic search ad.
|
2727
|
-
# Corresponds to the JSON property `expandedDynamicSearchAd`
|
2728
|
-
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360ExpandedDynamicSearchAdInfo]
|
2729
|
-
attr_accessor :expanded_dynamic_search_ad
|
2730
|
-
|
2731
|
-
# A Search Ads 360 expanded text ad.
|
2732
|
-
# Corresponds to the JSON property `expandedTextAd`
|
2733
|
-
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360ExpandedTextAdInfo]
|
2734
|
-
attr_accessor :expanded_text_ad
|
2735
|
-
|
2736
|
-
# The list of possible final URLs after all cross-domain redirects for the ad.
|
2737
|
-
# Corresponds to the JSON property `finalUrls`
|
2738
|
-
# @return [Array<String>]
|
2739
|
-
attr_accessor :final_urls
|
2740
|
-
|
2741
|
-
# 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
|
2742
3458
|
# Corresponds to the JSON property `id`
|
2743
3459
|
# @return [Fixnum]
|
2744
3460
|
attr_accessor :id
|
2745
3461
|
|
2746
|
-
#
|
2747
|
-
#
|
2748
|
-
# field is currently only supported for DisplayUploadAd, ImageAd,
|
2749
|
-
# ShoppingComparisonListingAd and VideoAd.
|
2750
|
-
# Corresponds to the JSON property `name`
|
3462
|
+
# Indicates the level of the category in the taxonomy.
|
3463
|
+
# Corresponds to the JSON property `level`
|
2751
3464
|
# @return [String]
|
2752
|
-
attr_accessor :
|
3465
|
+
attr_accessor :level
|
2753
3466
|
|
2754
|
-
|
2755
|
-
|
2756
|
-
|
2757
|
-
|
3467
|
+
def initialize(**args)
|
3468
|
+
update!(**args)
|
3469
|
+
end
|
3470
|
+
|
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
|
3477
|
+
|
3478
|
+
# Brand of the product.
|
3479
|
+
class GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionProductBrand
|
3480
|
+
include Google::Apis::Core::Hashable
|
3481
|
+
|
3482
|
+
# String value of the product brand.
|
3483
|
+
# Corresponds to the JSON property `value`
|
3484
|
+
# @return [String]
|
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
|
2758
3645
|
|
2759
3646
|
# Immutable. The resource name of the ad. Ad resource names have the form: `
|
2760
3647
|
# customers/`customer_id`/ads/`ad_id``
|
@@ -3455,6 +4342,11 @@ module Google
|
|
3455
4342
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonUnifiedCallAsset]
|
3456
4343
|
attr_accessor :call_asset
|
3457
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
|
+
|
3458
4350
|
# A unified callout asset.
|
3459
4351
|
# Corresponds to the JSON property `calloutAsset`
|
3460
4352
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonUnifiedCalloutAsset]
|
@@ -3481,6 +4373,11 @@ module Google
|
|
3481
4373
|
# @return [Fixnum]
|
3482
4374
|
attr_accessor :id
|
3483
4375
|
|
4376
|
+
# An Image asset.
|
4377
|
+
# Corresponds to the JSON property `imageAsset`
|
4378
|
+
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonImageAsset]
|
4379
|
+
attr_accessor :image_asset
|
4380
|
+
|
3484
4381
|
# Output only. The datetime when this asset was last modified. The datetime is
|
3485
4382
|
# in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format.
|
3486
4383
|
# Corresponds to the JSON property `lastModifiedTime`
|
@@ -3497,6 +4394,11 @@ module Google
|
|
3497
4394
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonMobileAppAsset]
|
3498
4395
|
attr_accessor :mobile_app_asset
|
3499
4396
|
|
4397
|
+
# Optional name of the asset.
|
4398
|
+
# Corresponds to the JSON property `name`
|
4399
|
+
# @return [String]
|
4400
|
+
attr_accessor :name
|
4401
|
+
|
3500
4402
|
# A Unified Page Feed asset.
|
3501
4403
|
# Corresponds to the JSON property `pageFeedAsset`
|
3502
4404
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonUnifiedPageFeedAsset]
|
@@ -3518,6 +4420,11 @@ module Google
|
|
3518
4420
|
# @return [String]
|
3519
4421
|
attr_accessor :status
|
3520
4422
|
|
4423
|
+
# A Text asset.
|
4424
|
+
# Corresponds to the JSON property `textAsset`
|
4425
|
+
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonTextAsset]
|
4426
|
+
attr_accessor :text_asset
|
4427
|
+
|
3521
4428
|
# URL template for constructing a tracking URL.
|
3522
4429
|
# Corresponds to the JSON property `trackingUrlTemplate`
|
3523
4430
|
# @return [String]
|
@@ -3528,6 +4435,11 @@ module Google
|
|
3528
4435
|
# @return [String]
|
3529
4436
|
attr_accessor :type
|
3530
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
|
+
|
3531
4443
|
def initialize(**args)
|
3532
4444
|
update!(**args)
|
3533
4445
|
end
|
@@ -3535,20 +4447,303 @@ module Google
|
|
3535
4447
|
# Update properties of this object
|
3536
4448
|
def update!(**args)
|
3537
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)
|
3538
4451
|
@callout_asset = args[:callout_asset] if args.key?(:callout_asset)
|
3539
4452
|
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
3540
4453
|
@engine_status = args[:engine_status] if args.key?(:engine_status)
|
3541
4454
|
@final_urls = args[:final_urls] if args.key?(:final_urls)
|
3542
4455
|
@id = args[:id] if args.key?(:id)
|
4456
|
+
@image_asset = args[:image_asset] if args.key?(:image_asset)
|
3543
4457
|
@last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
|
3544
4458
|
@location_asset = args[:location_asset] if args.key?(:location_asset)
|
3545
4459
|
@mobile_app_asset = args[:mobile_app_asset] if args.key?(:mobile_app_asset)
|
4460
|
+
@name = args[:name] if args.key?(:name)
|
3546
4461
|
@page_feed_asset = args[:page_feed_asset] if args.key?(:page_feed_asset)
|
3547
4462
|
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
3548
4463
|
@sitelink_asset = args[:sitelink_asset] if args.key?(:sitelink_asset)
|
3549
4464
|
@status = args[:status] if args.key?(:status)
|
4465
|
+
@text_asset = args[:text_asset] if args.key?(:text_asset)
|
3550
4466
|
@tracking_url_template = args[:tracking_url_template] if args.key?(:tracking_url_template)
|
3551
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)
|
3552
4747
|
end
|
3553
4748
|
end
|
3554
4749
|
|
@@ -3619,6 +4814,47 @@ module Google
|
|
3619
4814
|
end
|
3620
4815
|
end
|
3621
4816
|
|
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
|
4821
|
+
include Google::Apis::Core::Hashable
|
4822
|
+
|
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.
|
4829
|
+
# Corresponds to the JSON property `id`
|
4830
|
+
# @return [Fixnum]
|
4831
|
+
attr_accessor :id
|
4832
|
+
|
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``
|
4841
|
+
# Corresponds to the JSON property `resourceName`
|
4842
|
+
# @return [String]
|
4843
|
+
attr_accessor :resource_name
|
4844
|
+
|
4845
|
+
def initialize(**args)
|
4846
|
+
update!(**args)
|
4847
|
+
end
|
4848
|
+
|
4849
|
+
# Update properties of this object
|
4850
|
+
def update!(**args)
|
4851
|
+
@description = args[:description] if args.key?(:description)
|
4852
|
+
@id = args[:id] if args.key?(:id)
|
4853
|
+
@name = args[:name] if args.key?(:name)
|
4854
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
4855
|
+
end
|
4856
|
+
end
|
4857
|
+
|
3622
4858
|
# A bidding strategy.
|
3623
4859
|
class GoogleAdsSearchads360V0ResourcesBiddingStrategy
|
3624
4860
|
include Google::Apis::Core::Hashable
|
@@ -4309,82 +5545,280 @@ module Google
|
|
4309
5545
|
# @return [String]
|
4310
5546
|
attr_accessor :resource_name
|
4311
5547
|
|
4312
|
-
# The status of the criterion.
|
4313
|
-
# Corresponds to the JSON property `status`
|
5548
|
+
# The status of the criterion.
|
5549
|
+
# Corresponds to the JSON property `status`
|
5550
|
+
# @return [String]
|
5551
|
+
attr_accessor :status
|
5552
|
+
|
5553
|
+
# Output only. The type of the criterion.
|
5554
|
+
# Corresponds to the JSON property `type`
|
5555
|
+
# @return [String]
|
5556
|
+
attr_accessor :type
|
5557
|
+
|
5558
|
+
# A User List criterion. Represents a user list that is defined by the
|
5559
|
+
# advertiser to be targeted.
|
5560
|
+
# Corresponds to the JSON property `userList`
|
5561
|
+
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonUserListInfo]
|
5562
|
+
attr_accessor :user_list
|
5563
|
+
|
5564
|
+
# Represents a criterion for targeting webpages of an advertiser's website.
|
5565
|
+
# Corresponds to the JSON property `webpage`
|
5566
|
+
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonWebpageInfo]
|
5567
|
+
attr_accessor :webpage
|
5568
|
+
|
5569
|
+
def initialize(**args)
|
5570
|
+
update!(**args)
|
5571
|
+
end
|
5572
|
+
|
5573
|
+
# Update properties of this object
|
5574
|
+
def update!(**args)
|
5575
|
+
@age_range = args[:age_range] if args.key?(:age_range)
|
5576
|
+
@bid_modifier = args[:bid_modifier] if args.key?(:bid_modifier)
|
5577
|
+
@criterion_id = args[:criterion_id] if args.key?(:criterion_id)
|
5578
|
+
@device = args[:device] if args.key?(:device)
|
5579
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
5580
|
+
@gender = args[:gender] if args.key?(:gender)
|
5581
|
+
@keyword = args[:keyword] if args.key?(:keyword)
|
5582
|
+
@language = args[:language] if args.key?(:language)
|
5583
|
+
@last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
|
5584
|
+
@location = args[:location] if args.key?(:location)
|
5585
|
+
@location_group = args[:location_group] if args.key?(:location_group)
|
5586
|
+
@negative = args[:negative] if args.key?(:negative)
|
5587
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
5588
|
+
@status = args[:status] if args.key?(:status)
|
5589
|
+
@type = args[:type] if args.key?(:type)
|
5590
|
+
@user_list = args[:user_list] if args.key?(:user_list)
|
5591
|
+
@webpage = args[:webpage] if args.key?(:webpage)
|
5592
|
+
end
|
5593
|
+
end
|
5594
|
+
|
5595
|
+
# Represents a relationship between a campaign and a label.
|
5596
|
+
class GoogleAdsSearchads360V0ResourcesCampaignLabel
|
5597
|
+
include Google::Apis::Core::Hashable
|
5598
|
+
|
5599
|
+
# Immutable. The campaign to which the label is attached.
|
5600
|
+
# Corresponds to the JSON property `campaign`
|
5601
|
+
# @return [String]
|
5602
|
+
attr_accessor :campaign
|
5603
|
+
|
5604
|
+
# Immutable. The label assigned to the campaign.
|
5605
|
+
# Corresponds to the JSON property `label`
|
5606
|
+
# @return [String]
|
5607
|
+
attr_accessor :label
|
5608
|
+
|
5609
|
+
# Immutable. Name of the resource. Campaign label resource names have the form: `
|
5610
|
+
# customers/`customer_id`/campaignLabels/`campaign_id`~`label_id``
|
5611
|
+
# Corresponds to the JSON property `resourceName`
|
5612
|
+
# @return [String]
|
5613
|
+
attr_accessor :resource_name
|
5614
|
+
|
5615
|
+
def initialize(**args)
|
5616
|
+
update!(**args)
|
5617
|
+
end
|
5618
|
+
|
5619
|
+
# Update properties of this object
|
5620
|
+
def update!(**args)
|
5621
|
+
@campaign = args[:campaign] if args.key?(:campaign)
|
5622
|
+
@label = args[:label] if args.key?(:label)
|
5623
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
5624
|
+
end
|
5625
|
+
end
|
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`
|
4314
5712
|
# @return [String]
|
4315
|
-
attr_accessor :
|
5713
|
+
attr_accessor :conversion_visit_date_time
|
4316
5714
|
|
4317
|
-
# Output only.
|
4318
|
-
#
|
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`
|
4319
5724
|
# @return [String]
|
4320
|
-
attr_accessor :
|
5725
|
+
attr_accessor :floodlight_order_id
|
4321
5726
|
|
4322
|
-
#
|
4323
|
-
#
|
4324
|
-
#
|
4325
|
-
#
|
4326
|
-
|
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
|
4327
5733
|
|
4328
|
-
#
|
4329
|
-
# Corresponds to the JSON property `
|
4330
|
-
# @return [
|
4331
|
-
attr_accessor :
|
5734
|
+
# Output only. The ID of the conversion
|
5735
|
+
# Corresponds to the JSON property `id`
|
5736
|
+
# @return [Fixnum]
|
5737
|
+
attr_accessor :id
|
4332
5738
|
|
4333
|
-
|
4334
|
-
|
4335
|
-
|
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
|
4336
5745
|
|
4337
|
-
#
|
4338
|
-
|
4339
|
-
|
4340
|
-
|
4341
|
-
|
4342
|
-
@device = args[:device] if args.key?(:device)
|
4343
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
4344
|
-
@gender = args[:gender] if args.key?(:gender)
|
4345
|
-
@keyword = args[:keyword] if args.key?(:keyword)
|
4346
|
-
@language = args[:language] if args.key?(:language)
|
4347
|
-
@last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
|
4348
|
-
@location = args[:location] if args.key?(:location)
|
4349
|
-
@location_group = args[:location_group] if args.key?(:location_group)
|
4350
|
-
@negative = args[:negative] if args.key?(:negative)
|
4351
|
-
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
4352
|
-
@status = args[:status] if args.key?(:status)
|
4353
|
-
@type = args[:type] if args.key?(:type)
|
4354
|
-
@user_list = args[:user_list] if args.key?(:user_list)
|
4355
|
-
@webpage = args[:webpage] if args.key?(:webpage)
|
4356
|
-
end
|
4357
|
-
end
|
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
|
4358
5751
|
|
4359
|
-
|
4360
|
-
|
4361
|
-
|
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
|
4362
5757
|
|
4363
|
-
#
|
4364
|
-
# Corresponds to the JSON property `
|
5758
|
+
# Output only. The ID of the product clicked on.
|
5759
|
+
# Corresponds to the JSON property `productId`
|
4365
5760
|
# @return [String]
|
4366
|
-
attr_accessor :
|
5761
|
+
attr_accessor :product_id
|
4367
5762
|
|
4368
|
-
#
|
4369
|
-
#
|
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`
|
4370
5766
|
# @return [String]
|
4371
|
-
attr_accessor :
|
5767
|
+
attr_accessor :product_language_code
|
4372
5768
|
|
4373
|
-
#
|
4374
|
-
#
|
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``
|
4375
5778
|
# Corresponds to the JSON property `resourceName`
|
4376
5779
|
# @return [String]
|
4377
5780
|
attr_accessor :resource_name
|
4378
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
|
+
|
4379
5792
|
def initialize(**args)
|
4380
5793
|
update!(**args)
|
4381
5794
|
end
|
4382
5795
|
|
4383
5796
|
# Update properties of this object
|
4384
5797
|
def update!(**args)
|
4385
|
-
@
|
4386
|
-
@
|
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)
|
4387
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)
|
4388
5822
|
end
|
4389
5823
|
end
|
4390
5824
|
|
@@ -5216,6 +6650,131 @@ module Google
|
|
5216
6650
|
end
|
5217
6651
|
end
|
5218
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
|
+
|
5219
6778
|
# A location view summarizes the performance of campaigns by Location criteria.
|
5220
6779
|
class GoogleAdsSearchads360V0ResourcesLocationView
|
5221
6780
|
include Google::Apis::Core::Hashable
|
@@ -5237,6 +6796,73 @@ module Google
|
|
5237
6796
|
end
|
5238
6797
|
end
|
5239
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
|
+
|
5240
6866
|
# A product group view.
|
5241
6867
|
class GoogleAdsSearchads360V0ResourcesProductGroupView
|
5242
6868
|
include Google::Apis::Core::Hashable
|
@@ -5374,6 +7000,31 @@ module Google
|
|
5374
7000
|
end
|
5375
7001
|
end
|
5376
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
|
+
|
5377
7028
|
# A user list. This is a list of users a customer may target.
|
5378
7029
|
class GoogleAdsSearchads360V0ResourcesUserList
|
5379
7030
|
include Google::Apis::Core::Hashable
|
@@ -5413,6 +7064,114 @@ module Google
|
|
5413
7064
|
end
|
5414
7065
|
end
|
5415
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
|
+
|
5416
7175
|
# A webpage view.
|
5417
7176
|
class GoogleAdsSearchads360V0ResourcesWebpageView
|
5418
7177
|
include Google::Apis::Core::Hashable
|
@@ -5575,6 +7334,37 @@ module Google
|
|
5575
7334
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAsset]
|
5576
7335
|
attr_accessor :asset
|
5577
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
|
+
|
5578
7368
|
# An asset set representing a collection of assets. Use AssetSetAsset to link an
|
5579
7369
|
# asset to the asset set.
|
5580
7370
|
# Corresponds to the JSON property `assetSet`
|
@@ -5587,6 +7377,13 @@ module Google
|
|
5587
7377
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAssetSetAsset]
|
5588
7378
|
attr_accessor :asset_set_asset
|
5589
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
|
+
|
5590
7387
|
# A bidding strategy.
|
5591
7388
|
# Corresponds to the JSON property `biddingStrategy`
|
5592
7389
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesBiddingStrategy]
|
@@ -5631,6 +7428,16 @@ module Google
|
|
5631
7428
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCampaignLabel]
|
5632
7429
|
attr_accessor :campaign_label
|
5633
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
|
+
|
5634
7441
|
# A conversion action.
|
5635
7442
|
# Corresponds to the JSON property `conversionAction`
|
5636
7443
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesConversionAction]
|
@@ -5694,6 +7501,11 @@ module Google
|
|
5694
7501
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesLabel]
|
5695
7502
|
attr_accessor :label
|
5696
7503
|
|
7504
|
+
# A language.
|
7505
|
+
# Corresponds to the JSON property `languageConstant`
|
7506
|
+
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesLanguageConstant]
|
7507
|
+
attr_accessor :language_constant
|
7508
|
+
|
5697
7509
|
# A location view summarizes the performance of campaigns by Location criteria.
|
5698
7510
|
# Corresponds to the JSON property `locationView`
|
5699
7511
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesLocationView]
|
@@ -5704,6 +7516,11 @@ module Google
|
|
5704
7516
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonMetrics]
|
5705
7517
|
attr_accessor :metrics
|
5706
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
|
+
|
5707
7524
|
# A product group view.
|
5708
7525
|
# Corresponds to the JSON property `productGroupView`
|
5709
7526
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesProductGroupView]
|
@@ -5714,11 +7531,25 @@ module Google
|
|
5714
7531
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSegments]
|
5715
7532
|
attr_accessor :segments
|
5716
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
|
+
|
5717
7543
|
# A user list. This is a list of users a customer may target.
|
5718
7544
|
# Corresponds to the JSON property `userList`
|
5719
7545
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesUserList]
|
5720
7546
|
attr_accessor :user_list
|
5721
7547
|
|
7548
|
+
# A visit.
|
7549
|
+
# Corresponds to the JSON property `visit`
|
7550
|
+
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesVisit]
|
7551
|
+
attr_accessor :visit
|
7552
|
+
|
5722
7553
|
# A webpage view.
|
5723
7554
|
# Corresponds to the JSON property `webpageView`
|
5724
7555
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesWebpageView]
|
@@ -5742,8 +7573,14 @@ module Google
|
|
5742
7573
|
@ad_group_label = args[:ad_group_label] if args.key?(:ad_group_label)
|
5743
7574
|
@age_range_view = args[:age_range_view] if args.key?(:age_range_view)
|
5744
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)
|
5745
7581
|
@asset_set = args[:asset_set] if args.key?(:asset_set)
|
5746
7582
|
@asset_set_asset = args[:asset_set_asset] if args.key?(:asset_set_asset)
|
7583
|
+
@audience = args[:audience] if args.key?(:audience)
|
5747
7584
|
@bidding_strategy = args[:bidding_strategy] if args.key?(:bidding_strategy)
|
5748
7585
|
@campaign = args[:campaign] if args.key?(:campaign)
|
5749
7586
|
@campaign_asset = args[:campaign_asset] if args.key?(:campaign_asset)
|
@@ -5752,6 +7589,8 @@ module Google
|
|
5752
7589
|
@campaign_budget = args[:campaign_budget] if args.key?(:campaign_budget)
|
5753
7590
|
@campaign_criterion = args[:campaign_criterion] if args.key?(:campaign_criterion)
|
5754
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)
|
5755
7594
|
@conversion_action = args[:conversion_action] if args.key?(:conversion_action)
|
5756
7595
|
@custom_columns = args[:custom_columns] if args.key?(:custom_columns)
|
5757
7596
|
@customer = args[:customer] if args.key?(:customer)
|
@@ -5764,11 +7603,15 @@ module Google
|
|
5764
7603
|
@geo_target_constant = args[:geo_target_constant] if args.key?(:geo_target_constant)
|
5765
7604
|
@keyword_view = args[:keyword_view] if args.key?(:keyword_view)
|
5766
7605
|
@label = args[:label] if args.key?(:label)
|
7606
|
+
@language_constant = args[:language_constant] if args.key?(:language_constant)
|
5767
7607
|
@location_view = args[:location_view] if args.key?(:location_view)
|
5768
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)
|
5769
7610
|
@product_group_view = args[:product_group_view] if args.key?(:product_group_view)
|
5770
7611
|
@segments = args[:segments] if args.key?(:segments)
|
7612
|
+
@shopping_performance_view = args[:shopping_performance_view] if args.key?(:shopping_performance_view)
|
5771
7613
|
@user_list = args[:user_list] if args.key?(:user_list)
|
7614
|
+
@visit = args[:visit] if args.key?(:visit)
|
5772
7615
|
@webpage_view = args[:webpage_view] if args.key?(:webpage_view)
|
5773
7616
|
end
|
5774
7617
|
end
|