Method: campaigns.insert

  • This document outlines how to insert a new campaign using a POST request to the specified URL.

  • The request uses a path parameter profileId to identify the user profile associated with the request.

  • The request body should contain an instance of a Campaign object.

  • A successful response will contain a newly created instance of a Campaign object in the response body.

  • The process requires the https://www.googleapis.com/auth/dfatrafficking OAuth scope for authorization.

Inserts a new campaign.

HTTP request

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

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 Campaign .

Response body

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

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/dfatrafficking
Design a Mobile Site
View Site in Mobile | Classic
Share by: