Class: Google::Apis::RealtimebiddingV1::DestinationNotWorkingEvidence

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

Overview

Evidence of the creative's destination URL not functioning properly or having been incorrectly set up.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DestinationNotWorkingEvidence

Returns a new instance of DestinationNotWorkingEvidence.



833
834
835
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 833

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

Instance Attribute Details

#dns_errorString

DNS lookup errors. Corresponds to the JSON property dnsError

Returns:

  • (String)


795
796
797
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 795

def dns_error
  @dns_error
end

#expanded_urlString

The full non-working URL. Corresponds to the JSON property expandedUrl

Returns:

  • (String)


800
801
802
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 800

def expanded_url
  @expanded_url
end

#http_errorFixnum

HTTP error code (e.g. 404 or 5xx) Corresponds to the JSON property httpError

Returns:

  • (Fixnum)


805
806
807
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 805

def http_error
  @http_error
end

#invalid_pageString

Page was crawled successfully, but was detected as either a page with no content or an error page. Corresponds to the JSON property invalidPage

Returns:

  • (String)


811
812
813
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 811

def invalid_page
  @invalid_page
end

#last_check_timeString

Approximate time when the ad destination was last checked. Corresponds to the JSON property lastCheckTime

Returns:

  • (String)


816
817
818
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 816

def last_check_time
  @last_check_time
end

#platformString

Platform of the non-working URL. Corresponds to the JSON property platform

Returns:

  • (String)


821
822
823
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 821

def platform
  @platform
end

#redirection_errorString

HTTP redirect chain error. Corresponds to the JSON property redirectionError

Returns:

  • (String)


826
827
828
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 826

def redirection_error
  @redirection_error
end

#url_rejectedString

Rejected because of malformed URLs or invalid requests. Corresponds to the JSON property urlRejected

Returns:

  • (String)


831
832
833
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 831

def url_rejected
  @url_rejected
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



838
839
840
841
842
843
844
845
846
847
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 838

def update!(**args)
  @dns_error = args[:dns_error] if args.key?(:dns_error)
  @expanded_url = args[:expanded_url] if args.key?(:expanded_url)
  @http_error = args[:http_error] if args.key?(:http_error)
  @invalid_page = args[:invalid_page] if args.key?(:invalid_page)
  @last_check_time = args[:last_check_time] if args.key?(:last_check_time)
  @platform = args[:platform] if args.key?(:platform)
  @redirection_error = args[:redirection_error] if args.key?(:redirection_error)
  @url_rejected = args[:url_rejected] if args.key?(:url_rejected)
end