iOS Question Problem with iAdMob and User Consent

Discussion in 'iOS Questions' started by quimacama, Jul 11, 2018.

  1. quimacama

    quimacama Member Licensed User

    I live in the European Union, but if I comment this line:

    Code:
    consent.SetDebugGeography (True'comment for regular operation
    the consent form stops appearing. I use version 1.60 of iAdmob, and follow the instructions of this thread.
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    What is the output of these lines:
    Code:
    Log($"Consent state: ${consent.ConsentState}"$'0 - UNKNOWN, 1 - NON_PERSONALIZED, 2 - PERSONALIZED
    Log(consent.IsRequestLocationInEeaOrUnknown)
     
  3. quimacama

    quimacama Member Licensed User

    Code:
    Log("consent.ConsentState  " & consent.ConsentState & " consent.IsRequestLocationInEeaOrUnknown " & consent.IsRequestLocationInEeaOrUnknown)
    consent.ConsentState 0 consent.IsRequestLocationInEeaOrUnknown false

    If I live in Spain, should not return True?
    Is this a problem from my application, from the library or from Admob?
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Have you removed the AddTestDevice line?
     
  5. quimacama

    quimacama Member Licensed User

    Thanks Erel, it was that.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice