appnexus:
brightroll:
criteo:
用fiddle抓包查看
Taboola:
facebook:
report Facebook API Reporting - C#, RestSharp Marketing API Export Async Report ads_insights V2.5
facebook-csharp-sdk: 第二个link(不同)
Get Facebook C# Api Access Token Access and Authentication How to generate Facebook Marketing API access token to use it in Windows application Access Tokens
Marketing API ads/manage/powereditor graph api explorer ads/manager/accounts
search?type=adgeolocation&location_types=['country']
https://developers.facebook.com/docs/marketing-api/targeting-search
bingads:
#facebook 获取report curl "https://graph.facebook.com/v2.11/act_596654710/insights?access_token=*******************&fields=account_id,account_name,campaign_id{cost_per_action,results},campaign_name,d ate_stop,date_start,clicks,impressions,total_action_value,total_actions,spend,actions,action_values,website_purchase_roa s,reach&level=account&breakdowns=&time_increment=1&action_attribution_windows=1d_view,28d_click,default&time_range={'sin ce':'2018-01-01','until':'2018-01-29'}" #appnexus auth curl -b cookies -c cookies -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{"auth":{"password":"****************","username":"*********"}}' 'https://api.appnexus.com/auth' curl -b cookies -c cookies -X POST -d '{"report":{"report_type":"network_analytics","start_date":"2018-01-21","end_date":"2018-01-29","columns":["day","serving_fees","data_costs","imps","advertiser_id","advertiser_name"],"filters":[{}],"orders":["day"],"offset":0,"num_elements":2000000,"format":"csv","report_interval":null,"timezone":"UTC"}}' 'https://api.appnexus.com/report?advertiser_id=*******' #获取report_id的值==下面url的id值 curl -b cookies -c cookies 'https://api.appnexus.com/report-download?id=**********' #id的值同上 curl -b cookies -c cookies 'https://api.appnexus.com/report?id=*********'
#taboola curl -X POST --header 'Content-Type: application/x-www-form-urlencoded' 'https://backstage.taboola.com/backstage/oauth/token?client_id=9e1c4bb4ba4b4dfcbfbe78ca1c0e4a19&client_secret=690d4489177449f0828df4831b52b520&grant_type=client_credentials'