Class: Google::Apis::DfareportingV3_4::DeepLink

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

Overview

Contains information about a landing page deep link.

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

Returns a new instance of DeepLink.


5276
5277
5278
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5276

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

Instance Attribute Details

#app_urlString

The URL of the mobile app being linked to. Corresponds to the JSON property appUrl

Returns:

  • (String)

5251
5252
5253
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5251

def app_url
  @app_url
end

#fallback_urlString

The fallback URL. This URL will be served to users who do not have the mobile app installed. Corresponds to the JSON property fallbackUrl

Returns:

  • (String)

5257
5258
5259
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5257

def fallback_url
  @fallback_url
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#deepLink". Corresponds to the JSON property kind

Returns:

  • (String)

5263
5264
5265
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5263

def kind
  @kind
end

#mobile_appGoogle::Apis::DfareportingV3_4::MobileApp

Contains information about a mobile app. Used as a landing page deep link. Corresponds to the JSON property mobileApp


5268
5269
5270
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5268

def mobile_app
  @mobile_app
end

#remarketing_list_idsArray<Fixnum>

Ads served to users on these remarketing lists will use this deep link. Applicable when mobileApp.directory is APPLE_APP_STORE. Corresponds to the JSON property remarketingListIds

Returns:

  • (Array<Fixnum>)

5274
5275
5276
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5274

def remarketing_list_ids
  @remarketing_list_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


5281
5282
5283
5284
5285
5286
5287
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5281

def update!(**args)
  @app_url = args[:app_url] if args.key?(:app_url)
  @fallback_url = args[:fallback_url] if args.key?(:fallback_url)
  @kind = args[:kind] if args.key?(:kind)
  @mobile_app = args[:mobile_app] if args.key?(:mobile_app)
  @remarketing_list_ids = args[:remarketing_list_ids] if args.key?(:remarketing_list_ids)
end