POST /programapplications
/program/{id}/adspace/{id}

Updated on
 
Applies to the selected program with the selected AdSpace.
This resource requires connectid, nonce, date and signature for authentication. See Authentication documentation for REST and SOAP. Passing authentication information as query parameters for REST is supported.

Resource URL

XML:   https://api.zanox.com/xml/2011-03-01/programapplications/program/{id}/adspace/{id}
JSON: https://api.zanox.com/json/2011-03-01/programapplications/program/{id}/adspace/{id}

Parameters

program/id
required

the program to be applied to.

Value Type: Integer program ID
Example Value: 1234

adspace/id
required

the adspace for which the program application is made.

Value Type: Integer AdSpace ID
Example Value: 12345

callback
optional

Supported if format is JSON. Returns the name of the JS function the result is wrapped in.

Value Type: String
Example Value

Example Request

REST authentication information must be included in request headers or added as query parameters
https://api.zanox.com/xml/2011-03-01/programapplications/program/10918/adspace/1552841					

Example Response

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<response xmlns="http://api.zanox.com/namespace/2011-03-01/">
    <programApplicationItem id="8921286">
        <program id="10918">Test Program</program>
        <adspace id="1552841">Test AdSpace</adspace>
        <status>open</status>
    </programApplicationItem>
</response>
						

 

Resource Information

Rate Limited? No
Authentication Requires signature. See
REST Authentication
SOAP Authentication
Response Formats json, xml
HTTP Methods POST
Resource family ProgramApplications
Response Object programApplicationItem
API Version 2011-03-01