REST Resource: properties.adSenseLinks
Materiał: AdSenseLink
Połączenie usługi w Google Analytics z klientem reklam AdSense dla treści.
Zapis JSON |
{
"name": string,
"adClientCode": string
} |
Pola |
name |
string
Tylko dane wyjściowe. Nazwa zasobu w przypadku tego zasobu w AdSense Link. Format: properties/{propertyId}/adSenseLinks/{linkId} Przykład: properties/1234/adSenseLinks/6789
|
adClientCode |
string
Niezmienna. Kod klienta reklamy AdSense, z którym połączona jest usługa w Google Analytics. Przykładowy format: „ca-pub-1234567890”.
|
Metody |
|
Tworzy obiekt AdSenseLink. |
|
Usuwa połączenie z AdSense. |
|
Wyszukiwanie pojedynczego elementu AdSenseLink. |
|
Wyświetla listę połączeń AdSense w usłudze. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-01-14 UTC.
[null,null,["Ostatnia aktualizacja: 2025-01-14 UTC."],[[["AdSenseLink establishes a connection between a Google Analytics 4 (GA4) property and an AdSense for Content ad client."],["This connection is represented in JSON format and includes crucial fields like `name` (a unique identifier) and `adClientCode` (the AdSense ad client code)."],["You can manage these connections through various methods, including creating, deleting, retrieving, and listing AdSenseLinks associated with a GA4 property."]]],["AdSenseLink establishes a connection between a Google Analytics property and an AdSense ad client. Its JSON representation includes a resource `name` and an `adClientCode`. Key actions include creating, deleting, retrieving (get), and listing AdSenseLinks. The `name` field is read-only and uses the format `properties/{propertyId}/adSenseLinks/{linkId}`, while `adClientCode` is immutable and in the format \"ca-pub-1234567890\".\n"]]