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
Summary of the ad experience rating of a site for a specific platform.
Instance Attribute Summary collapse
-
#better_ads_status ⇒ String
The status of the site reviewed for the Better Ads Standards.
-
#enforcement_time ⇒ String
The date on which ad filtering begins.
-
#filter_status ⇒ String
The ad filtering status of the site.
-
#last_change_time ⇒ String
The last time that the site changed status.
-
#region ⇒ Array<String>
The assigned regions for the site and platform.
-
#report_url ⇒ String
A link that leads to a full ad experience report.
-
#under_review ⇒ Boolean
(also: #under_review?)
Whether the site is currently under review.
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
67 68 69 |
# File 'generated/google/apis/adexperiencereport_v1/classes.rb', line 67 def initialize(**args) update!(**args) end |
Instance Attribute Details
#better_ads_status ⇒ String
The status of the site reviewed for the Better Ads Standards.
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 date on which ad filtering begins.
Corresponds to the JSON property enforcementTime
37 38 39 |
# File 'generated/google/apis/adexperiencereport_v1/classes.rb', line 37 def enforcement_time @enforcement_time end |
#filter_status ⇒ String
The ad filtering status of the site.
Corresponds to the JSON property filterStatus
42 43 44 |
# File 'generated/google/apis/adexperiencereport_v1/classes.rb', line 42 def filter_status @filter_status end |
#last_change_time ⇒ String
The last time that the site changed status.
Corresponds to the JSON property lastChangeTime
47 48 49 |
# File 'generated/google/apis/adexperiencereport_v1/classes.rb', line 47 def last_change_time @last_change_time end |
#region ⇒ Array<String>
The assigned regions for the site and platform.
No longer populated, because there is no longer any semantic difference
between sites in different regions.
Corresponds to the JSON property region
54 55 56 |
# File 'generated/google/apis/adexperiencereport_v1/classes.rb', line 54 def region @region end |
#report_url ⇒ String
A link that leads to a full ad experience report.
Corresponds to the JSON property reportUrl
59 60 61 |
# File 'generated/google/apis/adexperiencereport_v1/classes.rb', line 59 def report_url @report_url end |
#under_review ⇒ Boolean Also known as: under_review?
Whether the site is currently under review.
Corresponds to the JSON property underReview
64 65 66 |
# File 'generated/google/apis/adexperiencereport_v1/classes.rb', line 64 def under_review @under_review end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
72 73 74 75 76 77 78 79 80 |
# File 'generated/google/apis/adexperiencereport_v1/classes.rb', line 72 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 |