Method: advertisers.insert

  • This page details how to insert a new advertiser using a POST request to the specified URL.

  • The request requires a profileId as a path parameter, which is a string formatted as an int64.

  • The request body contains an instance of an Advertiser object.

  • A successful response body will contain a newly created instance of an Advertiser object.

  • The operation requires the https://www.googleapis.com/auth/dfatrafficking authorization scope.

Inserts a new advertiser.

HTTP request

POST https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/{profileId}/advertisers

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
profileId

string (int64 format)

User profile ID associated with this request.

Request body

The request body contains an instance of Advertiser.

Response body

If successful, the response body contains a newly created instance of Advertiser.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/dfatrafficking