W treści żądania podaj zasób konwersji z tymi właściwościami:
Nazwa usługi
Wartość
Opis
Uwagi
Właściwości wymagane
conversion[].conversionId
string
W przypadku konwersji offline reklamodawca podaje ten identyfikator. Reklamodawcy mogą podać dowolny identyfikator, który będzie dla nich odpowiedni. Każda konwersja w żądaniu musi mieć unikalny identyfikator, a kombinacja identyfikatora i sygnatury czasowej musi być niepowtarzalna wśród wszystkich konwersji u reklamodawcy. W przypadku konwersji online DS kopiuje do tej usługi właściwość dsConversionId lub floodlightOrderId w zależności od instrukcji Floodlight reklamodawcy.
conversion[].conversionTimestamp
unsigned long
Godzina dokonania konwersji podana w milisekundach epoki UTC.
conversion[].segmentationType
string
Typ segmentacji tej konwersji (np. FLOODLIGHT).
Akceptowane wartości:
„FLOODLIGHT”
Odpowiedź
Jeśli operacja się uda, metoda zwróci zasób konwersji w treści odpowiedzi.
Wypróbuj
Użyj poniższego eksploratora interfejsów API, aby wywołać tę metodę na bieżących danych i wyświetlić odpowiedź.
Możesz też wypróbować
samodzielna
Eksplorator.
[[["Ł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-08-20 UTC."],[[["Inserts a batch of new conversions into DoubleClick Search using the provided Conversion resource and requires authorization with the `doubleclicksearch` scope."],["Each conversion requires a unique ID, timestamp, and segmentation type (e.g., FLOODLIGHT)."],["Successful requests return a Conversion resource in the response body."],["The API allows insertion of both offline and online conversions, with specific ID handling for each."],["Developers can test the method using the provided APIs Explorer or the standalone Explorer."]]],["This outlines how to insert new conversions into DoubleClick Search using a POST request to the specified endpoint. Authorization with the `https://www.googleapis.com/auth/doubleclicksearch` scope is required. The request body should include a Conversion resource containing properties like `conversionId` (unique identifier), `conversionTimestamp` (time of conversion in UTC), and `segmentationType` (e.g., `FLOODLIGHT`). Successful requests return a Conversion resource in the response body.\n"]]