AI-generated Key Takeaways
- 
          
The audit endpoint provides counts of used entities per resource type under a specified advertiser.
 - 
          
The request uses a GET HTTP method with a path parameter for the advertiser ID and an optional query parameter for a read mask.
 - 
          
The response body contains JSON data listing the counts of various entity types like line items, insertion orders, campaigns, and different targeting options.
 - 
          
The API call requires authorization using the
https://www.googleapis.com/auth/display-videoOAuth scope. 
- HTTP request
 - Path parameters
 - Query parameters
 - Request body
 - Response body
 - Authorization scopes
 - Try it!
 
Audits an advertiser. Returns the counts of used entities per resource type under the advertiser provided. Used entities count towards their respective resource limit. See https://support.google.com/displayvideo/answer/6071450.
HTTP request
GET https://displayvideo.googleapis.com/v4/advertisers/{advertiserId}:audit
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
advertiserId | 
                
                   
 Required. The ID of the advertiser to audit.  | 
              
Query parameters
| Parameters | |
|---|---|
readMask | 
                
                   
 Optional. The specific fields to return. If no mask is specified, all fields in the response proto will be filled. Valid values are: 
 This is a comma-separated list of fully qualified names of fields. Example:   | 
              
Request body
The request body must be empty.
Response body
Response message for AdvertiserService.AuditAdvertiser.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
{ "usedLineItemsCount": string, "usedInsertionOrdersCount": string, "usedCampaignsCount": string, "channelsCount": string, "negativelyTargetedChannelsCount": string, "negativeKeywordListsCount": string, "adGroupCriteriaCount": string, "campaignCriteriaCount": string }  | 
                  
| Fields | |
|---|---|
usedLineItemsCount | 
                    
                       
 The number of ACTIVE, PAUSED, and DRAFT line items under this advertiser. These line items count towards the limit of 9999 line items per advertiser.  | 
                  
usedInsertionOrdersCount | 
                    
                       
 The number of ACTIVE, PAUSED and DRAFT insertion orders under this advertiser. These insertion orders count towards the limit of 9999 insertion orders per advertiser.  | 
                  
usedCampaignsCount | 
                    
                       
 The number of ACTIVE and PAUSED campaigns under this advertiser. These campaigns count towards the limit of 9999 campaigns per advertiser.  | 
                  
channelsCount | 
                    
                       
 The number of channels created under this advertiser. These channels count towards the limit of 1000 channels per advertiser.  | 
                  
negativelyTargetedChannelsCount | 
                    
                       
 The number of negatively targeted channels created under this advertiser. These negatively targeted channels count towards the limit of 5 negatively targeted channels per advertiser.  | 
                  
negativeKeywordListsCount | 
                    
                       
 The number of negative keyword lists created under this advertiser. These negative keyword lists count towards the limit of 20 negative keyword lists per advertiser.  | 
                  
adGroupCriteriaCount | 
                    
                       
 The number of individual targeting options from the following targeting types that are assigned to a line item under this advertiser. These individual targeting options count towards the limit of 4500000 ad group targeting options per advertiser. Qualifying Targeting types: 
  | 
                  
campaignCriteriaCount | 
                    
                       
 The number of individual targeting options from the following targeting types that are assigned to a line item under this advertiser. These individual targeting options count towards the limit of 900000 campaign targeting options per advertiser. Qualifying Targeting types: 
  | 
                  
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/display-video
For more information, see the OAuth 2.0 Overview.