Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesChangeStatus

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

Describes the status of returned resource. ChangeStatus could have up to 3 minutes delay to reflect a new change.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesChangeStatus

Returns a new instance of GoogleAdsSearchads360V23ResourcesChangeStatus.



26056
26057
26058
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26056

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

Instance Attribute Details

#ad_groupString

Output only. The AdGroup affected by this change. Corresponds to the JSON property adGroup

Returns:

  • (String)


25950
25951
25952
# File 'lib/google/apis/searchads360_v23/classes.rb', line 25950

def ad_group
  @ad_group
end

#ad_group_adString

Output only. The AdGroupAd affected by this change. Corresponds to the JSON property adGroupAd

Returns:

  • (String)


25955
25956
25957
# File 'lib/google/apis/searchads360_v23/classes.rb', line 25955

def ad_group_ad
  @ad_group_ad
end

#ad_group_assetString

Output only. The AdGroupAsset affected by this change. Corresponds to the JSON property adGroupAsset

Returns:

  • (String)


25960
25961
25962
# File 'lib/google/apis/searchads360_v23/classes.rb', line 25960

def ad_group_asset
  @ad_group_asset
end

#ad_group_bid_modifierString

Output only. The AdGroupBidModifier affected by this change. Corresponds to the JSON property adGroupBidModifier

Returns:

  • (String)


25965
25966
25967
# File 'lib/google/apis/searchads360_v23/classes.rb', line 25965

def ad_group_bid_modifier
  @ad_group_bid_modifier
end

#ad_group_criterionString

Output only. The AdGroupCriterion affected by this change. Corresponds to the JSON property adGroupCriterion

Returns:

  • (String)


25970
25971
25972
# File 'lib/google/apis/searchads360_v23/classes.rb', line 25970

def ad_group_criterion
  @ad_group_criterion
end

#assetString

Output only. The Asset affected by this change. Corresponds to the JSON property asset

Returns:

  • (String)


25975
25976
25977
# File 'lib/google/apis/searchads360_v23/classes.rb', line 25975

def asset
  @asset
end

#asset_groupString

Output only. The AssetGroup affected by this change. Corresponds to the JSON property assetGroup

Returns:

  • (String)


25980
25981
25982
# File 'lib/google/apis/searchads360_v23/classes.rb', line 25980

def asset_group
  @asset_group
end

#asset_setString

Output only. The AssetSet affected by this change. Corresponds to the JSON property assetSet

Returns:

  • (String)


25985
25986
25987
# File 'lib/google/apis/searchads360_v23/classes.rb', line 25985

def asset_set
  @asset_set
end

#campaignString

Output only. The Campaign affected by this change. Corresponds to the JSON property campaign

Returns:

  • (String)


25990
25991
25992
# File 'lib/google/apis/searchads360_v23/classes.rb', line 25990

def campaign
  @campaign
end

#campaign_assetString

Output only. The CampaignAsset affected by this change. Corresponds to the JSON property campaignAsset

Returns:

  • (String)


25995
25996
25997
# File 'lib/google/apis/searchads360_v23/classes.rb', line 25995

def campaign_asset
  @campaign_asset
end

#campaign_asset_setString

Output only. The CampaignAssetSet affected by this change. Corresponds to the JSON property campaignAssetSet

Returns:

  • (String)


26000
26001
26002
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26000

def campaign_asset_set
  @campaign_asset_set
end

#campaign_budgetString

Output only. The CampaignBudget affected by this change. Corresponds to the JSON property campaignBudget

Returns:

  • (String)


26005
26006
26007
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26005

def campaign_budget
  @campaign_budget
end

#campaign_criterionString

Output only. The CampaignCriterion affected by this change. Corresponds to the JSON property campaignCriterion

Returns:

  • (String)


26010
26011
26012
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26010

def campaign_criterion
  @campaign_criterion
end

#campaign_shared_setString

Output only. The CampaignSharedSet affected by this change. Corresponds to the JSON property campaignSharedSet

Returns:

  • (String)


26015
26016
26017
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26015

def campaign_shared_set
  @campaign_shared_set
end

#combined_audienceString

Output only. The CombinedAudience affected by this change. Corresponds to the JSON property combinedAudience

Returns:

  • (String)


26020
26021
26022
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26020

def combined_audience
  @combined_audience
end

#customer_assetString

Output only. The CustomerAsset affected by this change. Corresponds to the JSON property customerAsset

Returns:

  • (String)


26025
26026
26027
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26025

def customer_asset
  @customer_asset
end

#last_change_date_timeString

Output only. Time at which the most recent change has occurred on this resource. Corresponds to the JSON property lastChangeDateTime

Returns:

  • (String)


26031
26032
26033
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26031

def last_change_date_time
  @last_change_date_time
end

#resource_nameString

Output only. The resource name of the change status. Change status resource names have the form: customers/customer_id/changeStatus/change_status_id` Corresponds to the JSON propertyresourceName`

Returns:

  • (String)


26037
26038
26039
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26037

def resource_name
  @resource_name
end

#resource_statusString

Output only. Represents the status of the changed resource. Corresponds to the JSON property resourceStatus

Returns:

  • (String)


26042
26043
26044
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26042

def resource_status
  @resource_status
end

#resource_typeString

Output only. Represents the type of the changed resource. This dictates what fields will be set. For example, for AD_GROUP, campaign and ad_group fields will be set. Corresponds to the JSON property resourceType

Returns:

  • (String)


26049
26050
26051
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26049

def resource_type
  @resource_type
end

#shared_setString

Output only. The SharedSet affected by this change. Corresponds to the JSON property sharedSet

Returns:

  • (String)


26054
26055
26056
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26054

def shared_set
  @shared_set
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



26061
26062
26063
26064
26065
26066
26067
26068
26069
26070
26071
26072
26073
26074
26075
26076
26077
26078
26079
26080
26081
26082
26083
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26061

def update!(**args)
  @ad_group = args[:ad_group] if args.key?(:ad_group)
  @ad_group_ad = args[:ad_group_ad] if args.key?(:ad_group_ad)
  @ad_group_asset = args[:ad_group_asset] if args.key?(:ad_group_asset)
  @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)
  @asset = args[:asset] if args.key?(:asset)
  @asset_group = args[:asset_group] if args.key?(:asset_group)
  @asset_set = args[:asset_set] if args.key?(:asset_set)
  @campaign = args[:campaign] if args.key?(:campaign)
  @campaign_asset = args[:campaign_asset] if args.key?(:campaign_asset)
  @campaign_asset_set = args[:campaign_asset_set] if args.key?(:campaign_asset_set)
  @campaign_budget = args[:campaign_budget] if args.key?(:campaign_budget)
  @campaign_criterion = args[:campaign_criterion] if args.key?(:campaign_criterion)
  @campaign_shared_set = args[:campaign_shared_set] if args.key?(:campaign_shared_set)
  @combined_audience = args[:combined_audience] if args.key?(:combined_audience)
  @customer_asset = args[:customer_asset] if args.key?(:customer_asset)
  @last_change_date_time = args[:last_change_date_time] if args.key?(:last_change_date_time)
  @resource_name = args[:resource_name] if args.key?(:resource_name)
  @resource_status = args[:resource_status] if args.key?(:resource_status)
  @resource_type = args[:resource_type] if args.key?(:resource_type)
  @shared_set = args[:shared_set] if args.key?(:shared_set)
end