GPTEngine logo

GPTEngine End User Documentation

<prev | up | next>

Campaign configuration and statistics manager

The process of configuring advertisers' campaigns (including statistics) is controlled by the file gpte49.cgi.

General usage:
      (Getting campaign configuration)
      
      <a href="cgi-bin/gpte49.cgi?op=get&type=CampaignType&id=CampaignId">Get info</a>
      
      Where CampaignType is the GPT type of the campaign and CampaignId is the campaign's id.
       
      ---------------------------------------------------------------------------------------
      
      (Saving campaign configuration)
      
      <a href="cgi-bin/gpte49.cgi?op=set&type=CampaignType&id=CampaignId">Save info</a>
      
      Where CampaignType is the GPT type of the campaign and CampaignId is the campaign's id.
       
      ---------------------------------------------------------------------------------------
      
      (Getting campaign stats)
      
      <a href="cgi-bin/gpte49.cgi?op=stats&type=CampaignType&id=CampaignId">Get stats</a>
      
      Where CampaignType is the GPT type of the campaign and CampaignId is the campaign's id.
       
      ---------------------------------------------------------------------------------------
      
      (Getting campaign events)
      
      <a href="cgi-bin/gpte49.cgi?op=event&type=CampaignType&id=CampaignId ↵
       &event_type=EventType&time_from=TimeFrom&time_to=TimeTo">Get info</a>
      
      Where CampaignType is the GPT type of the campaign, CampaignId is the campaign's id,
       EventType is the type of GPT event (impression, click, etc.) and TimeFrom/TimeTo determine
       the time interval of the campaign events.       
      
For a better understanding and examples of usage, refer to the code included with your pages.
© 2015 by popux. All rights reserved.