youtube  v3
Public Member Functions | Static Public Member Functions | List of all members
google_youtube_api::ChannelConversionPing Class Reference

#include <channel_conversion_ping.h>

Inheritance diagram for google_youtube_api::ChannelConversionPing:

Public Member Functions

 ChannelConversionPing (const Json::Value &storage)
 
 ChannelConversionPing (Json::Value *storage)
 
virtual ~ChannelConversionPing ()
 
const StringPiece GetTypeName () const
 
bool has_context () const
 
void clear_context ()
 
const StringPiece get_context () const
 
void set_context (const StringPiece &value)
 
bool has_conversion_url () const
 
void clear_conversion_url ()
 
const StringPiece get_conversion_url () const
 
void set_conversion_url (const StringPiece &value)
 

Static Public Member Functions

static ChannelConversionPingNew ()
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ChannelConversionPing() [1/2]

google_youtube_api::ChannelConversionPing::ChannelConversionPing ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ChannelConversionPing() [2/2]

google_youtube_api::ChannelConversionPing::ChannelConversionPing ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~ChannelConversionPing()

google_youtube_api::ChannelConversionPing::~ChannelConversionPing ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_context()

void google_youtube_api::ChannelConversionPing::clear_context ( )
inline

Clears the 'context' attribute.

◆ clear_conversion_url()

void google_youtube_api::ChannelConversionPing::clear_conversion_url ( )
inline

Clears the 'conversionUrl' attribute.

◆ get_context()

const StringPiece google_youtube_api::ChannelConversionPing::get_context ( ) const
inline

Get the value of the 'context' attribute.

◆ get_conversion_url()

const StringPiece google_youtube_api::ChannelConversionPing::get_conversion_url ( ) const
inline

Get the value of the 'conversionUrl' attribute.

◆ GetTypeName()

const StringPiece google_youtube_api::ChannelConversionPing::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_youtube_api::ChannelConversionPing

◆ has_context()

bool google_youtube_api::ChannelConversionPing::has_context ( ) const
inline

Determine if the 'context' attribute was set.

Returns
true if the 'context' attribute was set.

◆ has_conversion_url()

bool google_youtube_api::ChannelConversionPing::has_conversion_url ( ) const
inline

Determine if the 'conversionUrl' attribute was set.

Returns
true if the 'conversionUrl' attribute was set.

◆ New()

ChannelConversionPing * google_youtube_api::ChannelConversionPing::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_context()

void google_youtube_api::ChannelConversionPing::set_context ( const StringPiece &  value)
inline

Change the 'context' attribute.

Defines the context of the ping.

Parameters
[in]valueThe new value.

◆ set_conversion_url()

void google_youtube_api::ChannelConversionPing::set_conversion_url ( const StringPiece &  value)
inline

Change the 'conversionUrl' attribute.

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=default The caller must append biscotti authentication (ms param in case of mobile, for example) to this ping.

Parameters
[in]valueThe new value.

The documentation for this class was generated from the following files: