Class: Google::Apis::DfareportingV4::MeasurementPartnerCampaignLink

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MeasurementPartnerCampaignLink

Returns a new instance of MeasurementPartnerCampaignLink.



7820
7821
7822
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7820

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

Instance Attribute Details

. Corresponds to the JSON property linkStatus

Returns:

  • (String)


7808
7809
7810
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7808

def link_status
  @link_status
end

#measurement_partnerString

Measurement partner used for tag wrapping. Corresponds to the JSON property measurementPartner

Returns:

  • (String)


7813
7814
7815
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7813

def measurement_partner
  @measurement_partner
end

#partner_campaign_idString

Partner campaign ID needed for establishing linking with Measurement partner. Corresponds to the JSON property partnerCampaignId

Returns:

  • (String)


7818
7819
7820
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7818

def partner_campaign_id
  @partner_campaign_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7825
7826
7827
7828
7829
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7825

def update!(**args)
  @link_status = args[:link_status] if args.key?(:link_status)
  @measurement_partner = args[:measurement_partner] if args.key?(:measurement_partner)
  @partner_campaign_id = args[:partner_campaign_id] if args.key?(:partner_campaign_id)
end