Class: Google::Apis::DfareportingV3_4::CampaignManagerIds

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v3_4/classes.rb,
generated/google/apis/dfareporting_v3_4/representations.rb,
generated/google/apis/dfareporting_v3_4/representations.rb

Overview

Campaign Manager IDs related to the custom event.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CampaignManagerIds

Returns a new instance of CampaignManagerIds.



1698
1699
1700
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1698

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

Instance Attribute Details

#ad_idFixnum

Ad ID for Campaign Manager. Corresponds to the JSON property adId

Returns:

  • (Fixnum)


1670
1671
1672
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1670

def ad_id
  @ad_id
end

#campaign_idFixnum

Campaign ID for Campaign Manager. Corresponds to the JSON property campaignId

Returns:

  • (Fixnum)


1675
1676
1677
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1675

def campaign_id
  @campaign_id
end

#creative_idFixnum

Creative ID for Campaign Manager. Corresponds to the JSON property creativeId

Returns:

  • (Fixnum)


1680
1681
1682
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1680

def creative_id
  @creative_id
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#campaignManagerIds". Corresponds to the JSON property kind

Returns:

  • (String)


1686
1687
1688
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1686

def kind
  @kind
end

#placement_idFixnum

Placement ID for Campaign Manager. Corresponds to the JSON property placementId

Returns:

  • (Fixnum)


1691
1692
1693
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1691

def placement_id
  @placement_id
end

#site_idFixnum

Site ID for Campaign Manager. Corresponds to the JSON property siteId

Returns:

  • (Fixnum)


1696
1697
1698
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1696

def site_id
  @site_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1703
1704
1705
1706
1707
1708
1709
1710
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1703

def update!(**args)
  @ad_id = args[:ad_id] if args.key?(:ad_id)
  @campaign_id = args[:campaign_id] if args.key?(:campaign_id)
  @creative_id = args[:creative_id] if args.key?(:creative_id)
  @kind = args[:kind] if args.key?(:kind)
  @placement_id = args[:placement_id] if args.key?(:placement_id)
  @site_id = args[:site_id] if args.key?(:site_id)
end