Tworzy w pliku skryptu obiekt referencyjny skryptu ustalania stawek niestandardowych.
Otrzymany obiekt referencyjny zawiera ścieżkę zasobu, do której należy przesłać plik skryptu. Podczas tworzenia nowego obiektu skryptu ustalania stawek niestandardowych musisz uwzględnić ten obiekt referencyjny.
Żądanie HTTP
GET https://displayvideo.googleapis.com/v2/customBiddingAlgorithms/{customBiddingAlgorithmId}:uploadScript
To pole jest wymagane. Identyfikator algorytmu ustalania stawek niestandardowych, do którego należy skrypt.
Parametry zapytania
Parametry
Parametr sumy funkcji owner. To pole jest wymagane. Identyfikuje element DV360, do którego należy nadrzędny algorytm ustalania stawek niestandardowych. Może być partnerem lub reklamodawcą. owner może być tylko jedną z tych wartości:
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2024-06-11 UTC."],[[["Creates a custom bidding script reference object to upload a script file for a custom bidding algorithm."],["Includes a resource path for uploading the script file that should be included when creating a new custom bidding script object."],["Identifies the DV360 entity (partner or advertiser) that owns the parent custom bidding algorithm and has write access to the script."],["Requires authorization with the `https://www.googleapis.com/auth/display-video` scope."]]],["The Display & Video 360 API v2 is sunset. To create a custom bidding script reference, use a `GET` request to `https://displayvideo.googleapis.com/v2/customBiddingAlgorithms/{customBiddingAlgorithmId}:uploadScript`. The `customBiddingAlgorithmId` is required in the path. The `owner` union parameter, which includes `partnerId` or `advertiserId`, is also required in the query. The request body must be empty. A successful response returns a `CustomBiddingScriptRef` resource, providing the script file's upload path. The `https://www.googleapis.com/auth/display-video` OAuth scope is needed.\n"]]