class Google::Apis::ContentV2_1::ShoppingAdsProgramStatusRegionStatus

Status of program and region.

Attributes

disapproval_date[RW]

Date by which `eligibility_status` will go from `WARNING` to `DISAPPROVED`. It will be present when `eligibility_status` is `WARNING`. Date will be provided in [ISO 8601](en.wikipedia.org/wiki/ISO_8601) format i.e. YYYY-MM-DD Corresponds to the JSON property `disapprovalDate` @return [String]

eligibility_status[RW]

Eligibility status of the Shopping Ads program. Corresponds to the JSON property `eligibilityStatus` @return [String]

ineligibility_reason[RW]

Reason if a program in a given country is not eligible for review. Populated only if `review_eligibility_status` is `INELIGIBLE`. Corresponds to the JSON property `ineligibilityReason` @return [String]

region_codes[RW]

The two-letter [ISO 3166-1 alpha-2](en.wikipedia.org/wiki/ISO_3166- 1_alpha-2) codes for all the regions with the same `eligibilityStatus` and ` reviewEligibility`. Corresponds to the JSON property `regionCodes` @return [Array<String>]

review_eligibility_status[RW]

If a program in a given country is eligible for review. It will be present only if eligibility status is `DISAPPROVED`. Corresponds to the JSON property `reviewEligibilityStatus` @return [String]

review_issues[RW]

These issues will be evaluated in review process. Fix all the issues before requesting the review. Corresponds to the JSON property `reviewIssues` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 14939
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/content_v2_1/classes.rb, line 14944
def update!(**args)
  @disapproval_date = args[:disapproval_date] if args.key?(:disapproval_date)
  @eligibility_status = args[:eligibility_status] if args.key?(:eligibility_status)
  @ineligibility_reason = args[:ineligibility_reason] if args.key?(:ineligibility_reason)
  @region_codes = args[:region_codes] if args.key?(:region_codes)
  @review_eligibility_status = args[:review_eligibility_status] if args.key?(:review_eligibility_status)
  @review_issues = args[:review_issues] if args.key?(:review_issues)
end