class Google::Apis::YoutubeV3::ChannelConversionPing

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.

Attributes

context[RW]

Defines the context of the ping. Corresponds to the JSON property `context` @return [String]

conversion_url[RW]

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` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/youtube_v3/classes.rb, line 1214
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/youtube_v3/classes.rb, line 1219
def update!(**args)
  @context = args[:context] if args.key?(:context)
  @conversion_url = args[:conversion_url] if args.key?(:conversion_url)
end