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.



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

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)


13867
13868
13869
# File 'lib/google/apis/content_v2_1/classes.rb', line 13867

def disapproval_date
  @disapproval_date
end

#eligibility_statusString

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

Returns:

  • (String)


13872
13873
13874
# File 'lib/google/apis/content_v2_1/classes.rb', line 13872

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


13877
13878
13879
# File 'lib/google/apis/content_v2_1/classes.rb', line 13877

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


13884
13885
13886
# File 'lib/google/apis/content_v2_1/classes.rb', line 13884

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)


13890
13891
13892
# File 'lib/google/apis/content_v2_1/classes.rb', line 13890

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)


13895
13896
13897
# File 'lib/google/apis/content_v2_1/classes.rb', line 13895

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)


13901
13902
13903
# File 'lib/google/apis/content_v2_1/classes.rb', line 13901

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



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

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


13912
13913
13914
# File 'lib/google/apis/content_v2_1/classes.rb', line 13912

def review_issues
  @review_issues
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
# File 'lib/google/apis/content_v2_1/classes.rb', line 13919

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