Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonUrlCollection

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

Collection of urls that is tagged with a unique identifier.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonUrlCollection

Returns a new instance of GoogleAdsSearchads360V23CommonUrlCollection.



12281
12282
12283
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12281

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

Instance Attribute Details

#final_mobile_urlsArray<String>

A list of possible final mobile URLs. Corresponds to the JSON property finalMobileUrls

Returns:

  • (Array<String>)


12264
12265
12266
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12264

def final_mobile_urls
  @final_mobile_urls
end

#final_urlsArray<String>

A list of possible final URLs. Corresponds to the JSON property finalUrls

Returns:

  • (Array<String>)


12269
12270
12271
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12269

def final_urls
  @final_urls
end

#tracking_url_templateString

URL template for constructing a tracking URL. Corresponds to the JSON property trackingUrlTemplate

Returns:

  • (String)


12274
12275
12276
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12274

def tracking_url_template
  @tracking_url_template
end

#url_collection_idString

Unique identifier for this UrlCollection instance. Corresponds to the JSON property urlCollectionId

Returns:

  • (String)


12279
12280
12281
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12279

def url_collection_id
  @url_collection_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12286
12287
12288
12289
12290
12291
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12286

def update!(**args)
  @final_mobile_urls = args[:final_mobile_urls] if args.key?(:final_mobile_urls)
  @final_urls = args[:final_urls] if args.key?(:final_urls)
  @tracking_url_template = args[:tracking_url_template] if args.key?(:tracking_url_template)
  @url_collection_id = args[:url_collection_id] if args.key?(:url_collection_id)
end