Class: Google::Apis::AdexperiencereportV1::PlatformSummary
- Inherits:
-
Object
- Object
- Google::Apis::AdexperiencereportV1::PlatformSummary
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexperiencereport_v1/classes.rb,
generated/google/apis/adexperiencereport_v1/representations.rb,
generated/google/apis/adexperiencereport_v1/representations.rb
Overview
A site's Ad Experience Report summary on a single platform.
Instance Attribute Summary collapse
-
#better_ads_status ⇒ String
The site's Ad Experience Report status on this platform.
-
#enforcement_time ⇒ String
The time at which enforcement against the site began or will begin on this platform.
-
#filter_status ⇒ String
The site's enforcement status on this platform.
-
#last_change_time ⇒ String
The time at which the site's status last changed on this platform.
-
#region ⇒ Array<String>
The site's regions on this platform.
-
#report_url ⇒ String
A link to the full Ad Experience Report for the site on this platform..
-
#under_review ⇒ Boolean
(also: #under_review?)
Whether the site is currently under review on this platform.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PlatformSummary
constructor
A new instance of PlatformSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PlatformSummary
Returns a new instance of PlatformSummary.
79 80 81 |
# File 'generated/google/apis/adexperiencereport_v1/classes.rb', line 79 def initialize(**args) update!(**args) end |
Instance Attribute Details
#better_ads_status ⇒ String
The site's Ad Experience Report status on this platform.
Corresponds to the JSON property betterAdsStatus
32 33 34 |
# File 'generated/google/apis/adexperiencereport_v1/classes.rb', line 32 def better_ads_status @better_ads_status end |
#enforcement_time ⇒ String
The time at which
enforcement against
the site began or will begin on this platform.
Not set when the
filter_status
is OFF.
Corresponds to the JSON property enforcementTime
42 43 44 |
# File 'generated/google/apis/adexperiencereport_v1/classes.rb', line 42 def enforcement_time @enforcement_time end |
#filter_status ⇒ String
The site's enforcement
status on this
platform.
Corresponds to the JSON property filterStatus
49 50 51 |
# File 'generated/google/apis/adexperiencereport_v1/classes.rb', line 49 def filter_status @filter_status end |
#last_change_time ⇒ String
The time at which the site's status last changed on this platform.
Corresponds to the JSON property lastChangeTime
54 55 56 |
# File 'generated/google/apis/adexperiencereport_v1/classes.rb', line 54 def last_change_time @last_change_time end |
#region ⇒ Array<String>
The site's regions on this platform.
No longer populated, because there is no longer any semantic difference
between sites in different regions.
Corresponds to the JSON property region
61 62 63 |
# File 'generated/google/apis/adexperiencereport_v1/classes.rb', line 61 def region @region end |
#report_url ⇒ String
A link to the full Ad Experience Report for the site on this platform..
Not set in
ViolatingSitesResponse.
Note that you must complete the Search Console verification
process for the site
before you can access the full report.
Corresponds to the JSON property reportUrl
71 72 73 |
# File 'generated/google/apis/adexperiencereport_v1/classes.rb', line 71 def report_url @report_url end |
#under_review ⇒ Boolean Also known as: under_review?
Whether the site is currently under review on this platform.
Corresponds to the JSON property underReview
76 77 78 |
# File 'generated/google/apis/adexperiencereport_v1/classes.rb', line 76 def under_review @under_review end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
84 85 86 87 88 89 90 91 92 |
# File 'generated/google/apis/adexperiencereport_v1/classes.rb', line 84 def update!(**args) @better_ads_status = args[:better_ads_status] if args.key?(:better_ads_status) @enforcement_time = args[:enforcement_time] if args.key?(:enforcement_time) @filter_status = args[:filter_status] if args.key?(:filter_status) @last_change_time = args[:last_change_time] if args.key?(:last_change_time) @region = args[:region] if args.key?(:region) @report_url = args[:report_url] if args.key?(:report_url) @under_review = args[:under_review] if args.key?(:under_review) end |