# OverrideConsentAdMob

## Description

Forces AdMob to use the given consent value when showing ads, this is not saved to the AdMob server and overrides the normal consent process. This is used if you have you own method of aquiring user consent to show personalised ads. Note that the GDPR requires you by law to have the consent from EU users before showing them personalised ads.

## Definition

OverrideConsentAdMob( consent )

void agk::OverrideConsentAdMob( int consent )

## Parameters

- consent - The consent value to use, 1=non-personalised, 2=personalised