Advertiser
The Advertiser APIs only support the AppNexus platform at this time
List
Method
GET
Path
/api/advertiser
Parameters
Name | Type | Required | Description |
---|---|---|---|
id | number | N | |
integration_id | number | N |
Example cURL
curl -X GET \ 'https://platform.flxone.com/api/advertiser' \ -H 'Cache-Control: no-cache' \ -H 'X-Auth: es5a88dmlpktb5t6k9eifm6Pqjd0l70otkm1p2dv6g13h3h2thkptomb3k8dqe3ms3Xvorgr72h99uec0n92mf9hki9d23aprtsmds3' \ -H 'X-CSRF: 14f61670139eb434adf7f148bbea1a30'
Output
{ "response": { "status": "OK", "advertisers": [ { "id": 2276242, "code": null, "name": "Demo advertiser", "state": "active", "default_brand_id": null, "remarketing_segment_id": null, "profile_id": 6329219, "control_pct": 0, "timezone": "EST5EDT", "last_modified": "2013-11-04 15:22:20", "member_id": 19229, "billing_name": null, "billing_phone": null, "billing_address1": "", "billing_address2": "", "billing_city": "", "billing_state": "", "billing_country": "", "billing_zip": "", "default_currency": "USD", "use_insertion_orders": false, "time_format": "12-hour", "is_malicious": false, "is_mediated": false, "billing_internal_user": null, "default_category": null, "default_brand": null, "labels": null, "competitive_brands": null, "competitive_categories": null, "thirdparty_pixels": null, "macros": null, "lifetime_budget": null, "lifetime_budget_imps": null, "daily_budget": null, "daily_budget_imps": null, "enable_pacing": null, "allow_safety_pacing": null, "lifetime_pacing": null, "lifetime_pacing_span": null, "lifetime_pacing_pct": null }, { "id": 2412165, "code": null, "name": "test", "state": "active", "default_brand_id": null, "remarketing_segment_id": null, "profile_id": null, "control_pct": 0, "timezone": "Europe/Istanbul", "last_modified": "2013-12-03 12:35:18", "member_id": 19229, "billing_name": "", "billing_phone": "", "billing_address1": "", "billing_address2": "", "billing_city": "", "billing_state": "", "billing_country": "", "billing_zip": "", "default_currency": "TRY", "use_insertion_orders": false, "time_format": "12-hour", "is_malicious": false, "is_mediated": false, "billing_internal_user": null, "default_category": null, "default_brand": null, "labels": null, "competitive_brands": null, "competitive_categories": null, "thirdparty_pixels": null, "macros": null, "lifetime_budget": null, "lifetime_budget_imps": null, "daily_budget": null, "daily_budget_imps": null, "enable_pacing": null, "allow_safety_pacing": null, "lifetime_pacing": null, "lifetime_pacing_span": null, "lifetime_pacing_pct": null } ] } }
Create Advertiser
/advertiser
Method
POST
Parameters
Name | Type | Required | Description |
---|---|---|---|
name | string | Y | The display name. |
currency | string | Y | Three letter code of the currency. |
timezone | string | Y | Default: "EST5EDT", or the member's timezone. |
billing_name | string | N | For reference. |
billing_phone | string | N | For reference. |
billing_address1 | string | N | For reference. |
billing_address2 | string | N | For reference. |
billing_city | string | N | For reference. |
billing_state | string | N | For reference. |
billing_country | string | N | For reference. |
billing_zip | string | N | For reference. |
Modify Advertiser
/advertiser
Method
PUT
Parameters
Same as POST
Name | Type | Required | Description |
---|---|---|---|
id | int | Y | Advertiser Id. |
Delete Advertiser
/advertiser
Method
DELETE
Parameters
Name | Type | Required | Description |
---|---|---|---|
id | int | Y | Advertiser Id. |
Media Math
Method
GET
Path
/api/advertiser/media-math
Parameters
Name | Type | Required | Description |
---|---|---|---|
id | number | N | |
integration_id | number | N |
Example cURL
curl -X GET \ https://platform.flxone.com/api/advertiser/media-math \ -H 'Cache-Control: no-cache' \ -H 'X-Auth: es5a88dmlpktb5t6k9eifm6Pqjd0l70otkm1p2dv6g13h3h2thkptomb3k8dqe3ms3Xvorgr72h99uec0n92mf9hki9d23aprtsmds3' \ -H 'X-CSRF: 14f61670139eb434adf7f148bbea1a30'
Output
{ "response": { "status": "OK", "advertisers": [ { "entity_type": "advertiser", "name": "HMSTO_DJURENS RÄTT", "id": 2062052 }, { "entity_type": "advertiser", "name": "HMSTO_NIXU", "id": 2017263 }, { "entity_type": "advertiser", "name": "HMSTO_C MORE", "id": 2301666 } ] } }