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.



12407
12408
12409
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12407

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


12390
12391
12392
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12390

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


12395
12396
12397
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12395

def final_urls
  @final_urls
end

#tracking_url_templateString

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

Returns:

  • (String)


12400
12401
12402
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12400

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)


12405
12406
12407
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12405

def url_collection_id
  @url_collection_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12412
12413
12414
12415
12416
12417
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12412

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