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.



12347
12348
12349
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12347

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


12330
12331
12332
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12330

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


12335
12336
12337
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12335

def final_urls
  @final_urls
end

#tracking_url_templateString

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

Returns:

  • (String)


12340
12341
12342
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12340

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)


12345
12346
12347
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12345

def url_collection_id
  @url_collection_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12352
12353
12354
12355
12356
12357
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12352

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