Class: Google::Apis::DoubleclicksearchV2::ReportRequest::ReportScope
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DoubleclicksearchV2::ReportRequest::ReportScope
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/doubleclicksearch_v2/classes.rb,
 generated/google/apis/doubleclicksearch_v2/representations.rb,
 generated/google/apis/doubleclicksearch_v2/representations.rb
Overview
The reportScope is a set of IDs that are used to determine which subset of entities will be returned in the report. The full lineage of IDs from the lowest scoped level desired up through agency is required.
Instance Attribute Summary collapse
- 
  
    
      #ad_group_id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    DS ad group ID. 
- 
  
    
      #ad_id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    DS ad ID. 
- 
  
    
      #advertiser_id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    DS advertiser ID. 
- 
  
    
      #agency_id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    DS agency ID. 
- 
  
    
      #campaign_id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    DS campaign ID. 
- 
  
    
      #engine_account_id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    DS engine account ID. 
- 
  
    
      #keyword_id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    DS keyword ID. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ReportScope 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ReportScope. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ReportScope
Returns a new instance of ReportScope
| 809 810 811 | # File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 809 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#ad_group_id ⇒ Fixnum
DS ad group ID.
Corresponds to the JSON property adGroupId
| 777 778 779 | # File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 777 def ad_group_id @ad_group_id end | 
#ad_id ⇒ Fixnum
DS ad ID.
Corresponds to the JSON property adId
| 782 783 784 | # File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 782 def ad_id @ad_id end | 
#advertiser_id ⇒ Fixnum
DS advertiser ID.
Corresponds to the JSON property advertiserId
| 787 788 789 | # File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 787 def advertiser_id @advertiser_id end | 
#agency_id ⇒ Fixnum
DS agency ID.
Corresponds to the JSON property agencyId
| 792 793 794 | # File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 792 def agency_id @agency_id end | 
#campaign_id ⇒ Fixnum
DS campaign ID.
Corresponds to the JSON property campaignId
| 797 798 799 | # File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 797 def campaign_id @campaign_id end | 
#engine_account_id ⇒ Fixnum
DS engine account ID.
Corresponds to the JSON property engineAccountId
| 802 803 804 | # File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 802 def engine_account_id @engine_account_id end | 
#keyword_id ⇒ Fixnum
DS keyword ID.
Corresponds to the JSON property keywordId
| 807 808 809 | # File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 807 def keyword_id @keyword_id end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 814 815 816 817 818 819 820 821 822 | # File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 814 def update!(**args) @ad_group_id = args[:ad_group_id] if args.key?(:ad_group_id) @ad_id = args[:ad_id] if args.key?(:ad_id) @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) @agency_id = args[:agency_id] if args.key?(:agency_id) @campaign_id = args[:campaign_id] if args.key?(:campaign_id) @engine_account_id = args[:engine_account_id] if args.key?(:engine_account_id) @keyword_id = args[:keyword_id] if args.key?(:keyword_id) end |