Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesMediaBundle

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

Overview

Represents a ZIP archive media the content of which contains HTML5 assets.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesMediaBundle

Returns a new instance of GoogleAdsSearchads360V23ResourcesMediaBundle.



31454
31455
31456
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31454

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

Instance Attribute Details

#dataString

Immutable. Raw zipped data. Corresponds to the JSON property data NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


31446
31447
31448
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31446

def data
  @data
end

#urlString

Output only. The url to access the uploaded zipped data. For example, https:// tpc.googlesyndication.com/simgad/123 This field is read-only. Corresponds to the JSON property url

Returns:

  • (String)


31452
31453
31454
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31452

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



31459
31460
31461
31462
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31459

def update!(**args)
  @data = args[:data] if args.key?(:data)
  @url = args[:url] if args.key?(:url)
end