google-apis-searchads360_v0 0.1.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -830,6 +830,12 @@ module Google
830
830
  # @return [Float]
831
831
  attr_accessor :value_per_conversions_by_conversion_date
832
832
 
833
+ # Clicks that Search Ads 360 has successfully recorded and forwarded to an
834
+ # advertiser's landing page.
835
+ # Corresponds to the JSON property `visits`
836
+ # @return [Float]
837
+ attr_accessor :visits
838
+
833
839
  def initialize(**args)
834
840
  update!(**args)
835
841
  end
@@ -902,6 +908,7 @@ module Google
902
908
  @value_per_all_conversions_by_conversion_date = args[:value_per_all_conversions_by_conversion_date] if args.key?(:value_per_all_conversions_by_conversion_date)
903
909
  @value_per_conversion = args[:value_per_conversion] if args.key?(:value_per_conversion)
904
910
  @value_per_conversions_by_conversion_date = args[:value_per_conversions_by_conversion_date] if args.key?(:value_per_conversions_by_conversion_date)
911
+ @visits = args[:visits] if args.key?(:visits)
905
912
  end
906
913
  end
907
914
 
@@ -957,6 +964,55 @@ module Google
957
964
  end
958
965
  end
959
966
 
967
+ # A Search Ads 360 text ad.
968
+ class GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo
969
+ include Google::Apis::Core::Hashable
970
+
971
+ # The tracking id of the ad.
972
+ # Corresponds to the JSON property `adTrackId`
973
+ # @return [Fixnum]
974
+ attr_accessor :ad_track_id
975
+
976
+ # The first line of the ad's description.
977
+ # Corresponds to the JSON property `description1`
978
+ # @return [String]
979
+ attr_accessor :description1
980
+
981
+ # The second line of the ad's description.
982
+ # Corresponds to the JSON property `description2`
983
+ # @return [String]
984
+ attr_accessor :description2
985
+
986
+ # The displayed mobile URL of the ad.
987
+ # Corresponds to the JSON property `displayMobileUrl`
988
+ # @return [String]
989
+ attr_accessor :display_mobile_url
990
+
991
+ # The displayed URL of the ad.
992
+ # Corresponds to the JSON property `displayUrl`
993
+ # @return [String]
994
+ attr_accessor :display_url
995
+
996
+ # The headline of the ad.
997
+ # Corresponds to the JSON property `headline`
998
+ # @return [String]
999
+ attr_accessor :headline
1000
+
1001
+ def initialize(**args)
1002
+ update!(**args)
1003
+ end
1004
+
1005
+ # Update properties of this object
1006
+ def update!(**args)
1007
+ @ad_track_id = args[:ad_track_id] if args.key?(:ad_track_id)
1008
+ @description1 = args[:description1] if args.key?(:description1)
1009
+ @description2 = args[:description2] if args.key?(:description2)
1010
+ @display_mobile_url = args[:display_mobile_url] if args.key?(:display_mobile_url)
1011
+ @display_url = args[:display_url] if args.key?(:display_url)
1012
+ @headline = args[:headline] if args.key?(:headline)
1013
+ end
1014
+ end
1015
+
960
1016
  # Segment only fields.
961
1017
  class GoogleAdsSearchads360V0CommonSegments
962
1018
  include Google::Apis::Core::Hashable
@@ -1142,6 +1198,37 @@ module Google
1142
1198
  end
1143
1199
  end
1144
1200
 
1201
+ # The list of per-targeting-dimension targeting settings.
1202
+ class GoogleAdsSearchads360V0CommonTargetRestriction
1203
+ include Google::Apis::Core::Hashable
1204
+
1205
+ # Indicates whether to restrict your ads to show only for the criteria you have
1206
+ # selected for this targeting_dimension, or to target all values for this
1207
+ # targeting_dimension and show ads based on your targeting in other
1208
+ # TargetingDimensions. A value of `true` means that these criteria will only
1209
+ # apply bid modifiers, and not affect targeting. A value of `false` means that
1210
+ # these criteria will restrict targeting as well as applying bid modifiers.
1211
+ # Corresponds to the JSON property `bidOnly`
1212
+ # @return [Boolean]
1213
+ attr_accessor :bid_only
1214
+ alias_method :bid_only?, :bid_only
1215
+
1216
+ # The targeting dimension that these settings apply to.
1217
+ # Corresponds to the JSON property `targetingDimension`
1218
+ # @return [String]
1219
+ attr_accessor :targeting_dimension
1220
+
1221
+ def initialize(**args)
1222
+ update!(**args)
1223
+ end
1224
+
1225
+ # Update properties of this object
1226
+ def update!(**args)
1227
+ @bid_only = args[:bid_only] if args.key?(:bid_only)
1228
+ @targeting_dimension = args[:targeting_dimension] if args.key?(:targeting_dimension)
1229
+ end
1230
+ end
1231
+
1145
1232
  # An automated bidding strategy that helps you maximize revenue while averaging
1146
1233
  # a specific target return on ad spend (ROAS).
1147
1234
  class GoogleAdsSearchads360V0CommonTargetRoas
@@ -1210,6 +1297,76 @@ module Google
1210
1297
  end
1211
1298
  end
1212
1299
 
1300
+ # Settings for the targeting-related features, at the campaign and ad group
1301
+ # levels. For more details about the targeting setting, visit https://support.
1302
+ # google.com/google-ads/answer/7365594
1303
+ class GoogleAdsSearchads360V0CommonTargetingSetting
1304
+ include Google::Apis::Core::Hashable
1305
+
1306
+ # The per-targeting-dimension setting to restrict the reach of your campaign or
1307
+ # ad group.
1308
+ # Corresponds to the JSON property `targetRestrictions`
1309
+ # @return [Array<Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonTargetRestriction>]
1310
+ attr_accessor :target_restrictions
1311
+
1312
+ def initialize(**args)
1313
+ update!(**args)
1314
+ end
1315
+
1316
+ # Update properties of this object
1317
+ def update!(**args)
1318
+ @target_restrictions = args[:target_restrictions] if args.key?(:target_restrictions)
1319
+ end
1320
+ end
1321
+
1322
+ # A type of label displaying text on a colored background.
1323
+ class GoogleAdsSearchads360V0CommonTextLabel
1324
+ include Google::Apis::Core::Hashable
1325
+
1326
+ # Background color of the label in RGB format. This string must match the
1327
+ # regular expression '^\#([a-fA-F0-9]`6`|[a-fA-F0-9]`3`)$'. Note: The background
1328
+ # color may not be visible for manager accounts.
1329
+ # Corresponds to the JSON property `backgroundColor`
1330
+ # @return [String]
1331
+ attr_accessor :background_color
1332
+
1333
+ # A short description of the label. The length must be no more than 200
1334
+ # characters.
1335
+ # Corresponds to the JSON property `description`
1336
+ # @return [String]
1337
+ attr_accessor :description
1338
+
1339
+ def initialize(**args)
1340
+ update!(**args)
1341
+ end
1342
+
1343
+ # Update properties of this object
1344
+ def update!(**args)
1345
+ @background_color = args[:background_color] if args.key?(:background_color)
1346
+ @description = args[:description] if args.key?(:description)
1347
+ end
1348
+ end
1349
+
1350
+ # A User List criterion. Represents a user list that is defined by the
1351
+ # advertiser to be targeted.
1352
+ class GoogleAdsSearchads360V0CommonUserListInfo
1353
+ include Google::Apis::Core::Hashable
1354
+
1355
+ # The User List resource name.
1356
+ # Corresponds to the JSON property `userList`
1357
+ # @return [String]
1358
+ attr_accessor :user_list
1359
+
1360
+ def initialize(**args)
1361
+ update!(**args)
1362
+ end
1363
+
1364
+ # Update properties of this object
1365
+ def update!(**args)
1366
+ @user_list = args[:user_list] if args.key?(:user_list)
1367
+ end
1368
+ end
1369
+
1213
1370
  # A generic data container.
1214
1371
  class GoogleAdsSearchads360V0CommonValue
1215
1372
  include Google::Apis::Core::Hashable
@@ -1917,6 +2074,65 @@ module Google
1917
2074
  end
1918
2075
  end
1919
2076
 
2077
+ # An ad.
2078
+ class GoogleAdsSearchads360V0ResourcesAd
2079
+ include Google::Apis::Core::Hashable
2080
+
2081
+ # The URL that appears in the ad description for some ad formats.
2082
+ # Corresponds to the JSON property `displayUrl`
2083
+ # @return [String]
2084
+ attr_accessor :display_url
2085
+
2086
+ # The list of possible final URLs after all cross-domain redirects for the ad.
2087
+ # Corresponds to the JSON property `finalUrls`
2088
+ # @return [Array<String>]
2089
+ attr_accessor :final_urls
2090
+
2091
+ # Output only. The ID of the ad.
2092
+ # Corresponds to the JSON property `id`
2093
+ # @return [Fixnum]
2094
+ attr_accessor :id
2095
+
2096
+ # Immutable. The name of the ad. This is only used to be able to identify the ad.
2097
+ # It does not need to be unique and does not affect the served ad. The name
2098
+ # field is currently only supported for DisplayUploadAd, ImageAd,
2099
+ # ShoppingComparisonListingAd and VideoAd.
2100
+ # Corresponds to the JSON property `name`
2101
+ # @return [String]
2102
+ attr_accessor :name
2103
+
2104
+ # Immutable. The resource name of the ad. Ad resource names have the form: `
2105
+ # customers/`customer_id`/ads/`ad_id``
2106
+ # Corresponds to the JSON property `resourceName`
2107
+ # @return [String]
2108
+ attr_accessor :resource_name
2109
+
2110
+ # A Search Ads 360 text ad.
2111
+ # Corresponds to the JSON property `textAd`
2112
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo]
2113
+ attr_accessor :text_ad
2114
+
2115
+ # Output only. The type of ad.
2116
+ # Corresponds to the JSON property `type`
2117
+ # @return [String]
2118
+ attr_accessor :type
2119
+
2120
+ def initialize(**args)
2121
+ update!(**args)
2122
+ end
2123
+
2124
+ # Update properties of this object
2125
+ def update!(**args)
2126
+ @display_url = args[:display_url] if args.key?(:display_url)
2127
+ @final_urls = args[:final_urls] if args.key?(:final_urls)
2128
+ @id = args[:id] if args.key?(:id)
2129
+ @name = args[:name] if args.key?(:name)
2130
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
2131
+ @text_ad = args[:text_ad] if args.key?(:text_ad)
2132
+ @type = args[:type] if args.key?(:type)
2133
+ end
2134
+ end
2135
+
1920
2136
  # An ad group.
1921
2137
  class GoogleAdsSearchads360V0ResourcesAdGroup
1922
2138
  include Google::Apis::Core::Hashable
@@ -1931,11 +2147,57 @@ module Google
1931
2147
  # @return [Fixnum]
1932
2148
  attr_accessor :cpc_bid_micros
1933
2149
 
2150
+ # Output only. The timestamp when this ad_group was created. The timestamp is in
2151
+ # the customer's time zone and in "yyyy-MM-dd HH:mm:ss" format.
2152
+ # Corresponds to the JSON property `creationTime`
2153
+ # @return [String]
2154
+ attr_accessor :creation_time
2155
+
2156
+ # Output only. Date when the ad group ends serving ads. By default, the ad group
2157
+ # ends on the ad group's end date. If this field is set, then the ad group ends
2158
+ # at the end of the specified date in the customer's time zone. This field is
2159
+ # only available for Microsoft Advertising and Facebook gateway accounts. Format:
2160
+ # YYYY-MM-DD Example: 2019-03-14
2161
+ # Corresponds to the JSON property `endDate`
2162
+ # @return [String]
2163
+ attr_accessor :end_date
2164
+
2165
+ # Output only. ID of the ad group in the external engine account. This field is
2166
+ # for non-Google Ads account only, for example, Yahoo Japan, Microsoft, Baidu
2167
+ # etc. For Google Ads entity, use "ad_group.id" instead.
2168
+ # Corresponds to the JSON property `engineId`
2169
+ # @return [String]
2170
+ attr_accessor :engine_id
2171
+
2172
+ # Output only. The Engine Status for ad group.
2173
+ # Corresponds to the JSON property `engineStatus`
2174
+ # @return [String]
2175
+ attr_accessor :engine_status
2176
+
1934
2177
  # Output only. The ID of the ad group.
1935
2178
  # Corresponds to the JSON property `id`
1936
2179
  # @return [Fixnum]
1937
2180
  attr_accessor :id
1938
2181
 
2182
+ # Output only. The resource names of labels attached to this ad group.
2183
+ # Corresponds to the JSON property `labels`
2184
+ # @return [Array<String>]
2185
+ attr_accessor :labels
2186
+
2187
+ # Output only. The language of the ads and keywords in an ad group. This field
2188
+ # is only available for Microsoft Advertising accounts. More details: https://
2189
+ # docs.microsoft.com/en-us/advertising/guides/ad-languages?view=bingads-13#
2190
+ # adlanguage
2191
+ # Corresponds to the JSON property `languageCode`
2192
+ # @return [String]
2193
+ attr_accessor :language_code
2194
+
2195
+ # Output only. The datetime when this ad group was last modified. The datetime
2196
+ # is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format.
2197
+ # Corresponds to the JSON property `lastModifiedTime`
2198
+ # @return [String]
2199
+ attr_accessor :last_modified_time
2200
+
1939
2201
  # The name of the ad group. This field is required and should not be empty when
1940
2202
  # creating new ad groups. It must contain fewer than 255 UTF-8 full-width
1941
2203
  # characters. It must not contain any null (code point 0x0), NL line feed (code
@@ -1950,11 +2212,28 @@ module Google
1950
2212
  # @return [String]
1951
2213
  attr_accessor :resource_name
1952
2214
 
2215
+ # Output only. Date when this ad group starts serving ads. By default, the ad
2216
+ # group starts now or the ad group's start date, whichever is later. If this
2217
+ # field is set, then the ad group starts at the beginning of the specified date
2218
+ # in the customer's time zone. This field is only available for Microsoft
2219
+ # Advertising and Facebook gateway accounts. Format: YYYY-MM-DD Example: 2019-03-
2220
+ # 14
2221
+ # Corresponds to the JSON property `startDate`
2222
+ # @return [String]
2223
+ attr_accessor :start_date
2224
+
1953
2225
  # The status of the ad group.
1954
2226
  # Corresponds to the JSON property `status`
1955
2227
  # @return [String]
1956
2228
  attr_accessor :status
1957
2229
 
2230
+ # Settings for the targeting-related features, at the campaign and ad group
2231
+ # levels. For more details about the targeting setting, visit https://support.
2232
+ # google.com/google-ads/answer/7365594
2233
+ # Corresponds to the JSON property `targetingSetting`
2234
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonTargetingSetting]
2235
+ attr_accessor :targeting_setting
2236
+
1958
2237
  # Immutable. The type of the ad group.
1959
2238
  # Corresponds to the JSON property `type`
1960
2239
  # @return [String]
@@ -1968,14 +2247,148 @@ module Google
1968
2247
  def update!(**args)
1969
2248
  @ad_rotation_mode = args[:ad_rotation_mode] if args.key?(:ad_rotation_mode)
1970
2249
  @cpc_bid_micros = args[:cpc_bid_micros] if args.key?(:cpc_bid_micros)
2250
+ @creation_time = args[:creation_time] if args.key?(:creation_time)
2251
+ @end_date = args[:end_date] if args.key?(:end_date)
2252
+ @engine_id = args[:engine_id] if args.key?(:engine_id)
2253
+ @engine_status = args[:engine_status] if args.key?(:engine_status)
1971
2254
  @id = args[:id] if args.key?(:id)
2255
+ @labels = args[:labels] if args.key?(:labels)
2256
+ @language_code = args[:language_code] if args.key?(:language_code)
2257
+ @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
1972
2258
  @name = args[:name] if args.key?(:name)
1973
2259
  @resource_name = args[:resource_name] if args.key?(:resource_name)
2260
+ @start_date = args[:start_date] if args.key?(:start_date)
1974
2261
  @status = args[:status] if args.key?(:status)
2262
+ @targeting_setting = args[:targeting_setting] if args.key?(:targeting_setting)
1975
2263
  @type = args[:type] if args.key?(:type)
1976
2264
  end
1977
2265
  end
1978
2266
 
2267
+ # An ad group ad.
2268
+ class GoogleAdsSearchads360V0ResourcesAdGroupAd
2269
+ include Google::Apis::Core::Hashable
2270
+
2271
+ # An ad.
2272
+ # Corresponds to the JSON property `ad`
2273
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAd]
2274
+ attr_accessor :ad
2275
+
2276
+ # Output only. The timestamp when this ad_group_ad was created. The datetime is
2277
+ # in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format.
2278
+ # Corresponds to the JSON property `creationTime`
2279
+ # @return [String]
2280
+ attr_accessor :creation_time
2281
+
2282
+ # Output only. ID of the ad in the external engine account. This field is for
2283
+ # SearchAds 360 account only, for example, Yahoo Japan, Microsoft, Baidu etc.
2284
+ # For non-SearchAds 360 entity, use "ad_group_ad.ad.id" instead.
2285
+ # Corresponds to the JSON property `engineId`
2286
+ # @return [String]
2287
+ attr_accessor :engine_id
2288
+
2289
+ # Output only. Additional status of the ad in the external engine account.
2290
+ # Possible statuses (depending on the type of external account) include active,
2291
+ # eligible, pending review, etc.
2292
+ # Corresponds to the JSON property `engineStatus`
2293
+ # @return [String]
2294
+ attr_accessor :engine_status
2295
+
2296
+ # Output only. The resource names of labels attached to this ad group ad.
2297
+ # Corresponds to the JSON property `labels`
2298
+ # @return [Array<String>]
2299
+ attr_accessor :labels
2300
+
2301
+ # Output only. The datetime when this ad group ad was last modified. The
2302
+ # datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss"
2303
+ # format.
2304
+ # Corresponds to the JSON property `lastModifiedTime`
2305
+ # @return [String]
2306
+ attr_accessor :last_modified_time
2307
+
2308
+ # Immutable. The resource name of the ad. Ad group ad resource names have the
2309
+ # form: `customers/`customer_id`/adGroupAds/`ad_group_id`~`ad_id``
2310
+ # Corresponds to the JSON property `resourceName`
2311
+ # @return [String]
2312
+ attr_accessor :resource_name
2313
+
2314
+ # The status of the ad.
2315
+ # Corresponds to the JSON property `status`
2316
+ # @return [String]
2317
+ attr_accessor :status
2318
+
2319
+ def initialize(**args)
2320
+ update!(**args)
2321
+ end
2322
+
2323
+ # Update properties of this object
2324
+ def update!(**args)
2325
+ @ad = args[:ad] if args.key?(:ad)
2326
+ @creation_time = args[:creation_time] if args.key?(:creation_time)
2327
+ @engine_id = args[:engine_id] if args.key?(:engine_id)
2328
+ @engine_status = args[:engine_status] if args.key?(:engine_status)
2329
+ @labels = args[:labels] if args.key?(:labels)
2330
+ @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
2331
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
2332
+ @status = args[:status] if args.key?(:status)
2333
+ end
2334
+ end
2335
+
2336
+ # A relationship between an ad group ad and a label.
2337
+ class GoogleAdsSearchads360V0ResourcesAdGroupAdLabel
2338
+ include Google::Apis::Core::Hashable
2339
+
2340
+ # Immutable. The ad group ad to which the label is attached.
2341
+ # Corresponds to the JSON property `adGroupAd`
2342
+ # @return [String]
2343
+ attr_accessor :ad_group_ad
2344
+
2345
+ # Immutable. The label assigned to the ad group ad.
2346
+ # Corresponds to the JSON property `label`
2347
+ # @return [String]
2348
+ attr_accessor :label
2349
+
2350
+ # Immutable. The resource name of the ad group ad label. Ad group ad label
2351
+ # resource names have the form: `customers/`customer_id`/adGroupAdLabels/`
2352
+ # ad_group_id`~`ad_id`~`label_id``
2353
+ # Corresponds to the JSON property `resourceName`
2354
+ # @return [String]
2355
+ attr_accessor :resource_name
2356
+
2357
+ def initialize(**args)
2358
+ update!(**args)
2359
+ end
2360
+
2361
+ # Update properties of this object
2362
+ def update!(**args)
2363
+ @ad_group_ad = args[:ad_group_ad] if args.key?(:ad_group_ad)
2364
+ @label = args[:label] if args.key?(:label)
2365
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
2366
+ end
2367
+ end
2368
+
2369
+ # An ad group audience view. Includes performance data from interests and
2370
+ # remarketing lists for Display Network and YouTube Network ads, and remarketing
2371
+ # lists for search ads (RLSA), aggregated at the audience level.
2372
+ class GoogleAdsSearchads360V0ResourcesAdGroupAudienceView
2373
+ include Google::Apis::Core::Hashable
2374
+
2375
+ # Output only. The resource name of the ad group audience view. Ad group
2376
+ # audience view resource names have the form: `customers/`customer_id`/
2377
+ # adGroupAudienceViews/`ad_group_id`~`criterion_id``
2378
+ # Corresponds to the JSON property `resourceName`
2379
+ # @return [String]
2380
+ attr_accessor :resource_name
2381
+
2382
+ def initialize(**args)
2383
+ update!(**args)
2384
+ end
2385
+
2386
+ # Update properties of this object
2387
+ def update!(**args)
2388
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
2389
+ end
2390
+ end
2391
+
1979
2392
  # Represents an ad group bid modifier.
1980
2393
  class GoogleAdsSearchads360V0ResourcesAdGroupBidModifier
1981
2394
  include Google::Apis::Core::Hashable
@@ -1987,6 +2400,11 @@ module Google
1987
2400
  # @return [Float]
1988
2401
  attr_accessor :bid_modifier
1989
2402
 
2403
+ # A device criterion.
2404
+ # Corresponds to the JSON property `device`
2405
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonDeviceInfo]
2406
+ attr_accessor :device
2407
+
1990
2408
  # Immutable. The resource name of the ad group bid modifier. Ad group bid
1991
2409
  # modifier resource names have the form: `customers/`customer_id`/
1992
2410
  # adGroupBidModifiers/`ad_group_id`~`criterion_id``
@@ -2001,6 +2419,7 @@ module Google
2001
2419
  # Update properties of this object
2002
2420
  def update!(**args)
2003
2421
  @bid_modifier = args[:bid_modifier] if args.key?(:bid_modifier)
2422
+ @device = args[:device] if args.key?(:device)
2004
2423
  @resource_name = args[:resource_name] if args.key?(:resource_name)
2005
2424
  end
2006
2425
  end
@@ -2030,6 +2449,12 @@ module Google
2030
2449
  # @return [Fixnum]
2031
2450
  attr_accessor :cpc_bid_micros
2032
2451
 
2452
+ # Output only. The timestamp when this ad group criterion was created. The
2453
+ # timestamp is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss" format.
2454
+ # Corresponds to the JSON property `creationTime`
2455
+ # @return [String]
2456
+ attr_accessor :creation_time
2457
+
2033
2458
  # Output only. The ID of the criterion.
2034
2459
  # Corresponds to the JSON property `criterionId`
2035
2460
  # @return [Fixnum]
@@ -2040,6 +2465,14 @@ module Google
2040
2465
  # @return [Fixnum]
2041
2466
  attr_accessor :effective_cpc_bid_micros
2042
2467
 
2468
+ # Output only. ID of the ad group criterion in the external engine account. This
2469
+ # field is for non-Google Ads account only, for example, Yahoo Japan, Microsoft,
2470
+ # Baidu etc. For Google Ads entity, use "ad_group_criterion.criterion_id"
2471
+ # instead.
2472
+ # Corresponds to the JSON property `engineId`
2473
+ # @return [String]
2474
+ attr_accessor :engine_id
2475
+
2043
2476
  # Output only. The Engine Status for ad group criterion.
2044
2477
  # Corresponds to the JSON property `engineStatus`
2045
2478
  # @return [String]
@@ -2065,6 +2498,11 @@ module Google
2065
2498
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonKeywordInfo]
2066
2499
  attr_accessor :keyword
2067
2500
 
2501
+ # Output only. The resource names of labels attached to this ad group criterion.
2502
+ # Corresponds to the JSON property `labels`
2503
+ # @return [Array<String>]
2504
+ attr_accessor :labels
2505
+
2068
2506
  # Output only. The datetime when this ad group criterion was last modified. The
2069
2507
  # datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss"
2070
2508
  # format.
@@ -2077,6 +2515,19 @@ module Google
2077
2515
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonListingGroupInfo]
2078
2516
  attr_accessor :listing_group
2079
2517
 
2518
+ # A location criterion.
2519
+ # Corresponds to the JSON property `location`
2520
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonLocationInfo]
2521
+ attr_accessor :location
2522
+
2523
+ # Immutable. Whether to target (`false`) or exclude (`true`) the criterion. This
2524
+ # field is immutable. To switch a criterion from positive to negative, remove
2525
+ # then re-add it.
2526
+ # Corresponds to the JSON property `negative`
2527
+ # @return [Boolean]
2528
+ attr_accessor :negative
2529
+ alias_method :negative?, :negative
2530
+
2080
2531
  # A container for ad group criterion quality information.
2081
2532
  # Corresponds to the JSON property `qualityInfo`
2082
2533
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAdGroupCriterionQualityInfo]
@@ -2111,6 +2562,12 @@ module Google
2111
2562
  # @return [String]
2112
2563
  attr_accessor :type
2113
2564
 
2565
+ # A User List criterion. Represents a user list that is defined by the
2566
+ # advertiser to be targeted.
2567
+ # Corresponds to the JSON property `userList`
2568
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonUserListInfo]
2569
+ attr_accessor :user_list
2570
+
2114
2571
  # Represents a criterion for targeting webpages of an advertiser's website.
2115
2572
  # Corresponds to the JSON property `webpage`
2116
2573
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonWebpageInfo]
@@ -2122,25 +2579,118 @@ module Google
2122
2579
 
2123
2580
  # Update properties of this object
2124
2581
  def update!(**args)
2125
- @ad_group = args[:ad_group] if args.key?(:ad_group)
2126
- @age_range = args[:age_range] if args.key?(:age_range)
2127
- @bid_modifier = args[:bid_modifier] if args.key?(:bid_modifier)
2128
- @cpc_bid_micros = args[:cpc_bid_micros] if args.key?(:cpc_bid_micros)
2129
- @criterion_id = args[:criterion_id] if args.key?(:criterion_id)
2130
- @effective_cpc_bid_micros = args[:effective_cpc_bid_micros] if args.key?(:effective_cpc_bid_micros)
2131
- @engine_status = args[:engine_status] if args.key?(:engine_status)
2132
- @final_url_suffix = args[:final_url_suffix] if args.key?(:final_url_suffix)
2133
- @final_urls = args[:final_urls] if args.key?(:final_urls)
2134
- @gender = args[:gender] if args.key?(:gender)
2135
- @keyword = args[:keyword] if args.key?(:keyword)
2136
- @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
2137
- @listing_group = args[:listing_group] if args.key?(:listing_group)
2138
- @quality_info = args[:quality_info] if args.key?(:quality_info)
2582
+ @ad_group = args[:ad_group] if args.key?(:ad_group)
2583
+ @age_range = args[:age_range] if args.key?(:age_range)
2584
+ @bid_modifier = args[:bid_modifier] if args.key?(:bid_modifier)
2585
+ @cpc_bid_micros = args[:cpc_bid_micros] if args.key?(:cpc_bid_micros)
2586
+ @creation_time = args[:creation_time] if args.key?(:creation_time)
2587
+ @criterion_id = args[:criterion_id] if args.key?(:criterion_id)
2588
+ @effective_cpc_bid_micros = args[:effective_cpc_bid_micros] if args.key?(:effective_cpc_bid_micros)
2589
+ @engine_id = args[:engine_id] if args.key?(:engine_id)
2590
+ @engine_status = args[:engine_status] if args.key?(:engine_status)
2591
+ @final_url_suffix = args[:final_url_suffix] if args.key?(:final_url_suffix)
2592
+ @final_urls = args[:final_urls] if args.key?(:final_urls)
2593
+ @gender = args[:gender] if args.key?(:gender)
2594
+ @keyword = args[:keyword] if args.key?(:keyword)
2595
+ @labels = args[:labels] if args.key?(:labels)
2596
+ @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
2597
+ @listing_group = args[:listing_group] if args.key?(:listing_group)
2598
+ @location = args[:location] if args.key?(:location)
2599
+ @negative = args[:negative] if args.key?(:negative)
2600
+ @quality_info = args[:quality_info] if args.key?(:quality_info)
2601
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
2602
+ @status = args[:status] if args.key?(:status)
2603
+ @tracking_url_template = args[:tracking_url_template] if args.key?(:tracking_url_template)
2604
+ @type = args[:type] if args.key?(:type)
2605
+ @user_list = args[:user_list] if args.key?(:user_list)
2606
+ @webpage = args[:webpage] if args.key?(:webpage)
2607
+ end
2608
+ end
2609
+
2610
+ # A relationship between an ad group criterion and a label.
2611
+ class GoogleAdsSearchads360V0ResourcesAdGroupCriterionLabel
2612
+ include Google::Apis::Core::Hashable
2613
+
2614
+ # Immutable. The ad group criterion to which the label is attached.
2615
+ # Corresponds to the JSON property `adGroupCriterion`
2616
+ # @return [String]
2617
+ attr_accessor :ad_group_criterion
2618
+
2619
+ # Immutable. The label assigned to the ad group criterion.
2620
+ # Corresponds to the JSON property `label`
2621
+ # @return [String]
2622
+ attr_accessor :label
2623
+
2624
+ # Immutable. The resource name of the ad group criterion label. Ad group
2625
+ # criterion label resource names have the form: `customers/`customer_id`/
2626
+ # adGroupCriterionLabels/`ad_group_id`~`criterion_id`~`label_id``
2627
+ # Corresponds to the JSON property `resourceName`
2628
+ # @return [String]
2629
+ attr_accessor :resource_name
2630
+
2631
+ def initialize(**args)
2632
+ update!(**args)
2633
+ end
2634
+
2635
+ # Update properties of this object
2636
+ def update!(**args)
2637
+ @ad_group_criterion = args[:ad_group_criterion] if args.key?(:ad_group_criterion)
2638
+ @label = args[:label] if args.key?(:label)
2639
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
2640
+ end
2641
+ end
2642
+
2643
+ # A relationship between an ad group and a label.
2644
+ class GoogleAdsSearchads360V0ResourcesAdGroupLabel
2645
+ include Google::Apis::Core::Hashable
2646
+
2647
+ # Immutable. The ad group to which the label is attached.
2648
+ # Corresponds to the JSON property `adGroup`
2649
+ # @return [String]
2650
+ attr_accessor :ad_group
2651
+
2652
+ # Immutable. The label assigned to the ad group.
2653
+ # Corresponds to the JSON property `label`
2654
+ # @return [String]
2655
+ attr_accessor :label
2656
+
2657
+ # Immutable. The resource name of the ad group label. Ad group label resource
2658
+ # names have the form: `customers/`customer_id`/adGroupLabels/`ad_group_id`~`
2659
+ # label_id``
2660
+ # Corresponds to the JSON property `resourceName`
2661
+ # @return [String]
2662
+ attr_accessor :resource_name
2663
+
2664
+ def initialize(**args)
2665
+ update!(**args)
2666
+ end
2667
+
2668
+ # Update properties of this object
2669
+ def update!(**args)
2670
+ @ad_group = args[:ad_group] if args.key?(:ad_group)
2671
+ @label = args[:label] if args.key?(:label)
2672
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
2673
+ end
2674
+ end
2675
+
2676
+ # An age range view.
2677
+ class GoogleAdsSearchads360V0ResourcesAgeRangeView
2678
+ include Google::Apis::Core::Hashable
2679
+
2680
+ # Output only. The resource name of the age range view. Age range view resource
2681
+ # names have the form: `customers/`customer_id`/ageRangeViews/`ad_group_id`~`
2682
+ # criterion_id``
2683
+ # Corresponds to the JSON property `resourceName`
2684
+ # @return [String]
2685
+ attr_accessor :resource_name
2686
+
2687
+ def initialize(**args)
2688
+ update!(**args)
2689
+ end
2690
+
2691
+ # Update properties of this object
2692
+ def update!(**args)
2139
2693
  @resource_name = args[:resource_name] if args.key?(:resource_name)
2140
- @status = args[:status] if args.key?(:status)
2141
- @tracking_url_template = args[:tracking_url_template] if args.key?(:tracking_url_template)
2142
- @type = args[:type] if args.key?(:type)
2143
- @webpage = args[:webpage] if args.key?(:webpage)
2144
2694
  end
2145
2695
  end
2146
2696
 
@@ -2334,11 +2884,19 @@ module Google
2334
2884
  # @return [String]
2335
2885
  attr_accessor :campaign_budget
2336
2886
 
2337
- # Output only. Timestamp of the campaign's creation time, formatted in ISO 8601.
2887
+ # Output only. The timestamp when this campaign was created. The timestamp is in
2888
+ # the customer's time zone and in "yyyy-MM-dd HH:mm:ss" format. create_time will
2889
+ # be deprecated in v1. Use creation_time instead.
2338
2890
  # Corresponds to the JSON property `createTime`
2339
2891
  # @return [String]
2340
2892
  attr_accessor :create_time
2341
2893
 
2894
+ # Output only. The timestamp when this campaign was created. The timestamp is in
2895
+ # the customer's time zone and in "yyyy-MM-dd HH:mm:ss" format.
2896
+ # Corresponds to the JSON property `creationTime`
2897
+ # @return [String]
2898
+ attr_accessor :creation_time
2899
+
2342
2900
  # The setting for controlling Dynamic Search Ads (DSA).
2343
2901
  # Corresponds to the JSON property `dynamicSearchAdsSetting`
2344
2902
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCampaignDynamicSearchAdsSetting]
@@ -2562,6 +3120,7 @@ module Google
2562
3120
  @bidding_strategy_type = args[:bidding_strategy_type] if args.key?(:bidding_strategy_type)
2563
3121
  @campaign_budget = args[:campaign_budget] if args.key?(:campaign_budget)
2564
3122
  @create_time = args[:create_time] if args.key?(:create_time)
3123
+ @creation_time = args[:creation_time] if args.key?(:creation_time)
2565
3124
  @dynamic_search_ads_setting = args[:dynamic_search_ads_setting] if args.key?(:dynamic_search_ads_setting)
2566
3125
  @end_date = args[:end_date] if args.key?(:end_date)
2567
3126
  @engine_id = args[:engine_id] if args.key?(:engine_id)
@@ -2600,6 +3159,30 @@ module Google
2600
3159
  end
2601
3160
  end
2602
3161
 
3162
+ # A campaign audience view. Includes performance data from interests and
3163
+ # remarketing lists for Display Network and YouTube Network ads, and remarketing
3164
+ # lists for search ads (RLSA), aggregated by campaign and audience criterion.
3165
+ # This view only includes audiences attached at the campaign level.
3166
+ class GoogleAdsSearchads360V0ResourcesCampaignAudienceView
3167
+ include Google::Apis::Core::Hashable
3168
+
3169
+ # Output only. The resource name of the campaign audience view. Campaign
3170
+ # audience view resource names have the form: `customers/`customer_id`/
3171
+ # campaignAudienceViews/`campaign_id`~`criterion_id``
3172
+ # Corresponds to the JSON property `resourceName`
3173
+ # @return [String]
3174
+ attr_accessor :resource_name
3175
+
3176
+ def initialize(**args)
3177
+ update!(**args)
3178
+ end
3179
+
3180
+ # Update properties of this object
3181
+ def update!(**args)
3182
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
3183
+ end
3184
+ end
3185
+
2603
3186
  # A campaign budget.
2604
3187
  class GoogleAdsSearchads360V0ResourcesCampaignBudget
2605
3188
  include Google::Apis::Core::Hashable
@@ -2647,6 +3230,11 @@ module Google
2647
3230
  class GoogleAdsSearchads360V0ResourcesCampaignCriterion
2648
3231
  include Google::Apis::Core::Hashable
2649
3232
 
3233
+ # An age range criterion.
3234
+ # Corresponds to the JSON property `ageRange`
3235
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonAgeRangeInfo]
3236
+ attr_accessor :age_range
3237
+
2650
3238
  # The modifier for the bids when the criterion matches. The modifier must be in
2651
3239
  # the range: 0.1 - 10.0. Most targetable criteria types support modifiers. Use 0
2652
3240
  # to opt out of a Device type.
@@ -2670,11 +3258,28 @@ module Google
2670
3258
  # @return [String]
2671
3259
  attr_accessor :display_name
2672
3260
 
3261
+ # A gender criterion.
3262
+ # Corresponds to the JSON property `gender`
3263
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonGenderInfo]
3264
+ attr_accessor :gender
3265
+
3266
+ # A keyword criterion.
3267
+ # Corresponds to the JSON property `keyword`
3268
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonKeywordInfo]
3269
+ attr_accessor :keyword
3270
+
2673
3271
  # A language criterion.
2674
3272
  # Corresponds to the JSON property `language`
2675
3273
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonLanguageInfo]
2676
3274
  attr_accessor :language
2677
3275
 
3276
+ # Output only. The datetime when this campaign criterion was last modified. The
3277
+ # datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss"
3278
+ # format.
3279
+ # Corresponds to the JSON property `lastModifiedTime`
3280
+ # @return [String]
3281
+ attr_accessor :last_modified_time
3282
+
2678
3283
  # A location criterion.
2679
3284
  # Corresponds to the JSON property `location`
2680
3285
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonLocationInfo]
@@ -2698,27 +3303,82 @@ module Google
2698
3303
  # @return [String]
2699
3304
  attr_accessor :resource_name
2700
3305
 
3306
+ # The status of the criterion.
3307
+ # Corresponds to the JSON property `status`
3308
+ # @return [String]
3309
+ attr_accessor :status
3310
+
2701
3311
  # Output only. The type of the criterion.
2702
3312
  # Corresponds to the JSON property `type`
2703
3313
  # @return [String]
2704
3314
  attr_accessor :type
2705
3315
 
3316
+ # A User List criterion. Represents a user list that is defined by the
3317
+ # advertiser to be targeted.
3318
+ # Corresponds to the JSON property `userList`
3319
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonUserListInfo]
3320
+ attr_accessor :user_list
3321
+
3322
+ # Represents a criterion for targeting webpages of an advertiser's website.
3323
+ # Corresponds to the JSON property `webpage`
3324
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonWebpageInfo]
3325
+ attr_accessor :webpage
3326
+
2706
3327
  def initialize(**args)
2707
3328
  update!(**args)
2708
3329
  end
2709
3330
 
2710
3331
  # Update properties of this object
2711
3332
  def update!(**args)
3333
+ @age_range = args[:age_range] if args.key?(:age_range)
2712
3334
  @bid_modifier = args[:bid_modifier] if args.key?(:bid_modifier)
2713
3335
  @criterion_id = args[:criterion_id] if args.key?(:criterion_id)
2714
3336
  @device = args[:device] if args.key?(:device)
2715
3337
  @display_name = args[:display_name] if args.key?(:display_name)
3338
+ @gender = args[:gender] if args.key?(:gender)
3339
+ @keyword = args[:keyword] if args.key?(:keyword)
2716
3340
  @language = args[:language] if args.key?(:language)
3341
+ @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
2717
3342
  @location = args[:location] if args.key?(:location)
2718
3343
  @location_group = args[:location_group] if args.key?(:location_group)
2719
3344
  @negative = args[:negative] if args.key?(:negative)
2720
3345
  @resource_name = args[:resource_name] if args.key?(:resource_name)
3346
+ @status = args[:status] if args.key?(:status)
2721
3347
  @type = args[:type] if args.key?(:type)
3348
+ @user_list = args[:user_list] if args.key?(:user_list)
3349
+ @webpage = args[:webpage] if args.key?(:webpage)
3350
+ end
3351
+ end
3352
+
3353
+ # Represents a relationship between a campaign and a label.
3354
+ class GoogleAdsSearchads360V0ResourcesCampaignLabel
3355
+ include Google::Apis::Core::Hashable
3356
+
3357
+ # Immutable. The campaign to which the label is attached.
3358
+ # Corresponds to the JSON property `campaign`
3359
+ # @return [String]
3360
+ attr_accessor :campaign
3361
+
3362
+ # Immutable. The label assigned to the campaign.
3363
+ # Corresponds to the JSON property `label`
3364
+ # @return [String]
3365
+ attr_accessor :label
3366
+
3367
+ # Immutable. Name of the resource. Campaign label resource names have the form: `
3368
+ # customers/`customer_id`/campaignLabels/`campaign_id`~`label_id``
3369
+ # Corresponds to the JSON property `resourceName`
3370
+ # @return [String]
3371
+ attr_accessor :resource_name
3372
+
3373
+ def initialize(**args)
3374
+ update!(**args)
3375
+ end
3376
+
3377
+ # Update properties of this object
3378
+ def update!(**args)
3379
+ @campaign = args[:campaign] if args.key?(:campaign)
3380
+ @label = args[:label] if args.key?(:label)
3381
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
2722
3382
  end
2723
3383
  end
2724
3384
 
@@ -3027,6 +3687,12 @@ module Google
3027
3687
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesConversionTrackingSetting]
3028
3688
  attr_accessor :conversion_tracking_setting
3029
3689
 
3690
+ # Output only. The timestamp when this customer was created. The timestamp is in
3691
+ # the customer's time zone and in "yyyy-MM-dd HH:mm:ss" format.
3692
+ # Corresponds to the JSON property `creationTime`
3693
+ # @return [String]
3694
+ attr_accessor :creation_time
3695
+
3030
3696
  # Immutable. The currency in which the account operates. A subset of the
3031
3697
  # currency codes from the ISO 4217 standard is supported.
3032
3698
  # Corresponds to the JSON property `currencyCode`
@@ -3048,7 +3714,7 @@ module Google
3048
3714
  # @return [String]
3049
3715
  attr_accessor :engine_id
3050
3716
 
3051
- # The URL template for appending params to the final URL
3717
+ # The URL template for appending params to the final URL.
3052
3718
  # Corresponds to the JSON property `finalUrlSuffix`
3053
3719
  # @return [String]
3054
3720
  attr_accessor :final_url_suffix
@@ -3101,6 +3767,7 @@ module Google
3101
3767
  @account_type = args[:account_type] if args.key?(:account_type)
3102
3768
  @auto_tagging_enabled = args[:auto_tagging_enabled] if args.key?(:auto_tagging_enabled)
3103
3769
  @conversion_tracking_setting = args[:conversion_tracking_setting] if args.key?(:conversion_tracking_setting)
3770
+ @creation_time = args[:creation_time] if args.key?(:creation_time)
3104
3771
  @currency_code = args[:currency_code] if args.key?(:currency_code)
3105
3772
  @descriptive_name = args[:descriptive_name] if args.key?(:descriptive_name)
3106
3773
  @double_click_campaign_manager_setting = args[:double_click_campaign_manager_setting] if args.key?(:double_click_campaign_manager_setting)
@@ -3286,6 +3953,57 @@ module Google
3286
3953
  end
3287
3954
  end
3288
3955
 
