Publisher API
List Ad Network Placements
1 min
tab examples url https api paved com publisher v1 newsletters slug ad network name list ad network placements method get request pathparameters kind required name slug type string children description your newsletter slug queryparameters headerparameters kind required name authorization type string children description bodydataparameters formdataparameters results languages id umbyziigg ghv1cxambin code n n id 123abc n name header placement n status active n position above fold n n n id 456def n name classified listing n status active n position footer n n language 200 customlabel id yc1nelkltmzh5znnnafyw code language 404 customlabel selectedlanguageid umbyziigg ghv1cxambin examples languages id pbf0v3m9ugxsxqdiutspm code curl location g request get https api paved com publisher v1 newsletters slug ad network n header accept application json n header authorization token xx language curl customlabel id qhcwl shnxqizlaiaqb y code var request require request ; nvar options n method get n url https api paved com publisher v1 newsletters slug ad network n headers n accept application json n authorization token xx n n ; nrequest options function error response n if error throw new error error ; n console log response body ; n ; n language nodejs customlabel id 3jro pyeuagqyvvgzwowt code var myheaders new headers ; nmyheaders append accept application json ; nmyheaders append authorization token xx ; n nvar requestoptions n method get n headers myheaders n redirect follow n ; n nfetch https api paved com publisher v1 newsletters slug ad network requestoptions n then response response text n then result console log result n catch error console log error error ; language javascript customlabel id ce 58i0is9r3gqflydrqj code import requests n nurl https api paved com publisher v1 newsletters slug ad network n npayload nheaders n accept application json n authorization token xx n n nresponse requests request get url headers headers data payload n nprint response text n language python customlabel id 5 t2awzz tagivxhuwkvp code require uri nrequire net http n nurl uri https api paved com publisher v1 newsletters slug ad network n nhttps net http new url host url port nhttps use ssl true n nrequest net http get new url nrequest accept application json nrequest authorization token xx n nresponse https request request nputs response read body n language ruby customlabel selectedlanguageid 5 t2awzz tagivxhuwkvp description retrieve information about all ad network placements currentnewparameter label path parameter value pathparameters