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.



31352
31353
31354
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31352

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)


31344
31345
31346
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31344

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)


31350
31351
31352
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31350

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



31357
31358
31359
31360
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31357

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