google-apis-searchads360_v0 0.6.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,6 +22,59 @@ module Google
22
22
  module Apis
23
23
  module Searchads360V0
24
24
 
25
+ # Represents an AdSchedule criterion. AdSchedule is specified as the day of the
26
+ # week and a time interval within which ads will be shown. No more than six
27
+ # AdSchedules can be added for the same day.
28
+ class GoogleAdsSearchads360V0CommonAdScheduleInfo
29
+ include Google::Apis::Core::Hashable
30
+
31
+ # Day of the week the schedule applies to. This field is required for CREATE
32
+ # operations and is prohibited on UPDATE operations.
33
+ # Corresponds to the JSON property `dayOfWeek`
34
+ # @return [String]
35
+ attr_accessor :day_of_week
36
+
37
+ # Ending hour in 24 hour time; 24 signifies end of the day. This field must be
38
+ # between 0 and 24, inclusive. This field is required for CREATE operations and
39
+ # is prohibited on UPDATE operations.
40
+ # Corresponds to the JSON property `endHour`
41
+ # @return [Fixnum]
42
+ attr_accessor :end_hour
43
+
44
+ # Minutes after the end hour at which this schedule ends. The schedule is
45
+ # exclusive of the end minute. This field is required for CREATE operations and
46
+ # is prohibited on UPDATE operations.
47
+ # Corresponds to the JSON property `endMinute`
48
+ # @return [String]
49
+ attr_accessor :end_minute
50
+
51
+ # Starting hour in 24 hour time. This field must be between 0 and 23, inclusive.
52
+ # This field is required for CREATE operations and is prohibited on UPDATE
53
+ # operations.
54
+ # Corresponds to the JSON property `startHour`
55
+ # @return [Fixnum]
56
+ attr_accessor :start_hour
57
+
58
+ # Minutes after the start hour at which this schedule starts. This field is
59
+ # required for CREATE operations and is prohibited on UPDATE operations.
60
+ # Corresponds to the JSON property `startMinute`
61
+ # @return [String]
62
+ attr_accessor :start_minute
63
+
64
+ def initialize(**args)
65
+ update!(**args)
66
+ end
67
+
68
+ # Update properties of this object
69
+ def update!(**args)
70
+ @day_of_week = args[:day_of_week] if args.key?(:day_of_week)
71
+ @end_hour = args[:end_hour] if args.key?(:end_hour)
72
+ @end_minute = args[:end_minute] if args.key?(:end_minute)
73
+ @start_hour = args[:start_hour] if args.key?(:start_hour)
74
+ @start_minute = args[:start_minute] if args.key?(:start_minute)
75
+ end
76
+ end
77
+
25
78
  # An age range criterion.
26
79
  class GoogleAdsSearchads360V0CommonAgeRangeInfo
27
80
  include Google::Apis::Core::Hashable
@@ -41,6 +94,68 @@ module Google
41
94
  end
42
95
  end
43
96
 
97
+ # An AssetInteractionTarget segment.
98
+ class GoogleAdsSearchads360V0CommonAssetInteractionTarget
99
+ include Google::Apis::Core::Hashable
100
+
101
+ # The asset resource name.
102
+ # Corresponds to the JSON property `asset`
103
+ # @return [String]
104
+ attr_accessor :asset
105
+
106
+ # Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics.
107
+ # Indicates whether the interaction metrics occurred on the asset itself or a
108
+ # different asset or ad unit.
109
+ # Corresponds to the JSON property `interactionOnThisAsset`
110
+ # @return [Boolean]
111
+ attr_accessor :interaction_on_this_asset
112
+ alias_method :interaction_on_this_asset?, :interaction_on_this_asset
113
+
114
+ def initialize(**args)
115
+ update!(**args)
116
+ end
117
+
118
+ # Update properties of this object
119
+ def update!(**args)
120
+ @asset = args[:asset] if args.key?(:asset)
121
+ @interaction_on_this_asset = args[:interaction_on_this_asset] if args.key?(:interaction_on_this_asset)
122
+ end
123
+ end
124
+
125
+ # Business Profile location data synced from the linked Business Profile account.
126
+ class GoogleAdsSearchads360V0CommonBusinessProfileLocation
127
+ include Google::Apis::Core::Hashable
128
+
129
+ # Advertiser specified label for the location on the Business Profile account.
130
+ # This is synced from the Business Profile account.
131
+ # Corresponds to the JSON property `labels`
132
+ # @return [Array<String>]
133
+ attr_accessor :labels
134
+
135
+ # Listing ID of this Business Profile location. This is synced from the linked
136
+ # Business Profile account.
137
+ # Corresponds to the JSON property `listingId`
138
+ # @return [Fixnum]
139
+ attr_accessor :listing_id
140
+
141
+ # Business Profile store code of this location. This is synced from the Business
142
+ # Profile account.
143
+ # Corresponds to the JSON property `storeCode`
144
+ # @return [String]
145
+ attr_accessor :store_code
146
+
147
+ def initialize(**args)
148
+ update!(**args)
149
+ end
150
+
151
+ # Update properties of this object
152
+ def update!(**args)
153
+ @labels = args[:labels] if args.key?(:labels)
154
+ @listing_id = args[:listing_id] if args.key?(:listing_id)
155
+ @store_code = args[:store_code] if args.key?(:store_code)
156
+ end
157
+ end
158
+
44
159
  # A mapping that can be used by custom parameter tags in a `
45
160
  # tracking_url_template`, `final_urls`, or `mobile_final_urls`.
46
161
  class GoogleAdsSearchads360V0CommonCustomParameter
@@ -522,11 +637,17 @@ module Google
522
637
  attr_accessor :average_cost
523
638
 
524
639
  # The total cost of all clicks divided by the total number of clicks received.
640
+ # This metric is a monetary value and returned in the customer's currency by
641
+ # default. See the metrics_currency parameter at https://developers.google.com/
642
+ # search-ads/reporting/query/query-structure#parameters_clause
525
643
  # Corresponds to the JSON property `averageCpc`
526
644
  # @return [Float]
527
645
  attr_accessor :average_cpc
528
646
 
529
- # Average cost-per-thousand impressions (CPM).
647
+ # Average cost-per-thousand impressions (CPM). This metric is a monetary value
648
+ # and returned in the customer's currency by default. See the metrics_currency
649
+ # parameter at https://developers.google.com/search-ads/reporting/query/query-
650
+ # structure#parameters_clause
530
651
  # Corresponds to the JSON property `averageCpm`
531
652
  # @return [Float]
532
653
  attr_accessor :average_cpm
@@ -632,7 +753,10 @@ module Google
632
753
  attr_accessor :conversions_value_per_cost
633
754
 
634
755
  # The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM)
635
- # costs during this period.
756
+ # costs during this period. This metric is a monetary value and returned in the
757
+ # customer's currency by default. See the metrics_currency parameter at https://
758
+ # developers.google.com/search-ads/reporting/query/query-structure#
759
+ # parameters_clause
636
760
  # Corresponds to the JSON property `costMicros`
637
761
  # @return [Fixnum]
638
762
  attr_accessor :cost_micros
@@ -937,6 +1061,33 @@ module Google
937
1061
  end
938
1062
  end
939
1063
 
1064
+ # An asset representing a mobile app.
1065
+ class GoogleAdsSearchads360V0CommonMobileAppAsset
1066
+ include Google::Apis::Core::Hashable
1067
+
1068
+ # Required. A string that uniquely identifies a mobile application. It should
1069
+ # just contain the platform native id, like "com.android.ebay" for Android or "
1070
+ # 12345689" for iOS.
1071
+ # Corresponds to the JSON property `appId`
1072
+ # @return [String]
1073
+ attr_accessor :app_id
1074
+
1075
+ # Required. The application store that distributes this specific app.
1076
+ # Corresponds to the JSON property `appStore`
1077
+ # @return [String]
1078
+ attr_accessor :app_store
1079
+
1080
+ def initialize(**args)
1081
+ update!(**args)
1082
+ end
1083
+
1084
+ # Update properties of this object
1085
+ def update!(**args)
1086
+ @app_id = args[:app_id] if args.key?(:app_id)
1087
+ @app_store = args[:app_store] if args.key?(:app_store)
1088
+ end
1089
+ end
1090
+
940
1091
  # A bidding strategy where bids are a fraction of the advertised price for some
941
1092
  # good or service.
942
1093
  class GoogleAdsSearchads360V0CommonPercentCpc
@@ -1178,6 +1329,16 @@ module Google
1178
1329
  class GoogleAdsSearchads360V0CommonSegments
1179
1330
  include Google::Apis::Core::Hashable
1180
1331
 
1332
+ # Ad network type.
1333
+ # Corresponds to the JSON property `adNetworkType`
1334
+ # @return [String]
1335
+ attr_accessor :ad_network_type
1336
+
1337
+ # An AssetInteractionTarget segment.
1338
+ # Corresponds to the JSON property `assetInteractionTarget`
1339
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonAssetInteractionTarget]
1340
+ attr_accessor :asset_interaction_target
1341
+
1181
1342
  # Resource name of the conversion action.
1182
1343
  # Corresponds to the JSON property `conversionAction`
1183
1344
  # @return [String]
@@ -1243,6 +1404,8 @@ module Google
1243
1404
 
1244
1405
  # Update properties of this object
1245
1406
  def update!(**args)
1407
+ @ad_network_type = args[:ad_network_type] if args.key?(:ad_network_type)
1408
+ @asset_interaction_target = args[:asset_interaction_target] if args.key?(:asset_interaction_target)
1246
1409
  @conversion_action = args[:conversion_action] if args.key?(:conversion_action)
1247
1410
  @conversion_action_category = args[:conversion_action_category] if args.key?(:conversion_action_category)
1248
1411
  @conversion_action_name = args[:conversion_action_name] if args.key?(:conversion_action_name)
@@ -1514,6 +1677,282 @@ module Google
1514
1677
  end
1515
1678
  end
1516
1679
 
