Class: Google::Apis::AdexchangebuyerV1_3::Account

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable
Defined in:
generated/google/apis/adexchangebuyer_v1_3/classes.rb,
generated/google/apis/adexchangebuyer_v1_3/representations.rb,
generated/google/apis/adexchangebuyer_v1_3/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::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Account

Returns a new instance of Account



74
75
76
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 74

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#bidder_locationArray<Google::Apis::AdexchangebuyerV1_3::Account::BidderLocation>

Your bidder locations that have distinct URLs. Corresponds to the JSON property bidderLocation



32
33
34
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 32

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)


38
39
40
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 38

def cookie_matching_nid
  @cookie_matching_nid
end

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

Returns:

  • (String)


43
44
45
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 43

def cookie_matching_url
  @cookie_matching_url
end

#idFixnum

Account id. Corresponds to the JSON property id

Returns:

  • (Fixnum)


48
49
50
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 48

def id
  @id
end

#kindString

Resource type. Corresponds to the JSON property kind

Returns:

  • (String)


53
54
55
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 53

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)


60
61
62
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 60

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)


66
67
68
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 66

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)


72
73
74
# File 'generated/google/apis/adexchangebuyer_v1_3/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_3/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