Mathieu Jondet > WebService-Eulerian-Analytics-0.8 > WebService::Eulerian::Analytics::Website::TPOpedataClick

Download:
WebService-Eulerian-Analytics-0.8.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

NAME ^

WebService::Eulerian::Analytics::Website::TPOpedataClick - access to the TPOpedataClick service for a given website

DESCRIPTION ^

This module allow you to access the TPOpedataClick service, which holds information on all the click generated as outbout traffic.

SYNOPSIS ^

        use WebService::Eulerian::Analytics::Website::TPOpedataClick;
        #
        my $api = new WebService::Eulerian::Analytics::Website::TPOpedataClick(
         apikey => 'THE KEY PROVIDED BY YOUR ACCOUNT MANAGER FOR API ACCESS',
         host   => 'THE HOST ON WHICH THE API IS HOSTED'
        );

METHODS ^

getLogByTPOpeName : return all information on outbound clicks for a given outbound campaign

Note: you can only request data on a day timespan.

input

output

sample

        my $ra_log = $api->getLogByTPOpeName($my_website_id, {
          tpope_name    => 'NAME_OF_TARGETTED_CAMPAIGN',
          date_from     => 'DD/MM/YYYY',
          date_to       => 'DD/MM/YYYY',
        });
        #
        if ( $api->fault ) {
         die $api->faultstring();
        }
        #
        for ( @{ $ra_log } ) {
         print "date ".localtime($_->{epoch})." | IP : ".$_->{ip}." | Channel Information : level0=".$_->{channel_0}." level1=".$_->{channel_1}." level2=".$_->{channel_2}."\n";
        }

METHODS ^

getLogByTPMediaName : return all information on outbound clicks for a given outbound media

Note: you can only request data on a day timespan.

input

output

sample

        my $ra_log = $api->getLogByTPMediaName($my_website_id, {
          tpmedia_name  => 'NAME_OF_TARGETTED_TPMEDIA',
          date_from     => 'DD/MM/YYYY',
          date_to       => 'DD/MM/YYYY',
        });
        #
        if ( $api->fault ) {
         die $api->faultstring();
        }
        #
        for ( @{ $ra_log } ) {
         print "date ".localtime($_->{epoch})." | IP : ".$_->{ip}." | Channel Information : level0=".$_->{channel_0}." level1=".$_->{channel_1}." level2=".$_->{channel_2}." | Outbound Campaign : ".$_->{tpope_name}."\n";
        }

METHODS ^

getLogByOpeName : return all information on outbound clicks for a given inbound campaign

Note: you can only request data on a day timespan.

input

output

sample

        my $ra_log = $api->getLogByOpeName($my_website_id, {
          ope_name      => 'NAME_OF_INBOUND_CAMPAIGN',
          date_from     => 'DD/MM/YYYY',
          date_to       => 'DD/MM/YYYY',
        });
        #
        if ( $api->fault ) {
         die $api->faultstring();
        }
        #
        for ( @{ $ra_log } ) {
         print "date ".localtime($_->{epoch})." | IP : ".$_->{ip}." | Outbound Campaign : ".$_->{tpope_name}."\n";
        }

SEE ALSO ^

WebService::Eulerian::Analytics

AUTHOR ^

Mathieu Jondet <mathieu@eulerian.com>

COPYRIGHT ^

Copyright (c) 2008 Eulerian Technologies Ltd http://www.eulerian.com

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

syntax highlighting: