Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesBiddingStrategy
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesBiddingStrategy
- 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 bidding strategy.
Instance Attribute Summary collapse
-
#campaign_count ⇒ Fixnum
Output only.
-
#currency_code ⇒ String
Immutable.
-
#effective_currency_code ⇒ String
Output only.
-
#enhanced_cpc ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonEnhancedCpc
An automated bidding strategy that raises bids for clicks that seem more likely to lead to a conversion and lowers them for clicks where they seem less likely.
-
#id ⇒ Fixnum
Output only.
-
#maximize_conversion_value ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonMaximizeConversionValue
An automated bidding strategy to help get the most conversion value for your campaigns while spending your budget.
-
#maximize_conversions ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonMaximizeConversions
An automated bidding strategy to help get the most conversions for your campaigns while spending your budget.
-
#name ⇒ String
The name of the bidding strategy.
-
#non_removed_campaign_count ⇒ Fixnum
Output only.
-
#resource_name ⇒ String
Immutable.
-
#status ⇒ String
Output only.
-
#target_cpa ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonTargetCpa
An automated bid strategy that sets bids to help get as many conversions as possible at the target cost-per-acquisition (CPA) you set.
-
#target_impression_share ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonTargetImpressionShare
An automated bidding strategy that sets bids so that a certain percentage of search ads are shown at the top of the first page (or other targeted location).
-
#target_outrank_share ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonTargetOutrankShare
An automated bidding strategy that sets bids based on the target fraction of auctions where the advertiser should outrank a specific competitor.
-
#target_roas ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonTargetRoas
An automated bidding strategy that helps you maximize revenue while averaging a specific target return on ad spend (ROAS).
-
#target_spend ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonTargetSpend
An automated bid strategy that sets your bids to help get as many clicks as possible within your budget.
-
#type ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesBiddingStrategy
constructor
A new instance of GoogleAdsSearchads360V0ResourcesBiddingStrategy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesBiddingStrategy
Returns a new instance of GoogleAdsSearchads360V0ResourcesBiddingStrategy.
5457 5458 5459 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5457 def initialize(**args) update!(**args) end |
Instance Attribute Details
#campaign_count ⇒ Fixnum
Output only. The number of campaigns attached to this bidding strategy. This
field is read-only.
Corresponds to the JSON property campaignCount
5349 5350 5351 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5349 def campaign_count @campaign_count end |
#currency_code ⇒ String
Immutable. The currency used by the bidding strategy (ISO 4217 three-letter
code). For bidding strategies in manager customers, this currency can be set
on creation and defaults to the manager customer's currency. For serving
customers, this field cannot be set; all strategies in a serving customer
implicitly use the serving customer's currency. In all cases the
effective_currency_code field returns the currency used by the strategy.
Corresponds to the JSON property currencyCode
5359 5360 5361 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5359 def currency_code @currency_code end |
#effective_currency_code ⇒ String
Output only. The currency used by the bidding strategy (ISO 4217 three-letter
code). For bidding strategies in manager customers, this is the currency set
by the advertiser when creating the strategy. For serving customers, this is
the customer's currency_code. Bidding strategy metrics are reported in this
currency. This field is read-only.
Corresponds to the JSON property effectiveCurrencyCode
5368 5369 5370 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5368 def effective_currency_code @effective_currency_code end |
#enhanced_cpc ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonEnhancedCpc
An automated bidding strategy that raises bids for clicks that seem more
likely to lead to a conversion and lowers them for clicks where they seem less
likely. This bidding strategy is deprecated and cannot be created anymore. Use
ManualCpc with enhanced_cpc_enabled set to true for equivalent functionality.
Corresponds to the JSON property enhancedCpc
5376 5377 5378 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5376 def enhanced_cpc @enhanced_cpc end |
#id ⇒ Fixnum
Output only. The ID of the bidding strategy.
Corresponds to the JSON property id
5381 5382 5383 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5381 def id @id end |
#maximize_conversion_value ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonMaximizeConversionValue
An automated bidding strategy to help get the most conversion value for your
campaigns while spending your budget.
Corresponds to the JSON property maximizeConversionValue
5387 5388 5389 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5387 def maximize_conversion_value @maximize_conversion_value end |
#maximize_conversions ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonMaximizeConversions
An automated bidding strategy to help get the most conversions for your
campaigns while spending your budget.
Corresponds to the JSON property maximizeConversions
5393 5394 5395 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5393 def maximize_conversions @maximize_conversions end |
#name ⇒ String
The name of the bidding strategy. All bidding strategies within an account
must be named distinctly. The length of this string should be between 1 and
255, inclusive, in UTF-8 bytes, (trimmed).
Corresponds to the JSON property name
5400 5401 5402 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5400 def name @name end |
#non_removed_campaign_count ⇒ Fixnum
Output only. The number of non-removed campaigns attached to this bidding
strategy. This field is read-only.
Corresponds to the JSON property nonRemovedCampaignCount
5406 5407 5408 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5406 def non_removed_campaign_count @non_removed_campaign_count end |
#resource_name ⇒ String
Immutable. The resource name of the bidding strategy. Bidding strategy
resource names have the form: customers/
customer_id/biddingStrategies/
bidding_strategy_id`
Corresponds to the JSON property
resourceName`
5413 5414 5415 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5413 def resource_name @resource_name end |
#status ⇒ String
Output only. The status of the bidding strategy. This field is read-only.
Corresponds to the JSON property status
5418 5419 5420 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5418 def status @status end |
#target_cpa ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonTargetCpa
An automated bid strategy that sets bids to help get as many conversions as
possible at the target cost-per-acquisition (CPA) you set.
Corresponds to the JSON property targetCpa
5424 5425 5426 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5424 def target_cpa @target_cpa end |
#target_impression_share ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonTargetImpressionShare
An automated bidding strategy that sets bids so that a certain percentage of
search ads are shown at the top of the first page (or other targeted location).
Corresponds to the JSON property targetImpressionShare
5430 5431 5432 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5430 def target_impression_share @target_impression_share end |
#target_outrank_share ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonTargetOutrankShare
An automated bidding strategy that sets bids based on the target fraction of
auctions where the advertiser should outrank a specific competitor. This
strategy is deprecated.
Corresponds to the JSON property targetOutrankShare
5437 5438 5439 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5437 def target_outrank_share @target_outrank_share end |
#target_roas ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonTargetRoas
An automated bidding strategy that helps you maximize revenue while averaging
a specific target return on ad spend (ROAS).
Corresponds to the JSON property targetRoas
5443 5444 5445 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5443 def target_roas @target_roas end |
#target_spend ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonTargetSpend
An automated bid strategy that sets your bids to help get as many clicks as
possible within your budget.
Corresponds to the JSON property targetSpend
5449 5450 5451 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5449 def target_spend @target_spend end |
#type ⇒ String
Output only. The type of the bidding strategy. Create a bidding strategy by
setting the bidding scheme. This field is read-only.
Corresponds to the JSON property type
5455 5456 5457 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5455 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5462 def update!(**args) @campaign_count = args[:campaign_count] if args.key?(:campaign_count) @currency_code = args[:currency_code] if args.key?(:currency_code) @effective_currency_code = args[:effective_currency_code] if args.key?(:effective_currency_code) @enhanced_cpc = args[:enhanced_cpc] if args.key?(:enhanced_cpc) @id = args[:id] if args.key?(:id) @maximize_conversion_value = args[:maximize_conversion_value] if args.key?(:maximize_conversion_value) @maximize_conversions = args[:maximize_conversions] if args.key?(:maximize_conversions) @name = args[:name] if args.key?(:name) @non_removed_campaign_count = args[:non_removed_campaign_count] if args.key?(:non_removed_campaign_count) @resource_name = args[:resource_name] if args.key?(:resource_name) @status = args[:status] if args.key?(:status) @target_cpa = args[:target_cpa] if args.key?(:target_cpa) @target_impression_share = args[:target_impression_share] if args.key?(:target_impression_share) @target_outrank_share = args[:target_outrank_share] if args.key?(:target_outrank_share) @target_roas = args[:target_roas] if args.key?(:target_roas) @target_spend = args[:target_spend] if args.key?(:target_spend) @type = args[:type] if args.key?(:type) end |