Class: Google::Apis::YoutubeV3::ChannelConversionPing
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::YoutubeV3::ChannelConversionPing
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/youtube_v3/classes.rb,
lib/google/apis/youtube_v3/representations.rb,
lib/google/apis/youtube_v3/representations.rb 
Overview
Pings that the app shall fire (authenticated by biscotti cookie). Each ping has a context, in which the app must fire the ping, and a url identifying the ping.
Instance Attribute Summary collapse
- 
  
    
      #context  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Defines the context of the ping.
 - 
  
    
      #conversion_url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The url (without the schema) that the player shall send the ping to.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ChannelConversionPing 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of ChannelConversionPing.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ ChannelConversionPing
Returns a new instance of ChannelConversionPing.
      1255 1256 1257  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 1255 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#context ⇒ String
Defines the context of the ping.
Corresponds to the JSON property context
      1243 1244 1245  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 1243 def context @context end  | 
  
#conversion_url ⇒ String
The url (without the schema) that the player shall send the ping to. It's at
caller's descretion to decide which schema to use (http vs https) Example of a
returned url: //googleads.g.doubleclick.net/pagead/ viewthroughconversion/
962985656/?data=path%3DtHe_path%3Btype%3D cview%3Butuid%
3DGISQtTNGYqaYl4sKxoVvKA&labe=default The caller must append biscotti
authentication (ms param in case of mobile, for example) to this ping.
Corresponds to the JSON property conversionUrl
      1253 1254 1255  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 1253 def conversion_url @conversion_url end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1260 1261 1262 1263  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 1260 def update!(**args) @context = args[:context] if args.key?(:context) @conversion_url = args[:conversion_url] if args.key?(:conversion_url) end  |