1680
+ # A unified call asset.
1681
+ class GoogleAdsSearchads360V0CommonUnifiedCallAsset
1682
+ include Google::Apis::Core::Hashable
1683
+
1684
+ # List of non-overlapping schedules specifying all time intervals for which the
1685
+ # asset may serve. There can be a maximum of 6 schedules per day, 42 in total.
1686
+ # Corresponds to the JSON property `adScheduleTargets`
1687
+ # @return [Array<Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonAdScheduleInfo>]
1688
+ attr_accessor :ad_schedule_targets
1689
+
1690
+ # The conversion action to attribute a call conversion to. If not set, the
1691
+ # default conversion action is used. This field only has effect if
1692
+ # call_conversion_reporting_state is set to
1693
+ # USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION.
1694
+ # Corresponds to the JSON property `callConversionAction`
1695
+ # @return [String]
1696
+ attr_accessor :call_conversion_action
1697
+
1698
+ # Output only. Indicates whether this CallAsset should use its own call
1699
+ # conversion setting, follow the account level setting, or disable call
1700
+ # conversion.
1701
+ # Corresponds to the JSON property `callConversionReportingState`
1702
+ # @return [String]
1703
+ attr_accessor :call_conversion_reporting_state
1704
+
1705
+ # Whether the call only shows the phone number without a link to the website.
1706
+ # Applies to Microsoft Ads.
1707
+ # Corresponds to the JSON property `callOnly`
1708
+ # @return [Boolean]
1709
+ attr_accessor :call_only
1710
+ alias_method :call_only?, :call_only
1711
+
1712
+ # Whether the call should be enabled on call tracking. Applies to Microsoft Ads.
1713
+ # Corresponds to the JSON property `callTrackingEnabled`
1714
+ # @return [Boolean]
1715
+ attr_accessor :call_tracking_enabled
1716
+ alias_method :call_tracking_enabled?, :call_tracking_enabled
1717
+
1718
+ # Two-letter country code of the phone number. Examples: 'US', 'us'.
1719
+ # Corresponds to the JSON property `countryCode`
1720
+ # @return [String]
1721
+ attr_accessor :country_code
1722
+
1723
+ # Last date of when this asset is effective and still serving, in yyyy-MM-dd
1724
+ # format.
1725
+ # Corresponds to the JSON property `endDate`
1726
+ # @return [String]
1727
+ attr_accessor :end_date
1728
+
1729
+ # The advertiser's raw phone number. Examples: '1234567890', '(123)456-7890'
1730
+ # Corresponds to the JSON property `phoneNumber`
1731
+ # @return [String]
1732
+ attr_accessor :phone_number
1733
+
1734
+ # Start date of when this asset is effective and can begin serving, in yyyy-MM-
1735
+ # dd format.
1736
+ # Corresponds to the JSON property `startDate`
1737
+ # @return [String]
1738
+ attr_accessor :start_date
1739
+
1740
+ # Whether to show the call extension in search user's time zone. Applies to
1741
+ # Microsoft Ads.
1742
+ # Corresponds to the JSON property `useSearcherTimeZone`
1743
+ # @return [Boolean]
1744
+ attr_accessor :use_searcher_time_zone
1745
+ alias_method :use_searcher_time_zone?, :use_searcher_time_zone
1746
+
1747
+ def initialize(**args)
1748
+ update!(**args)
1749
+ end
1750
+
1751
+ # Update properties of this object
1752
+ def update!(**args)
1753
+ @ad_schedule_targets = args[:ad_schedule_targets] if args.key?(:ad_schedule_targets)
1754
+ @call_conversion_action = args[:call_conversion_action] if args.key?(:call_conversion_action)
1755
+ @call_conversion_reporting_state = args[:call_conversion_reporting_state] if args.key?(:call_conversion_reporting_state)
1756
+ @call_only = args[:call_only] if args.key?(:call_only)
1757
+ @call_tracking_enabled = args[:call_tracking_enabled] if args.key?(:call_tracking_enabled)
1758
+ @country_code = args[:country_code] if args.key?(:country_code)
1759
+ @end_date = args[:end_date] if args.key?(:end_date)
1760
+ @phone_number = args[:phone_number] if args.key?(:phone_number)
1761
+ @start_date = args[:start_date] if args.key?(:start_date)
1762
+ @use_searcher_time_zone = args[:use_searcher_time_zone] if args.key?(:use_searcher_time_zone)
1763
+ end
1764
+ end
1765
+
1766
+ # A unified callout asset.
1767
+ class GoogleAdsSearchads360V0CommonUnifiedCalloutAsset
1768
+ include Google::Apis::Core::Hashable
1769
+
1770
+ # List of non-overlapping schedules specifying all time intervals for which the
1771
+ # asset may serve. There can be a maximum of 6 schedules per day, 42 in total.
1772
+ # Corresponds to the JSON property `adScheduleTargets`
1773
+ # @return [Array<Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonAdScheduleInfo>]
1774
+ attr_accessor :ad_schedule_targets
1775
+
1776
+ # The callout text. The length of this string should be between 1 and 25,
1777
+ # inclusive.
1778
+ # Corresponds to the JSON property `calloutText`
1779
+ # @return [String]
1780
+ attr_accessor :callout_text
1781
+
1782
+ # Last date of when this asset is effective and still serving, in yyyy-MM-dd
1783
+ # format.
1784
+ # Corresponds to the JSON property `endDate`
1785
+ # @return [String]
1786
+ attr_accessor :end_date
1787
+
1788
+ # Start date of when this asset is effective and can begin serving, in yyyy-MM-
1789
+ # dd format.
1790
+ # Corresponds to the JSON property `startDate`
1791
+ # @return [String]
1792
+ attr_accessor :start_date
1793
+
1794
+ # Whether to show the asset in search user's time zone. Applies to Microsoft Ads.
1795
+ # Corresponds to the JSON property `useSearcherTimeZone`
1796
+ # @return [Boolean]
1797
+ attr_accessor :use_searcher_time_zone
1798
+ alias_method :use_searcher_time_zone?, :use_searcher_time_zone
1799
+
1800
+ def initialize(**args)
1801
+ update!(**args)
1802
+ end
1803
+
1804
+ # Update properties of this object
1805
+ def update!(**args)
1806
+ @ad_schedule_targets = args[:ad_schedule_targets] if args.key?(:ad_schedule_targets)
1807
+ @callout_text = args[:callout_text] if args.key?(:callout_text)
1808
+ @end_date = args[:end_date] if args.key?(:end_date)
1809
+ @start_date = args[:start_date] if args.key?(:start_date)
1810
+ @use_searcher_time_zone = args[:use_searcher_time_zone] if args.key?(:use_searcher_time_zone)
1811
+ end
1812
+ end
1813
+
1814
+ # A unified location asset.
1815
+ class GoogleAdsSearchads360V0CommonUnifiedLocationAsset
1816
+ include Google::Apis::Core::Hashable
1817
+
1818
+ # The list of business locations for the customer. This will only be returned if
1819
+ # the Location Asset is syncing from the Business Profile account. It is
1820
+ # possible to have multiple Business Profile listings under the same account
1821
+ # that point to the same Place ID.
1822
+ # Corresponds to the JSON property `businessProfileLocations`
1823
+ # @return [Array<Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonBusinessProfileLocation>]
1824
+ attr_accessor :business_profile_locations
1825
+
1826
+ # The type of location ownership. If the type is BUSINESS_OWNER, it will be
1827
+ # served as a location extension. If the type is AFFILIATE, it will be served as
1828
+ # an affiliate location.
1829
+ # Corresponds to the JSON property `locationOwnershipType`
1830
+ # @return [String]
1831
+ attr_accessor :location_ownership_type
1832
+
1833
+ # Place IDs uniquely identify a place in the Google Places database and on
1834
+ # Google Maps. This field is unique for a given customer ID and asset type. See
1835
+ # https://developers.google.com/places/web-service/place-id to learn more about
1836
+ # Place ID.
1837
+ # Corresponds to the JSON property `placeId`
1838
+ # @return [String]
1839
+ attr_accessor :place_id
1840
+
1841
+ def initialize(**args)
1842
+ update!(**args)
1843
+ end
1844
+
1845
+ # Update properties of this object
1846
+ def update!(**args)
1847
+ @business_profile_locations = args[:business_profile_locations] if args.key?(:business_profile_locations)
1848
+ @location_ownership_type = args[:location_ownership_type] if args.key?(:location_ownership_type)
1849
+ @place_id = args[:place_id] if args.key?(:place_id)
1850
+ end
1851
+ end
1852
+
1853
+ # A Unified Page Feed asset.
1854
+ class GoogleAdsSearchads360V0CommonUnifiedPageFeedAsset
1855
+ include Google::Apis::Core::Hashable
1856
+
1857
+ # Labels used to group the page urls.
1858
+ # Corresponds to the JSON property `labels`
1859
+ # @return [Array<String>]
1860
+ attr_accessor :labels
1861
+
1862
+ # The webpage that advertisers want to target.
1863
+ # Corresponds to the JSON property `pageUrl`
1864
+ # @return [String]
1865
+ attr_accessor :page_url
1866
+
1867
+ def initialize(**args)
1868
+ update!(**args)
1869
+ end
1870
+
1871
+ # Update properties of this object
1872
+ def update!(**args)
1873
+ @labels = args[:labels] if args.key?(:labels)
1874
+ @page_url = args[:page_url] if args.key?(:page_url)
1875
+ end
1876
+ end
1877
+
1878
+ # A unified sitelink asset.
1879
+ class GoogleAdsSearchads360V0CommonUnifiedSitelinkAsset
1880
+ include Google::Apis::Core::Hashable
1881
+
1882
+ # List of non-overlapping schedules specifying all time intervals for which the
1883
+ # asset may serve. There can be a maximum of 6 schedules per day, 42 in total.
1884
+ # Corresponds to the JSON property `adScheduleTargets`
1885
+ # @return [Array<Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonAdScheduleInfo>]
1886
+ attr_accessor :ad_schedule_targets
1887
+
1888
+ # First line of the description for the sitelink. If set, the length should be
1889
+ # between 1 and 35, inclusive, and description2 must also be set.
1890
+ # Corresponds to the JSON property `description1`
1891
+ # @return [String]
1892
+ attr_accessor :description1
1893
+
1894
+ # Second line of the description for the sitelink. If set, the length should be
1895
+ # between 1 and 35, inclusive, and description1 must also be set.
1896
+ # Corresponds to the JSON property `description2`
1897
+ # @return [String]
1898
+ attr_accessor :description2
1899
+
1900
+ # Last date of when this asset is effective and still serving, in yyyy-MM-dd
1901
+ # format.
1902
+ # Corresponds to the JSON property `endDate`
1903
+ # @return [String]
1904
+ attr_accessor :end_date
1905
+
1906
+ # URL display text for the sitelink. The length of this string should be between
1907
+ # 1 and 25, inclusive.
1908
+ # Corresponds to the JSON property `linkText`
1909
+ # @return [String]
1910
+ attr_accessor :link_text
1911
+
1912
+ # Whether the preference is for the sitelink asset to be displayed on mobile
1913
+ # devices. Applies to Microsoft Ads.
1914
+ # Corresponds to the JSON property `mobilePreferred`
1915
+ # @return [Boolean]
1916
+ attr_accessor :mobile_preferred
1917
+ alias_method :mobile_preferred?, :mobile_preferred
1918
+
1919
+ # Start date of when this asset is effective and can begin serving, in yyyy-MM-
1920
+ # dd format.
1921
+ # Corresponds to the JSON property `startDate`
1922
+ # @return [String]
1923
+ attr_accessor :start_date
1924
+
1925
+ # ID used for tracking clicks for the sitelink asset. This is a Yahoo! Japan
1926
+ # only field.
1927
+ # Corresponds to the JSON property `trackingId`
1928
+ # @return [Fixnum]
1929
+ attr_accessor :tracking_id
1930
+
1931
+ # Whether to show the sitelink asset in search user's time zone. Applies to
1932
+ # Microsoft Ads.
1933
+ # Corresponds to the JSON property `useSearcherTimeZone`
1934
+ # @return [Boolean]
1935
+ attr_accessor :use_searcher_time_zone
1936
+ alias_method :use_searcher_time_zone?, :use_searcher_time_zone
1937
+
1938
+ def initialize(**args)
1939
+ update!(**args)
1940
+ end
1941
+
1942
+ # Update properties of this object
1943
+ def update!(**args)
1944
+ @ad_schedule_targets = args[:ad_schedule_targets] if args.key?(:ad_schedule_targets)
1945
+ @description1 = args[:description1] if args.key?(:description1)
1946
+ @description2 = args[:description2] if args.key?(:description2)
1947
+ @end_date = args[:end_date] if args.key?(:end_date)
1948
+ @link_text = args[:link_text] if args.key?(:link_text)
1949
+ @mobile_preferred = args[:mobile_preferred] if args.key?(:mobile_preferred)
1950
+ @start_date = args[:start_date] if args.key?(:start_date)
1951
+ @tracking_id = args[:tracking_id] if args.key?(:tracking_id)
1952
+ @use_searcher_time_zone = args[:use_searcher_time_zone] if args.key?(:use_searcher_time_zone)
1953
+ end
1954
+ end
1955
+
1517
1956
  # A User List criterion. Represents a user list that is defined by the
