Class: Google::Apis::ContentV2_1::ShoppingAdsProgramStatusRegionStatus

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb

Overview

Status of program and region.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ShoppingAdsProgramStatusRegionStatus

Returns a new instance of ShoppingAdsProgramStatusRegionStatus.



14252
14253
14254
# File 'lib/google/apis/content_v2_1/classes.rb', line 14252

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#disapproval_dateString

Date by which eligibilityStatus will go from WARNING to DISAPPROVED. Only visible when your eligibilityStatus is WARNING. In ISO 8601 format: YYYY-MM-DD. Corresponds to the JSON property disapprovalDate

Returns:

  • (String)


14205
14206
14207
# File 'lib/google/apis/content_v2_1/classes.rb', line 14205

def disapproval_date
  @disapproval_date
end

#eligibility_statusString

Eligibility status of the Shopping Ads program. Corresponds to the JSON property eligibilityStatus

Returns:

  • (String)


14210
14211
14212
# File 'lib/google/apis/content_v2_1/classes.rb', line 14210

def eligibility_status
  @eligibility_status
end

#onboarding_issuesArray<String>

Issues that must be fixed to be eligible for review. Corresponds to the JSON property onboardingIssues

Returns:

  • (Array<String>)


14215
14216
14217
# File 'lib/google/apis/content_v2_1/classes.rb', line 14215

def onboarding_issues
  @onboarding_issues
end

#region_codesArray<String>

The two-letter ISO 3166-1 alpha-2 codes for all the regions with the same eligibilityStatus and reviewEligibility. Corresponds to the JSON property regionCodes

Returns:

  • (Array<String>)


14222
14223
14224
# File 'lib/google/apis/content_v2_1/classes.rb', line 14222

def region_codes
  @region_codes
end

#review_eligibility_statusString

If a program is eligible for review in a specific region. Only visible if eligibilityStatus is DISAPPROVED. Corresponds to the JSON property reviewEligibilityStatus

Returns:

  • (String)


14228
14229
14230
# File 'lib/google/apis/content_v2_1/classes.rb', line 14228

def review_eligibility_status
  @review_eligibility_status
end

#review_ineligibility_reasonString

Review ineligibility reason if account is not eligible for review. Corresponds to the JSON property reviewIneligibilityReason

Returns:

  • (String)


14233
14234
14235
# File 'lib/google/apis/content_v2_1/classes.rb', line 14233

def review_ineligibility_reason
  @review_ineligibility_reason
end

#review_ineligibility_reason_descriptionString

Reason a program in a specific region isn’t eligible for review. Only visible if reviewEligibilityStatus is INELIGIBLE. Corresponds to the JSON property reviewIneligibilityReasonDescription

Returns:

  • (String)


14239
14240
14241
# File 'lib/google/apis/content_v2_1/classes.rb', line 14239

def review_ineligibility_reason_description
  @review_ineligibility_reason_description
end

#review_ineligibility_reason_detailsGoogle::Apis::ContentV2_1::ShoppingAdsProgramStatusReviewIneligibilityReasonDetails

Additional details for review ineligibility reasons. Corresponds to the JSON property reviewIneligibilityReasonDetails



14244
14245
14246
# File 'lib/google/apis/content_v2_1/classes.rb', line 14244

def review_ineligibility_reason_details
  @review_ineligibility_reason_details
end

#review_issuesArray<String>

Issues evaluated in the review process. Fix all issues before requesting a review. Corresponds to the JSON property reviewIssues

Returns:

  • (Array<String>)


14250
14251
14252
# File 'lib/google/apis/content_v2_1/classes.rb', line 14250

def review_issues
  @review_issues
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
# File 'lib/google/apis/content_v2_1/classes.rb', line 14257

def update!(**args)
  @disapproval_date = args[:disapproval_date] if args.key?(:disapproval_date)
  @eligibility_status = args[:eligibility_status] if args.key?(:eligibility_status)
  @onboarding_issues = args[:onboarding_issues] if args.key?(:onboarding_issues)
  @region_codes = args[:region_codes] if args.key?(:region_codes)
  @review_eligibility_status = args[:review_eligibility_status] if args.key?(:review_eligibility_status)
  @review_ineligibility_reason = args[:review_ineligibility_reason] if args.key?(:review_ineligibility_reason)
  @review_ineligibility_reason_description = args[:review_ineligibility_reason_description] if args.key?(:review_ineligibility_reason_description)
  @review_ineligibility_reason_details = args[:review_ineligibility_reason_details] if args.key?(:review_ineligibility_reason_details)
  @review_issues = args[:review_issues] if args.key?(:review_issues)
end