Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Clarify landingPageDeviceInfo.userAgent timing in Data Manager API docs

Abierto
#3 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
52/100
Tipo de issue
Documentación
Claridad
Bastante claro
Estado de actividad
Tranquilo

Línea de trabajo

Revisa la referencia de AdIdentifiers enlazada y las descripciones compartidas de DeviceInfo y eventDeviceInfo, centrándote en el momento de obtención de landingPageDeviceInfo.userAgent. Se considera completado cuando la documentación distingue explícitamente entre el contexto del dispositivo de la página de destino del anuncio y el contexto en el momento del evento de conversión, o confirma que no es necesario ningún cambio.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Hi Google Data Manager API team,

I found an ambiguity in the documentation for:

https://developers.google.com/data-manager/api/reference/rest/v1/events/ingest#AdIdentifiers

The field adIdentifiers.landingPageDeviceInfo is described as device information collected when the user entered the advertiser website after interacting with an ad. That suggests the userAgent should come from the landing page / ad click context.

However, landingPageDeviceInfo uses the shared DeviceInfo object, and the DeviceInfo description says it contains device information used at the time of the event. For a conversion event such as a purchase, “event time” can be interpreted as the purchase/checkout moment, not the original ad landing moment.

Could you clarify the intended source for:

adIdentifiers.landingPageDeviceInfo.userAgent

Specifically, should this be:

The user agent captured at the ad landing page visit/click, matching the click identifiers/session attributes in adIdentifiers, or
The user agent captured at the conversion event time, e.g. checkout/purchase?
There is also eventDeviceInfo, which seems to fit the conversion event-time device context. Because of that, I assume:

adIdentifiers.landingPageDeviceInfo.userAgent = user agent from the ad landing page visit
eventDeviceInfo.userAgent = user agent from the conversion event time
Please confirm if this interpretation is correct. It would help if the docs explicitly stated the expected timing/source for landingPageDeviceInfo.userAgent, especially when the same DeviceInfo type is reused in multiple contexts.

Thanks.

Lenguaje dominante
PHP
Estrellas
1
Forks
1
Merge medio
18 h 41 min
PR fusionados (30 d)
6

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de googleads/data-manager-php

Todos los issues de googleads/data-manager-php

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.