Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesSearchAds360Row

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

A returned row from the query.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V0ServicesSearchAds360Row

Returns a new instance of GoogleAdsSearchads360V0ServicesSearchAds360Row.



3584
3585
3586
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3584

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

Instance Attribute Details

#ad_groupGoogle::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAdGroup

An ad group. Corresponds to the JSON property adGroup



3505
3506
3507
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3505

def ad_group
  @ad_group
end

#ad_group_bid_modifierGoogle::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAdGroupBidModifier

Represents an ad group bid modifier. Corresponds to the JSON property adGroupBidModifier



3510
3511
3512
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3510

def ad_group_bid_modifier
  @ad_group_bid_modifier
end

#ad_group_criterionGoogle::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAdGroupCriterion

An ad group criterion. Corresponds to the JSON property adGroupCriterion



3515
3516
3517
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3515

def ad_group_criterion
  @ad_group_criterion
end

#bidding_strategyGoogle::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesBiddingStrategy

A bidding strategy. Corresponds to the JSON property biddingStrategy



3520
3521
3522
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3520

def bidding_strategy
  @bidding_strategy
end

#campaignGoogle::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCampaign

A campaign. Corresponds to the JSON property campaign



3525
3526
3527
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3525

def campaign
  @campaign
end

#campaign_budgetGoogle::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCampaignBudget

A campaign budget. Corresponds to the JSON property campaignBudget



3530
3531
3532
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3530

def campaign_budget
  @campaign_budget
end

#campaign_criterionGoogle::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCampaignCriterion

A campaign criterion. Corresponds to the JSON property campaignCriterion



3535
3536
3537
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3535

def campaign_criterion
  @campaign_criterion
end

#conversion_actionGoogle::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesConversionAction

A conversion action. Corresponds to the JSON property conversionAction



3540
3541
3542
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3540

def conversion_action
  @conversion_action
end

#custom_columnsArray<Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonValue>

The custom columns. Corresponds to the JSON property customColumns



3545
3546
3547
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3545

def custom_columns
  @custom_columns
end

#customerGoogle::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCustomer

A customer. Corresponds to the JSON property customer



3550
3551
3552
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3550

def customer
  @customer
end

#customer_clientGoogle::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCustomerClient

A link between the given customer and a client customer. CustomerClients only exist for manager customers. All direct and indirect client customers are included, as well as the manager itself. Corresponds to the JSON property customerClient



3557
3558
3559
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3557

def customer_client
  @customer_client
end

Represents customer-manager link relationship. Corresponds to the JSON property customerManagerLink



3562
3563
3564
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3562

def customer_manager_link
  @customer_manager_link
end

#keyword_viewGoogle::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesKeywordView

A keyword view. Corresponds to the JSON property keywordView



3567
3568
3569
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3567

def keyword_view
  @keyword_view
end

#metricsGoogle::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonMetrics

Metrics data. Corresponds to the JSON property metrics



3572
3573
3574
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3572

def metrics
  @metrics
end

#product_group_viewGoogle::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesProductGroupView

A product group view. Corresponds to the JSON property productGroupView



3577
3578
3579
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3577

def product_group_view
  @product_group_view
end

#segmentsGoogle::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSegments

Segment only fields. Corresponds to the JSON property segments



3582
3583
3584
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3582

def segments
  @segments
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3589

def update!(**args)
  @ad_group = args[:ad_group] if args.key?(:ad_group)
  @ad_group_bid_modifier = args[:ad_group_bid_modifier] if args.key?(:ad_group_bid_modifier)
  @ad_group_criterion = args[:ad_group_criterion] if args.key?(:ad_group_criterion)
  @bidding_strategy = args[:bidding_strategy] if args.key?(:bidding_strategy)
  @campaign = args[:campaign] if args.key?(:campaign)
  @campaign_budget = args[:campaign_budget] if args.key?(:campaign_budget)
  @campaign_criterion = args[:campaign_criterion] if args.key?(:campaign_criterion)
  @conversion_action = args[:conversion_action] if args.key?(:conversion_action)
  @custom_columns = args[:custom_columns] if args.key?(:custom_columns)
  @customer = args[:customer] if args.key?(:customer)
  @customer_client = args[:customer_client] if args.key?(:customer_client)
  @customer_manager_link = args[:customer_manager_link] if args.key?(:customer_manager_link)
  @keyword_view = args[:keyword_view] if args.key?(:keyword_view)
  @metrics = args[:metrics] if args.key?(:metrics)
  @product_group_view = args[:product_group_view] if args.key?(:product_group_view)
  @segments = args[:segments] if args.key?(:segments)
end