Class: Google::Apis::AdexchangebuyerV1_4::Account

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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_dealsBoolean 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

Returns:

  • (Boolean)

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_locationArray<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

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

Returns:

  • (String)

47
48
49
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 47

def cookie_matching_nid
  @cookie_matching_nid
end

The base URL used in cookie match requests. Corresponds to the JSON property cookieMatchingUrl

Returns:

  • (String)

52
53
54
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 52

def cookie_matching_url
  @cookie_matching_url
end

#idFixnum

Account id. Corresponds to the JSON property id

Returns:

  • (Fixnum)

57
58
59
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 57

def id
  @id
end

#kindString

Resource type. Corresponds to the JSON property kind

Returns:

  • (String)

62
63
64
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 62

def kind
  @kind
end

#maximum_active_creativesFixnum

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

Returns:

  • (Fixnum)

69
70
71
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 69

def maximum_active_creatives
  @maximum_active_creatives
end

#maximum_total_qpsFixnum

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

Returns:

  • (Fixnum)

75
76
77
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 75

def maximum_total_qps
  @maximum_total_qps
end

#number_active_creativesFixnum

The number of creatives that this account inserted or bid with in the last 30 days. Corresponds to the JSON property numberActiveCreatives

Returns:

  • (Fixnum)

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