Class: Google::Apis::AdexchangebuyerV1_2::Account
- Inherits:
-
Object
- Object
- Google::Apis::AdexchangebuyerV1_2::Account
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangebuyer_v1_2/classes.rb,
generated/google/apis/adexchangebuyer_v1_2/representations.rb,
generated/google/apis/adexchangebuyer_v1_2/representations.rb
Overview
Configuration data for an Ad Exchange buyer account.
Defined Under Namespace
Classes: BidderLocation
Instance Attribute Summary collapse
-
#bidder_location ⇒ Array<Google::Apis::AdexchangebuyerV1_2::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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Account
Returns a new instance of Account
74 75 76 |
# File 'generated/google/apis/adexchangebuyer_v1_2/classes.rb', line 74 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bidder_location ⇒ Array<Google::Apis::AdexchangebuyerV1_2::Account::BidderLocation>
Your bidder locations that have distinct URLs.
Corresponds to the JSON property bidderLocation
32 33 34 |
# File 'generated/google/apis/adexchangebuyer_v1_2/classes.rb', line 32 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
38 39 40 |
# File 'generated/google/apis/adexchangebuyer_v1_2/classes.rb', line 38 def @cookie_matching_nid end |
#cookie_matching_url ⇒ String
The base URL used in cookie match requests.
Corresponds to the JSON property cookieMatchingUrl
43 44 45 |
# File 'generated/google/apis/adexchangebuyer_v1_2/classes.rb', line 43 def @cookie_matching_url end |
#id ⇒ Fixnum
Account id.
Corresponds to the JSON property id
48 49 50 |
# File 'generated/google/apis/adexchangebuyer_v1_2/classes.rb', line 48 def id @id end |
#kind ⇒ String
Resource type.
Corresponds to the JSON property kind
53 54 55 |
# File 'generated/google/apis/adexchangebuyer_v1_2/classes.rb', line 53 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
60 61 62 |
# File 'generated/google/apis/adexchangebuyer_v1_2/classes.rb', line 60 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
66 67 68 |
# File 'generated/google/apis/adexchangebuyer_v1_2/classes.rb', line 66 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
72 73 74 |
# File 'generated/google/apis/adexchangebuyer_v1_2/classes.rb', line 72 def number_active_creatives @number_active_creatives end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
79 80 81 82 83 84 85 86 87 88 |
# File 'generated/google/apis/adexchangebuyer_v1_2/classes.rb', line 79 def update!(**args) @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 |