Class: Google::Apis::DfareportingV3_3::CreativeAsset

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

Overview

Creative Asset.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CreativeAsset

Returns a new instance of CreativeAsset.



3675
3676
3677
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3675

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

Instance Attribute Details

#action_script3Boolean Also known as: action_script3?

Whether ActionScript3 is enabled for the flash asset. This is a read-only field. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. Corresponds to the JSON property actionScript3

Returns:

  • (Boolean)


3326
3327
3328
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3326

def action_script3
  @action_script3
end

#activeBoolean Also known as: active?

Whether the video or audio asset is active. This is a read-only field for VPAID_NON_LINEAR_VIDEO assets. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. Corresponds to the JSON property active

Returns:

  • (Boolean)


3334
3335
3336
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3334

def active
  @active
end

#additional_sizesArray<Google::Apis::DfareportingV3_3::Size>

Additional sizes associated with this creative asset. HTML5 asset generated by compatible software such as GWD will be able to support more sizes this creative asset can render. Corresponds to the JSON property additionalSizes



3342
3343
3344
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3342

def additional_sizes
  @additional_sizes
end

#alignmentString

Possible alignments for an asset. This is a read-only field. Applicable to the following creative types: RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL. Corresponds to the JSON property alignment

Returns:

  • (String)


3348
3349
3350
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3348

def alignment
  @alignment
end

#artwork_typeString

Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. Corresponds to the JSON property artworkType

Returns:

  • (String)


3354
3355
3356
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3354

def artwork_type
  @artwork_type
end

#asset_identifierGoogle::Apis::DfareportingV3_3::CreativeAssetId

Creative Asset ID. Corresponds to the JSON property assetIdentifier



3359
3360
3361
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3359

def asset_identifier
  @asset_identifier
end

#audio_bit_rateFixnum

Audio stream bit rate in kbps. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. Corresponds to the JSON property audioBitRate

Returns:

  • (Fixnum)


3365
3366
3367
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3365

def audio_bit_rate
  @audio_bit_rate
end

#audio_sample_rateFixnum

Audio sample bit rate in hertz. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. Corresponds to the JSON property audioSampleRate

Returns:

  • (Fixnum)


3371
3372
3373
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3371

def audio_sample_rate
  @audio_sample_rate
end

#backup_image_exitGoogle::Apis::DfareportingV3_3::CreativeCustomEvent

Creative Custom Event. Corresponds to the JSON property backupImageExit



3376
3377
3378
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3376

def backup_image_exit
  @backup_image_exit
end

#bit_rateFixnum

Detected bit-rate for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. Corresponds to the JSON property bitRate

Returns:

  • (Fixnum)


3383
3384
3385
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3383

def bit_rate
  @bit_rate
end

#child_asset_typeString

Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID. Corresponds to the JSON property childAssetType

Returns:

  • (String)


3389
3390
3391
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3389

def child_asset_type
  @child_asset_type
end

#collapsed_sizeGoogle::Apis::DfareportingV3_3::Size

Represents the dimensions of ads, placements, creatives, or creative assets. Corresponds to the JSON property collapsedSize



3394
3395
3396
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3394

def collapsed_size
  @collapsed_size
end

#companion_creative_idsArray<Fixnum>

List of companion creatives assigned to an in-stream video creative asset. Acceptable values include IDs of existing flash and image creatives. Applicable to INSTREAM_VIDEO creative type with dynamicAssetSelection set to true. Corresponds to the JSON property companionCreativeIds

Returns:

  • (Array<Fixnum>)


3402
3403
3404
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3402

def companion_creative_ids
  @companion_creative_ids
end

#custom_start_time_valueFixnum

Custom start time in seconds for making the asset visible. Applicable to the following creative types: all RICH_MEDIA. Value must be greater than or equal to 0. Corresponds to the JSON property customStartTimeValue

Returns:

  • (Fixnum)


3409
3410
3411
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3409

def custom_start_time_value
  @custom_start_time_value
end

#detected_featuresArray<String>

List of feature dependencies for the creative asset that are detected by Campaign Manager. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. Corresponds to the JSON property detectedFeatures

Returns:

  • (Array<String>)


3419
3420
3421
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3419

def detected_features
  @detected_features
end

#display_typeString

Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. Corresponds to the JSON property displayType

Returns:

  • (String)


3425
3426
3427
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3425

def display_type
  @display_type
end

#durationFixnum

Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID_LINEAR_VIDEO. Value must be greater than or equal to 1. Corresponds to the JSON property duration

Returns:

  • (Fixnum)


3432
3433
3434
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3432

def duration
  @duration
end

#duration_typeString

Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA. Corresponds to the JSON property durationType

Returns:

  • (String)


3438
3439
3440
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3438

def duration_type
  @duration_type
end

#expanded_dimensionGoogle::Apis::DfareportingV3_3::Size

Represents the dimensions of ads, placements, creatives, or creative assets. Corresponds to the JSON property expandedDimension



3443
3444
3445
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3443

def expanded_dimension
  @expanded_dimension
end

#file_sizeFixnum

File size associated with this creative asset. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. Corresponds to the JSON property fileSize

Returns:

  • (Fixnum)


3450
3451
3452
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3450

def file_size
  @file_size
end

#flash_versionFixnum

Flash version of the asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. Corresponds to the JSON property flashVersion

Returns:

  • (Fixnum)


3457
3458
3459
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3457

def flash_version
  @flash_version
end

#frame_rateFloat

Video frame rate for video asset in frames per second. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. Corresponds to the JSON property frameRate

Returns:

  • (Float)


3464
3465
3466
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3464

def frame_rate
  @frame_rate
end

#hide_flash_objectsBoolean Also known as: hide_flash_objects?

Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA. Corresponds to the JSON property hideFlashObjects

Returns:

  • (Boolean)


3470
3471
3472
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3470

def hide_flash_objects
  @hide_flash_objects
end

#hide_selection_boxesBoolean Also known as: hide_selection_boxes?

Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA. Corresponds to the JSON property hideSelectionBoxes

Returns:

  • (Boolean)


3477
3478
3479
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3477

def hide_selection_boxes
  @hide_selection_boxes
end

#horizontally_lockedBoolean Also known as: horizontally_locked?

Whether the asset is horizontally locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. Corresponds to the JSON property horizontallyLocked

Returns:

  • (Boolean)


3484
3485
3486
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3484

def horizontally_locked
  @horizontally_locked
end

#idFixnum

Numeric ID of this creative asset. This is a required field and should not be modified. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. Corresponds to the JSON property id

Returns:

  • (Fixnum)


3492
3493
3494
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3492

def id
  @id
end

#id_dimension_valueGoogle::Apis::DfareportingV3_3::DimensionValue

Represents a DimensionValue resource. Corresponds to the JSON property idDimensionValue



3497
3498
3499
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3497

def id_dimension_value
  @id_dimension_value
end

#media_durationFloat

Detected duration for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. Corresponds to the JSON property mediaDuration

Returns:

  • (Float)


3504
3505
3506
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3504

def media_duration
  @media_duration
end

#mime_typeString

Detected MIME type for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. Corresponds to the JSON property mimeType

Returns:

  • (String)


3511
3512
3513
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3511

def mime_type
  @mime_type
end

#offsetGoogle::Apis::DfareportingV3_3::OffsetPosition

Offset Position. Corresponds to the JSON property offset



3516
3517
3518
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3516

def offset
  @offset
end

#orientationString

Orientation of video asset. This is a read-only, auto-generated field. Corresponds to the JSON property orientation

Returns:

  • (String)


3521
3522
3523
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3521

def orientation
  @orientation
end

#original_backupBoolean Also known as: original_backup?

Whether the backup asset is original or changed by the user in Campaign Manager. Applicable to the following creative types: all RICH_MEDIA. Corresponds to the JSON property originalBackup

Returns:

  • (Boolean)


3527
3528
3529
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3527

def original_backup
  @original_backup
end

#polite_loadBoolean Also known as: polite_load?

Whether this asset is used as a polite load asset. Corresponds to the JSON property politeLoad

Returns:

  • (Boolean)


3533
3534
3535
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3533

def polite_load
  @polite_load
end

#positionGoogle::Apis::DfareportingV3_3::OffsetPosition

Offset Position. Corresponds to the JSON property position



3539
3540
3541
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3539

def position
  @position
end

#position_left_unitString

Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. Corresponds to the JSON property positionLeftUnit

Returns:

  • (String)


3545
3546
3547
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3545

def position_left_unit
  @position_left_unit
end

#position_top_unitString

Offset top unit for an asset. This is a read-only field if the asset displayType is ASSET_DISPLAY_TYPE_OVERLAY. Applicable to the following creative types: all RICH_MEDIA. Corresponds to the JSON property positionTopUnit

Returns:

  • (String)


3552
3553
3554
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3552

def position_top_unit
  @position_top_unit
