AI-generated Key Takeaways
- 
          This method retrieves a list of advertisers, with support for paging and filtering. 
- 
          The HTTP request uses a GET method with a URL structure including a profileIdpath parameter.
- 
          Various query parameters are available to filter the results, such as maxResults,subaccountId,status, andsearchString.
- 
          The request body for this method must be empty, and the response body contains a list of advertisers and a nextPageTokenfor pagination.
- 
          Authorization is required using the https://www.googleapis.com/auth/dfatraffickingOAuth scope.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Retrieves a list of advertisers, possibly filtered. This method supports paging.
HTTP request
GET https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/{profileId}/advertisers
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| profileId | 
 User profile ID associated with this request. | 
Query parameters
| Parameters | |
|---|---|
| maxResults | 
 Maximum number of results to return. | 
| subaccountId | 
 Select only advertisers with these subaccount IDs. | 
| status | 
 Select only advertisers with the specified status. | 
| advertiserGroupIds[] | 
 Select only advertisers with these advertiser group IDs. | 
| floodlightConfigurationIds[] | 
 Select only advertisers with these floodlight configuration IDs. | 
| includeAdvertisersWithoutGroupsOnly | 
 Select only advertisers which do not belong to any advertiser group. | 
| onlyParent | 
 Select only advertisers which use another advertiser's floodlight configuration. | 
| ids[] | 
 Select only advertisers with these IDs. | 
| pageToken | 
 Value of the 
 from the previous result page. | 
| searchString | 
 Allows searching for objects by name or ID. Wildcards ( 
 ) are allowed. For example, 
 will return objects with names like 
 , 
 , or simply 
 . Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of 
 will match objects with name 
 , 
 , or simply 
 . | 
| sortField | 
 Field by which to sort the list. | 
| sortOrder | 
 Order of sorted results. | 
Request body
The request body must be empty.
Response body
Advertiser advertisers.list Response
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| {
  "kind": string,
  "nextPageToken": string,
  "advertisers": [
    {
      object ( | 
| Fields | |
|---|---|
| kind | 
 Identifies what kind of resource this is. Value: the fixed string 
 . | 
| nextPageToken | 
 Pagination token to be used for the next list operation. | 
| advertisers[] | 
 Advertiser collection. | 
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/dfatrafficking