1518
1957
  # advertiser to be targeted.
1519
1958
  class GoogleAdsSearchads360V0CommonUserListInfo
@@ -1689,6 +2128,11 @@ module Google
1689
2128
  # @return [String]
1690
2129
  attr_accessor :authorization_error
1691
2130
 
2131
+ # The reasons for the custom column error
2132
+ # Corresponds to the JSON property `customColumnError`
2133
+ # @return [String]
2134
+ attr_accessor :custom_column_error
2135
+
1692
2136
  # The reasons for the date error
1693
2137
  # Corresponds to the JSON property `dateError`
1694
2138
  # @return [String]
@@ -1714,6 +2158,11 @@ module Google
1714
2158
  # @return [String]
1715
2159
  attr_accessor :internal_error
1716
2160
 
2161
+ # The reasons for invalid parameter errors.
2162
+ # Corresponds to the JSON property `invalidParameterError`
2163
+ # @return [String]
2164
+ attr_accessor :invalid_parameter_error
2165
+
1717
2166
  # An error with the query
1718
2167
  # Corresponds to the JSON property `queryError`
1719
2168
  # @return [String]
@@ -1742,11 +2191,13 @@ module Google
1742
2191
  def update!(**args)
1743
2192
  @authentication_error = args[:authentication_error] if args.key?(:authentication_error)
1744
2193
  @authorization_error = args[:authorization_error] if args.key?(:authorization_error)
2194
+ @custom_column_error = args[:custom_column_error] if args.key?(:custom_column_error)
1745
2195
  @date_error = args[:date_error] if args.key?(:date_error)
1746
2196
  @date_range_error = args[:date_range_error] if args.key?(:date_range_error)
1747
2197
  @distinct_error = args[:distinct_error] if args.key?(:distinct_error)
1748
2198
  @header_error = args[:header_error] if args.key?(:header_error)
1749
2199
  @internal_error = args[:internal_error] if args.key?(:internal_error)
2200
+ @invalid_parameter_error = args[:invalid_parameter_error] if args.key?(:invalid_parameter_error)
1750
2201
  @query_error = args[:query_error] if args.key?(:query_error)
1751
2202
  @quota_error = args[:quota_error] if args.key?(:quota_error)
1752
2203
  @request_error = args[:request_error] if args.key?(:request_error)
@@ -1900,6 +2351,26 @@ module Google
1900
2351
  end
1901
2352
  end
1902
2353
 
2354
+ # Estimates for criterion bids at various positions.
2355
+ class GoogleAdsSearchads360V0ResourcesAdGroupCriterionPositionEstimates
2356
+ include Google::Apis::Core::Hashable
2357
+
2358
+ # Output only. The estimate of the CPC bid required for ad to be displayed at
2359
+ # the top of the first page of search results.
2360
+ # Corresponds to the JSON property `topOfPageCpcMicros`
2361
+ # @return [Fixnum]
2362
+ attr_accessor :top_of_page_cpc_micros
2363
+
2364
+ def initialize(**args)
2365
+ update!(**args)
2366
+ end
2367
+
2368
+ # Update properties of this object
2369
+ def update!(**args)
2370
+ @top_of_page_cpc_micros = args[:top_of_page_cpc_micros] if args.key?(:top_of_page_cpc_micros)
2371
+ end
2372
+ end
2373
+
1903
2374
  # A container for ad group criterion quality information.
1904
2375
  class GoogleAdsSearchads360V0ResourcesAdGroupCriterionQualityInfo
1905
2376
  include Google::Apis::Core::Hashable
@@ -2044,7 +2515,9 @@ module Google
2044
2515
  end
2045
2516
 
2046
2517
  # Selective optimization setting for this campaign, which includes a set of
2047
- # conversion actions to optimize this campaign towards.
2518
+ # conversion actions to optimize this campaign towards. This feature only
2519
+ # applies to app campaigns that use MULTI_CHANNEL as AdvertisingChannelType and
2520
+ # APP_CAMPAIGN or APP_CAMPAIGN_FOR_ENGAGEMENT as AdvertisingChannelSubType.
2048
2521
  class GoogleAdsSearchads360V0ResourcesCampaignSelectiveOptimization
2049
2522
  include Google::Apis::Core::Hashable
2050
2523
 
@@ -2557,15 +3030,94 @@ module Google
2557
3030
  end
2558
3031
  end
2559
3032
 
2560
- # An ad group audience view. Includes performance data from interests and
2561
- # remarketing lists for Display Network and YouTube Network ads, and remarketing
2562
- # lists for search ads (RLSA), aggregated at the audience level.
2563
- class GoogleAdsSearchads360V0ResourcesAdGroupAudienceView
3033
+ # A link between an ad group and an asset.
3034
+ class GoogleAdsSearchads360V0ResourcesAdGroupAsset
2564
3035
  include Google::Apis::Core::Hashable
2565
3036
 
2566
- # Output only. The resource name of the ad group audience view. Ad group
2567
- # audience view resource names have the form: `customers/`customer_id`/
2568
- # adGroupAudienceViews/`ad_group_id`~`criterion_id``
3037
+ # Required. Immutable. The ad group to which the asset is linked.
3038
+ # Corresponds to the JSON property `adGroup`
3039
+ # @return [String]
3040
+ attr_accessor :ad_group
3041
+
3042
+ # Required. Immutable. The asset which is linked to the ad group.
3043
+ # Corresponds to the JSON property `asset`
3044
+ # @return [String]
3045
+ attr_accessor :asset
3046
+
3047
+ # Immutable. The resource name of the ad group asset. AdGroupAsset resource
3048
+ # names have the form: `customers/`customer_id`/adGroupAssets/`ad_group_id`~`
3049
+ # asset_id`~`field_type``
3050
+ # Corresponds to the JSON property `resourceName`
3051
+ # @return [String]
3052
+ attr_accessor :resource_name
3053
+
3054
+ # Status of the ad group asset.
3055
+ # Corresponds to the JSON property `status`
3056
+ # @return [String]
3057
+ attr_accessor :status
3058
+
3059
+ def initialize(**args)
3060
+ update!(**args)
3061
+ end
3062
+
3063
+ # Update properties of this object
3064
+ def update!(**args)
3065
+ @ad_group = args[:ad_group] if args.key?(:ad_group)
3066
+ @asset = args[:asset] if args.key?(:asset)
3067
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
3068
+ @status = args[:status] if args.key?(:status)
3069
+ end
3070
+ end
3071
+
3072
+ # AdGroupAssetSet is the linkage between an ad group and an asset set. Creating
3073
+ # an AdGroupAssetSet links an asset set with an ad group.
3074
+ class GoogleAdsSearchads360V0ResourcesAdGroupAssetSet
3075
+ include Google::Apis::Core::Hashable
3076
+
3077
+ # Immutable. The ad group to which this asset set is linked.
3078
+ # Corresponds to the JSON property `adGroup`
3079
+ # @return [String]
3080
+ attr_accessor :ad_group
3081
+
3082
+ # Immutable. The asset set which is linked to the ad group.
3083
+ # Corresponds to the JSON property `assetSet`
3084
+ # @return [String]
3085
+ attr_accessor :asset_set
3086
+
3087
+ # Immutable. The resource name of the ad group asset set. Ad group asset set
3088
+ # resource names have the form: `customers/`customer_id`/adGroupAssetSets/`
3089
+ # ad_group_id`~`asset_set_id``
3090
+ # Corresponds to the JSON property `resourceName`
3091
+ # @return [String]
3092
+ attr_accessor :resource_name
3093
+
3094
+ # Output only. The status of the ad group asset set. Read-only.
3095
+ # Corresponds to the JSON property `status`
3096
+ # @return [String]
3097
+ attr_accessor :status
3098
+
3099
+ def initialize(**args)
3100
+ update!(**args)
3101
+ end
3102
+
3103
+ # Update properties of this object
3104
+ def update!(**args)
3105
+ @ad_group = args[:ad_group] if args.key?(:ad_group)
3106
+ @asset_set = args[:asset_set] if args.key?(:asset_set)
3107
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
3108
+ @status = args[:status] if args.key?(:status)
3109
+ end
3110
+ end
3111
+
3112
+ # An ad group audience view. Includes performance data from interests and
3113
+ # remarketing lists for Display Network and YouTube Network ads, and remarketing
3114
+ # lists for search ads (RLSA), aggregated at the audience level.
3115
+ class GoogleAdsSearchads360V0ResourcesAdGroupAudienceView
3116
+ include Google::Apis::Core::Hashable
3117
+
3118
+ # Output only. The resource name of the ad group audience view. Ad group
3119
+ # audience view resource names have the form: `customers/`customer_id`/
3120
+ # adGroupAudienceViews/`ad_group_id`~`criterion_id``
2569
3121
  # Corresponds to the JSON property `resourceName`
2570
3122
  # @return [String]
2571
3123
  attr_accessor :resource_name
@@ -2719,6 +3271,11 @@ module Google
2719
3271
  attr_accessor :negative
2720
3272
  alias_method :negative?, :negative
2721
3273
 
3274
+ # Estimates for criterion bids at various positions.
3275
+ # Corresponds to the JSON property `positionEstimates`
3276
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAdGroupCriterionPositionEstimates]
3277
+ attr_accessor :position_estimates
3278
+
2722
3279
  # A container for ad group criterion quality information.
2723
3280
  # Corresponds to the JSON property `qualityInfo`
2724
3281
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAdGroupCriterionQualityInfo]
@@ -2788,6 +3345,7 @@ module Google
2788
3345
  @listing_group = args[:listing_group] if args.key?(:listing_group)
2789
3346
  @location = args[:location] if args.key?(:location)
2790
3347
  @negative = args[:negative] if args.key?(:negative)
3348
+ @position_estimates = args[:position_estimates] if args.key?(:position_estimates)
2791
3349
  @quality_info = args[:quality_info] if args.key?(:quality_info)
2792
3350
  @resource_name = args[:resource_name] if args.key?(:resource_name)
2793
3351
  @status = args[:status] if args.key?(:status)
@@ -2885,6 +3443,182 @@ module Google
2885
3443
  end
2886
3444
  end
2887
3445
 
3446
+ # Asset is a part of an ad which can be shared across multiple ads. It can be an
3447
+ # image (ImageAsset), a video (YoutubeVideoAsset), etc. Assets are immutable and
3448
+ # cannot be removed. To stop an asset from serving, remove the asset from the
3449
+ # entity that is using it.
3450
+ class GoogleAdsSearchads360V0ResourcesAsset
3451
+ include Google::Apis::Core::Hashable
3452
+
3453
+ # A unified call asset.
3454
+ # Corresponds to the JSON property `callAsset`
3455
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonUnifiedCallAsset]
3456
+ attr_accessor :call_asset
3457
+
3458
+ # A unified callout asset.
3459
+ # Corresponds to the JSON property `calloutAsset`
3460
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonUnifiedCalloutAsset]
3461
+ attr_accessor :callout_asset
3462
+
3463
+ # Output only. The timestamp when this asset was created. The timestamp is in
3464
+ # the customer's time zone and in "yyyy-MM-dd HH:mm:ss" format.
3465
+ # Corresponds to the JSON property `creationTime`
3466
+ # @return [String]
3467
+ attr_accessor :creation_time
3468
+
3469
+ # Output only. The Engine Status for an asset.
3470
+ # Corresponds to the JSON property `engineStatus`
3471
+ # @return [String]
3472
+ attr_accessor :engine_status
3473
+
3474
+ # A list of possible final URLs after all cross domain redirects.
3475
+ # Corresponds to the JSON property `finalUrls`
3476
+ # @return [Array<String>]
3477
+ attr_accessor :final_urls
3478
+
3479
+ # Output only. The ID of the asset.
3480
+ # Corresponds to the JSON property `id`
3481
+ # @return [Fixnum]
3482
+ attr_accessor :id
3483
+
3484
+ # Output only. The datetime when this asset was last modified. The datetime is
3485
+ # in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format.
3486
+ # Corresponds to the JSON property `lastModifiedTime`
3487
+ # @return [String]
3488
+ attr_accessor :last_modified_time
3489
+
3490
+ # A unified location asset.
3491
+ # Corresponds to the JSON property `locationAsset`
3492
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonUnifiedLocationAsset]
3493
+ attr_accessor :location_asset
3494
+
3495
+ # An asset representing a mobile app.
3496
+ # Corresponds to the JSON property `mobileAppAsset`
3497
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonMobileAppAsset]
3498
+ attr_accessor :mobile_app_asset
3499
+
3500
+ # A Unified Page Feed asset.
3501
+ # Corresponds to the JSON property `pageFeedAsset`
3502
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonUnifiedPageFeedAsset]
3503
+ attr_accessor :page_feed_asset
3504
+
3505
+ # Immutable. The resource name of the asset. Asset resource names have the form:
3506
+ # `customers/`customer_id`/assets/`asset_id``
3507
+ # Corresponds to the JSON property `resourceName`
3508
+ # @return [String]
3509
+ attr_accessor :resource_name
3510
+
3511
+ # A unified sitelink asset.
3512
+ # Corresponds to the JSON property `sitelinkAsset`
3513
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonUnifiedSitelinkAsset]
3514
+ attr_accessor :sitelink_asset
3515
+
3516
+ # Output only. The status of the asset.
3517
+ # Corresponds to the JSON property `status`
3518
+ # @return [String]
3519
+ attr_accessor :status
3520
+
3521
+ # URL template for constructing a tracking URL.
3522
+ # Corresponds to the JSON property `trackingUrlTemplate`
3523
+ # @return [String]
3524
+ attr_accessor :tracking_url_template
3525
+
3526
+ # Output only. Type of the asset.
3527
+ # Corresponds to the JSON property `type`
3528
+ # @return [String]
3529
+ attr_accessor :type
3530
+
3531
+ def initialize(**args)
3532
+ update!(**args)
3533
+ end
3534
+
3535
+ # Update properties of this object
3536
+ def update!(**args)
3537
+ @call_asset = args[:call_asset] if args.key?(:call_asset)
3538
+ @callout_asset = args[:callout_asset] if args.key?(:callout_asset)
3539
+ @creation_time = args[:creation_time] if args.key?(:creation_time)
3540
+ @engine_status = args[:engine_status] if args.key?(:engine_status)
3541
+ @final_urls = args[:final_urls] if args.key?(:final_urls)
3542
+ @id = args[:id] if args.key?(:id)
3543
+ @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
3544
+ @location_asset = args[:location_asset] if args.key?(:location_asset)
3545
+ @mobile_app_asset = args[:mobile_app_asset] if args.key?(:mobile_app_asset)
3546
+ @page_feed_asset = args[:page_feed_asset] if args.key?(:page_feed_asset)
3547
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
3548
+ @sitelink_asset = args[:sitelink_asset] if args.key?(:sitelink_asset)
3549
+ @status = args[:status] if args.key?(:status)
3550
+ @tracking_url_template = args[:tracking_url_template] if args.key?(:tracking_url_template)
3551
+ @type = args[:type] if args.key?(:type)
3552
+ end
3553
+ end
3554
+
3555
+ # An asset set representing a collection of assets. Use AssetSetAsset to link an
3556
+ # asset to the asset set.
3557
+ class GoogleAdsSearchads360V0ResourcesAssetSet
3558
+ include Google::Apis::Core::Hashable
3559
+
3560
+ # Output only. The ID of the asset set.
3561
+ # Corresponds to the JSON property `id`
3562
+ # @return [Fixnum]
3563
+ attr_accessor :id
3564
+
3565
+ # Immutable. The resource name of the asset set. Asset set resource names have
3566
+ # the form: `customers/`customer_id`/assetSets/`asset_set_id``
3567
+ # Corresponds to the JSON property `resourceName`
3568
+ # @return [String]
3569
+ attr_accessor :resource_name
3570
+
3571
+ def initialize(**args)
3572
+ update!(**args)
3573
+ end
3574
+
3575
+ # Update properties of this object
3576
+ def update!(**args)
3577
+ @id = args[:id] if args.key?(:id)
3578
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
3579
+ end
3580
+ end
3581
+
3582
+ # AssetSetAsset is the link between an asset and an asset set. Adding an
3583
+ # AssetSetAsset links an asset with an asset set.
3584
+ class GoogleAdsSearchads360V0ResourcesAssetSetAsset
3585
+ include Google::Apis::Core::Hashable
3586
+
3587
+ # Immutable. The asset which this asset set asset is linking to.
3588
+ # Corresponds to the JSON property `asset`
3589
+ # @return [String]
3590
+ attr_accessor :asset
3591
+
3592
+ # Immutable. The asset set which this asset set asset is linking to.
3593
+ # Corresponds to the JSON property `assetSet`
3594
+ # @return [String]
3595
+ attr_accessor :asset_set
3596
+
3597
+ # Immutable. The resource name of the asset set asset. Asset set asset resource
3598
+ # names have the form: `customers/`customer_id`/assetSetAssets/`asset_set_id`~`
3599
+ # asset_id``
3600
+ # Corresponds to the JSON property `resourceName`
3601
+ # @return [String]
3602
+ attr_accessor :resource_name
3603
+
3604
+ # Output only. The status of the asset set asset. Read-only.
3605
+ # Corresponds to the JSON property `status`
3606
+ # @return [String]
3607
+ attr_accessor :status
3608
+
3609
+ def initialize(**args)
3610
+ update!(**args)
3611
+ end
3612
+
3613
+ # Update properties of this object
3614
+ def update!(**args)
3615
+ @asset = args[:asset] if args.key?(:asset)
3616
+ @asset_set = args[:asset_set] if args.key?(:asset_set)
3617
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
3618
+ @status = args[:status] if args.key?(:status)
3619
+ end
3620
+ end
3621
+
2888
3622
  # A bidding strategy.
2889
3623
  class GoogleAdsSearchads360V0ResourcesBiddingStrategy
2890
3624
  include Google::Apis::Core::Hashable
@@ -3212,7 +3946,9 @@ module Google
3212
3946
  attr_accessor :resource_name
3213
3947
 
3214
3948
  # Selective optimization setting for this campaign, which includes a set of
3215
- # conversion actions to optimize this campaign towards.
3949
+ # conversion actions to optimize this campaign towards. This feature only
3950
+ # applies to app campaigns that use MULTI_CHANNEL as AdvertisingChannelType and
3951
+ # APP_CAMPAIGN or APP_CAMPAIGN_FOR_ENGAGEMENT as AdvertisingChannelSubType.
3216
3952
  # Corresponds to the JSON property `selectiveOptimization`
3217
3953
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCampaignSelectiveOptimization]
3218
3954
  attr_accessor :selective_optimization
@@ -3350,6 +4086,85 @@ module Google
3350
4086
  end
3351
4087
  end
3352
4088
 
4089
+ # A link between a Campaign and an Asset.
4090
+ class GoogleAdsSearchads360V0ResourcesCampaignAsset
4091
+ include Google::Apis::Core::Hashable
4092
+
4093
+ # Immutable. The asset which is linked to the campaign.
4094
+ # Corresponds to the JSON property `asset`
4095
+ # @return [String]
4096
+ attr_accessor :asset
4097
+
4098
+ # Immutable. The campaign to which the asset is linked.
4099
+ # Corresponds to the JSON property `campaign`
4100
+ # @return [String]
4101
+ attr_accessor :campaign
4102
+
4103
+ # Immutable. The resource name of the campaign asset. CampaignAsset resource
4104
+ # names have the form: `customers/`customer_id`/campaignAssets/`campaign_id`~`
4105
+ # asset_id`~`field_type``
4106
+ # Corresponds to the JSON property `resourceName`
4107
+ # @return [String]
4108
+ attr_accessor :resource_name
4109
+
4110
+ # Output only. Status of the campaign asset.
4111
+ # Corresponds to the JSON property `status`
4112
+ # @return [String]
4113
+ attr_accessor :status
4114
+
4115
+ def initialize(**args)
4116
+ update!(**args)
4117
+ end
4118
+
4119
+ # Update properties of this object
4120
+ def update!(**args)
4121
+ @asset = args[:asset] if args.key?(:asset)
4122
+ @campaign = args[:campaign] if args.key?(:campaign)
4123
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
4124
+ @status = args[:status] if args.key?(:status)
4125
+ end
4126
+ end
4127
+
4128
+ # CampaignAssetSet is the linkage between a campaign and an asset set. Adding a
4129
+ # CampaignAssetSet links an asset set with a campaign.
4130
+ class GoogleAdsSearchads360V0ResourcesCampaignAssetSet
4131
+ include Google::Apis::Core::Hashable
4132
+
4133
+ # Immutable. The asset set which is linked to the campaign.
4134
+ # Corresponds to the JSON property `assetSet`
4135
+ # @return [String]
4136
+ attr_accessor :asset_set
4137
+
4138
+ # Immutable. The campaign to which this asset set is linked.
4139
+ # Corresponds to the JSON property `campaign`
4140
+ # @return [String]
4141
+ attr_accessor :campaign
4142
+
4143
+ # Immutable. The resource name of the campaign asset set. Asset set asset
4144
+ # resource names have the form: `customers/`customer_id`/campaignAssetSets/`
4145
+ # campaign_id`~`asset_set_id``
4146
+ # Corresponds to the JSON property `resourceName`
4147
+ # @return [String]
4148
+ attr_accessor :resource_name
4149
+
4150
+ # Output only. The status of the campaign asset set asset. Read-only.
4151
+ # Corresponds to the JSON property `status`
4152
+ # @return [String]
4153
+ attr_accessor :status
4154
+
4155
+ def initialize(**args)
4156
+ update!(**args)
4157
+ end
4158
+
4159
+ # Update properties of this object
4160
+ def update!(**args)
4161
+ @asset_set = args[:asset_set] if args.key?(:asset_set)
4162
+ @campaign = args[:campaign] if args.key?(:campaign)
4163
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
4164
+ @status = args[:status] if args.key?(:status)
4165
+ end
4166
+ end
4167
+
3353
4168
  # A campaign audience view. Includes performance data from interests and
3354
4169
  # remarketing lists for Display Network and YouTube Network ads, and remarketing
3355
4170
  # lists for search ads (RLSA), aggregated by campaign and audience criterion.
@@ -3974,6 +4789,79 @@ module Google
3974
4789
  end
3975
4790
  end
3976
4791
 
4792
+ # A link between a customer and an asset.
4793
+ class GoogleAdsSearchads360V0ResourcesCustomerAsset
4794
+ include Google::Apis::Core::Hashable
4795
+
4796
+ # Required. Immutable. The asset which is linked to the customer.
4797
+ # Corresponds to the JSON property `asset`
4798
+ # @return [String]
4799
+ attr_accessor :asset
4800
+
4801
+ # Immutable. The resource name of the customer asset. CustomerAsset resource
4802
+ # names have the form: `customers/`customer_id`/customerAssets/`asset_id`~`
4803
+ # field_type``
4804
+ # Corresponds to the JSON property `resourceName`
4805
+ # @return [String]
4806
+ attr_accessor :resource_name
4807
+
4808
+ # Status of the customer asset.
4809
+ # Corresponds to the JSON property `status`
4810
+ # @return [String]
4811
+ attr_accessor :status
4812
+
4813
+ def initialize(**args)
4814
+ update!(**args)
4815
+ end
4816
+
4817
+ # Update properties of this object
4818
+ def update!(**args)
4819
+ @asset = args[:asset] if args.key?(:asset)
4820
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
4821
+ @status = args[:status] if args.key?(:status)
4822
+ end
4823
+ end
4824
+
4825
+ # CustomerAssetSet is the linkage between a customer and an asset set. Adding a
4826
+ # CustomerAssetSet links an asset set with a customer.
4827
+ class GoogleAdsSearchads360V0ResourcesCustomerAssetSet
4828
+ include Google::Apis::Core::Hashable
4829
+
4830
+ # Immutable. The asset set which is linked to the customer.
4831
+ # Corresponds to the JSON property `assetSet`
4832
+ # @return [String]
4833
+ attr_accessor :asset_set
4834
+
4835
+ # Immutable. The customer to which this asset set is linked.
4836
+ # Corresponds to the JSON property `customer`
4837
+ # @return [String]
4838
+ attr_accessor :customer
4839
+
4840
+ # Immutable. The resource name of the customer asset set. Asset set asset
4841
+ # resource names have the form: `customers/`customer_id`/customerAssetSets/`
4842
+ # asset_set_id``
4843
+ # Corresponds to the JSON property `resourceName`
4844
+ # @return [String]
4845
+ attr_accessor :resource_name
4846
+
4847
+ # Output only. The status of the customer asset set asset. Read-only.
4848
+ # Corresponds to the JSON property `status`
4849
+ # @return [String]
4850
+ attr_accessor :status
4851
+
4852
+ def initialize(**args)
4853
+ update!(**args)
4854
+ end
4855
+
4856
+ # Update properties of this object
4857
+ def update!(**args)
4858
+ @asset_set = args[:asset_set] if args.key?(:asset_set)
4859
+ @customer = args[:customer] if args.key?(:customer)
4860
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
4861
+ @status = args[:status] if args.key?(:status)
4862
+ end
4863
+ end
4864
+
3977
4865
  # A link between the given customer and a client customer. CustomerClients only
3978
4866
  # exist for manager customers. All direct and indirect client customers are
3979
4867
  # included, as well as the manager itself.
@@ -4195,6 +5083,72 @@ module Google
4195
5083
  end
4196
5084
  end
4197
5085
 
5086
+ # A geo target constant.
5087
+ class GoogleAdsSearchads360V0ResourcesGeoTargetConstant
5088
+ include Google::Apis::Core::Hashable
5089
+
5090
+ # Output only. The fully qualified English name, consisting of the target's name
5091
+ # and that of its parent and country.
5092
+ # Corresponds to the JSON property `canonicalName`
5093
+ # @return [String]
5094
+ attr_accessor :canonical_name
5095
+
5096
+ # Output only. The ISO-3166-1 alpha-2 country code that is associated with the
5097
+ # target.
5098
+ # Corresponds to the JSON property `countryCode`
5099
+ # @return [String]
5100
+ attr_accessor :country_code
5101
+
5102
+ # Output only. The ID of the geo target constant.
5103
+ # Corresponds to the JSON property `id`
5104
+ # @return [Fixnum]
5105
+ attr_accessor :id
5106
+
5107
+ # Output only. Geo target constant English name.
5108
+ # Corresponds to the JSON property `name`
5109
+ # @return [String]
5110
+ attr_accessor :name
5111
+
5112
+ # Output only. The resource name of the parent geo target constant. Geo target
5113
+ # constant resource names have the form: `geoTargetConstants/`
5114
+ # parent_geo_target_constant_id``
5115
+ # Corresponds to the JSON property `parentGeoTarget`
5116
+ # @return [String]
5117
+ attr_accessor :parent_geo_target
5118
+
5119
+ # Output only. The resource name of the geo target constant. Geo target constant
5120
+ # resource names have the form: `geoTargetConstants/`geo_target_constant_id``
5121
+ # Corresponds to the JSON property `resourceName`
5122
+ # @return [String]
5123
+ attr_accessor :resource_name
5124
+
5125
+ # Output only. Geo target constant status.
5126
+ # Corresponds to the JSON property `status`
5127
+ # @return [String]
5128
+ attr_accessor :status
5129
+
5130
+ # Output only. Geo target constant target type.
5131
+ # Corresponds to the JSON property `targetType`
5132
+ # @return [String]
5133
+ attr_accessor :target_type
5134
+
5135
+ def initialize(**args)
5136
+ update!(**args)
5137
+ end
5138
+
5139
+ # Update properties of this object
5140
+ def update!(**args)
5141
+ @canonical_name = args[:canonical_name] if args.key?(:canonical_name)
5142
+ @country_code = args[:country_code] if args.key?(:country_code)
5143
+ @id = args[:id] if args.key?(:id)
5144
+ @name = args[:name] if args.key?(:name)
5145
+ @parent_geo_target = args[:parent_geo_target] if args.key?(:parent_geo_target)
5146
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
5147
+ @status = args[:status] if args.key?(:status)
5148
+ @target_type = args[:target_type] if args.key?(:target_type)
5149
+ end
5150
+ end
5151
+
4198
5152
  # A keyword view.
4199
5153
  class GoogleAdsSearchads360V0ResourcesKeywordView
4200
5154
  include Google::Apis::Core::Hashable
@@ -4512,6 +5466,26 @@ module Google
4512
5466
  end
4513
5467
  end
4514
5468
 
5469
+ # Response message for CustomerService.ListAccessibleCustomers.
5470
+ class GoogleAdsSearchads360V0ServicesListAccessibleCustomersResponse
5471
+ include Google::Apis::Core::Hashable
5472
+
5473
+ # Resource name of customers directly accessible by the user authenticating the
5474
+ # call.
5475
+ # Corresponds to the JSON property `resourceNames`
5476
+ # @return [Array<String>]
5477
+ attr_accessor :resource_names
5478
+
5479
+ def initialize(**args)
5480
+ update!(**args)
5481
+ end
5482
+
5483
+ # Update properties of this object
5484
+ def update!(**args)
5485
+ @resource_names = args[:resource_names] if args.key?(:resource_names)
5486
+ end
5487
+ end
5488
+
4515
5489
  # Response message for fetching all custom columns associated with a customer.
4516
5490
  class GoogleAdsSearchads360V0ServicesListCustomColumnsResponse
4517
5491
  include Google::Apis::Core::Hashable
@@ -4550,6 +5524,17 @@ module Google
4550
5524
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAdGroupAdLabel]
4551
5525
  attr_accessor :ad_group_ad_label
4552
5526
 
5527
+ # A link between an ad group and an asset.
5528
+ # Corresponds to the JSON property `adGroupAsset`
5529
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAdGroupAsset]
5530
+ attr_accessor :ad_group_asset
5531
+
5532
+ # AdGroupAssetSet is the linkage between an ad group and an asset set. Creating
5533
+ # an AdGroupAssetSet links an asset set with an ad group.
5534
+ # Corresponds to the JSON property `adGroupAssetSet`
5535
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAdGroupAssetSet]
5536
+ attr_accessor :ad_group_asset_set
5537
+
4553
5538
  # An ad group audience view. Includes performance data from interests and
4554
5539
  # remarketing lists for Display Network and YouTube Network ads, and remarketing
4555
5540
  # lists for search ads (RLSA), aggregated at the audience level.
@@ -4582,6 +5567,26 @@ module Google
4582
5567
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAgeRangeView]
4583
5568
  attr_accessor :age_range_view
4584
5569
 
5570
+ # Asset is a part of an ad which can be shared across multiple ads. It can be an
5571
+ # image (ImageAsset), a video (YoutubeVideoAsset), etc. Assets are immutable and
5572
+ # cannot be removed. To stop an asset from serving, remove the asset from the
5573
+ # entity that is using it.
5574
+ # Corresponds to the JSON property `asset`
5575
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAsset]
5576
+ attr_accessor :asset
5577
+
5578
+ # An asset set representing a collection of assets. Use AssetSetAsset to link an
5579
+ # asset to the asset set.
5580
+ # Corresponds to the JSON property `assetSet`
5581
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAssetSet]
5582
+ attr_accessor :asset_set
5583
+
5584
+ # AssetSetAsset is the link between an asset and an asset set. Adding an
5585
+ # AssetSetAsset links an asset with an asset set.
5586
+ # Corresponds to the JSON property `assetSetAsset`
5587
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAssetSetAsset]
5588
+ attr_accessor :asset_set_asset
5589
+
4585
5590
  # A bidding strategy.
4586
5591
  # Corresponds to the JSON property `biddingStrategy`
4587
5592
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesBiddingStrategy]
@@ -4592,6 +5597,17 @@ module Google
4592
5597
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCampaign]
4593
5598
  attr_accessor :campaign
4594
5599
 
5600
+ # A link between a Campaign and an Asset.
5601
+ # Corresponds to the JSON property `campaignAsset`
5602
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCampaignAsset]
5603
+ attr_accessor :campaign_asset
5604
+
5605
+ # CampaignAssetSet is the linkage between a campaign and an asset set. Adding a
5606
+ # CampaignAssetSet links an asset set with a campaign.
5607
+ # Corresponds to the JSON property `campaignAssetSet`
5608
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCampaignAssetSet]
5609
+ attr_accessor :campaign_asset_set
5610
+
4595
5611
  # A campaign audience view. Includes performance data from interests and
4596
5612
  # remarketing lists for Display Network and YouTube Network ads, and remarketing
4597
5613
  # lists for search ads (RLSA), aggregated by campaign and audience criterion.
@@ -4630,6 +5646,17 @@ module Google
4630
5646
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCustomer]
4631
5647
  attr_accessor :customer
4632
5648
 
5649
+ # A link between a customer and an asset.
5650
+ # Corresponds to the JSON property `customerAsset`
5651
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCustomerAsset]
5652
+ attr_accessor :customer_asset
5653
+
5654
+ # CustomerAssetSet is the linkage between a customer and an asset set. Adding a
5655
+ # CustomerAssetSet links an asset set with a customer.
5656
+ # Corresponds to the JSON property `customerAssetSet`
5657
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCustomerAssetSet]
5658
+ attr_accessor :customer_asset_set
5659
+
4633
5660
  # A link between the given customer and a client customer. CustomerClients only
4634
5661
  # exist for manager customers. All direct and indirect client customers are
4635
5662
  # included, as well as the manager itself.
@@ -4652,6 +5679,11 @@ module Google
4652
5679
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesGenderView]
4653
5680
  attr_accessor :gender_view
4654
5681
 
5682
+ # A geo target constant.
5683
+ # Corresponds to the JSON property `geoTargetConstant`
5684
+ # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesGeoTargetConstant]
5685
+ attr_accessor :geo_target_constant
5686
+
4655
5687
  # A keyword view.
4656
5688
  # Corresponds to the JSON property `keywordView`
4657
5689
  # @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesKeywordView]
@@ -4701,14 +5733,21 @@ module Google
4701
5733
  @ad_group = args[:ad_group] if args.key?(:ad_group)
4702
5734
  @ad_group_ad = args[:ad_group_ad] if args.key?(:ad_group_ad)
4703
5735
  @ad_group_ad_label = args[:ad_group_ad_label] if args.key?(:ad_group_ad_label)
5736
+ @ad_group_asset = args[:ad_group_asset] if args.key?(:ad_group_asset)
5737
+ @ad_group_asset_set = args[:ad_group_asset_set] if args.key?(:ad_group_asset_set)
4704
5738
  @ad_group_audience_view = args[:ad_group_audience_view] if args.key?(:ad_group_audience_view)
4705
5739
  @ad_group_bid_modifier = args[:ad_group_bid_modifier] if args.key?(:ad_group_bid_modifier)
4706
5740
  @ad_group_criterion = args[:ad_group_criterion] if args.key?(:ad_group_criterion)
4707
5741
  @ad_group_criterion_label = args[:ad_group_criterion_label] if args.key?(:ad_group_criterion_label)
4708
5742
  @ad_group_label = args[:ad_group_label] if args.key?(:ad_group_label)
4709
5743
  @age_range_view = args[:age_range_view] if args.key?(:age_range_view)
5744
+ @asset = args[:asset] if args.key?(:asset)
5745
+ @asset_set = args[:asset_set] if args.key?(:asset_set)
5746
+ @asset_set_asset = args[:asset_set_asset] if args.key?(:asset_set_asset)
4710
5747
  @bidding_strategy = args[:bidding_strategy] if args.key?(:bidding_strategy)
4711
5748
  @campaign = args[:campaign] if args.key?(:campaign)
5749
+ @campaign_asset = args[:campaign_asset] if args.key?(:campaign_asset)
5750
+ @campaign_asset_set = args[:campaign_asset_set] if args.key?(:campaign_asset_set)
4712
5751
  @campaign_audience_view = args[:campaign_audience_view] if args.key?(:campaign_audience_view)
4713
5752
  @campaign_budget = args[:campaign_budget] if args.key?(:campaign_budget)
4714
5753
  @campaign_criterion = args[:campaign_criterion] if args.key?(:campaign_criterion)
@@ -4716,10 +5755,13 @@ module Google
4716
5755
  @conversion_action = args[:conversion_action] if args.key?(:conversion_action)
4717
5756
  @custom_columns = args[:custom_columns] if args.key?(:custom_columns)
4718
5757
  @customer = args[:customer] if args.key?(:customer)
5758
+ @customer_asset = args[:customer_asset] if args.key?(:customer_asset)
5759
+ @customer_asset_set = args[:customer_asset_set] if args.key?(:customer_asset_set)
4719
5760
  @customer_client = args[:customer_client] if args.key?(:customer_client)
4720
5761
  @customer_manager_link = args[:customer_manager_link] if args.key?(:customer_manager_link)
4721
5762
  @dynamic_search_ads_search_term_view = args[:dynamic_search_ads_search_term_view] if args.key?(:dynamic_search_ads_search_term_view)
4722
5763
  @gender_view = args[:gender_view] if args.key?(:gender_view)
5764
+ @geo_target_constant = args[:geo_target_constant] if args.key?(:geo_target_constant)
4723
5765
  @keyword_view = args[:keyword_view] if args.key?(:keyword_view)
4724
5766
  @label = args[:label] if args.key?(:label)
4725
5767
  @location_view = args[:location_view] if args.key?(:location_view)