I have a app that uses ads.
The ad id is set in the manifest id with a meta-data tag.
I want to change this tag when i start the app in some cases
(diferent id for some localisations)
Can i do this in code?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The manifest meta-data can’t be changed at runtime.
You should look to see if your ad library allows direct setting of the advertiser id (e.g. AdMobs SDK has an AdManager class which allows the setting of things that can be defined in the metadata).