Class: Google::Apis::AdexchangebuyerV1_4::Account
- Inherits:
-
Object
- Object
- Google::Apis::AdexchangebuyerV1_4::Account
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangebuyer_v1_4/classes.rb,
generated/google/apis/adexchangebuyer_v1_4/representations.rb,
generated/google/apis/adexchangebuyer_v1_4/representations.rb
Overview
Configuration data for an Ad Exchange buyer account.
Defined Under Namespace
Classes: BidderLocation
Instance Attribute Summary collapse
-
#apply_pretargeting_to_non_guaranteed_deals ⇒ Boolean
(also: #apply_pretargeting_to_non_guaranteed_deals?)
When this is false, bid requests that include a deal ID for a private auction or preferred deal are always sent to your bidder.
-
#bidder_location ⇒ Array<Google::Apis::AdexchangebuyerV1_4::Account::BidderLocation>
Your bidder locations that have distinct URLs.
-
#cookie_matching_nid ⇒ String
The nid parameter value used in cookie match requests.
-
#cookie_matching_url ⇒ String
The base URL used in cookie match requests.
-
#id ⇒ Fixnum
Account id.
-
#kind ⇒ String
Resource type.
-
#maximum_active_creatives ⇒ Fixnum
The maximum number of active creatives that an account can have, where a creative is active if it was inserted or bid with in the last 30 days.
-
#maximum_total_qps ⇒ Fixnum
The sum of all bidderLocation.maximumQps values cannot exceed this.
-
#number_active_creatives ⇒ Fixnum
The number of creatives that this account inserted or bid with in the last 30 days.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Account
constructor
A new instance of Account.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Account
Returns a new instance of Account.
83 84 85 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 83 def initialize(**args) update!(**args) end |
Instance Attribute Details
#apply_pretargeting_to_non_guaranteed_deals ⇒ Boolean Also known as: apply_pretargeting_to_non_guaranteed_deals?
When this is false, bid requests that include a deal ID for a private auction
or preferred deal are always sent to your bidder. When true, all active
pretargeting configs will be applied to private auctions and preferred deals.
Programmatic Guaranteed deals (when enabled) are always sent to your bidder.
Corresponds to the JSON property applyPretargetingToNonGuaranteedDeals
35 36 37 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 35 def apply_pretargeting_to_non_guaranteed_deals @apply_pretargeting_to_non_guaranteed_deals end |
#bidder_location ⇒ Array<Google::Apis::AdexchangebuyerV1_4::Account::BidderLocation>
Your bidder locations that have distinct URLs.
Corresponds to the JSON property bidderLocation
41 42 43 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 41 def bidder_location @bidder_location end |
#cookie_matching_nid ⇒ String
The nid parameter value used in cookie match requests. Please contact your
technical account manager if you need to change this.
Corresponds to the JSON property cookieMatchingNid
47 48 49 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 47 def @cookie_matching_nid end |
#cookie_matching_url ⇒ String
The base URL used in cookie match requests.
Corresponds to the JSON property cookieMatchingUrl
52 53 54 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 52 def @cookie_matching_url end |
#id ⇒ Fixnum
Account id.
Corresponds to the JSON property id
57 58 59 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 57 def id @id end |
#kind ⇒ String
Resource type.
Corresponds to the JSON property kind
62 63 64 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 62 def kind @kind end |
#maximum_active_creatives ⇒ Fixnum
The maximum number of active creatives that an account can have, where a
creative is active if it was inserted or bid with in the last 30 days. Please
contact your technical account manager if you need to change this.
Corresponds to the JSON property maximumActiveCreatives
69 70 71 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 69 def maximum_active_creatives @maximum_active_creatives end |
#maximum_total_qps ⇒ Fixnum
The sum of all bidderLocation.maximumQps values cannot exceed this. Please
contact your technical account manager if you need to change this.
Corresponds to the JSON property maximumTotalQps
75 76 77 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 75 def maximum_total_qps @maximum_total_qps end |
#number_active_creatives ⇒ Fixnum
The number of creatives that this account inserted or bid with in the last 30
days.
Corresponds to the JSON property numberActiveCreatives
81 82 83 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 81 def number_active_creatives @number_active_creatives end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
88 89 90 91 92 93 94 95 96 97 98 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 88 def update!(**args) @apply_pretargeting_to_non_guaranteed_deals = args[:apply_pretargeting_to_non_guaranteed_deals] if args.key?(:apply_pretargeting_to_non_guaranteed_deals) @bidder_location = args[:bidder_location] if args.key?(:bidder_location) @cookie_matching_nid = args[:cookie_matching_nid] if args.key?(:cookie_matching_nid) @cookie_matching_url = args[:cookie_matching_url] if args.key?(:cookie_matching_url) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @maximum_active_creatives = args[:maximum_active_creatives] if args.key?(:maximum_active_creatives) @maximum_total_qps = args[:maximum_total_qps] if args.key?(:maximum_total_qps) @number_active_creatives = args[:number_active_creatives] if args.key?(:number_active_creatives) end |