Hi Kartik,
Thank you for contacting the Mobile Ads SDK support team.
Upon reviewing your concern, I understand that you require information on how to set targeting parameters.
Kindly note that it is possible to set targeting parameters to AdRequest.Builder().build(); like Geo(country), Keywords. You can do this by using the following methods:
For example, the following code would set the location of the user to the United States and the keywords to 'cars' and 'trucks':
AdRequest.Builder builder = new AdRequest.Builder();
builder.setLocation("US");
builder.setKeywords("cars", "trucks");
AdRequest request = builder.build();
Once you have set the targeting parameters, you can call the AdMob SDK's requestAd() method to request an ad.
Kindly refer to these Target ads to geographic locations, About targeting geographic locations and About targeting geographic locations in Google Ads documents for more information.
Please reach out to us, if you need any further assistance.
![]() |
Mobile Ads SDK Team |
Hi,
Thank you for reaching out to us.
Could you please confirm the SDK version that you are using in your implementation?Hi,
Thank you for getting back to us.
I will check with our team regarding your issue and one of my team members will reach out to you once we have an update on this. Meanwhile, your patience is highly appreciated.