google-apis-searchads360_v0 0.2.0 → 0.4.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
|
|
@@ -1142,6 +1149,37 @@ module Google
|
|
1142
1149
|
end
|
1143
1150
|
end
|
1144
1151
|
|
1152
|
+
# The list of per-targeting-dimension targeting settings.
|
1153
|
+
class GoogleAdsSearchads360V0CommonTargetRestriction
|
1154
|
+
include Google::Apis::Core::Hashable
|
1155
|
+
|
1156
|
+
# Indicates whether to restrict your ads to show only for the criteria you have
|
1157
|
+
# selected for this targeting_dimension, or to target all values for this
|
1158
|
+
# targeting_dimension and show ads based on your targeting in other
|
1159
|
+
# TargetingDimensions. A value of `true` means that these criteria will only
|
1160
|
+
# apply bid modifiers, and not affect targeting. A value of `false` means that
|
1161
|
+
# these criteria will restrict targeting as well as applying bid modifiers.
|
1162
|
+
# Corresponds to the JSON property `bidOnly`
|
1163
|
+
# @return [Boolean]
|
1164
|
+
attr_accessor :bid_only
|
1165
|
+
alias_method :bid_only?, :bid_only
|
1166
|
+
|
1167
|
+
# The targeting dimension that these settings apply to.
|
1168
|
+
# Corresponds to the JSON property `targetingDimension`
|
1169
|
+
# @return [String]
|
1170
|
+
attr_accessor :targeting_dimension
|
1171
|
+
|
1172
|
+
def initialize(**args)
|
1173
|
+
update!(**args)
|
1174
|
+
end
|
1175
|
+
|
1176
|
+
# Update properties of this object
|
1177
|
+
def update!(**args)
|
1178
|
+
@bid_only = args[:bid_only] if args.key?(:bid_only)
|
1179
|
+
@targeting_dimension = args[:targeting_dimension] if args.key?(:targeting_dimension)
|
1180
|
+
end
|
1181
|
+
end
|
1182
|
+
|
1145
1183
|
# An automated bidding strategy that helps you maximize revenue while averaging
|
1146
1184
|
# a specific target return on ad spend (ROAS).
|
1147
1185
|
class GoogleAdsSearchads360V0CommonTargetRoas
|
@@ -1210,6 +1248,76 @@ module Google
|
|
1210
1248
|
end
|
1211
1249
|
end
|
1212
1250
|
|
1251
|
+
# Settings for the targeting-related features, at the campaign and ad group
|
1252
|
+
# levels. For more details about the targeting setting, visit https://support.
|
1253
|
+
# google.com/google-ads/answer/7365594
|
1254
|
+
class GoogleAdsSearchads360V0CommonTargetingSetting
|
1255
|
+
include Google::Apis::Core::Hashable
|
1256
|
+
|
1257
|
+
# The per-targeting-dimension setting to restrict the reach of your campaign or
|
1258
|
+
# ad group.
|
1259
|
+
# Corresponds to the JSON property `targetRestrictions`
|
1260
|
+
# @return [Array<Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonTargetRestriction>]
|
1261
|
+
attr_accessor :target_restrictions
|
1262
|
+
|
1263
|
+
def initialize(**args)
|
1264
|
+
update!(**args)
|
1265
|
+
end
|
1266
|
+
|
1267
|
+
# Update properties of this object
|
1268
|
+
def update!(**args)
|
1269
|
+
@target_restrictions = args[:target_restrictions] if args.key?(:target_restrictions)
|
1270
|
+
end
|
1271
|
+
end
|
1272
|
+
|
1273
|
+
# A type of label displaying text on a colored background.
|
1274
|
+
class GoogleAdsSearchads360V0CommonTextLabel
|
1275
|
+
include Google::Apis::Core::Hashable
|
1276
|
+
|
1277
|
+
# Background color of the label in RGB format. This string must match the
|
1278
|
+
# regular expression '^\#([a-fA-F0-9]`6`|[a-fA-F0-9]`3`)$'. Note: The background
|
1279
|
+
# color may not be visible for manager accounts.
|
1280
|
+
# Corresponds to the JSON property `backgroundColor`
|
1281
|
+
# @return [String]
|
1282
|
+
attr_accessor :background_color
|
1283
|
+
|
1284
|
+
# A short description of the label. The length must be no more than 200
|
1285
|
+
# characters.
|
1286
|
+
# Corresponds to the JSON property `description`
|
1287
|
+
# @return [String]
|
1288
|
+
attr_accessor :description
|
1289
|
+
|
1290
|
+
def initialize(**args)
|
1291
|
+
update!(**args)
|
1292
|
+
end
|
1293
|
+
|
1294
|
+
# Update properties of this object
|
1295
|
+
def update!(**args)
|
1296
|
+
@background_color = args[:background_color] if args.key?(:background_color)
|
1297
|
+
@description = args[:description] if args.key?(:description)
|
1298
|
+
end
|
1299
|
+
end
|
1300
|
+
|
1301
|
+
# A User List criterion. Represents a user list that is defined by the
|
1302
|
+
# advertiser to be targeted.
|
1303
|
+
class GoogleAdsSearchads360V0CommonUserListInfo
|
1304
|
+
include Google::Apis::Core::Hashable
|
1305
|
+
|
1306
|
+
# The User List resource name.
|
1307
|
+
# Corresponds to the JSON property `userList`
|
1308
|
+
# @return [String]
|
1309
|
+
attr_accessor :user_list
|
1310
|
+
|
1311
|
+
def initialize(**args)
|
1312
|
+
update!(**args)
|
1313
|
+
end
|
1314
|
+
|
1315
|
+
# Update properties of this object
|
1316
|
+
def update!(**args)
|
1317
|
+
@user_list = args[:user_list] if args.key?(:user_list)
|
1318
|
+
end
|
1319
|
+
end
|
1320
|
+
|
1213
1321
|
# A generic data container.
|
1214
1322
|
class GoogleAdsSearchads360V0CommonValue
|
1215
1323
|
include Google::Apis::Core::Hashable
|
@@ -1917,6 +2025,59 @@ module Google
|
|
1917
2025
|
end
|
1918
2026
|
end
|
1919
2027
|
|
2028
|
+
# An ad.
|
2029
|
+
class GoogleAdsSearchads360V0ResourcesAd
|
2030
|
+
include Google::Apis::Core::Hashable
|
2031
|
+
|
2032
|
+
# The URL that appears in the ad description for some ad formats.
|
2033
|
+
# Corresponds to the JSON property `displayUrl`
|
2034
|
+
# @return [String]
|
2035
|
+
attr_accessor :display_url
|
2036
|
+
|
2037
|
+
# The list of possible final URLs after all cross-domain redirects for the ad.
|
2038
|
+
# Corresponds to the JSON property `finalUrls`
|
2039
|
+
# @return [Array<String>]
|
2040
|
+
attr_accessor :final_urls
|
2041
|
+
|
2042
|
+
# Output only. The ID of the ad.
|
2043
|
+
# Corresponds to the JSON property `id`
|
2044
|
+
# @return [Fixnum]
|
2045
|
+
attr_accessor :id
|
2046
|
+
|
2047
|
+
# Immutable. The name of the ad. This is only used to be able to identify the ad.
|
2048
|
+
# It does not need to be unique and does not affect the served ad. The name
|
2049
|
+
# field is currently only supported for DisplayUploadAd, ImageAd,
|
2050
|
+
# ShoppingComparisonListingAd and VideoAd.
|
2051
|
+
# Corresponds to the JSON property `name`
|
2052
|
+
# @return [String]
|
2053
|
+
attr_accessor :name
|
2054
|
+
|
2055
|
+
# Immutable. The resource name of the ad. Ad resource names have the form: `
|
2056
|
+
# customers/`customer_id`/ads/`ad_id``
|
2057
|
+
# Corresponds to the JSON property `resourceName`
|
2058
|
+
# @return [String]
|
2059
|
+
attr_accessor :resource_name
|
2060
|
+
|
2061
|
+
# Output only. The type of ad.
|
2062
|
+
# Corresponds to the JSON property `type`
|
2063
|
+
# @return [String]
|
2064
|
+
attr_accessor :type
|
2065
|
+
|
2066
|
+
def initialize(**args)
|
2067
|
+
update!(**args)
|
2068
|
+
end
|
2069
|
+
|
2070
|
+
# Update properties of this object
|
2071
|
+
def update!(**args)
|
2072
|
+
@display_url = args[:display_url] if args.key?(:display_url)
|
2073
|
+
@final_urls = args[:final_urls] if args.key?(:final_urls)
|
2074
|
+
@id = args[:id] if args.key?(:id)
|
2075
|
+
@name = args[:name] if args.key?(:name)
|
2076
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
2077
|
+
@type = args[:type] if args.key?(:type)
|
2078
|
+
end
|
2079
|
+
end
|
2080
|
+
|
1920
2081
|
# An ad group.
|
1921
2082
|
class GoogleAdsSearchads360V0ResourcesAdGroup
|
1922
2083
|
include Google::Apis::Core::Hashable
|
@@ -1931,11 +2092,57 @@ module Google
|
|
1931
2092
|
# @return [Fixnum]
|
1932
2093
|
attr_accessor :cpc_bid_micros
|
1933
2094
|
|
2095
|
+
# Output only. The timestamp when this ad_group was created. The timestamp is in
|
2096
|
+
# the customer's time zone and in "yyyy-MM-dd HH:mm:ss" format.
|
2097
|
+
# Corresponds to the JSON property `creationTime`
|
2098
|
+
# @return [String]
|
2099
|
+
attr_accessor :creation_time
|
2100
|
+
|
2101
|
+
# Output only. Date when the ad group ends serving ads. By default, the ad group
|
2102
|
+
# ends on the ad group's end date. If this field is set, then the ad group ends
|
2103
|
+
# at the end of the specified date in the customer's time zone. This field is
|
2104
|
+
# only available for Microsoft Advertising and Facebook gateway accounts. Format:
|
2105
|
+
# YYYY-MM-DD Example: 2019-03-14
|
2106
|
+
# Corresponds to the JSON property `endDate`
|
2107
|
+
# @return [String]
|
2108
|
+
attr_accessor :end_date
|
2109
|
+
|
2110
|
+
# Output only. ID of the ad group in the external engine account. This field is
|
2111
|
+
# for non-Google Ads account only, for example, Yahoo Japan, Microsoft, Baidu
|
2112
|
+
# etc. For Google Ads entity, use "ad_group.id" instead.
|
2113
|
+
# Corresponds to the JSON property `engineId`
|
2114
|
+
# @return [String]
|
2115
|
+
attr_accessor :engine_id
|
2116
|
+
|
2117
|
+
# Output only. The Engine Status for ad group.
|
2118
|
+
# Corresponds to the JSON property `engineStatus`
|
2119
|
+
# @return [String]
|
2120
|
+
attr_accessor :engine_status
|
2121
|
+
|
1934
2122
|
# Output only. The ID of the ad group.
|
1935
2123
|
# Corresponds to the JSON property `id`
|
1936
2124
|
# @return [Fixnum]
|
1937
2125
|
attr_accessor :id
|
1938
2126
|
|
2127
|
+
# Output only. The resource names of labels attached to this ad group.
|
2128
|
+
# Corresponds to the JSON property `labels`
|
2129
|
+
# @return [Array<String>]
|
2130
|
+
attr_accessor :labels
|
2131
|
+
|
2132
|
+
# Output only. The language of the ads and keywords in an ad group. This field
|
2133
|
+
# is only available for Microsoft Advertising accounts. More details: https://
|
2134
|
+
# docs.microsoft.com/en-us/advertising/guides/ad-languages?view=bingads-13#
|
2135
|
+
# adlanguage
|
2136
|
+
# Corresponds to the JSON property `languageCode`
|
2137
|
+
# @return [String]
|
2138
|
+
attr_accessor :language_code
|
2139
|
+
|
2140
|
+
# Output only. The datetime when this ad group was last modified. The datetime
|
2141
|
+
# is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format.
|
2142
|
+
# Corresponds to the JSON property `lastModifiedTime`
|
2143
|
+
# @return [String]
|
2144
|
+
attr_accessor :last_modified_time
|
2145
|
+
|
1939
2146
|
# The name of the ad group. This field is required and should not be empty when
|
1940
2147
|
# creating new ad groups. It must contain fewer than 255 UTF-8 full-width
|
1941
2148
|
# characters. It must not contain any null (code point 0x0), NL line feed (code
|
@@ -1950,11 +2157,28 @@ module Google
|
|
1950
2157
|
# @return [String]
|
1951
2158
|
attr_accessor :resource_name
|
1952
2159
|
|
2160
|
+
# Output only. Date when this ad group starts serving ads. By default, the ad
|
2161
|
+
# group starts now or the ad group's start date, whichever is later. If this
|
2162
|
+
# field is set, then the ad group starts at the beginning of the specified date
|
2163
|
+
# in the customer's time zone. This field is only available for Microsoft
|
2164
|
+
# Advertising and Facebook gateway accounts. Format: YYYY-MM-DD Example: 2019-03-
|
2165
|
+
# 14
|
2166
|
+
# Corresponds to the JSON property `startDate`
|
2167
|
+
# @return [String]
|
2168
|
+
attr_accessor :start_date
|
2169
|
+
|
1953
2170
|
# The status of the ad group.
|
1954
2171
|
# Corresponds to the JSON property `status`
|
1955
2172
|
# @return [String]
|
1956
2173
|
attr_accessor :status
|
1957
2174
|
|
2175
|
+
# Settings for the targeting-related features, at the campaign and ad group
|
2176
|
+
# levels. For more details about the targeting setting, visit https://support.
|
2177
|
+
# google.com/google-ads/answer/7365594
|
2178
|
+
# Corresponds to the JSON property `targetingSetting`
|
2179
|
+
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonTargetingSetting]
|
2180
|
+
attr_accessor :targeting_setting
|
2181
|
+
|
1958
2182
|
# Immutable. The type of the ad group.
|
1959
2183
|
# Corresponds to the JSON property `type`
|
1960
2184
|
# @return [String]
|
@@ -1968,14 +2192,148 @@ module Google
|
|
1968
2192
|
def update!(**args)
|
1969
2193
|
@ad_rotation_mode = args[:ad_rotation_mode] if args.key?(:ad_rotation_mode)
|
1970
2194
|
@cpc_bid_micros = args[:cpc_bid_micros] if args.key?(:cpc_bid_micros)
|
2195
|
+
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
2196
|
+
@end_date = args[:end_date] if args.key?(:end_date)
|
2197
|
+
@engine_id = args[:engine_id] if args.key?(:engine_id)
|
2198
|
+
@engine_status = args[:engine_status] if args.key?(:engine_status)
|
1971
2199
|
@id = args[:id] if args.key?(:id)
|
2200
|
+
@labels = args[:labels] if args.key?(:labels)
|
2201
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
2202
|
+
@last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
|
1972
2203
|
@name = args[:name] if args.key?(:name)
|
1973
2204
|
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
2205
|
+
@start_date = args[:start_date] if args.key?(:start_date)
|
1974
2206
|
@status = args[:status] if args.key?(:status)
|
2207
|
+
@targeting_setting = args[:targeting_setting] if args.key?(:targeting_setting)
|
1975
2208
|
@type = args[:type] if args.key?(:type)
|
1976
2209
|
end
|
1977
2210
|
end
|
1978
2211
|
|
2212
|
+
# An ad group ad.
|
2213
|
+
class GoogleAdsSearchads360V0ResourcesAdGroupAd
|
2214
|
+
include Google::Apis::Core::Hashable
|
2215
|
+
|
2216
|
+
# An ad.
|
2217
|
+
# Corresponds to the JSON property `ad`
|
2218
|
+
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAd]
|
2219
|
+
attr_accessor :ad
|
2220
|
+
|
2221
|
+
# Output only. The timestamp when this ad_group_ad was created. The datetime is
|
2222
|
+
# in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format.
|
2223
|
+
# Corresponds to the JSON property `creationTime`
|
2224
|
+
# @return [String]
|
2225
|
+
attr_accessor :creation_time
|
2226
|
+
|
2227
|
+
# Output only. ID of the ad in the external engine account. This field is for
|
2228
|
+
# SearchAds 360 account only, for example, Yahoo Japan, Microsoft, Baidu etc.
|
2229
|
+
# For non-SearchAds 360 entity, use "ad_group_ad.ad.id" instead.
|
2230
|
+
# Corresponds to the JSON property `engineId`
|
2231
|
+
# @return [String]
|
2232
|
+
attr_accessor :engine_id
|
2233
|
+
|
2234
|
+
# Output only. Additional status of the ad in the external engine account.
|
2235
|
+
# Possible statuses (depending on the type of external account) include active,
|
2236
|
+
# eligible, pending review, etc.
|
2237
|
+
# Corresponds to the JSON property `engineStatus`
|
2238
|
+
# @return [String]
|
2239
|
+
attr_accessor :engine_status
|
2240
|
+
|
2241
|
+
# Output only. The resource names of labels attached to this ad group ad.
|
2242
|
+
# Corresponds to the JSON property `labels`
|
2243
|
+
# @return [Array<String>]
|
2244
|
+
attr_accessor :labels
|
2245
|
+
|
2246
|
+
# Output only. The datetime when this ad group ad was last modified. The
|
2247
|
+
# datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss"
|
2248
|
+
# format.
|
2249
|
+
# Corresponds to the JSON property `lastModifiedTime`
|
2250
|
+
# @return [String]
|
2251
|
+
attr_accessor :last_modified_time
|
2252
|
+
|
2253
|
+
# Immutable. The resource name of the ad. Ad group ad resource names have the
|
2254
|
+
# form: `customers/`customer_id`/adGroupAds/`ad_group_id`~`ad_id``
|
2255
|
+
# Corresponds to the JSON property `resourceName`
|
2256
|
+
# @return [String]
|
2257
|
+
attr_accessor :resource_name
|
2258
|
+
|
2259
|
+
# The status of the ad.
|
2260
|
+
# Corresponds to the JSON property `status`
|
2261
|
+
# @return [String]
|
2262
|
+
attr_accessor :status
|
2263
|
+
|
2264
|
+
def initialize(**args)
|
2265
|
+
update!(**args)
|
2266
|
+
end
|
2267
|
+
|
2268
|
+
# Update properties of this object
|
2269
|
+
def update!(**args)
|
2270
|
+
@ad = args[:ad] if args.key?(:ad)
|
2271
|
+
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
2272
|
+
@engine_id = args[:engine_id] if args.key?(:engine_id)
|
2273
|
+
@engine_status = args[:engine_status] if args.key?(:engine_status)
|
2274
|
+
@labels = args[:labels] if args.key?(:labels)
|
2275
|
+
@last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
|
2276
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
2277
|
+
@status = args[:status] if args.key?(:status)
|
2278
|
+
end
|
2279
|
+
end
|
2280
|
+
|
2281
|
+
# A relationship between an ad group ad and a label.
|
2282
|
+
class GoogleAdsSearchads360V0ResourcesAdGroupAdLabel
|
2283
|
+
include Google::Apis::Core::Hashable
|
2284
|
+
|
2285
|
+
# Immutable. The ad group ad to which the label is attached.
|
2286
|
+
# Corresponds to the JSON property `adGroupAd`
|
2287
|
+
# @return [String]
|
2288
|
+
attr_accessor :ad_group_ad
|
2289
|
+
|
2290
|
+
# Immutable. The label assigned to the ad group ad.
|
2291
|
+
# Corresponds to the JSON property `label`
|
2292
|
+
# @return [String]
|
2293
|
+
attr_accessor :label
|
2294
|
+
|
2295
|
+
# Immutable. The resource name of the ad group ad label. Ad group ad label
|
2296
|
+
# resource names have the form: `customers/`customer_id`/adGroupAdLabels/`
|
2297
|
+
# ad_group_id`~`ad_id`~`label_id``
|
2298
|
+
# Corresponds to the JSON property `resourceName`
|
2299
|
+
# @return [String]
|
2300
|
+
attr_accessor :resource_name
|
2301
|
+
|
2302
|
+
def initialize(**args)
|
2303
|
+
update!(**args)
|
2304
|
+
end
|
2305
|
+
|
2306
|
+
# Update properties of this object
|
2307
|
+
def update!(**args)
|
2308
|
+
@ad_group_ad = args[:ad_group_ad] if args.key?(:ad_group_ad)
|
2309
|
+
@label = args[:label] if args.key?(:label)
|
2310
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
2311
|
+
end
|
2312
|
+
end
|
2313
|
+
|
2314
|
+
# An ad group audience view. Includes performance data from interests and
|
2315
|
+
# remarketing lists for Display Network and YouTube Network ads, and remarketing
|
2316
|
+
# lists for search ads (RLSA), aggregated at the audience level.
|
2317
|
+
class GoogleAdsSearchads360V0ResourcesAdGroupAudienceView
|
2318
|
+
include Google::Apis::Core::Hashable
|
2319
|
+
|
2320
|
+
# Output only. The resource name of the ad group audience view. Ad group
|
2321
|
+
# audience view resource names have the form: `customers/`customer_id`/
|
2322
|
+
# adGroupAudienceViews/`ad_group_id`~`criterion_id``
|
2323
|
+
# Corresponds to the JSON property `resourceName`
|
2324
|
+
# @return [String]
|
2325
|
+
attr_accessor :resource_name
|
2326
|
+
|
2327
|
+
def initialize(**args)
|
2328
|
+
update!(**args)
|
2329
|
+
end
|
2330
|
+
|
2331
|
+
# Update properties of this object
|
2332
|
+
def update!(**args)
|
2333
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
2334
|
+
end
|
2335
|
+
end
|
2336
|
+
|
1979
2337
|
# Represents an ad group bid modifier.
|
1980
2338
|
class GoogleAdsSearchads360V0ResourcesAdGroupBidModifier
|
1981
2339
|
include Google::Apis::Core::Hashable
|
@@ -1987,6 +2345,11 @@ module Google
|
|
1987
2345
|
# @return [Float]
|
1988
2346
|
attr_accessor :bid_modifier
|
1989
2347
|
|
2348
|
+
# A device criterion.
|
2349
|
+
# Corresponds to the JSON property `device`
|
2350
|
+
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonDeviceInfo]
|
2351
|
+
attr_accessor :device
|
2352
|
+
|
1990
2353
|
# Immutable. The resource name of the ad group bid modifier. Ad group bid
|
1991
2354
|
# modifier resource names have the form: `customers/`customer_id`/
|
1992
2355
|
# adGroupBidModifiers/`ad_group_id`~`criterion_id``
|
@@ -2001,6 +2364,7 @@ module Google
|
|
2001
2364
|
# Update properties of this object
|
2002
2365
|
def update!(**args)
|
2003
2366
|
@bid_modifier = args[:bid_modifier] if args.key?(:bid_modifier)
|
2367
|
+
@device = args[:device] if args.key?(:device)
|
2004
2368
|
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
2005
2369
|
end
|
2006
2370
|
end
|
@@ -2030,6 +2394,12 @@ module Google
|
|
2030
2394
|
# @return [Fixnum]
|
2031
2395
|
attr_accessor :cpc_bid_micros
|
2032
2396
|
|
2397
|
+
# Output only. The timestamp when this ad group criterion was created. The
|
2398
|
+
# timestamp is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss" format.
|
2399
|
+
# Corresponds to the JSON property `creationTime`
|
2400
|
+
# @return [String]
|
2401
|
+
attr_accessor :creation_time
|
2402
|
+
|
2033
2403
|
# Output only. The ID of the criterion.
|
2034
2404
|
# Corresponds to the JSON property `criterionId`
|
2035
2405
|
# @return [Fixnum]
|
@@ -2040,6 +2410,14 @@ module Google
|
|
2040
2410
|
# @return [Fixnum]
|
2041
2411
|
attr_accessor :effective_cpc_bid_micros
|
2042
2412
|
|
2413
|
+
# Output only. ID of the ad group criterion in the external engine account. This
|
2414
|
+
# field is for non-Google Ads account only, for example, Yahoo Japan, Microsoft,
|
2415
|
+
# Baidu etc. For Google Ads entity, use "ad_group_criterion.criterion_id"
|
2416
|
+
# instead.
|
2417
|
+
# Corresponds to the JSON property `engineId`
|
2418
|
+
# @return [String]
|
2419
|
+
attr_accessor :engine_id
|
2420
|
+
|
2043
2421
|
# Output only. The Engine Status for ad group criterion.
|
2044
2422
|
# Corresponds to the JSON property `engineStatus`
|
2045
2423
|
# @return [String]
|
@@ -2065,6 +2443,11 @@ module Google
|
|
2065
2443
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonKeywordInfo]
|
2066
2444
|
attr_accessor :keyword
|
2067
2445
|
|
2446
|
+
# Output only. The resource names of labels attached to this ad group criterion.
|
2447
|
+
# Corresponds to the JSON property `labels`
|
2448
|
+
# @return [Array<String>]
|
2449
|
+
attr_accessor :labels
|
2450
|
+
|
2068
2451
|
# Output only. The datetime when this ad group criterion was last modified. The
|
2069
2452
|
# datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss"
|
2070
2453
|
# format.
|
@@ -2077,6 +2460,19 @@ module Google
|
|
2077
2460
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonListingGroupInfo]
|
2078
2461
|
attr_accessor :listing_group
|
2079
2462
|
|
2463
|
+
# A location criterion.
|
2464
|
+
# Corresponds to the JSON property `location`
|
2465
|
+
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonLocationInfo]
|
2466
|
+
attr_accessor :location
|
2467
|
+
|
2468
|
+
# Immutable. Whether to target (`false`) or exclude (`true`) the criterion. This
|
2469
|
+
# field is immutable. To switch a criterion from positive to negative, remove
|
2470
|
+
# then re-add it.
|
2471
|
+
# Corresponds to the JSON property `negative`
|
2472
|
+
# @return [Boolean]
|
2473
|
+
attr_accessor :negative
|
2474
|
+
alias_method :negative?, :negative
|
2475
|
+
|
2080
2476
|
# A container for ad group criterion quality information.
|
2081
2477
|
# Corresponds to the JSON property `qualityInfo`
|
2082
2478
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAdGroupCriterionQualityInfo]
|
@@ -2111,6 +2507,12 @@ module Google
|
|
2111
2507
|
# @return [String]
|
2112
2508
|
attr_accessor :type
|
2113
2509
|
|
2510
|
+
# A User List criterion. Represents a user list that is defined by the
|
2511
|
+
# advertiser to be targeted.
|
2512
|
+
# Corresponds to the JSON property `userList`
|
2513
|
+
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonUserListInfo]
|
2514
|
+
attr_accessor :user_list
|
2515
|
+
|
2114
2516
|
# Represents a criterion for targeting webpages of an advertiser's website.
|
2115
2517
|
# Corresponds to the JSON property `webpage`
|
2116
2518
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonWebpageInfo]
|
@@ -2122,25 +2524,118 @@ module Google
|
|
2122
2524
|
|
2123
2525
|
# Update properties of this object
|
2124
2526
|
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
|
-
@
|
2130
|
-
@
|
2131
|
-
@
|
2132
|
-
@
|
2133
|
-
@
|
2134
|
-
@
|
2135
|
-
@
|
2136
|
-
@
|
2137
|
-
@
|
2138
|
-
@
|
2527
|
+
@ad_group = args[:ad_group] if args.key?(:ad_group)
|
2528
|
+
@age_range = args[:age_range] if args.key?(:age_range)
|
2529
|
+
@bid_modifier = args[:bid_modifier] if args.key?(:bid_modifier)
|
2530
|
+
@cpc_bid_micros = args[:cpc_bid_micros] if args.key?(:cpc_bid_micros)
|
2531
|
+
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
2532
|
+
@criterion_id = args[:criterion_id] if args.key?(:criterion_id)
|
2533
|
+
@effective_cpc_bid_micros = args[:effective_cpc_bid_micros] if args.key?(:effective_cpc_bid_micros)
|
2534
|
+
@engine_id = args[:engine_id] if args.key?(:engine_id)
|
2535
|
+
@engine_status = args[:engine_status] if args.key?(:engine_status)
|
2536
|
+
@final_url_suffix = args[:final_url_suffix] if args.key?(:final_url_suffix)
|
2537
|
+
@final_urls = args[:final_urls] if args.key?(:final_urls)
|
2538
|
+
@gender = args[:gender] if args.key?(:gender)
|
2539
|
+
@keyword = args[:keyword] if args.key?(:keyword)
|
2540
|
+
@labels = args[:labels] if args.key?(:labels)
|
2541
|
+
@last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
|
2542
|
+
@listing_group = args[:listing_group] if args.key?(:listing_group)
|
2543
|
+
@location = args[:location] if args.key?(:location)
|
2544
|
+
@negative = args[:negative] if args.key?(:negative)
|
2545
|
+
@quality_info = args[:quality_info] if args.key?(:quality_info)
|
2546
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
2547
|
+
@status = args[:status] if args.key?(:status)
|
2548
|
+
@tracking_url_template = args[:tracking_url_template] if args.key?(:tracking_url_template)
|
2549
|
+
@type = args[:type] if args.key?(:type)
|
2550
|
+
@user_list = args[:user_list] if args.key?(:user_list)
|
2551
|
+
@webpage = args[:webpage] if args.key?(:webpage)
|
2552
|
+
end
|
2553
|
+
end
|
2554
|
+
|
2555
|
+
# A relationship between an ad group criterion and a label.
|
2556
|
+
class GoogleAdsSearchads360V0ResourcesAdGroupCriterionLabel
|
2557
|
+
include Google::Apis::Core::Hashable
|
2558
|
+
|
2559
|
+
# Immutable. The ad group criterion to which the label is attached.
|
2560
|
+
# Corresponds to the JSON property `adGroupCriterion`
|
2561
|
+
# @return [String]
|
2562
|
+
attr_accessor :ad_group_criterion
|
2563
|
+
|
2564
|
+
# Immutable. The label assigned to the ad group criterion.
|
2565
|
+
# Corresponds to the JSON property `label`
|
2566
|
+
# @return [String]
|
2567
|
+
attr_accessor :label
|
2568
|
+
|
2569
|
+
# Immutable. The resource name of the ad group criterion label. Ad group
|
2570
|
+
# criterion label resource names have the form: `customers/`customer_id`/
|
2571
|
+
# adGroupCriterionLabels/`ad_group_id`~`criterion_id`~`label_id``
|
2572
|
+
# Corresponds to the JSON property `resourceName`
|
2573
|
+
# @return [String]
|
2574
|
+
attr_accessor :resource_name
|
2575
|
+
|
2576
|
+
def initialize(**args)
|
2577
|
+
update!(**args)
|
2578
|
+
end
|
2579
|
+
|
2580
|
+
# Update properties of this object
|
2581
|
+
def update!(**args)
|
2582
|
+
@ad_group_criterion = args[:ad_group_criterion] if args.key?(:ad_group_criterion)
|
2583
|
+
@label = args[:label] if args.key?(:label)
|
2584
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
2585
|
+
end
|
2586
|
+
end
|
2587
|
+
|
2588
|
+
# A relationship between an ad group and a label.
|
2589
|
+
class GoogleAdsSearchads360V0ResourcesAdGroupLabel
|
2590
|
+
include Google::Apis::Core::Hashable
|
2591
|
+
|
2592
|
+
# Immutable. The ad group to which the label is attached.
|
2593
|
+
# Corresponds to the JSON property `adGroup`
|
2594
|
+
# @return [String]
|
2595
|
+
attr_accessor :ad_group
|
2596
|
+
|
2597
|
+
# Immutable. The label assigned to the ad group.
|
2598
|
+
# Corresponds to the JSON property `label`
|
2599
|
+
# @return [String]
|
2600
|
+
attr_accessor :label
|
2601
|
+
|
2602
|
+
# Immutable. The resource name of the ad group label. Ad group label resource
|
2603
|
+
# names have the form: `customers/`customer_id`/adGroupLabels/`ad_group_id`~`
|
2604
|
+
# label_id``
|
2605
|
+
# Corresponds to the JSON property `resourceName`
|
2606
|
+
# @return [String]
|
2607
|
+
attr_accessor :resource_name
|
2608
|
+
|
2609
|
+
def initialize(**args)
|
2610
|
+
update!(**args)
|
2611
|
+
end
|
2612
|
+
|
2613
|
+
# Update properties of this object
|
2614
|
+
def update!(**args)
|
2615
|
+
@ad_group = args[:ad_group] if args.key?(:ad_group)
|
2616
|
+
@label = args[:label] if args.key?(:label)
|
2617
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
2618
|
+
end
|
2619
|
+
end
|
2620
|
+
|
2621
|
+
# An age range view.
|
2622
|
+
class GoogleAdsSearchads360V0ResourcesAgeRangeView
|
2623
|
+
include Google::Apis::Core::Hashable
|
2624
|
+
|
2625
|
+
# Output only. The resource name of the age range view. Age range view resource
|
2626
|
+
# names have the form: `customers/`customer_id`/ageRangeViews/`ad_group_id`~`
|
2627
|
+
# criterion_id``
|
2628
|
+
# Corresponds to the JSON property `resourceName`
|
2629
|
+
# @return [String]
|
2630
|
+
attr_accessor :resource_name
|
2631
|
+
|
2632
|
+
def initialize(**args)
|
2633
|
+
update!(**args)
|
2634
|
+
end
|
2635
|
+
|
2636
|
+
# Update properties of this object
|
2637
|
+
def update!(**args)
|
2139
2638
|
@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
2639
|
end
|
2145
2640
|
end
|
2146
2641
|
|
@@ -2334,11 +2829,19 @@ module Google
|
|
2334
2829
|
# @return [String]
|
2335
2830
|
attr_accessor :campaign_budget
|
2336
2831
|
|
2337
|
-
# Output only.
|
2832
|
+
# Output only. The timestamp when this campaign was created. The timestamp is in
|
2833
|
+
# the customer's time zone and in "yyyy-MM-dd HH:mm:ss" format. create_time will
|
2834
|
+
# be deprecated in v1. Use creation_time instead.
|
2338
2835
|
# Corresponds to the JSON property `createTime`
|
2339
2836
|
# @return [String]
|
2340
2837
|
attr_accessor :create_time
|
2341
2838
|
|
2839
|
+
# Output only. The timestamp when this campaign was created. The timestamp is in
|
2840
|
+
# the customer's time zone and in "yyyy-MM-dd HH:mm:ss" format.
|
2841
|
+
# Corresponds to the JSON property `creationTime`
|
2842
|
+
# @return [String]
|
2843
|
+
attr_accessor :creation_time
|
2844
|
+
|
2342
2845
|
# The setting for controlling Dynamic Search Ads (DSA).
|
2343
2846
|
# Corresponds to the JSON property `dynamicSearchAdsSetting`
|
2344
2847
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCampaignDynamicSearchAdsSetting]
|
@@ -2562,6 +3065,7 @@ module Google
|
|
2562
3065
|
@bidding_strategy_type = args[:bidding_strategy_type] if args.key?(:bidding_strategy_type)
|
2563
3066
|
@campaign_budget = args[:campaign_budget] if args.key?(:campaign_budget)
|
2564
3067
|
@create_time = args[:create_time] if args.key?(:create_time)
|
3068
|
+
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
2565
3069
|
@dynamic_search_ads_setting = args[:dynamic_search_ads_setting] if args.key?(:dynamic_search_ads_setting)
|
2566
3070
|
@end_date = args[:end_date] if args.key?(:end_date)
|
2567
3071
|
@engine_id = args[:engine_id] if args.key?(:engine_id)
|
@@ -2600,6 +3104,30 @@ module Google
|
|
2600
3104
|
end
|
2601
3105
|
end
|
2602
3106
|
|
3107
|
+
# A campaign audience view. Includes performance data from interests and
|
3108
|
+
# remarketing lists for Display Network and YouTube Network ads, and remarketing
|
3109
|
+
# lists for search ads (RLSA), aggregated by campaign and audience criterion.
|
3110
|
+
# This view only includes audiences attached at the campaign level.
|
3111
|
+
class GoogleAdsSearchads360V0ResourcesCampaignAudienceView
|
3112
|
+
include Google::Apis::Core::Hashable
|
3113
|
+
|
3114
|
+
# Output only. The resource name of the campaign audience view. Campaign
|
3115
|
+
# audience view resource names have the form: `customers/`customer_id`/
|
3116
|
+
# campaignAudienceViews/`campaign_id`~`criterion_id``
|
3117
|
+
# Corresponds to the JSON property `resourceName`
|
3118
|
+
# @return [String]
|
3119
|
+
attr_accessor :resource_name
|
3120
|
+
|
3121
|
+
def initialize(**args)
|
3122
|
+
update!(**args)
|
3123
|
+
end
|
3124
|
+
|
3125
|
+
# Update properties of this object
|
3126
|
+
def update!(**args)
|
3127
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
3128
|
+
end
|
3129
|
+
end
|
3130
|
+
|
2603
3131
|
# A campaign budget.
|
2604
3132
|
class GoogleAdsSearchads360V0ResourcesCampaignBudget
|
2605
3133
|
include Google::Apis::Core::Hashable
|
@@ -2647,6 +3175,11 @@ module Google
|
|
2647
3175
|
class GoogleAdsSearchads360V0ResourcesCampaignCriterion
|
2648
3176
|
include Google::Apis::Core::Hashable
|
2649
3177
|
|
3178
|
+
# An age range criterion.
|
3179
|
+
# Corresponds to the JSON property `ageRange`
|
3180
|
+
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonAgeRangeInfo]
|
3181
|
+
attr_accessor :age_range
|
3182
|
+
|
2650
3183
|
# The modifier for the bids when the criterion matches. The modifier must be in
|
2651
3184
|
# the range: 0.1 - 10.0. Most targetable criteria types support modifiers. Use 0
|
2652
3185
|
# to opt out of a Device type.
|
@@ -2670,11 +3203,28 @@ module Google
|
|
2670
3203
|
# @return [String]
|
2671
3204
|
attr_accessor :display_name
|
2672
3205
|
|
3206
|
+
# A gender criterion.
|
3207
|
+
# Corresponds to the JSON property `gender`
|
3208
|
+
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonGenderInfo]
|
3209
|
+
attr_accessor :gender
|
3210
|
+
|
3211
|
+
# A keyword criterion.
|
3212
|
+
# Corresponds to the JSON property `keyword`
|
3213
|
+
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonKeywordInfo]
|
3214
|
+
attr_accessor :keyword
|
3215
|
+
|
2673
3216
|
# A language criterion.
|
2674
3217
|
# Corresponds to the JSON property `language`
|
2675
3218
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonLanguageInfo]
|
2676
3219
|
attr_accessor :language
|
2677
3220
|
|
3221
|
+
# Output only. The datetime when this campaign criterion was last modified. The
|
3222
|
+
# datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss"
|
3223
|
+
# format.
|
3224
|
+
# Corresponds to the JSON property `lastModifiedTime`
|
3225
|
+
# @return [String]
|
3226
|
+
attr_accessor :last_modified_time
|
3227
|
+
|
2678
3228
|
# A location criterion.
|
2679
3229
|
# Corresponds to the JSON property `location`
|
2680
3230
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonLocationInfo]
|
@@ -2698,27 +3248,82 @@ module Google
|
|
2698
3248
|
# @return [String]
|
2699
3249
|
attr_accessor :resource_name
|
2700
3250
|
|
3251
|
+
# The status of the criterion.
|
3252
|
+
# Corresponds to the JSON property `status`
|
3253
|
+
# @return [String]
|
3254
|
+
attr_accessor :status
|
3255
|
+
|
2701
3256
|
# Output only. The type of the criterion.
|
2702
3257
|
# Corresponds to the JSON property `type`
|
2703
3258
|
# @return [String]
|
2704
3259
|
attr_accessor :type
|
2705
3260
|
|
3261
|
+
# A User List criterion. Represents a user list that is defined by the
|
3262
|
+
# advertiser to be targeted.
|
3263
|
+
# Corresponds to the JSON property `userList`
|
3264
|
+
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonUserListInfo]
|
3265
|
+
attr_accessor :user_list
|
3266
|
+
|
3267
|
+
# Represents a criterion for targeting webpages of an advertiser's website.
|
3268
|
+
# Corresponds to the JSON property `webpage`
|
3269
|
+
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonWebpageInfo]
|
3270
|
+
attr_accessor :webpage
|
3271
|
+
|
2706
3272
|
def initialize(**args)
|
2707
3273
|
update!(**args)
|
2708
3274
|
end
|
2709
3275
|
|
2710
3276
|
# Update properties of this object
|
2711
3277
|
def update!(**args)
|
3278
|
+
@age_range = args[:age_range] if args.key?(:age_range)
|
2712
3279
|
@bid_modifier = args[:bid_modifier] if args.key?(:bid_modifier)
|
2713
3280
|
@criterion_id = args[:criterion_id] if args.key?(:criterion_id)
|
2714
3281
|
@device = args[:device] if args.key?(:device)
|
2715
3282
|
@display_name = args[:display_name] if args.key?(:display_name)
|
3283
|
+
@gender = args[:gender] if args.key?(:gender)
|
3284
|
+
@keyword = args[:keyword] if args.key?(:keyword)
|
2716
3285
|
@language = args[:language] if args.key?(:language)
|
3286
|
+
@last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
|
2717
3287
|
@location = args[:location] if args.key?(:location)
|
2718
3288
|
@location_group = args[:location_group] if args.key?(:location_group)
|
2719
3289
|
@negative = args[:negative] if args.key?(:negative)
|
2720
3290
|
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
3291
|
+
@status = args[:status] if args.key?(:status)
|
2721
3292
|
@type = args[:type] if args.key?(:type)
|
3293
|
+
@user_list = args[:user_list] if args.key?(:user_list)
|
3294
|
+
@webpage = args[:webpage] if args.key?(:webpage)
|
3295
|
+
end
|
3296
|
+
end
|
3297
|
+
|
3298
|
+
# Represents a relationship between a campaign and a label.
|
3299
|
+
class GoogleAdsSearchads360V0ResourcesCampaignLabel
|
3300
|
+
include Google::Apis::Core::Hashable
|
3301
|
+
|
3302
|
+
# Immutable. The campaign to which the label is attached.
|
3303
|
+
# Corresponds to the JSON property `campaign`
|
3304
|
+
# @return [String]
|
3305
|
+
attr_accessor :campaign
|
3306
|
+
|
3307
|
+
# Immutable. The label assigned to the campaign.
|
3308
|
+
# Corresponds to the JSON property `label`
|
3309
|
+
# @return [String]
|
3310
|
+
attr_accessor :label
|
3311
|
+
|
3312
|
+
# Immutable. Name of the resource. Campaign label resource names have the form: `
|
3313
|
+
# customers/`customer_id`/campaignLabels/`campaign_id`~`label_id``
|
3314
|
+
# Corresponds to the JSON property `resourceName`
|
3315
|
+
# @return [String]
|
3316
|
+
attr_accessor :resource_name
|
3317
|
+
|
3318
|
+
def initialize(**args)
|
3319
|
+
update!(**args)
|
3320
|
+
end
|
3321
|
+
|
3322
|
+
# Update properties of this object
|
3323
|
+
def update!(**args)
|
3324
|
+
@campaign = args[:campaign] if args.key?(:campaign)
|
3325
|
+
@label = args[:label] if args.key?(:label)
|
3326
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
2722
3327
|
end
|
2723
3328
|
end
|
2724
3329
|
|
@@ -3027,6 +3632,12 @@ module Google
|
|
3027
3632
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesConversionTrackingSetting]
|
3028
3633
|
attr_accessor :conversion_tracking_setting
|
3029
3634
|
|
3635
|
+
# Output only. The timestamp when this customer was created. The timestamp is in
|
3636
|
+
# the customer's time zone and in "yyyy-MM-dd HH:mm:ss" format.
|
3637
|
+
# Corresponds to the JSON property `creationTime`
|
3638
|
+
# @return [String]
|
3639
|
+
attr_accessor :creation_time
|
3640
|
+
|
3030
3641
|
# Immutable. The currency in which the account operates. A subset of the
|
3031
3642
|
# currency codes from the ISO 4217 standard is supported.
|
3032
3643
|
# Corresponds to the JSON property `currencyCode`
|
@@ -3048,7 +3659,7 @@ module Google
|
|
3048
3659
|
# @return [String]
|
3049
3660
|
attr_accessor :engine_id
|
3050
3661
|
|
3051
|
-
# The URL template for appending params to the final URL
|
3662
|
+
# The URL template for appending params to the final URL.
|
3052
3663
|
# Corresponds to the JSON property `finalUrlSuffix`
|
3053
3664
|
# @return [String]
|
3054
3665
|
attr_accessor :final_url_suffix
|
@@ -3101,6 +3712,7 @@ module Google
|
|
3101
3712
|
@account_type = args[:account_type] if args.key?(:account_type)
|
3102
3713
|
@auto_tagging_enabled = args[:auto_tagging_enabled] if args.key?(:auto_tagging_enabled)
|
3103
3714
|
@conversion_tracking_setting = args[:conversion_tracking_setting] if args.key?(:conversion_tracking_setting)
|
3715
|
+
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
3104
3716
|
@currency_code = args[:currency_code] if args.key?(:currency_code)
|
3105
3717
|
@descriptive_name = args[:descriptive_name] if args.key?(:descriptive_name)
|
3106
3718
|
@double_click_campaign_manager_setting = args[:double_click_campaign_manager_setting] if args.key?(:double_click_campaign_manager_setting)
|
@@ -3286,6 +3898,57 @@ module Google
|
|
3286
3898
|
end
|
3287
3899
|
end
|
3288
3900
|
|
3901
|
+
# A dynamic search ads search term view.
|
3902
|
+
class GoogleAdsSearchads360V0ResourcesDynamicSearchAdsSearchTermView
|
3903
|
+
include Google::Apis::Core::Hashable
|
3904
|
+
|
3905
|
+
# Output only. The dynamically selected landing page URL of the impression. This
|
3906
|
+
# field is read-only.
|
3907
|
+
# Corresponds to the JSON property `landingPage`
|
3908
|
+
# @return [String]
|
3909
|
+
attr_accessor :landing_page
|
3910
|
+
|
3911
|
+
# Output only. The resource name of the dynamic search ads search term view.
|
3912
|
+
# Dynamic search ads search term view resource names have the form: `customers/`
|
3913
|
+
# customer_id`/dynamicSearchAdsSearchTermViews/`ad_group_id`~`
|
3914
|
+
# search_term_fingerprint`~`headline_fingerprint`~`landing_page_fingerprint`~`
|
3915
|
+
# page_url_fingerprint``
|
3916
|
+
# Corresponds to the JSON property `resourceName`
|
3917
|
+
# @return [String]
|
3918
|
+
attr_accessor :resource_name
|
3919
|
+
|
3920
|
+
def initialize(**args)
|
3921
|
+
update!(**args)
|
3922
|
+
end
|
3923
|
+
|
3924
|
+
# Update properties of this object
|
3925
|
+
def update!(**args)
|
3926
|
+
@landing_page = args[:landing_page] if args.key?(:landing_page)
|
3927
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
3928
|
+
end
|
3929
|
+
end
|
3930
|
+
|
3931
|
+
# A gender view.
|
3932
|
+
class GoogleAdsSearchads360V0ResourcesGenderView
|
3933
|
+
include Google::Apis::Core::Hashable
|
3934
|
+
|
3935
|
+
# Output only. The resource name of the gender view. Gender view resource names
|
3936
|
+
# have the form: `customers/`customer_id`/genderViews/`ad_group_id`~`
|
3937
|
+
# criterion_id``
|
3938
|
+
# Corresponds to the JSON property `resourceName`
|
3939
|
+
# @return [String]
|
3940
|
+
attr_accessor :resource_name
|
3941
|
+
|
3942
|
+
def initialize(**args)
|
3943
|
+
update!(**args)
|
3944
|
+
end
|
3945
|
+
|
3946
|
+
# Update properties of this object
|
3947
|
+
def update!(**args)
|
3948
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
3949
|
+
end
|
3950
|
+
end
|
3951
|
+
|
3289
3952
|
# A keyword view.
|
3290
3953
|
class GoogleAdsSearchads360V0ResourcesKeywordView
|
3291
3954
|
include Google::Apis::Core::Hashable
|
@@ -3307,6 +3970,73 @@ module Google
|
|
3307
3970
|
end
|
3308
3971
|
end
|
3309
3972
|
|
3973
|
+
# A label.
|
3974
|
+
class GoogleAdsSearchads360V0ResourcesLabel
|
3975
|
+
include Google::Apis::Core::Hashable
|
3976
|
+
|
3977
|
+
# Output only. ID of the label. Read only.
|
3978
|
+
# Corresponds to the JSON property `id`
|
3979
|
+
# @return [Fixnum]
|
3980
|
+
attr_accessor :id
|
3981
|
+
|
3982
|
+
# The name of the label. This field is required and should not be empty when
|
3983
|
+
# creating a new label. The length of this string should be between 1 and 80,
|
3984
|
+
# inclusive.
|
3985
|
+
# Corresponds to the JSON property `name`
|
3986
|
+
# @return [String]
|
3987
|
+
attr_accessor :name
|
3988
|
+
|
3989
|
+
# Immutable. Name of the resource. Label resource names have the form: `
|
3990
|
+
# customers/`customer_id`/labels/`label_id``
|
3991
|
+
# Corresponds to the JSON property `resourceName`
|
3992
|
+
# @return [String]
|
3993
|
+
attr_accessor :resource_name
|
3994
|
+
|
3995
|
+
# Output only. Status of the label. Read only.
|
3996
|
+
# Corresponds to the JSON property `status`
|
3997
|
+
# @return [String]
|
3998
|
+
attr_accessor :status
|
3999
|
+
|
4000
|
+
# A type of label displaying text on a colored background.
|
4001
|
+
# Corresponds to the JSON property `textLabel`
|
4002
|
+
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonTextLabel]
|
4003
|
+
attr_accessor :text_label
|
4004
|
+
|
4005
|
+
def initialize(**args)
|
4006
|
+
update!(**args)
|
4007
|
+
end
|
4008
|
+
|
4009
|
+
# Update properties of this object
|
4010
|
+
def update!(**args)
|
4011
|
+
@id = args[:id] if args.key?(:id)
|
4012
|
+
@name = args[:name] if args.key?(:name)
|
4013
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
4014
|
+
@status = args[:status] if args.key?(:status)
|
4015
|
+
@text_label = args[:text_label] if args.key?(:text_label)
|
4016
|
+
end
|
4017
|
+
end
|
4018
|
+
|
4019
|
+
# A location view summarizes the performance of campaigns by Location criteria.
|
4020
|
+
class GoogleAdsSearchads360V0ResourcesLocationView
|
4021
|
+
include Google::Apis::Core::Hashable
|
4022
|
+
|
4023
|
+
# Output only. The resource name of the location view. Location view resource
|
4024
|
+
# names have the form: `customers/`customer_id`/locationViews/`campaign_id`~`
|
4025
|
+
# criterion_id``
|
4026
|
+
# Corresponds to the JSON property `resourceName`
|
4027
|
+
# @return [String]
|
4028
|
+
attr_accessor :resource_name
|
4029
|
+
|
4030
|
+
def initialize(**args)
|
4031
|
+
update!(**args)
|
4032
|
+
end
|
4033
|
+
|
4034
|
+
# Update properties of this object
|
4035
|
+
def update!(**args)
|
4036
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
4037
|
+
end
|
4038
|
+
end
|
4039
|
+
|
3310
4040
|
# A product group view.
|
3311
4041
|
class GoogleAdsSearchads360V0ResourcesProductGroupView
|
3312
4042
|
include Google::Apis::Core::Hashable
|
@@ -3444,6 +4174,66 @@ module Google
|
|
3444
4174
|
end
|
3445
4175
|
end
|
3446
4176
|
|
4177
|
+
# A user list. This is a list of users a customer may target.
|
4178
|
+
class GoogleAdsSearchads360V0ResourcesUserList
|
4179
|
+
include Google::Apis::Core::Hashable
|
4180
|
+
|
4181
|
+
# Output only. Id of the user list.
|
4182
|
+
# Corresponds to the JSON property `id`
|
4183
|
+
# @return [Fixnum]
|
4184
|
+
attr_accessor :id
|
4185
|
+
|
4186
|
+
# Name of this user list. Depending on its access_reason, the user list name may
|
4187
|
+
# not be unique (for example, if access_reason=SHARED)
|
4188
|
+
# Corresponds to the JSON property `name`
|
4189
|
+
# @return [String]
|
4190
|
+
attr_accessor :name
|
4191
|
+
|
4192
|
+
# Immutable. The resource name of the user list. User list resource names have
|
4193
|
+
# the form: `customers/`customer_id`/userLists/`user_list_id``
|
4194
|
+
# Corresponds to the JSON property `resourceName`
|
4195
|
+
# @return [String]
|
4196
|
+
attr_accessor :resource_name
|
4197
|
+
|
4198
|
+
# Output only. Type of this list. This field is read-only.
|
4199
|
+
# Corresponds to the JSON property `type`
|
4200
|
+
# @return [String]
|
4201
|
+
attr_accessor :type
|
4202
|
+
|
4203
|
+
def initialize(**args)
|
4204
|
+
update!(**args)
|
4205
|
+
end
|
4206
|
+
|
4207
|
+
# Update properties of this object
|
4208
|
+
def update!(**args)
|
4209
|
+
@id = args[:id] if args.key?(:id)
|
4210
|
+
@name = args[:name] if args.key?(:name)
|
4211
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
4212
|
+
@type = args[:type] if args.key?(:type)
|
4213
|
+
end
|
4214
|
+
end
|
4215
|
+
|
4216
|
+
# A webpage view.
|
4217
|
+
class GoogleAdsSearchads360V0ResourcesWebpageView
|
4218
|
+
include Google::Apis::Core::Hashable
|
4219
|
+
|
4220
|
+
# Output only. The resource name of the webpage view. Webpage view resource
|
4221
|
+
# names have the form: `customers/`customer_id`/webpageViews/`ad_group_id`~`
|
4222
|
+
# criterion_id``
|
4223
|
+
# Corresponds to the JSON property `resourceName`
|
4224
|
+
# @return [String]
|
4225
|
+
attr_accessor :resource_name
|
4226
|
+
|
4227
|
+
def initialize(**args)
|
4228
|
+
update!(**args)
|
4229
|
+
end
|
4230
|
+
|
4231
|
+
# Update properties of this object
|
4232
|
+
def update!(**args)
|
4233
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
4234
|
+
end
|
4235
|
+
end
|
4236
|
+
|
3447
4237
|
# Message for custom column header.
|
3448
4238
|
class GoogleAdsSearchads360V0ServicesCustomColumnHeader
|
3449
4239
|
include Google::Apis::Core::Hashable
|
@@ -3504,6 +4294,23 @@ module Google
|
|
3504
4294
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAdGroup]
|
3505
4295
|
attr_accessor :ad_group
|
3506
4296
|
|
4297
|
+
# An ad group ad.
|
4298
|
+
# Corresponds to the JSON property `adGroupAd`
|
4299
|
+
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAdGroupAd]
|
4300
|
+
attr_accessor :ad_group_ad
|
4301
|
+
|
4302
|
+
# A relationship between an ad group ad and a label.
|
4303
|
+
# Corresponds to the JSON property `adGroupAdLabel`
|
4304
|
+
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAdGroupAdLabel]
|
4305
|
+
attr_accessor :ad_group_ad_label
|
4306
|
+
|
4307
|
+
# An ad group audience view. Includes performance data from interests and
|
4308
|
+
# remarketing lists for Display Network and YouTube Network ads, and remarketing
|
4309
|
+
# lists for search ads (RLSA), aggregated at the audience level.
|
4310
|
+
# Corresponds to the JSON property `adGroupAudienceView`
|
4311
|
+
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAdGroupAudienceView]
|
4312
|
+
attr_accessor :ad_group_audience_view
|
4313
|
+
|
3507
4314
|
# Represents an ad group bid modifier.
|
3508
4315
|
# Corresponds to the JSON property `adGroupBidModifier`
|
3509
4316
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAdGroupBidModifier]
|
@@ -3514,6 +4321,21 @@ module Google
|
|
3514
4321
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAdGroupCriterion]
|
3515
4322
|
attr_accessor :ad_group_criterion
|
3516
4323
|
|
4324
|
+
# A relationship between an ad group criterion and a label.
|
4325
|
+
# Corresponds to the JSON property `adGroupCriterionLabel`
|
4326
|
+
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAdGroupCriterionLabel]
|
4327
|
+
attr_accessor :ad_group_criterion_label
|
4328
|
+
|
4329
|
+
# A relationship between an ad group and a label.
|
4330
|
+
# Corresponds to the JSON property `adGroupLabel`
|
4331
|
+
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAdGroupLabel]
|
4332
|
+
attr_accessor :ad_group_label
|
4333
|
+
|
4334
|
+
# An age range view.
|
4335
|
+
# Corresponds to the JSON property `ageRangeView`
|
4336
|
+
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAgeRangeView]
|
4337
|
+
attr_accessor :age_range_view
|
4338
|
+
|
3517
4339
|
# A bidding strategy.
|
3518
4340
|
# Corresponds to the JSON property `biddingStrategy`
|
3519
4341
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesBiddingStrategy]
|
@@ -3524,6 +4346,14 @@ module Google
|
|
3524
4346
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCampaign]
|
3525
4347
|
attr_accessor :campaign
|
3526
4348
|
|
4349
|
+
# A campaign audience view. Includes performance data from interests and
|
4350
|
+
# remarketing lists for Display Network and YouTube Network ads, and remarketing
|
4351
|
+
# lists for search ads (RLSA), aggregated by campaign and audience criterion.
|
4352
|
+
# This view only includes audiences attached at the campaign level.
|
4353
|
+
# Corresponds to the JSON property `campaignAudienceView`
|
4354
|
+
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCampaignAudienceView]
|
4355
|
+
attr_accessor :campaign_audience_view
|
4356
|
+
|
3527
4357
|
# A campaign budget.
|
3528
4358
|
# Corresponds to the JSON property `campaignBudget`
|
3529
4359
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCampaignBudget]
|
@@ -3534,6 +4364,11 @@ module Google
|
|
3534
4364
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCampaignCriterion]
|
3535
4365
|
attr_accessor :campaign_criterion
|
3536
4366
|
|
4367
|
+
# Represents a relationship between a campaign and a label.
|
4368
|
+
# Corresponds to the JSON property `campaignLabel`
|
4369
|
+
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCampaignLabel]
|
4370
|
+
attr_accessor :campaign_label
|
4371
|
+
|
3537
4372
|
# A conversion action.
|
3538
4373
|
# Corresponds to the JSON property `conversionAction`
|
3539
4374
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesConversionAction]
|
@@ -3561,11 +4396,31 @@ module Google
|
|
3561
4396
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCustomerManagerLink]
|
3562
4397
|
attr_accessor :customer_manager_link
|
3563
4398
|
|
4399
|
+
# A dynamic search ads search term view.
|
4400
|
+
# Corresponds to the JSON property `dynamicSearchAdsSearchTermView`
|
4401
|
+
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesDynamicSearchAdsSearchTermView]
|
4402
|
+
attr_accessor :dynamic_search_ads_search_term_view
|
4403
|
+
|
4404
|
+
# A gender view.
|
4405
|
+
# Corresponds to the JSON property `genderView`
|
4406
|
+
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesGenderView]
|
4407
|
+
attr_accessor :gender_view
|
4408
|
+
|
3564
4409
|
# A keyword view.
|
3565
4410
|
# Corresponds to the JSON property `keywordView`
|
3566
4411
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesKeywordView]
|
3567
4412
|
attr_accessor :keyword_view
|
3568
4413
|
|
4414
|
+
# A label.
|
4415
|
+
# Corresponds to the JSON property `label`
|
4416
|
+
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesLabel]
|
4417
|
+
attr_accessor :label
|
4418
|
+
|
4419
|
+
# A location view summarizes the performance of campaigns by Location criteria.
|
4420
|
+
# Corresponds to the JSON property `locationView`
|
4421
|
+
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesLocationView]
|
4422
|
+
attr_accessor :location_view
|
4423
|
+
|
3569
4424
|
# Metrics data.
|
3570
4425
|
# Corresponds to the JSON property `metrics`
|
3571
4426
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonMetrics]
|
@@ -3581,6 +4436,16 @@ module Google
|
|
3581
4436
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSegments]
|
3582
4437
|
attr_accessor :segments
|
3583
4438
|
|
4439
|
+
# A user list. This is a list of users a customer may target.
|
4440
|
+
# Corresponds to the JSON property `userList`
|
4441
|
+
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesUserList]
|
4442
|
+
attr_accessor :user_list
|
4443
|
+
|
4444
|
+
# A webpage view.
|
4445
|
+
# Corresponds to the JSON property `webpageView`
|
4446
|
+
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesWebpageView]
|
4447
|
+
attr_accessor :webpage_view
|
4448
|
+
|
3584
4449
|
def initialize(**args)
|
3585
4450
|
update!(**args)
|
3586
4451
|
end
|
@@ -3588,21 +4453,35 @@ module Google
|
|
3588
4453
|
# Update properties of this object
|
3589
4454
|
def update!(**args)
|
3590
4455
|
@ad_group = args[:ad_group] if args.key?(:ad_group)
|
4456
|
+
@ad_group_ad = args[:ad_group_ad] if args.key?(:ad_group_ad)
|
4457
|
+
@ad_group_ad_label = args[:ad_group_ad_label] if args.key?(:ad_group_ad_label)
|
4458
|
+
@ad_group_audience_view = args[:ad_group_audience_view] if args.key?(:ad_group_audience_view)
|
3591
4459
|
@ad_group_bid_modifier = args[:ad_group_bid_modifier] if args.key?(:ad_group_bid_modifier)
|
3592
4460
|
@ad_group_criterion = args[:ad_group_criterion] if args.key?(:ad_group_criterion)
|
4461
|
+
@ad_group_criterion_label = args[:ad_group_criterion_label] if args.key?(:ad_group_criterion_label)
|
4462
|
+
@ad_group_label = args[:ad_group_label] if args.key?(:ad_group_label)
|
4463
|
+
@age_range_view = args[:age_range_view] if args.key?(:age_range_view)
|
3593
4464
|
@bidding_strategy = args[:bidding_strategy] if args.key?(:bidding_strategy)
|
3594
4465
|
@campaign = args[:campaign] if args.key?(:campaign)
|
4466
|
+
@campaign_audience_view = args[:campaign_audience_view] if args.key?(:campaign_audience_view)
|
3595
4467
|
@campaign_budget = args[:campaign_budget] if args.key?(:campaign_budget)
|
3596
4468
|
@campaign_criterion = args[:campaign_criterion] if args.key?(:campaign_criterion)
|
4469
|
+
@campaign_label = args[:campaign_label] if args.key?(:campaign_label)
|
3597
4470
|
@conversion_action = args[:conversion_action] if args.key?(:conversion_action)
|
3598
4471
|
@custom_columns = args[:custom_columns] if args.key?(:custom_columns)
|
3599
4472
|
@customer = args[:customer] if args.key?(:customer)
|
3600
4473
|
@customer_client = args[:customer_client] if args.key?(:customer_client)
|
3601
4474
|
@customer_manager_link = args[:customer_manager_link] if args.key?(:customer_manager_link)
|
4475
|
+
@dynamic_search_ads_search_term_view = args[:dynamic_search_ads_search_term_view] if args.key?(:dynamic_search_ads_search_term_view)
|
4476
|
+
@gender_view = args[:gender_view] if args.key?(:gender_view)
|
3602
4477
|
@keyword_view = args[:keyword_view] if args.key?(:keyword_view)
|
4478
|
+
@label = args[:label] if args.key?(:label)
|
4479
|
+
@location_view = args[:location_view] if args.key?(:location_view)
|
3603
4480
|
@metrics = args[:metrics] if args.key?(:metrics)
|
3604
4481
|
@product_group_view = args[:product_group_view] if args.key?(:product_group_view)
|
3605
4482
|
@segments = args[:segments] if args.key?(:segments)
|
4483
|
+
@user_list = args[:user_list] if args.key?(:user_list)
|
4484
|
+
@webpage_view = args[:webpage_view] if args.key?(:webpage_view)
|
3606
4485
|
end
|
3607
4486
|
end
|
3608
4487
|
|