### GET /websites/api_juicyads_v1 Source: https://api.juicyads.com/docs/v1.txt Retrieves site performance data for a specified date range. ```APIDOC ## GET /websites/api_juicyads_v1 ### Description Retrieves site performance data based on a provided date range. ### Method GET ### Endpoint /websites/api_juicyads_v1 ### Parameters #### Query Parameters - **end-date** (string) - Required - The Ending Date of the Date Range ### Response #### Success Response (200) - **site_id** (string) - The unique identifier for the site - **total** (string) - The total count or value - **paid** (string) - The paid amount #### Response Example [{"site_id":"123456","total":"12345","paid":"12.345"}] ### Error Handling - 401 - Unauthorized - 404 - Page not found ``` -------------------------------- ### GET /statistics/popunders/publisher/{token}/{start_date}/{end_date} Source: https://api.juicyads.com/docs/v1.txt Retrieves PopUnder statistics for publishers, grouped by date, country, or site. ```APIDOC ## GET /statistics/popunders/publisher/{token}/{start_date}/{end_date} ### Description Returns Publisher's PopUnder statistics grouped by Date. ### Method GET ### Endpoint /statistics/popunders/publisher/{token}/{start_date}/{end_date} ### Parameters #### Path Parameters - **token** (string) - Required - The Authorization Token - **start-date** (string) - Required - The Starting Date (YYYY-MM-DD) - **end-date** (string) - Required - The Ending Date (YYYY-MM-DD) ### Response #### Success Response (200) - **thedate** (string) - Date of statistics - **total** (string) - Total count - **paid** (string) - Total paid amount #### Response Example [{"thedate":"2017-01-01","total":"12345","paid":"12.345"}] ``` -------------------------------- ### GET /campaigns/popunders/{token} Source: https://api.juicyads.com/docs/v1.txt Retrieves a list of all PopUnder campaigns associated with the user's account. ```APIDOC ## GET /campaigns/popunders/{token} ### Description Returns a list of all PopUnder Campaigns associated with the users account. ### Method GET ### Endpoint /campaigns/popunders/{token} ### Parameters #### Path Parameters - **token** (string) - Required - The Authorization Token ### Response #### Success Response (200) - **id** (string) - Campaign ID - **campaign_name** (string) - Name of the campaign - **buyer_id** (string) - Buyer ID - **accepted_countries** (string) - Comma separated country codes - **daily_max** (string) - Daily maximum budget - **daily_max_reached** (string) - Status if daily max reached - **url** (string) - Campaign URL - **amount** (string) - Cost amount - **throttle** (string) - Throttle setting - **active** (string) - Active status - **suspend** (string) - Suspension status #### Response Example [{"id":"12345","campaign_name":null,"buyer_id":"1234","accepted_countries":"US","daily_max":null,"daily_max_reached":"0","url":"https://www.test.com","amount":"0.0012","throttle":"100","active":"1","suspend":"0","hide_campaign":null,"lockdate":"0000-00-00","last_active":null,"last_modified":null}] ``` -------------------------------- ### GET /statistics/popunders/advertiser/{token}/{campaign-id}/{start-date}/{end-date} Source: https://api.juicyads.com/docs/v1.txt Retrieves statistics for a specific PopUnder campaign for an advertiser, grouped by date, country, or site. ```APIDOC ## GET /statistics/popunders/advertiser/{token}/{campaign-id}/{start-date}/{end-date} ### Description Returns statistics for a specific PopUnder Campaign by Campaign ID grouped by Date. ### Method GET ### Endpoint /statistics/popunders/advertiser/{token}/{campaign-id}/{start-date}/{end-date} ### Parameters #### Path Parameters - **token** (string) - Required - The Authorization Token - **campaign-id** (string) - Required - The Campaign ID - **start-date** (string) - Required - The Starting Date (YYYY-MM-DD) - **end-date** (string) - Required - The Ending Date (YYYY-MM-DD) ### Response #### Success Response (200) - **thedate** (string) - Date of statistics - **spend** (string) - Total spend - **imps** (string) - Total impressions #### Response Example [{"thedate":"2017-01-01","spend":"12.3456","imps":"123456"}] ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.