We've updated our documentation with the latest features and updates introduced by Ads Data Hub's
two new experiences.
Advertisers, agencies, and publishers, refer to the
Marketers site.
Vendors and partners, refer to the
Measurement Partners site.
Method: customers.submitBrandSafetyScores
Starts ADH import of a specified BigQuery table populated with the vendor's Brand Safety score file. This is called by the vendor to trigger ADH to import the scores.
HTTP request
POST https://adsdatahub.googleapis.com/v1/{customer=customers/*}:submitBrandSafetyScores
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
customer |
string
Required. Ads Data Hub customer making the request. This is in the form of 'customers/[customerId]'. e.g. 'customers/123'.
|
Request body
The request body contains data with the following structure:
JSON representation |
{
"date": {
object (Date )
},
"sourceTable": string,
"instance": string
} |
Fields |
date |
object (Date )
Required. Date for the score file.
|
sourceTable |
string
Required. Source BigQuery table for query results in the format 'project.dataset.table_name'.
|
instance |
string
Optional. The name of the submission feed instance. This shouldn't be populated for the production scores feed, but can be filled out with a prearranged instance name when a vendor works with Google to test a new or alternate version of their submission feed.
|
Response body
If successful, the response body contains an instance of Operation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/adsdatahub
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["Starts ADH import of a specified BigQuery table populated with the vendor's Brand Safety score file, triggered by the vendor."],["The request body requires the date, source BigQuery table, and optionally, the submission feed instance name."],["Successful responses return an Operation object indicating the status of the import."],["Authorization requires the `https://www.googleapis.com/auth/adsdatahub` scope."],["Uses gRPC Transcoding syntax for the request URL with a required `customer` path parameter specifying the Ads Data Hub customer ID."]]],["The vendor triggers ADH to import Brand Safety scores via a `POST` request to `https://adsdatahub.googleapis.com/v1/{customer=customers/*}:submitBrandSafetyScores`. The request requires a customer ID as a path parameter. The request body, in JSON format, mandates a `date` object and `sourceTable` string, while `instance` is optional. Successful requests yield an `Operation` instance in the response. The vendor need to authorize with the `https://www.googleapis.com/auth/adsdatahub` OAuth scope.\n"]]