Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAssetGroup

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

Overview

An asset group. AssetGroupAsset is used to link an asset to the asset group. AssetGroupSignal is used to associate a signal to an asset group.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesAssetGroup

Returns a new instance of GoogleAdsSearchads360V0ResourcesAssetGroup.



4533
4534
4535
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4533

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

Instance Attribute Details

#ad_strengthString

Output only. Overall ad strength of this asset group. Corresponds to the JSON property adStrength

Returns:

  • (String)


4480
4481
4482
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4480

def ad_strength
  @ad_strength
end

#campaignString

Immutable. The campaign with which this asset group is associated. The asset which is linked to the asset group. Corresponds to the JSON property campaign

Returns:

  • (String)


4486
4487
4488
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4486

def campaign
  @campaign
end

#final_mobile_urlsArray<String>

A list of final mobile URLs after all cross domain redirects. In performance max, by default, the urls are eligible for expansion unless opted out. Corresponds to the JSON property finalMobileUrls

Returns:

  • (Array<String>)


4492
4493
4494
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4492

def final_mobile_urls
  @final_mobile_urls
end

#final_urlsArray<String>

A list of final URLs after all cross domain redirects. In performance max, by default, the urls are eligible for expansion unless opted out. Corresponds to the JSON property finalUrls

Returns:

  • (Array<String>)


4498
4499
4500
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4498

def final_urls
  @final_urls
end

#idFixnum

Output only. The ID of the asset group. Corresponds to the JSON property id

Returns:

  • (Fixnum)


4503
4504
4505
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4503

def id
  @id
end

#nameString

Required. Name of the asset group. Required. It must have a minimum length of 1 and maximum length of 128. It must be unique under a campaign. Corresponds to the JSON property name

Returns:

  • (String)


4509
4510
4511
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4509

def name
  @name
end

#path1String

First part of text that may appear appended to the url displayed in the ad. Corresponds to the JSON property path1

Returns:

  • (String)


4514
4515
4516
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4514

def path1
  @path1
end

#path2String

Second part of text that may appear appended to the url displayed in the ad. This field can only be set when path1 is set. Corresponds to the JSON property path2

Returns:

  • (String)


4520
4521
4522
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4520

def path2
  @path2
end

#resource_nameString

Immutable. The resource name of the asset group. Asset group resource names have the form: customers/customer_id/assetGroups/asset_group_id` Corresponds to the JSON propertyresourceName`

Returns:

  • (String)


4526
4527
4528
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4526

def resource_name
  @resource_name
end

#statusString

The status of the asset group. Corresponds to the JSON property status

Returns:

  • (String)


4531
4532
4533
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4531

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4538

def update!(**args)
  @ad_strength = args[:ad_strength] if args.key?(:ad_strength)
  @campaign = args[:campaign] if args.key?(:campaign)
  @final_mobile_urls = args[:final_mobile_urls] if args.key?(:final_mobile_urls)
  @final_urls = args[:final_urls] if args.key?(:final_urls)
  @id = args[:id] if args.key?(:id)
  @name = args[:name] if args.key?(:name)
  @path1 = args[:path1] if args.key?(:path1)
  @path2 = args[:path2] if args.key?(:path2)
  @resource_name = args[:resource_name] if args.key?(:resource_name)
  @status = args[:status] if args.key?(:status)
end