3956
+ # A dynamic search ads search term view.
3957
+ class GoogleAdsSearchads360V0ResourcesDynamicSearchAdsSearchTermView
3958
+ include Google::Apis::Core::Hashable
3959
+
3960
+ # Output only. The dynamically selected landing page URL of the impression. This
3961
+ # field is read-only.
3962
+ # Corresponds to the JSON property `landingPage`
3963
+ # @return [String]
3964
+ attr_accessor :landing_page
3965
+
3966
+ # Output only. The resource name of the dynamic search ads search term view.
3967
+ # Dynamic search ads search term view resource names have the form: `customers/`
3968
+ # customer_id`/dynamicSearchAdsSearchTermViews/`ad_group_id`~`
3969
+ # search_term_fingerprint`~`headline_fingerprint`~`landing_page_fingerprint`~`
3970
+ # page_url_fingerprint``
3971
+ # Corresponds to the JSON property `resourceName`
3972
+ # @return [String]
3973
+ attr_accessor :resource_name
3974
+
3975
+ def initialize(**args)
3976
+ update!(**args)
3977
+ end
3978
+
3979
+ # Update properties of this object
3980
+ def update!(**args)
3981
+ @landing_page = args[:landing_page] if args.key?(:landing_page)
3982
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
3983
+ end
3984
+ end
3985
+
3986
+ # A gender view.
3987
+ class GoogleAdsSearchads360V0ResourcesGenderView
3988
+ include Google::Apis::Core::Hashable
3989
+
3990
+ # Output only. The resource name of the gender view. Gender view resource names
3991
+ # have the form: `customers/`customer_id`/genderViews/`ad_group_id`~`
3992
+ # criterion_id``
3993
+ # Corresponds to the JSON property `resourceName`
3994
+ # @return [String]
3995
+ attr_accessor :resource_name
3996
+
3997
+ def initialize(**args)
3998
+ update!(**args)
3999
+ end
4000
+
4001
+ # Update properties of this object
4002
+ def update!(**args)
4003
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
4004
+ end
4005
+ end
4006
+
3289
4007
  # A keyword view.
3290
4008
  class GoogleAdsSearchads360V0ResourcesKeywordView
3291
4009
  include Google::Apis::Core::Hashable
@@ -3307,6 +4025,73 @@ module Google
3307
4025
  end
3308
4026
  end
3309
4027
 
4028
+ # A label.
4029
+ class GoogleAdsSearchads360V0ResourcesLabel
4030
+ include Google::Apis::Core::Hashable
4031
+
4032
+ # Output only. ID of the label. Read only.
4033
+ # Corresponds to the JSON property `id`
4034
+ # @return [Fixnum]
4035
+ attr_accessor :id
4036
+
4037
+ # The name of the label. This field is required and should not be empty when
4038
+ # creating a new label. The length of this string should be between 1 and 80,
4039
+ # inclusive.
4040
+ # Corresponds to the JSON property `name`
4041
+ # @return [String]
4042
+ attr_accessor :name
4043
+
4044
+ # Immutable. Name of the resource. Label resource names have the form: `
4045
+ # customers/`customer_id`/labels/`label_id``
4046
+ # Corresponds to the JSON property `resourceName`
4047
+ # @return [String]
4048
+ attr_accessor :resource_name
4049
+
4050
+ # Output only. Status of the label. Read only.
4051
+ # Corresponds to the JSON property `status`
4052
+ # @return [String]
4053
+ attr_accessor :status
4054
+
4055
+ # A type of label displaying text on a colored background.
4056
+ # Corresponds to the JSON property `textLabel`
4057
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonTextLabel]
4058
+ attr_accessor :text_label
4059
+
4060
+ def initialize(**args)
4061
+ update!(**args)
4062
+ end
4063
+
4064
+ # Update properties of this object
4065
+ def update!(**args)
4066
+ @id = args[:id] if args.key?(:id)
4067
+ @name = args[:name] if args.key?(:name)
4068
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
4069
+ @status = args[:status] if args.key?(:status)
4070
+ @text_label = args[:text_label] if args.key?(:text_label)
4071
+ end
4072
+ end
4073
+
4074
+ # A location view summarizes the performance of campaigns by Location criteria.
4075
+ class GoogleAdsSearchads360V0ResourcesLocationView
4076
+ include Google::Apis::Core::Hashable
4077
+
4078
+ # Output only. The resource name of the location view. Location view resource
4079
+ # names have the form: `customers/`customer_id`/locationViews/`campaign_id`~`
4080
+ # criterion_id``
4081
+ # Corresponds to the JSON property `resourceName`
4082
+ # @return [String]
4083
+ attr_accessor :resource_name
4084
+
4085
+ def initialize(**args)
4086
+ update!(**args)
4087
+ end
4088
+
4089
+ # Update properties of this object
4090
+ def update!(**args)
4091
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
4092
+ end
4093
+ end
4094
+
3310
4095
  # A product group view.
3311
4096
  class GoogleAdsSearchads360V0ResourcesProductGroupView
3312
4097
  include Google::Apis::Core::Hashable
@@ -3444,6 +4229,66 @@ module Google
3444
4229
  end
3445
4230
  end
3446
4231
 
4232
+ # A user list. This is a list of users a customer may target.
4233
+ class GoogleAdsSearchads360V0ResourcesUserList
4234
+ include Google::Apis::Core::Hashable
4235
+
4236
+ # Output only. Id of the user list.
4237
+ # Corresponds to the JSON property `id`
4238
+ # @return [Fixnum]
4239
+ attr_accessor :id
4240
+
4241
+ # Name of this user list. Depending on its access_reason, the user list name may
4242
+ # not be unique (for example, if access_reason=SHARED)
4243
+ # Corresponds to the JSON property `name`
4244
+ # @return [String]
4245
+ attr_accessor :name
4246
+
4247
+ # Immutable. The resource name of the user list. User list resource names have
4248
+ # the form: `customers/`customer_id`/userLists/`user_list_id``
4249
+ # Corresponds to the JSON property `resourceName`
4250
+ # @return [String]
4251
+ attr_accessor :resource_name
4252
+
4253
+ # Output only. Type of this list. This field is read-only.
4254
+ # Corresponds to the JSON property `type`
4255
+ # @return [String]
4256
+ attr_accessor :type
4257
+
4258
+ def initialize(**args)
4259
+ update!(**args)
4260
+ end
4261
+
4262
+ # Update properties of this object
4263
+ def update!(**args)
4264
+ @id = args[:id] if args.key?(:id)
4265
+ @name = args[:name] if args.key?(:name)
4266
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
4267
+ @type = args[:type] if args.key?(:type)
4268
+ end
4269
+ end
4270
+
4271
+ # A webpage view.
4272
+ class GoogleAdsSearchads360V0ResourcesWebpageView
4273
+ include Google::Apis::Core::Hashable
4274
+
4275
+ # Output only. The resource name of the webpage view. Webpage view resource
4276
+ # names have the form: `customers/`customer_id`/webpageViews/`ad_group_id`~`
4277
+ # criterion_id``
4278
+ # Corresponds to the JSON property `resourceName`
4279
+ # @return [String]
4280
+ attr_accessor :resource_name
4281
+
4282
+ def initialize(**args)
4283
+ update!(**args)
4284
+ end
4285
+
4286
+ # Update properties of this object
4287
+ def update!(**args)
4288
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
4289
+ end
4290
+ end
4291
+
3447
4292
  # Message for custom column header.
3448
4293
  class GoogleAdsSearchads360V0ServicesCustomColumnHeader
3449
4294
  include Google::Apis::Core::Hashable
@@ -3504,6 +4349,23 @@ module Google
3504
4349
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAdGroup]
3505
4350
  attr_accessor :ad_group
3506
4351
 
4352
+ # An ad group ad.
4353
+ # Corresponds to the JSON property `adGroupAd`
4354
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAdGroupAd]
4355
+ attr_accessor :ad_group_ad
4356
+
4357
+ # A relationship between an ad group ad and a label.
4358
+ # Corresponds to the JSON property `adGroupAdLabel`
4359
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAdGroupAdLabel]
4360
+ attr_accessor :ad_group_ad_label
4361
+
4362
+ # An ad group audience view. Includes performance data from interests and
4363
+ # remarketing lists for Display Network and YouTube Network ads, and remarketing
4364
+ # lists for search ads (RLSA), aggregated at the audience level.
4365
+ # Corresponds to the JSON property `adGroupAudienceView`
4366
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAdGroupAudienceView]
4367
+ attr_accessor :ad_group_audience_view
4368
+
3507
4369
  # Represents an ad group bid modifier.
