Class: Google::Apis::AdexchangesellerV1_1::AdClient
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AdexchangesellerV1_1::AdClient
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangeseller_v1_1/classes.rb,
 generated/google/apis/adexchangeseller_v1_1/representations.rb,
 generated/google/apis/adexchangeseller_v1_1/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #arc_opt_in  ⇒ Boolean 
    
    
      (also: #arc_opt_in?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Whether this ad client is opted in to ARC. 
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Unique identifier of this ad client. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Kind of resource this is, in this case adexchangeseller#adClient. 
- 
  
    
      #product_code  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    This ad client's product code, which corresponds to the PRODUCT_CODE report dimension. 
- 
  
    
      #supports_reporting  ⇒ Boolean 
    
    
      (also: #supports_reporting?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Whether this ad client supports being reported on. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AdClient 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of AdClient. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AdClient
Returns a new instance of AdClient
| 88 89 90 | # File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 88 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#arc_opt_in ⇒ Boolean Also known as: arc_opt_in?
Whether this ad client is opted in to ARC.
Corresponds to the JSON property arcOptIn
| 63 64 65 | # File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 63 def arc_opt_in @arc_opt_in end | 
#id ⇒ String
Unique identifier of this ad client.
Corresponds to the JSON property id
| 69 70 71 | # File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 69 def id @id end | 
#kind ⇒ String
Kind of resource this is, in this case adexchangeseller#adClient.
Corresponds to the JSON property kind
| 74 75 76 | # File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 74 def kind @kind end | 
#product_code ⇒ String
This ad client's product code, which corresponds to the PRODUCT_CODE report
dimension.
Corresponds to the JSON property productCode
| 80 81 82 | # File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 80 def product_code @product_code end | 
#supports_reporting ⇒ Boolean Also known as: supports_reporting?
Whether this ad client supports being reported on.
Corresponds to the JSON property supportsReporting
| 85 86 87 | # File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 85 def supports_reporting @supports_reporting end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 93 94 95 96 97 98 99 | # File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 93 def update!(**args) @arc_opt_in = args[:arc_opt_in] if args.key?(:arc_opt_in) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @product_code = args[:product_code] if args.key?(:product_code) @supports_reporting = args[:supports_reporting] if args.key?(:supports_reporting) end |