Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesConversionAction
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesConversionAction
- 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 conversion action.
Instance Attribute Summary collapse
-
#app_id ⇒ String
App ID for an app conversion action.
-
#attribution_model_settings ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings
Settings related to this conversion action's attribution model.
-
#category ⇒ String
The category of conversions reported for this conversion action.
-
#click_through_lookback_window_days ⇒ Fixnum
The maximum number of days that may elapse between an interaction (for example, a click) and a conversion event.
-
#creation_time ⇒ String
Output only.
-
#floodlight_settings ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesConversionActionFloodlightSettings
Settings related to a Floodlight conversion action.
-
#id ⇒ Fixnum
Output only.
-
#include_in_client_account_conversions_metric ⇒ Boolean
(also: #include_in_client_account_conversions_metric?)
Whether this conversion action should be included in the " client_account_conversions" metric.
-
#include_in_conversions_metric ⇒ Boolean
(also: #include_in_conversions_metric?)
Output only.
-
#name ⇒ String
The name of the conversion action.
-
#owner_customer ⇒ String
Output only.
-
#primary_for_goal ⇒ Boolean
(also: #primary_for_goal?)
If a conversion action's primary_for_goal bit is false, the conversion action is non-biddable for all campaigns regardless of their customer conversion goal or campaign conversion goal.
-
#resource_name ⇒ String
Immutable.
-
#status ⇒ String
The status of this conversion action for conversion event accrual.
-
#type ⇒ String
Immutable.
-
#value_settings ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesConversionActionValueSettings
Settings related to the value for conversion events associated with this conversion action.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesConversionAction
constructor
A new instance of GoogleAdsSearchads360V0ResourcesConversionAction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesConversionAction
Returns a new instance of GoogleAdsSearchads360V0ResourcesConversionAction.
4494 4495 4496 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4494 def initialize(**args) update!(**args) end |
Instance Attribute Details
#app_id ⇒ String
App ID for an app conversion action.
Corresponds to the JSON property appId
4398 4399 4400 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4398 def app_id @app_id end |
#attribution_model_settings ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesConversionActionAttributionModelSettings
Settings related to this conversion action's attribution model.
Corresponds to the JSON property attributionModelSettings
4403 4404 4405 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4403 def attribution_model_settings @attribution_model_settings end |
#category ⇒ String
The category of conversions reported for this conversion action.
Corresponds to the JSON property category
4408 4409 4410 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4408 def category @category end |
#click_through_lookback_window_days ⇒ Fixnum
The maximum number of days that may elapse between an interaction (for example,
a click) and a conversion event.
Corresponds to the JSON property clickThroughLookbackWindowDays
4414 4415 4416 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4414 def click_through_lookback_window_days @click_through_lookback_window_days end |
#creation_time ⇒ String
Output only. Timestamp of the Floodlight activity's creation, formatted in ISO
8601.
Corresponds to the JSON property creationTime
4420 4421 4422 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4420 def creation_time @creation_time end |
#floodlight_settings ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesConversionActionFloodlightSettings
Settings related to a Floodlight conversion action.
Corresponds to the JSON property floodlightSettings
4425 4426 4427 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4425 def floodlight_settings @floodlight_settings end |
#id ⇒ Fixnum
Output only. The ID of the conversion action.
Corresponds to the JSON property id
4430 4431 4432 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4430 def id @id end |
#include_in_client_account_conversions_metric ⇒ Boolean Also known as: include_in_client_account_conversions_metric?
Whether this conversion action should be included in the "
client_account_conversions" metric.
Corresponds to the JSON property includeInClientAccountConversionsMetric
4436 4437 4438 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4436 def include_in_client_account_conversions_metric @include_in_client_account_conversions_metric end |
#include_in_conversions_metric ⇒ Boolean Also known as: include_in_conversions_metric?
Output only. Whether this conversion action should be included in the "
conversions" metric.
Corresponds to the JSON property includeInConversionsMetric
4443 4444 4445 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4443 def include_in_conversions_metric @include_in_conversions_metric end |
#name ⇒ String
The name of the conversion action. This field is required and should not be
empty when creating new conversion actions.
Corresponds to the JSON property name
4450 4451 4452 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4450 def name @name end |
#owner_customer ⇒ String
Output only. The resource name of the conversion action owner customer, or
null if this is a system-defined conversion action.
Corresponds to the JSON property ownerCustomer
4456 4457 4458 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4456 def owner_customer @owner_customer end |
#primary_for_goal ⇒ Boolean Also known as: primary_for_goal?
If a conversion action's primary_for_goal bit is false, the conversion action
is non-biddable for all campaigns regardless of their customer conversion goal
or campaign conversion goal. However, custom conversion goals do not respect
primary_for_goal, so if a campaign has a custom conversion goal configured
with a primary_for_goal = false conversion action, that conversion action is
still biddable. By default, primary_for_goal will be true if not set. In V9,
primary_for_goal can only be set to false after creation through an 'update'
operation because it's not declared as optional.
Corresponds to the JSON property primaryForGoal
4468 4469 4470 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4468 def primary_for_goal @primary_for_goal end |
#resource_name ⇒ String
Immutable. The resource name of the conversion action. Conversion action
resource names have the form: customers/customer_id/conversionActions/
conversion_action_id`
Corresponds to the JSON propertyresourceName`
4476 4477 4478 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4476 def resource_name @resource_name end |
#status ⇒ String
The status of this conversion action for conversion event accrual.
Corresponds to the JSON property status
4481 4482 4483 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4481 def status @status end |
#type ⇒ String
Immutable. The type of this conversion action.
Corresponds to the JSON property type
4486 4487 4488 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4486 def type @type end |
#value_settings ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesConversionActionValueSettings
Settings related to the value for conversion events associated with this
conversion action.
Corresponds to the JSON property valueSettings
4492 4493 4494 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4492 def value_settings @value_settings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4499 def update!(**args) @app_id = args[:app_id] if args.key?(:app_id) @attribution_model_settings = args[:attribution_model_settings] if args.key?(:attribution_model_settings) @category = args[:category] if args.key?(:category) @click_through_lookback_window_days = args[:click_through_lookback_window_days] if args.key?(:click_through_lookback_window_days) @creation_time = args[:creation_time] if args.key?(:creation_time) @floodlight_settings = args[:floodlight_settings] if args.key?(:floodlight_settings) @id = args[:id] if args.key?(:id) @include_in_client_account_conversions_metric = args[:include_in_client_account_conversions_metric] if args.key?(:include_in_client_account_conversions_metric) @include_in_conversions_metric = args[:include_in_conversions_metric] if args.key?(:include_in_conversions_metric) @name = args[:name] if args.key?(:name) @owner_customer = args[:owner_customer] if args.key?(:owner_customer) @primary_for_goal = args[:primary_for_goal] if args.key?(:primary_for_goal) @resource_name = args[:resource_name] if args.key?(:resource_name) @status = args[:status] if args.key?(:status) @type = args[:type] if args.key?(:type) @value_settings = args[:value_settings] if args.key?(:value_settings) end |