Method: campaigns.get

  • This document outlines how to retrieve a single campaign by its ID using an HTTP GET request.

  • The request requires a user profile ID and a campaign ID as path parameters.

  • The request body for this operation must be empty.

  • A successful response will contain an instance of the Campaign resource.

  • Authorization requires the https://www.googleapis.com/auth/dfatrafficking OAuth scope.

Gets one campaign by ID.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
profileId

string ( int64 format)

User profile ID associated with this request.

id

string ( int64 format)

Campaign ID.

Request body

The request body must be empty.

Response body

If successful, the response body contains an 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: