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.



13952
13953
13954
# File 'lib/google/apis/content_v2_1/classes.rb', line 13952

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)


13905
13906
13907
# File 'lib/google/apis/content_v2_1/classes.rb', line 13905

def disapproval_date
  @disapproval_date
end

#eligibility_statusString

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

Returns:

  • (String)


13910
13911
13912
# File 'lib/google/apis/content_v2_1/classes.rb', line 13910

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>)


13915
13916
13917
# File 'lib/google/apis/content_v2_1/classes.rb', line 13915

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>)


13922
13923
13924
# File 'lib/google/apis/content_v2_1/classes.rb', line 13922

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)


13928
13929
13930
# File 'lib/google/apis/content_v2_1/classes.rb', line 13928

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)


13933
13934
13935
# File 'lib/google/apis/content_v2_1/classes.rb', line 13933

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)


13939
13940
13941
# File 'lib/google/apis/content_v2_1/classes.rb', line 13939

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



13944
13945
13946
# File 'lib/google/apis/content_v2_1/classes.rb', line 13944

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>)


13950
13951
13952
# File 'lib/google/apis/content_v2_1/classes.rb', line 13950

def review_issues
  @review_issues
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
# File 'lib/google/apis/content_v2_1/classes.rb', line 13957

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