👇APOYA EL CANAL👇 Dale like al vídeo y suscríbete al canal si te gusta el contenido. Ayuda muchísimo y nos permitirá ampliar esta comunidad que estamos formando en torno a Unity. ¡Si tienes alguna pregunta házmelo saber en los comentarios! Si te gustaría proponer el motivo del siguiente vídeo, ¡déjame un comentario también! 🦾SIGUE APRENDIENDO🦾 ruclips.net/p/PLe2XsjxdO5y_YVfHeSKkUDZR-OTBI3V95
Me alegro de que al final hicieras este vídeo que te pedí hace un tiempo. Por aquel entonces aún no estaba disponible esta última versión de In App Purchasing y por lo tanto me estaba volviendo chalado. Gracias.
Muy buenas @joseloma8531!!! Me acuerdo perfectamente que te dije "es fácil son dos clicks". Pues justamente, zas, empezó a fallar y dije "voy a grabar un vídeo". Lo que es la vida, muchas gracias por la idea y me alegra saber que te ha servido. Cuídate mucho y un abrazo!🦾
Me encanta tu contenido y como explicas, pero de verdad no logro hacer funcionar mi app con GDPR, y es requisito de google, he tratado con la ayuda de google y con foros, incluso en otro comentario me ayudaste , pero al hacer el build rompía todo y la app dejo de funcionar, ahora tengo un solo proyecto para hacerlo funcionar, 4 botones, cada uno es un tipo de anuncio, banner, inter, reward y un botón para pedir de nuevo el formulario. SI pudieras ayudarme con un código que funcione o que pueda usar como referencia de como se implementa el formulario GDPR y que un boton le permita al usuario cambiar sus opciones del form, o si hicieras un tutorial te lo agradecería muchísimo, y es que quieren deshabilitarme mi cuenta en un mes por que no esta sirviendo anuncios y no puedo si no arreglo lo del gdpr :´(
Muy buenas @seruhio345 !!! Pues te diría que sigas los dos vídeos que tengo subidos. Por un lado tienes que configurar en Admob el mensaje, la política de privacidad y activar el GDPR en tu aplicación. Por otro lado en cuanto a código, necesitas al inicio de la aplicación comprobar si el usuario debe aceptar incluyendo este script por ejemplo: using System.Collections; using System.Collections.Generic; using UnityEngine; using GoogleMobileAds.Ump.Api; using System; public class PolicyManager : MonoBehaviour { // Start is called before the first frame update void Awake() { // Set tag for under age of consent. // Here false means users are not under age of consent. ConsentRequestParameters request = new ConsentRequestParameters { TagForUnderAgeOfConsent = false, }; // Check the current consent information status. ConsentInformation.Update(request, OnConsentInfoUpdated); } void OnConsentInfoUpdated(FormError consentError) { if (consentError != null) { // Handle the error. UnityEngine.Debug.LogError(consentError); return; } // If the error is null, the consent information state was updated. // You are now ready to check if a form is available. ConsentForm.LoadAndShowConsentFormIfRequired((FormError formError) => { if (formError != null) { // Consent gathering failed. UnityEngine.Debug.LogError(consentError); return; } // Consent has been gathered. }); } }
Y posteriormente para el botón incluye en la escena en la que tengas el botón lo siguiente (tu botón debe ejecutar el método ActualizarConsentimiento y el resto irá solo): public void ActualizarConsentimiento() { // Set tag for under age of consent. // Here false means users are not under age of consent. ConsentRequestParameters request = new ConsentRequestParameters { TagForUnderAgeOfConsent = false, }; // Check the current consent information status. ConsentInformation.Update(request, OnConsentInfoUpdated); } void OnConsentInfoUpdated(FormError consentError) { if (consentError != null) { // Handle the error. UnityEngine.Debug.LogError(consentError); return; } // If the error is null, the consent information state was updated. // You are now ready to check if a form is available. if (ConsentInformation.IsConsentFormAvailable()) { ConsentForm.Load(OnLoadConsentForm); } } void OnLoadConsentForm(ConsentForm consentForm, FormError error) { if (error != null) { // Handle the error. UnityEngine.Debug.LogError(error); return; } // The consent form was loaded. // Save the consent form for future requests. _consentForm = consentForm; _consentForm.Show(OnShowForm); } void OnShowForm(FormError error) { if (error != null) { // Handle the error. UnityEngine.Debug.LogError(error); return; } }
@@bamapps ufff súper!! Muchas gracias!! Con tu documentación ya quedó!!!!! Creo que mi problema era en específico el orden en que se estaban ejecutando las llamadas, tanto de anuncios como el formulario. Muchas muchas gracias!! Te agradezco de todo corazón!!
👇APOYA EL CANAL👇
Dale like al vídeo y suscríbete al canal si te gusta el contenido. Ayuda muchísimo y nos permitirá ampliar esta comunidad que estamos formando en torno a Unity.
¡Si tienes alguna pregunta házmelo saber en los comentarios! Si te gustaría proponer el motivo del siguiente vídeo, ¡déjame un comentario también!
🦾SIGUE APRENDIENDO🦾
ruclips.net/p/PLe2XsjxdO5y_YVfHeSKkUDZR-OTBI3V95
Me alegro de que al final hicieras este vídeo que te pedí hace un tiempo. Por aquel entonces aún no estaba disponible esta última versión de In App Purchasing y por lo tanto me estaba volviendo chalado. Gracias.
Muy buenas @joseloma8531!!! Me acuerdo perfectamente que te dije "es fácil son dos clicks". Pues justamente, zas, empezó a fallar y dije "voy a grabar un vídeo". Lo que es la vida, muchas gracias por la idea y me alegra saber que te ha servido.
Cuídate mucho y un abrazo!🦾
Muchas gracias, como siempre tus videos son de calidad, entendibles y muy útiles ✨, me ha servido mucho.
Muchísimas gracias @AnalistaTV !!! Un placer ayudar y te agradezco de verdad tu comentario. Cuídate y éxito en tus proyectos🦾
Gracias, siempre estas al día con las novedades 👏
Muchísimas gracias @MegaJHONDY !!! Me alegro de verte de vuelta por los comentarios. Un abrazo!🦾
Muchas gracias por el vídeo :)
Muchas gracias a ti @panpam-educar-jugando por el apoyo!!! Te deseo éxito en tus proyectos, cuídate!🦾
Muchas gracias por el aviso😅
Muchas gracias @amordeverdad!!!
Vamos a por los 1.000 subs!!!💪💪
Vamos @KusureX !!!!! Gracias crack
Me encanta tu contenido y como explicas, pero de verdad no logro hacer funcionar mi app con GDPR, y es requisito de google, he tratado con la ayuda de google y con foros, incluso en otro comentario me ayudaste , pero al hacer el build rompía todo y la app dejo de funcionar, ahora tengo un solo proyecto para hacerlo funcionar, 4 botones, cada uno es un tipo de anuncio, banner, inter, reward y un botón para pedir de nuevo el formulario. SI pudieras ayudarme con un código que funcione o que pueda usar como referencia de como se implementa el formulario GDPR y que un boton le permita al usuario cambiar sus opciones del form, o si hicieras un tutorial te lo agradecería muchísimo, y es que quieren deshabilitarme mi cuenta en un mes por que no esta sirviendo anuncios y no puedo si no arreglo lo del gdpr :´(
Muy buenas @seruhio345 !!! Pues te diría que sigas los dos vídeos que tengo subidos.
Por un lado tienes que configurar en Admob el mensaje, la política de privacidad y activar el GDPR en tu aplicación.
Por otro lado en cuanto a código, necesitas al inicio de la aplicación comprobar si el usuario debe aceptar incluyendo este script por ejemplo:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using GoogleMobileAds.Ump.Api;
using System;
public class PolicyManager : MonoBehaviour
{
// Start is called before the first frame update
void Awake()
{
// Set tag for under age of consent.
// Here false means users are not under age of consent.
ConsentRequestParameters request = new ConsentRequestParameters
{
TagForUnderAgeOfConsent = false,
};
// Check the current consent information status.
ConsentInformation.Update(request, OnConsentInfoUpdated);
}
void OnConsentInfoUpdated(FormError consentError)
{
if (consentError != null)
{
// Handle the error.
UnityEngine.Debug.LogError(consentError);
return;
}
// If the error is null, the consent information state was updated.
// You are now ready to check if a form is available.
ConsentForm.LoadAndShowConsentFormIfRequired((FormError formError) =>
{
if (formError != null)
{
// Consent gathering failed.
UnityEngine.Debug.LogError(consentError);
return;
}
// Consent has been gathered.
});
}
}
Y posteriormente para el botón incluye en la escena en la que tengas el botón lo siguiente (tu botón debe ejecutar el método ActualizarConsentimiento y el resto irá solo):
public void ActualizarConsentimiento()
{
// Set tag for under age of consent.
// Here false means users are not under age of consent.
ConsentRequestParameters request = new ConsentRequestParameters
{
TagForUnderAgeOfConsent = false,
};
// Check the current consent information status.
ConsentInformation.Update(request, OnConsentInfoUpdated);
}
void OnConsentInfoUpdated(FormError consentError)
{
if (consentError != null)
{
// Handle the error.
UnityEngine.Debug.LogError(consentError);
return;
}
// If the error is null, the consent information state was updated.
// You are now ready to check if a form is available.
if (ConsentInformation.IsConsentFormAvailable())
{
ConsentForm.Load(OnLoadConsentForm);
}
}
void OnLoadConsentForm(ConsentForm consentForm, FormError error)
{
if (error != null)
{
// Handle the error.
UnityEngine.Debug.LogError(error);
return;
}
// The consent form was loaded.
// Save the consent form for future requests.
_consentForm = consentForm;
_consentForm.Show(OnShowForm);
}
void OnShowForm(FormError error)
{
if (error != null)
{
// Handle the error.
UnityEngine.Debug.LogError(error);
return;
}
}
Con esto deberías tenerlo, espero que vaya bien y cuídate! 🦾
@@bamapps ufff súper!! Muchas gracias!! Con tu documentación ya quedó!!!!! Creo que mi problema era en específico el orden en que se estaban ejecutando las llamadas, tanto de anuncios como el formulario. Muchas muchas gracias!! Te agradezco de todo corazón!!
Llegas 3 semanas tarde jaja 💔😭 y así
Buenas @buildsdegenshin !!! ¿Por qué? ¿Ya resolviste el problema hace 3 semanas? Un abrazo!!!🦾
@@bamapps digamos que hace días reinicie la computadora jajaa y me sale el mismo error :( jaja y así es feo