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.



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

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)


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

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)


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

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)


26047
26048
26049
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26047

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)


26052
26053
26054
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26052

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)


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

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)


26062
26063
26064
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26062

def asset
  @asset
end

#asset_groupString

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

Returns:

  • (String)


26067
26068
26069
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26067

def asset_group
  @asset_group
end

#asset_setString

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

Returns:

  • (String)


26072
26073
26074
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26072

def asset_set
  @asset_set
end

#campaignString

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

Returns:

  • (String)


26077
26078
26079
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26077

def campaign
  @campaign
end

#campaign_assetString

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

Returns:

  • (String)


26082
26083
26084
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26082

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)


26087
26088
26089
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26087

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)


26092
26093
26094
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26092

def campaign_budget
  @campaign_budget
end

#campaign_criterionString

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

Returns:

  • (String)


26097
26098
26099
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26097

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)


26102
26103
26104
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26102

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)


26107
26108
26109
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26107

def combined_audience
  @combined_audience
end

#customer_assetString

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

Returns:

  • (String)


26112
26113
26114
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26112

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)


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

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)


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

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)


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

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)


26136
26137
26138
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26136

def resource_type
  @resource_type
end

#shared_setString

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

Returns:

  • (String)


26141
26142
26143
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26141

def shared_set
  @shared_set
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



26148
26149
26150
26151
26152
26153
26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26148

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