Advertiser

(info) The Advertiser APIs only support the AppNexus platform at this time

List

Method

GET

Path

/api/advertiser

Parameters

NameTypeRequiredDescription
idnumberN 
integration_idnumber

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

NameTypeRequiredDescription
namestringYThe display name.
currencystringYThree letter code of the currency.
timezonestringYDefault: "EST5EDT", or the member's timezone.
billing_namestringNFor reference.
billing_phonestringNFor reference.
billing_address1stringNFor reference.
billing_address2stringNFor reference.
billing_citystringNFor reference.
billing_statestringNFor reference.
billing_countrystringNFor reference.
billing_zipstringNFor reference.

 

Modify Advertiser

/advertiser

Method

PUT

Parameters

Same as POST

NameTypeRequiredDescription
idintYAdvertiser Id.


Delete Advertiser

/advertiser

Method

DELETE

Parameters

NameTypeRequiredDescription
idintYAdvertiser Id.

 

Media Math

Method

GET

Path

/api/advertiser/media-math

Parameters

NameTypeRequiredDescription
idnumberN 
integration_idnumberN 

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
            }
        ]
    }
}