Class: Google::Apis::DfareportingV4::BillingAssignment
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV4::BillingAssignment
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/representations.rb
Overview
List account, subaccount, advertiser, and campaign associated with a given Billing Profile.
Instance Attribute Summary collapse
-
#account_id ⇒ String
ID of the account associated with the billing assignment.This is a read-only, auto-generated field.
-
#advertiser_id ⇒ String
ID of the advertiser associated with the billing assignment.Wildcard (*) means this assignment is not limited to a single advertiser Corresponds to the JSON property
advertiserId
. -
#campaign_id ⇒ String
ID of the campaign associated with the billing assignment.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#subaccount_id ⇒ String
ID of the subaccount associated with the billing assignment.Wildcard (*) means this assignment is not limited to a single subaccountThis is a read-only, auto- generated field.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BillingAssignment
constructor
A new instance of BillingAssignment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BillingAssignment
Returns a new instance of BillingAssignment.
1375 1376 1377 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 1375 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ String
ID of the account associated with the billing assignment.This is a read-only,
auto-generated field.
Corresponds to the JSON property accountId
1348 1349 1350 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 1348 def account_id @account_id end |
#advertiser_id ⇒ String
ID of the advertiser associated with the billing assignment.Wildcard (*) means
this assignment is not limited to a single advertiser
Corresponds to the JSON property advertiserId
1354 1355 1356 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 1354 def advertiser_id @advertiser_id end |
#campaign_id ⇒ String
ID of the campaign associated with the billing assignment. Wildcard (*) means
this assignment is not limited to a single campaign
Corresponds to the JSON property campaignId
1360 1361 1362 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 1360 def campaign_id @campaign_id end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#billingAssignment".
Corresponds to the JSON property kind
1366 1367 1368 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 1366 def kind @kind end |
#subaccount_id ⇒ String
ID of the subaccount associated with the billing assignment.Wildcard (*) means
this assignment is not limited to a single subaccountThis is a read-only, auto-
generated field.
Corresponds to the JSON property subaccountId
1373 1374 1375 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 1373 def subaccount_id @subaccount_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1380 1381 1382 1383 1384 1385 1386 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 1380 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) @campaign_id = args[:campaign_id] if args.key?(:campaign_id) @kind = args[:kind] if args.key?(:kind) @subaccount_id = args[:subaccount_id] if args.key?(:subaccount_id) end |