google-apis-searchads360_v0 0.7.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
|
@@ -1210,6 +1334,11 @@ module Google
|
|
1210
1334
|
# @return [String]
|
1211
1335
|
attr_accessor :ad_network_type
|
1212
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
|
+
|
1213
1342
|
# Resource name of the conversion action.
|
1214
1343
|
# Corresponds to the JSON property `conversionAction`
|
1215
1344
|
# @return [String]
|
@@ -1276,6 +1405,7 @@ module Google
|
|
1276
1405
|
# Update properties of this object
|
1277
1406
|
def update!(**args)
|
1278
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)
|
1279
1409
|
@conversion_action = args[:conversion_action] if args.key?(:conversion_action)
|
1280
1410
|
@conversion_action_category = args[:conversion_action_category] if args.key?(:conversion_action_category)
|
1281
1411
|
@conversion_action_name = args[:conversion_action_name] if args.key?(:conversion_action_name)
|
@@ -1547,6 +1677,282 @@ module Google
|
|
1547
1677
|
end
|
1548
1678
|
end
|
1549
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
|
+
|
1550
1956
|
# A User List criterion. Represents a user list that is defined by the
|
1551
1957
|
# advertiser to be targeted.
|
1552
1958
|
class GoogleAdsSearchads360V0CommonUserListInfo
|
@@ -1752,6 +2158,11 @@ module Google
|
|
1752
2158
|
# @return [String]
|
1753
2159
|
attr_accessor :internal_error
|
1754
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
|
+
|
1755
2166
|
# An error with the query
|
1756
2167
|
# Corresponds to the JSON property `queryError`
|
1757
2168
|
# @return [String]
|
@@ -1786,6 +2197,7 @@ module Google
|
|
1786
2197
|
@distinct_error = args[:distinct_error] if args.key?(:distinct_error)
|
1787
2198
|
@header_error = args[:header_error] if args.key?(:header_error)
|
1788
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)
|
1789
2201
|
@query_error = args[:query_error] if args.key?(:query_error)
|
1790
2202
|
@quota_error = args[:quota_error] if args.key?(:quota_error)
|
1791
2203
|
@request_error = args[:request_error] if args.key?(:request_error)
|
@@ -1939,6 +2351,26 @@ module Google
|
|
1939
2351
|
end
|
1940
2352
|
end
|
1941
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
|
+
|
1942
2374
|
# A container for ad group criterion quality information.
|
1943
2375
|
class GoogleAdsSearchads360V0ResourcesAdGroupCriterionQualityInfo
|
1944
2376
|
include Google::Apis::Core::Hashable
|
@@ -2083,7 +2515,9 @@ module Google
|
|
2083
2515
|
end
|
2084
2516
|
|
2085
2517
|
# Selective optimization setting for this campaign, which includes a set of
|
2086
|
-
# 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.
|
2087
2521
|
class GoogleAdsSearchads360V0ResourcesCampaignSelectiveOptimization
|
2088
2522
|
include Google::Apis::Core::Hashable
|
2089
2523
|
|
@@ -2596,6 +3030,85 @@ module Google
|
|
2596
3030
|
end
|
2597
3031
|
end
|
2598
3032
|
|
3033
|
+
# A link between an ad group and an asset.
|
3034
|
+
class GoogleAdsSearchads360V0ResourcesAdGroupAsset
|
3035
|
+
include Google::Apis::Core::Hashable
|
3036
|
+
|
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
|
+
|
2599
3112
|
# An ad group audience view. Includes performance data from interests and
|
2600
3113
|
# remarketing lists for Display Network and YouTube Network ads, and remarketing
|
2601
3114
|
# lists for search ads (RLSA), aggregated at the audience level.
|
@@ -2758,6 +3271,11 @@ module Google
|
|
2758
3271
|
attr_accessor :negative
|
2759
3272
|
alias_method :negative?, :negative
|
2760
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
|
+
|
2761
3279
|
# A container for ad group criterion quality information.
|
2762
3280
|
# Corresponds to the JSON property `qualityInfo`
|
2763
3281
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAdGroupCriterionQualityInfo]
|
@@ -2827,6 +3345,7 @@ module Google
|
|
2827
3345
|
@listing_group = args[:listing_group] if args.key?(:listing_group)
|
2828
3346
|
@location = args[:location] if args.key?(:location)
|
2829
3347
|
@negative = args[:negative] if args.key?(:negative)
|
3348
|
+
@position_estimates = args[:position_estimates] if args.key?(:position_estimates)
|
2830
3349
|
@quality_info = args[:quality_info] if args.key?(:quality_info)
|
2831
3350
|
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
2832
3351
|
@status = args[:status] if args.key?(:status)
|
@@ -2931,6 +3450,16 @@ module Google
|
|
2931
3450
|
class GoogleAdsSearchads360V0ResourcesAsset
|
2932
3451
|
include Google::Apis::Core::Hashable
|
2933
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
|
+
|
2934
3463
|
# Output only. The timestamp when this asset was created. The timestamp is in
|
2935
3464
|
# the customer's time zone and in "yyyy-MM-dd HH:mm:ss" format.
|
2936
3465
|
# Corresponds to the JSON property `creationTime`
|
@@ -2958,17 +3487,32 @@ module Google
|
|
2958
3487
|
# @return [String]
|
2959
3488
|
attr_accessor :last_modified_time
|
2960
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
|
+
|
2961
3495
|
# An asset representing a mobile app.
|
2962
3496
|
# Corresponds to the JSON property `mobileAppAsset`
|
2963
3497
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonMobileAppAsset]
|
2964
3498
|
attr_accessor :mobile_app_asset
|
2965
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
|
+
|
2966
3505
|
# Immutable. The resource name of the asset. Asset resource names have the form:
|
2967
3506
|
# `customers/`customer_id`/assets/`asset_id``
|
2968
3507
|
# Corresponds to the JSON property `resourceName`
|
2969
3508
|
# @return [String]
|
2970
3509
|
attr_accessor :resource_name
|
2971
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
|
+
|
2972
3516
|
# Output only. The status of the asset.
|
2973
3517
|
# Corresponds to the JSON property `status`
|
2974
3518
|
# @return [String]
|
@@ -2990,13 +3534,18 @@ module Google
|
|
2990
3534
|
|
2991
3535
|
# Update properties of this object
|
2992
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)
|
2993
3539
|
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
2994
3540
|
@engine_status = args[:engine_status] if args.key?(:engine_status)
|
2995
3541
|
@final_urls = args[:final_urls] if args.key?(:final_urls)
|
2996
3542
|
@id = args[:id] if args.key?(:id)
|
2997
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)
|
2998
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)
|
2999
3547
|
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
3548
|
+
@sitelink_asset = args[:sitelink_asset] if args.key?(:sitelink_asset)
|
3000
3549
|
@status = args[:status] if args.key?(:status)
|
3001
3550
|
@tracking_url_template = args[:tracking_url_template] if args.key?(:tracking_url_template)
|
3002
3551
|
@type = args[:type] if args.key?(:type)
|
@@ -3030,6 +3579,46 @@ module Google
|
|
3030
3579
|
end
|
3031
3580
|
end
|
3032
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
|
+
|
3033
3622
|
# A bidding strategy.
|
3034
3623
|
class GoogleAdsSearchads360V0ResourcesBiddingStrategy
|
3035
3624
|
include Google::Apis::Core::Hashable
|
@@ -3357,7 +3946,9 @@ module Google
|
|
3357
3946
|
attr_accessor :resource_name
|
3358
3947
|
|
3359
3948
|
# Selective optimization setting for this campaign, which includes a set of
|
3360
|
-
# 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.
|
3361
3952
|
# Corresponds to the JSON property `selectiveOptimization`
|
3362
3953
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCampaignSelectiveOptimization]
|
3363
3954
|
attr_accessor :selective_optimization
|
@@ -3495,6 +4086,85 @@ module Google
|
|
3495
4086
|
end
|
3496
4087
|
end
|
3497
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
|
+
|
3498
4168
|
# A campaign audience view. Includes performance data from interests and
|
3499
4169
|
# remarketing lists for Display Network and YouTube Network ads, and remarketing
|
3500
4170
|
# lists for search ads (RLSA), aggregated by campaign and audience criterion.
|
@@ -4119,6 +4789,79 @@ module Google
|
|
4119
4789
|
end
|
4120
4790
|
end
|
4121
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
|
+
|
4122
4865
|
# A link between the given customer and a client customer. CustomerClients only
|
4123
4866
|
# exist for manager customers. All direct and indirect client customers are
|
4124
4867
|
# included, as well as the manager itself.
|
@@ -4340,6 +5083,72 @@ module Google
|
|
4340
5083
|
end
|
4341
5084
|
end
|
4342
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
|
+
|
4343
5152
|
# A keyword view.
|
4344
5153
|
class GoogleAdsSearchads360V0ResourcesKeywordView
|
4345
5154
|
include Google::Apis::Core::Hashable
|
@@ -4715,6 +5524,17 @@ module Google
|
|
4715
5524
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAdGroupAdLabel]
|
4716
5525
|
attr_accessor :ad_group_ad_label
|
4717
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
|
+
|
4718
5538
|
# An ad group audience view. Includes performance data from interests and
|
4719
5539
|
# remarketing lists for Display Network and YouTube Network ads, and remarketing
|
4720
5540
|
# lists for search ads (RLSA), aggregated at the audience level.
|
@@ -4761,6 +5581,12 @@ module Google
|
|
4761
5581
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAssetSet]
|
4762
5582
|
attr_accessor :asset_set
|
4763
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
|
+
|
4764
5590
|
# A bidding strategy.
|
4765
5591
|
# Corresponds to the JSON property `biddingStrategy`
|
4766
5592
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesBiddingStrategy]
|
@@ -4771,6 +5597,17 @@ module Google
|
|
4771
5597
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCampaign]
|
4772
5598
|
attr_accessor :campaign
|
4773
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
|
+
|
4774
5611
|
# A campaign audience view. Includes performance data from interests and
|
4775
5612
|
# remarketing lists for Display Network and YouTube Network ads, and remarketing
|
4776
5613
|
# lists for search ads (RLSA), aggregated by campaign and audience criterion.
|
@@ -4809,6 +5646,17 @@ module Google
|
|
4809
5646
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCustomer]
|
4810
5647
|
attr_accessor :customer
|
4811
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
|
+
|
4812
5660
|
# A link between the given customer and a client customer. CustomerClients only
|
4813
5661
|
# exist for manager customers. All direct and indirect client customers are
|
4814
5662
|
# included, as well as the manager itself.
|
@@ -4831,6 +5679,11 @@ module Google
|
|
4831
5679
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesGenderView]
|
4832
5680
|
attr_accessor :gender_view
|
4833
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
|
+
|
4834
5687
|
# A keyword view.
|
4835
5688
|
# Corresponds to the JSON property `keywordView`
|
4836
5689
|
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesKeywordView]
|
@@ -4880,6 +5733,8 @@ module Google
|
|
4880
5733
|
@ad_group = args[:ad_group] if args.key?(:ad_group)
|
4881
5734
|
@ad_group_ad = args[:ad_group_ad] if args.key?(:ad_group_ad)
|
4882
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)
|
4883
5738
|
@ad_group_audience_view = args[:ad_group_audience_view] if args.key?(:ad_group_audience_view)
|
4884
5739
|
@ad_group_bid_modifier = args[:ad_group_bid_modifier] if args.key?(:ad_group_bid_modifier)
|
4885
5740
|
@ad_group_criterion = args[:ad_group_criterion] if args.key?(:ad_group_criterion)
|
@@ -4888,8 +5743,11 @@ module Google
|
|
4888
5743
|
@age_range_view = args[:age_range_view] if args.key?(:age_range_view)
|
4889
5744
|
@asset = args[:asset] if args.key?(:asset)
|
4890
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)
|
4891
5747
|
@bidding_strategy = args[:bidding_strategy] if args.key?(:bidding_strategy)
|
4892
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)
|
4893
5751
|
@campaign_audience_view = args[:campaign_audience_view] if args.key?(:campaign_audience_view)
|
4894
5752
|
@campaign_budget = args[:campaign_budget] if args.key?(:campaign_budget)
|
4895
5753
|
@campaign_criterion = args[:campaign_criterion] if args.key?(:campaign_criterion)
|
@@ -4897,10 +5755,13 @@ module Google
|
|
4897
5755
|
@conversion_action = args[:conversion_action] if args.key?(:conversion_action)
|
4898
5756
|
@custom_columns = args[:custom_columns] if args.key?(:custom_columns)
|
4899
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)
|
4900
5760
|
@customer_client = args[:customer_client] if args.key?(:customer_client)
|
4901
5761
|
@customer_manager_link = args[:customer_manager_link] if args.key?(:customer_manager_link)
|
4902
5762
|
@dynamic_search_ads_search_term_view = args[:dynamic_search_ads_search_term_view] if args.key?(:dynamic_search_ads_search_term_view)
|
4903
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)
|
4904
5765
|
@keyword_view = args[:keyword_view] if args.key?(:keyword_view)
|
4905
5766
|
@label = args[:label] if args.key?(:label)
|
4906
5767
|
@location_view = args[:location_view] if args.key?(:location_view)
|