Method: billingAssignments.list

  • This document details how to retrieve a list of billing assignments using a GET request to a specific URL.

  • The request requires path parameters for the user profile ID and billing profile ID.

  • The request body must be empty.

  • The response body contains a list of billing assignments and an identifier for the resource type.

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

Retrieves a list of billing assignments.

HTTP request

GET https://dfareporting.googleapis.com/dfareporting/v5/userprofiles/{profileId}/billingProfiles/{billingProfileId}/billingAssignments

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
profileId

string (int64 format)

User profile ID associated with this request.

billingProfileId

string (int64 format)

Billing profile ID of this billing assignment.

Request body

The request body must be empty.

Response body

Billing assignment billingAssignments.list Response

If successful, the response body contains data with the following structure:

JSON representation
{
  "kind": string,
  "billingAssignments": [
    {
      object (BillingAssignment)
    }
  ]
}
Fields
kind

string

Identifies what kind of resource this is. Value: the fixed string

"dfareporting#billingAssignmentsListResponse"

.

billingAssignments[]

object (BillingAssignment)

Billing assignments collection.

Authorization scopes

Requires the following OAuth scope:

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