3508
4370
  # Corresponds to the JSON property `adGroupBidModifier`
3509
4371
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAdGroupBidModifier]
@@ -3514,6 +4376,21 @@ module Google
3514
4376
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAdGroupCriterion]
3515
4377
  attr_accessor :ad_group_criterion
3516
4378
 
4379
+ # A relationship between an ad group criterion and a label.
4380
+ # Corresponds to the JSON property `adGroupCriterionLabel`
4381
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAdGroupCriterionLabel]
4382
+ attr_accessor :ad_group_criterion_label
4383
+
4384
+ # A relationship between an ad group and a label.
4385
+ # Corresponds to the JSON property `adGroupLabel`
4386
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAdGroupLabel]
4387
+ attr_accessor :ad_group_label
4388
+
4389
+ # An age range view.
4390
+ # Corresponds to the JSON property `ageRangeView`
4391
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAgeRangeView]
4392
+ attr_accessor :age_range_view
4393
+
3517
4394
  # A bidding strategy.
3518
4395
  # Corresponds to the JSON property `biddingStrategy`
3519
4396
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesBiddingStrategy]
@@ -3524,6 +4401,14 @@ module Google
3524
4401
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCampaign]
3525
4402
  attr_accessor :campaign
3526
4403
 
4404
+ # A campaign audience view. Includes performance data from interests and
4405
+ # remarketing lists for Display Network and YouTube Network ads, and remarketing
4406
+ # lists for search ads (RLSA), aggregated by campaign and audience criterion.
4407
+ # This view only includes audiences attached at the campaign level.
4408
+ # Corresponds to the JSON property `campaignAudienceView`
4409
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCampaignAudienceView]
4410
+ attr_accessor :campaign_audience_view
4411
+
3527
4412
  # A campaign budget.
3528
4413
  # Corresponds to the JSON property `campaignBudget`
3529
4414
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCampaignBudget]
@@ -3534,6 +4419,11 @@ module Google
3534
4419
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCampaignCriterion]
3535
4420
  attr_accessor :campaign_criterion
3536
4421
 
4422
+ # Represents a relationship between a campaign and a label.
4423
+ # Corresponds to the JSON property `campaignLabel`
4424
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCampaignLabel]
4425
+ attr_accessor :campaign_label
4426
+
3537
4427
  # A conversion action.
3538
4428
  # Corresponds to the JSON property `conversionAction`
3539
4429
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesConversionAction]
@@ -3561,11 +4451,31 @@ module Google
3561
4451
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCustomerManagerLink]
3562
4452
  attr_accessor :customer_manager_link
3563
4453
 
4454
+ # A dynamic search ads search term view.
4455
+ # Corresponds to the JSON property `dynamicSearchAdsSearchTermView`
4456
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesDynamicSearchAdsSearchTermView]
4457
+ attr_accessor :dynamic_search_ads_search_term_view
4458
+
4459
+ # A gender view.
4460
+ # Corresponds to the JSON property `genderView`
4461
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesGenderView]
4462
+ attr_accessor :gender_view
4463
+
3564
4464
  # A keyword view.
3565
4465
  # Corresponds to the JSON property `keywordView`
3566
4466
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesKeywordView]
3567
4467
  attr_accessor :keyword_view
3568
4468
 
4469
+ # A label.
4470
+ # Corresponds to the JSON property `label`
4471
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesLabel]
4472
+ attr_accessor :label
4473
+
4474
+ # A location view summarizes the performance of campaigns by Location criteria.
4475
+ # Corresponds to the JSON property `locationView`
4476
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesLocationView]
4477
+ attr_accessor :location_view
4478
+
3569
4479
  # Metrics data.
3570
4480
  # Corresponds to the JSON property `metrics`
3571
4481
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonMetrics]
@@ -3581,6 +4491,16 @@ module Google
3581
4491
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSegments]
3582
4492
  attr_accessor :segments
3583
4493
 
4494
+ # A user list. This is a list of users a customer may target.
4495
+ # Corresponds to the JSON property `userList`
4496
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesUserList]
4497
+ attr_accessor :user_list
4498
+
4499
+ # A webpage view.
4500
+ # Corresponds to the JSON property `webpageView`
4501
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesWebpageView]
4502
+ attr_accessor :webpage_view
4503
+
3584
4504
  def initialize(**args)
3585
4505
  update!(**args)
3586
4506
  end
@@ -3588,21 +4508,35 @@ module Google
3588
4508
  # Update properties of this object
3589
4509
  def update!(**args)
3590
4510
  @ad_group = args[:ad_group] if args.key?(:ad_group)
4511
+ @ad_group_ad = args[:ad_group_ad] if args.key?(:ad_group_ad)
4512
+ @ad_group_ad_label = args[:ad_group_ad_label] if args.key?(:ad_group_ad_label)
4513
+ @ad_group_audience_view = args[:ad_group_audience_view] if args.key?(:ad_group_audience_view)
3591
4514
  @ad_group_bid_modifier = args[:ad_group_bid_modifier] if args.key?(:ad_group_bid_modifier)
3592
4515
  @ad_group_criterion = args[:ad_group_criterion] if args.key?(:ad_group_criterion)
4516
+ @ad_group_criterion_label = args[:ad_group_criterion_label] if args.key?(:ad_group_criterion_label)
4517
+ @ad_group_label = args[:ad_group_label] if args.key?(:ad_group_label)
4518
+ @age_range_view = args[:age_range_view] if args.key?(:age_range_view)
3593
4519
  @bidding_strategy = args[:bidding_strategy] if args.key?(:bidding_strategy)
3594
4520
  @campaign = args[:campaign] if args.key?(:campaign)
4521
+ @campaign_audience_view = args[:campaign_audience_view] if args.key?(:campaign_audience_view)
3595
4522
  @campaign_budget = args[:campaign_budget] if args.key?(:campaign_budget)
3596
4523
  @campaign_criterion = args[:campaign_criterion] if args.key?(:campaign_criterion)
4524
+ @campaign_label = args[:campaign_label] if args.key?(:campaign_label)
3597
4525
  @conversion_action = args[:conversion_action] if args.key?(:conversion_action)
3598
4526
  @custom_columns = args[:custom_columns] if args.key?(:custom_columns)
3599
4527
  @customer = args[:customer] if args.key?(:customer)
3600
4528
  @customer_client = args[:customer_client] if args.key?(:customer_client)
3601
4529
  @customer_manager_link = args[:customer_manager_link] if args.key?(:customer_manager_link)
4530
+ @dynamic_search_ads_search_term_view = args[:dynamic_search_ads_search_term_view] if args.key?(:dynamic_search_ads_search_term_view)
4531
+ @gender_view = args[:gender_view] if args.key?(:gender_view)
3602
4532
  @keyword_view = args[:keyword_view] if args.key?(:keyword_view)
4533
+ @label = args[:label] if args.key?(:label)
4534
+ @location_view = args[:location_view] if args.key?(:location_view)
3603
4535
  @metrics = args[:metrics] if args.key?(:metrics)
3604
4536
  @product_group_view = args[:product_group_view] if args.key?(:product_group_view)
3605
4537
  @segments = args[:segments] if args.key?(:segments)
4538
+ @user_list = args[:user_list] if args.key?(:user_list)
4539
+ @webpage_view = args[:webpage_view] if args.key?(:webpage_view)
3606
4540
  end
3607
4541
  end
3608
4542