GET /admedia/admedium/{id}

Updated on
 
Returns one admediumItem, as queried either by admediumId or trackingLink See admediumItem element definition in WSDL/XSD
This resource does not require a signed request, only a connect ID. See Authentication documentation for REST and SOAP. Passing connectid as query parameter in REST is supported.

Resource URL

XML:   http://api.zanox.com/xml/2011-03-01/admedia/admedium/{id}
JSON: http://api.zanox.com/json/2011-03-01/admedia/admedium/{id}

Parameters

At least one of the two arguments must be provided: admediumId or the partnerCode. If both are provided, admediumId will take priority.

id
optional

The ID of the ad medium.

Value Type: Integer Admedium ID.
Example Value12345

adspace
optional

If you would like tracking links for only one of your publisher ad spaces, pass its ID in this parameter.

Value Type: Integer adspace ID.
Example Value

partnerCode
optional

The partnerCode or the complete tracking link for a particular Admedium.

Note: partnerCode argument is called trackingLink in the SOAP interface and our client libraries.

Value Type: Integer partnerCode ID.

Example Value"7355813C2032913713S1187906"

(http://ad.zanox.com/ppv/?7355813C2032913713S1187906)

Example Request

Example Response

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<GetAdmediumResponse xmlns="http://api.zanox.com/namespace/2011-03-01/">
    <admediumItem id="802">
        <name>4 Textlink A</name>
        <adrank>0.0</adrank>
        <admediumType>text</admediumType>
        <program id="209">JeansWelt.de</program>
        <title>Levi's, Mustang, Only Jeans, G-Star, Replay, Wrangler ... Mode & Jeans portofrei online kaufen bei
            www.jeanswelt.de.
        </title>
        <description>Textlink beinhaltet die stärksten Marken und
            führt direkt zur Startseite
        </description>
        <category id="6046">Textlinks</category>
        <trackingLinks>
            <trackingLink adspaceId="1187906">
                <ppv>http://www.zanox-affiliate.de/ppv/?15825981C61725438&zpar9=[[580599047DF8F5311043]]</ppv>
                <ppc>http://www.zanox-affiliate.de/ppc/?15825981C61725438&zpar9=[[580599047DF8F5311043]]</ppc>
            </trackingLink>
        </trackingLinks>
    </admediumItem>
</GetAdmediumResponse>

 

Resource Information

Rate Limited? No
Authentication Requires connect ID. See
REST Authentication
SOAP Authentication
Response Formats json, xml
HTTP Methods GET
Resource family AdMedia
Response Object admediumItem
API Version 2011-03-01