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.



26215
26216
26217
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26215

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)


26109
26110
26111
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26109

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)


26114
26115
26116
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26114

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)


26119
26120
26121
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26119

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)


26124
26125
26126
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26124

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)


26129
26130
26131
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26129

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)


26134
26135
26136
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26134

def asset
  @asset
end

#asset_groupString

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

Returns:

  • (String)


26139
26140
26141
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26139

def asset_group
  @asset_group
end

#asset_setString

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

Returns:

  • (String)


26144
26145
26146
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26144

def asset_set
  @asset_set
end

#campaignString

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

Returns:

  • (String)


26149
26150
26151
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26149

def campaign
  @campaign
end

#campaign_assetString

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

Returns:

  • (String)


26154
26155
26156
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26154

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)


26159
26160
26161
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26159

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)


26164
26165
26166
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26164

def campaign_budget
  @campaign_budget
end

#campaign_criterionString

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

Returns:

  • (String)


26169
26170
26171
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26169

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)


26174
26175
26176
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26174

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)


26179
26180
26181
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26179

def combined_audience
  @combined_audience
end

#customer_assetString

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

Returns:

  • (String)


26184
26185
26186
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26184

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)


26190
26191
26192
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26190

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)


26196
26197
26198
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26196

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)


26201
26202
26203
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26201

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)


26208
26209
26210
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26208

def resource_type
  @resource_type
end

#shared_setString

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

Returns:

  • (String)


26213
26214
26215
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26213

def shared_set
  @shared_set
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



26220
26221
26222
26223
26224
26225
26226
26227
26228
26229
26230
26231
26232
26233
26234
26235
26236
26237
26238
26239
26240
26241
26242
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26220

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