Detected errors related to IAB TCF v2.0

80 views
Skip to first unread message

Jhonatan

unread,
May 18, 2021, 7:11:22 AM5/18/21
to Google Mobile Ads SDK Developers

In my admob profile it shows me the message Detected Errors relative to TCF v2.0 of the IAB, when I download the file it tells me that the error code is 1.2, according to the help document, this error refers to CMP errors or the user has refused consent. I do not understand how to solve this problem?

Mobile Ads SDK Forum Advisor Prod

unread,
May 18, 2021, 12:10:14 PM5/18/21
to innova...@gmail.com, google-adm...@googlegroups.com
Hi Jhonatan,

Thank you for bringing this issue to our attention. Would you be able to share with us via "Reply to author" button with the following information.
  • App Id / Pub Id
  • A screenshot of the message 
As well as if there are any other messages, emails or anything else you might have or received related to this error.

Regards,
Google Logo
William Pescherine
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2HBir8:ref

Jhonatan

unread,
May 18, 2021, 1:59:46 PM5/18/21
to Google Mobile Ads SDK Developers
I attach the sdk implementation code and screenshots of the error messages. Thanks

private void consentimientoUE(){
// Set tag for underage of consent. false means users are not underage.
ConsentRequestParameters params = new ConsentRequestParameters
.Builder()
.setTagForUnderAgeOfConsent(false)
.build();



//ConsentRequestParameters params = new ConsentRequestParameters.Builder().build();

consentInformation = UserMessagingPlatform.getConsentInformation(this);
consentInformation.requestConsentInfoUpdate(
this,
params,
new ConsentInformation.OnConsentInfoUpdateSuccessListener() {
@Override
public void onConsentInfoUpdateSuccess() {
// The consent information state was updated.
// You are now ready to check if a form is available.
if (consentInformation.isConsentFormAvailable()) {
loadForm();
}

}
},
new ConsentInformation.OnConsentInfoUpdateFailureListener() {
@Override
public void onConsentInfoUpdateFailure(FormError formError) {
// Handle the error.
}
});


}

public void loadForm() {
UserMessagingPlatform.loadConsentForm(
this,
new UserMessagingPlatform.OnConsentFormLoadSuccessListener() {
@Override
public void onConsentFormLoadSuccess(ConsentForm cf) {
MainActivity.this.consentForm = cf;
if(consentInformation.getConsentStatus() == ConsentInformation.ConsentStatus.REQUIRED) {
consentForm.show(
MainActivity.this,
new ConsentForm.OnConsentFormDismissedListener() {
@Override
public void onConsentFormDismissed(@Nullable FormError formError) {
// Handle dismissal by reloading form.
loadForm();
}
});
}

}
},
new UserMessagingPlatform.OnConsentFormLoadFailureListener() {
@Override
public void onConsentFormLoadFailure(FormError formError) {
// Handle the error
}
}
);
}
errorTCF.png
errores.png

Mobile Ads SDK Forum Advisor Prod

unread,
May 18, 2021, 4:52:55 PM5/18/21
to innova...@gmail.com, google-adm...@googlegroups.com
Hi Jhonatan,

Thank you for responding back and including the requested information. I would ask though if you could resend them but this time in english. As we are only able to read and respond in english. Once we get this I will be certain to pass this on to my team.

Jhonatan

unread,
May 18, 2021, 5:12:08 PM5/18/21
to Google Mobile Ads SDK Developers


I attach the screenshots in English and again the code that I use in the implementation of the sdk that provides funding choice. Thank you
errorTCF.png
errores.png

Mobile Ads SDK Forum Advisor Prod

unread,
May 19, 2021, 12:03:41 AM5/19/21
to innova...@gmail.com, google-adm...@googlegroups.com

Hi Jhonatan,

Thank you for reaching out to us.

I work with William and will be assisting you on this. I check your implementation as well as our implementation guide and I don't see anything wrong in the implementation. I also see your provided screenshot and it looks like this is more on AdMob account side issue. With this, we recommend raising this to Product support team for better insight.

Regards,

Google Logo
Princess Pamela Pineda
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2HBir8:ref
Reply all
Reply to author
Forward
0 new messages