end

#progressive_serving_urlString

Progressive URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. Corresponds to the JSON property progressiveServingUrl

Returns:

  • (String)


3558
3559
3560
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3558

def progressive_serving_url
  @progressive_serving_url
end

#pushdownBoolean Also known as: pushdown?

Whether the asset pushes down other content. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable when the asset offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. Corresponds to the JSON property pushdown

Returns:

  • (Boolean)


3566
3567
3568
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3566

def pushdown
  @pushdown
end

#pushdown_durationFloat

Pushdown duration in seconds for an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable when the asset pushdown field is true, the offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. Acceptable values are 0 to 9.99, inclusive. Corresponds to the JSON property pushdownDuration

Returns:

  • (Float)


3576
3577
3578
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3576

def pushdown_duration
  @pushdown_duration
end

#roleString

Role of the asset in relation to creative. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. This is a required field. PRIMARY applies to DISPLAY, FLASH_INPAGE, HTML5_BANNER, IMAGE, DISPLAY_IMAGE_GALLERY, all RICH_MEDIA (which may contain multiple primary assets), and all VPAID creatives. BACKUP_IMAGE applies to FLASH_INPAGE, HTML5_BANNER, all RICH_MEDIA, and all VPAID creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives. OTHER refers to assets from sources other than Campaign Manager, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives. PARENT_VIDEO refers to videos uploaded by the user in Campaign Manager and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. TRANSCODED_VIDEO refers to videos transcoded by Campaign Manager from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. ALTERNATE_VIDEO refers to the Campaign Manager representation of child asset videos from Studio, and is applicable to VPAID_LINEAR_VIDEO creatives. These cannot be added or removed within Campaign Manager. For VPAID_LINEAR_VIDEO creatives, PARENT_VIDEO, TRANSCODED_VIDEO and ALTERNATE_VIDEO assets that are marked active serve as backup in case the VPAID creative cannot be served. Only PARENT_VIDEO assets can be added or removed for an INSTREAM_VIDEO or VPAID_LINEAR_VIDEO creative. PARENT_AUDIO refers to audios uploaded by the user in Campaign Manager and is applicable to INSTREAM_AUDIO creatives. TRANSCODED_AUDIO refers to audios transcoded by Campaign Manager from PARENT_AUDIO assets and is applicable to INSTREAM_AUDIO creatives. Corresponds to the JSON property role

Returns:

  • (String)


3607
3608
3609
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3607

def role
  @role
end

#sizeGoogle::Apis::DfareportingV3_3::Size

Represents the dimensions of ads, placements, creatives, or creative assets. Corresponds to the JSON property size



3612
3613
3614
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3612

def size
  @size
end

#ssl_compliantBoolean Also known as: ssl_compliant?

Whether the asset is SSL-compliant. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. Corresponds to the JSON property sslCompliant

Returns:

  • (Boolean)


3618
3619
3620
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3618

def ssl_compliant
  @ssl_compliant
end

#start_time_typeString

Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA. Corresponds to the JSON property startTimeType

Returns:

  • (String)


3625
3626
3627
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3625

def start_time_type
  @start_time_type
end

#streaming_serving_urlString

Streaming URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. Corresponds to the JSON property streamingServingUrl

Returns:

  • (String)


3631
3632
3633
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3631

def streaming_serving_url
  @streaming_serving_url
end

#transparencyBoolean Also known as: transparency?

Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets. Corresponds to the JSON property transparency

Returns:

  • (Boolean)


3637
3638
3639
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3637

def transparency
  @transparency
end

#vertically_lockedBoolean Also known as: vertically_locked?

Whether the asset is vertically locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. Corresponds to the JSON property verticallyLocked

Returns:

  • (Boolean)


3644
3645
3646
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3644

def vertically_locked
  @vertically_locked
end

#window_modeString

Window mode options for flash assets. Applicable to the following creative types: FLASH_INPAGE, RICH_MEDIA_DISPLAY_EXPANDING, RICH_MEDIA_IM_EXPAND, RICH_MEDIA_DISPLAY_BANNER, and RICH_MEDIA_INPAGE_FLOATING. Corresponds to the JSON property windowMode

Returns:

  • (String)


3652
3653
3654
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3652

def window_mode
  @window_mode
end

#z_indexFixnum

zIndex value of an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable to assets whose displayType is NOT one of the following types: ASSET_DISPLAY_TYPE_INPAGE or ASSET_DISPLAY_TYPE_OVERLAY. Acceptable values are -999999999 to 999999999, inclusive. Corresponds to the JSON property zIndex

Returns:

  • (Fixnum)


3661
3662
3663
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3661

def z_index
  @z_index
end

#zip_filenameString

File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. Corresponds to the JSON property zipFilename

Returns:

  • (String)


3667
3668
3669
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3667

def zip_filename
  @zip_filename
end

#zip_filesizeString

Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. Corresponds to the JSON property zipFilesize

Returns:

  • (String)


3673
3674
3675
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3673

def zip_filesize
  @zip_filesize
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 3680

def update!(**args)
  @action_script3 = args[:action_script3] if args.key?(:action_script3)
  @active = args[:active] if args.key?(:active)
  @additional_sizes = args[:additional_sizes] if args.key?(:additional_sizes)
  @alignment = args[:alignment] if args.key?(:alignment)
  @artwork_type = args[:artwork_type] if args.key?(:artwork_type)
  @asset_identifier = args[:asset_identifier] if args.key?(:asset_identifier)
  @audio_bit_rate = args[:audio_bit_rate] if args.key?(:audio_bit_rate)
  @audio_sample_rate = args[:audio_sample_rate] if args.key?(:audio_sample_rate)
  @backup_image_exit = args[:backup_image_exit] if args.key?(:backup_image_exit)
  @bit_rate = args[:bit_rate] if args.key?(:bit_rate)
  @child_asset_type = args[:child_asset_type] if args.key?(:child_asset_type)
  @collapsed_size = args[:collapsed_size] if args.key?(:collapsed_size)
  @companion_creative_ids = args[:companion_creative_ids] if args.key?(:companion_creative_ids)
  @custom_start_time_value = args[:custom_start_time_value] if args.key?(:custom_start_time_value)
  @detected_features = args[:detected_features] if args.key?(:detected_features)
  @display_type = args[:display_type] if args.key?(:display_type)
  @duration = args[:duration] if args.key?(:duration)
  @duration_type = args[:duration_type] if args.key?(:duration_type)
  @expanded_dimension = args[:expanded_dimension] if args.key?(:expanded_dimension)
  @file_size = args[:file_size] if args.key?(:file_size)
  @flash_version = args[:flash_version] if args.key?(:flash_version)
  @frame_rate = args[:frame_rate] if args.key?(:frame_rate)
  @hide_flash_objects = args[:hide_flash_objects] if args.key?(:hide_flash_objects)
  @hide_selection_boxes = args[:hide_selection_boxes] if args.key?(:hide_selection_boxes)
  @horizontally_locked = args[:horizontally_locked] if args.key?(:horizontally_locked)
  @id = args[:id] if args.key?(:id)
  @id_dimension_value = args[:id_dimension_value] if args.key?(:id_dimension_value)
  @media_duration = args[:media_duration] if args.key?(:media_duration)
  @mime_type = args[:mime_type] if args.key?(:mime_type)
  @offset = args[:offset] if args.key?(:offset)
  @orientation = args[:orientation] if args.key?(:orientation)
  @original_backup = args[:original_backup] if args.key?(:original_backup)
  @polite_load = args[:polite_load] if args.key?(:polite_load)
  @position = args[:position] if args.key?(:position)
  @position_left_unit = args[:position_left_unit] if args.key?(:position_left_unit)
  @position_top_unit = args[:position_top_unit] if args.key?(:position_top_unit)
  @progressive_serving_url = args[:progressive_serving_url] if args.key?(:progressive_serving_url)
  @pushdown = args[:pushdown] if args.key?(:pushdown)
  @pushdown_duration = args[:pushdown_duration] if args.key?(:pushdown_duration)
  @role = args[:role] if args.key?(:role)
  @size = args[:size] if args.key?(:size)
  @ssl_compliant = args[:ssl_compliant] if args.key?(:ssl_compliant)
  @start_time_type = args[:start_time_type] if args.key?(:start_time_type)
  @streaming_serving_url = args[:streaming_serving_url] if args.key?(:streaming_serving_url)
  @transparency = args[:transparency] if args.key?(:transparency)
  @vertically_locked = args[:vertically_locked] if args.key?(:vertically_locked)
  @window_mode = args[:window_mode] if args.key?(:window_mode)
  @z_index = args[:z_index] if args.key?(:z_index)
  @zip_filename = args[:zip_filename] if args.key?(:zip_filename)
  @zip_filesize = args[:zip_filesize] if args.key?(:zip_filesize)
end