Chartboost interstitial not showing when test mode is disabled in android - chartboost

this.mChartboost = Chartboost.sharedChartboost();
String appId = "XYZ";
String appSignature = "ABC";
this.mChartboost.onCreate(this,appId,appSignature, null);
this.mChartboost.startSession();
this.mChartboost.showInterstitial();
Test ads are seen using this code..but when i disable the test mode no ads are seen at all.

I'm having the same issue here. After contacting the Chartboost support team, they gave me the following answer. I have not tried to do the following steps yet, but I hope this can help you in some way.
Chartboost response:
In general, what you're describing happens when no more of the interstitials available at the time you're testing in the network satisfy the conditions you and the advertisers set in your campaigns. Advertisers choose conditions/parameters they would like to target so that they can acquire specific users. These conditions include filtered apps/publishers/age ratings/genres, country/device/OS targeting and more. Assuming that the integration was successful (you're able to see a green test interstitial from us), chances are your location (country) may be the limiting factor. There's a few things we can try from here:
Double check that your app orientation has been properly selected in the app settings in the Chartboost dashboard.
Create a Cross Promotion campaign in your dashboard to always see your own custom creative. Cross Promotion campaigns are used as a way to promote one of more of your Apps amongst each other. There's more information on Cross Promotion campaigns here. Below are the steps I recommend taking:
Create a new App on your dashboard, call it "Test App". Put in a redirect URL for it.
Upload creatives for "Test App". There's more information about creatives located at https://help.chartboost.com/documentation/creatives
Now that creatives have been uploaded, you can navigate to Campaigns -> Add Campaign -> Cross Promotion
Here, you'll want to choose to advertise "Test App" inside of the App you're trying to see interstitials in.
Scroll down and choose to show interstitials "Every time" and stop showing once "user installs the app"
The key here is to never integrate the Chartboost App ID/Signature belonging to "Test App". So long as "Test App" is not integrated, you will always see the Cross Promotion campaign. Please be sure to delete or turn off the Cross Promotion campaign before you go live!
Use a VPN/proxy to have your IP address change. We target users by reverse looking up the device IP address. If you can change your IP address for testing purposes, you may be able to see more interstitials.

In case videos are not available in your region try using proxy to US. I used TunnelBear (available on play-store), and I was sucessfully able to load ads in US region.

Related

Can I give others access to my Alexa Skill while in development before publishing it?

I have an Alexa Skill under development. I would like to grant other people at my company access to the skill in order to test it. Is there a way to do that?
So far I've found the following:
https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/testing-an-alexa-skill#h2_register and http://alexa.amazon.com/spa/index.html#help/node/201628040
I would rather not give others access to my household. Any other options for doing this?
Sort of.
There is no simple, safe way to publish your skill to a limited set of users for beta testing, but there is a highly rated feature request that would address this:
https://forums.developer.amazon.com/content/idea/40726/allow-a-channelmechanism-for-privatelimited-releas.html
You can however, add other users to your Amazon Developer account, and this will give them access to your skill (and other stuff, unfortunately). In your situation - co-workers at the same company - this option might be suitable. More info here:
How to Add Beta Testers to Your Skills Before You Publish
https://developer.amazon.com/public/community/post/Tx2EN8P2AHAHO6Y/How-to-Add-Beta-Testers-to-Your-Skills-Before-You-Publish
[update]
2017-04-18 Amazon has announced a better way to do what you want. See the following Amazon blog post:
Improve Skill Quality with the New Beta Testing Tool for Alexa Skills
https://developer.amazon.com/blogs/alexa/post/42e7de5c-f7ef-4e3e-8391-c61fe24f6caa/improve-skill-quality-with-the-new-beta-testing-tool-for-alexa-skills-beta
Yes, it can be done. However, consider that the other person must have an email already connected to an Amazon Developer account.
Go to your Amazon developer account and select the Skill you want to share.
Click on "Distribution" in the top menu.
Ensure all the required fields on the locales under "Skill Preview" and "Privacy & Compliance" have been completed. Otherwise, you will get an error The skill must be ready for submission before beta testing can be enabled.
Click on "Availability" in the bottom side menu, and then Beta Test.
Insert the email of the person you want to send this Skill.
The person who receives the email will see the option 'Enable Alexa skill "name of the skill" ' - on their smartphone with the Alexa account active.
You will be redirected to another page. Click on the option "Open in Alexa"
Alexa app will open and all left to do is click "Enable to use"
If you are into creating Alexa Skills or are in need of creating one, I can suggest ipervox.com, which is an online platform that allows creating custom Alexa skills with just a few steps.
In case you are struggling, these steps might help. Each of your testers has to do them after being invited, as described in the article here: https://developer.amazon.com/blogs/post/Tx2EN8P2AHAHO6Y/How-to-Add-Beta-Testers-to-Your-Skills-Before-You-Publish
(so below are instructions for testers)
Open Alexa developer console at https://developer.amazon.com/alexa/console/ask, and log in using the email you have provided for testing purposes.
You will see a list with Alexa Skills. Select the Skill you want to test.
Go to section called “Test”.
Click on drop down menu labeled as “Skill testing is enabled in:”, and select “Development”.
On your Alexa device, you can now say: "Alexa, open "

Unable to find Subscription Key for Microsoft Cognitive Services

I need to work on Microsoft Cognitive Services (Face API). I downloaded the code from https://github.com/Microsoft/Cognitive-face-android. Now I am unable to generate the Subscription Key for it.
No matter whatever I do I get stuck in this page
From where else I can find the Subscription Key.
Thanks
The interface you are using is for testing-purposes. Consequently, it is not meant to be used for more than a month.
Here's how you can generate an API key the proper way:
Newer Edit: The Azure interface has changed since this guide was written. It hasn't changed that much, so leave me a comment if this guide is broken.
The largest change I have seen is that Bing Search API can now be located directly using the "+ New" form shown in Part A/Step 3. (aka, don't search for "cognitive services")
Edit: There is now another piece of documentation half-way down entitled "Part B: Adding a Credit Card for Pay-As-You-Go via the Azure Portal." If you have not already set up your payment method on portal.azure.com, you will get stuck at Part A/step 5.
process.
Part A:
Go to https://portal.azure.com and sign in with your credentials.
(Optional) Check to make sure you have an active Pay-As-You-Go(PAYG) subscription. Click the "More services" arrow and type subscriptions into the form that appears. Click into Subscriptions and make sure you see an entry here.**
If you're sure you have an active PAYG acct, make sure you're on the dashboard and press the green "+ New" button and start to type Cognitive Services. As you finish typing it should be your only option.
Once you've clicked the "Cognitive Services APIs" suggestion you will be brought to the following page. Click the green brain.
You'll be given a description of Cognitive services and you'll see a create button at the bottom. Press that.
The "Create" pane will pop up. Fill this out. CHECK THE PIN TO DASHBOARD BOX FIRST SO YOU DON'T FORGET (Note: If you do not have an active PAYG subscription you will see an error instead of the "Create" pane on the right-side of the image below.)
When you press the green-explosion from the picture above you will see the following icon:
This is what you want. When you've completed the form from the previous picture, press "Create" below the "pin to dashboard" box.
When you've created the subscription successfully, you'll get a little message that things are validated and your service is deploying. You should be on the dashboard now and should see a little tessellating box if you pressed pin to dashboard. Soon it will be complete and vuala!You'll see something similar to the following image. Press the "keys" button on your new service.
** If you're told that "You don't have any active subscriptions," you'll need to click the white "Add+" button and create a PAYG subscription. You will need a credit-card and non-VoIP phone for this step.
Part B:
Adding a Credit Card for Pay-As-You-Go via the Azure Portal
This portion of the process is necessary if you have never used portal.azure.com before and/or don't have an active payment-subscription on it.
For this process you will need: A valid credit-card**, a non-voip telephone for human-verification, >= $3 USD for the lowest API tier.
TO AVOID POTENTIAL HEADACHES; DO NOT USE GOOGLE CHROME FOR THESE STEPS. If you are on a Windows 10 Machine use Edge in InPrivate mode as your browser. Otherwise, firefox private-browsing is a decent alternative.
Follow steps 1 & 2 from the guide above to navigate to the Subscriptions pane. Underneath the circled "+ Add" button, you should see a message telling you there are "No subscriptions in xxxxx(Default Diretory) directory." Click the "+ Add" button.
You will be taken to the URL https://account.windowsazure.com/signup?showCatalog=True, and you should see the following screen:
As the picture above indicates. Select Pay-as-you-go (PAYG) unless you want to go off-guide. You'll be brought here & will need to fill out the 3 sections. Your card won't be charged during this process.
Once you complete the 3 steps denoted in the image above, you'll be taken to a page which asks you to wait for ~4 mins while your subscription is getting ready & you'll see that fun little animation of spinning half-circles. Eventually you'll be presented with a button which is labeled "Start Managing my Services. Which will take you back to the dashboard at portal.azure.com.
From the dashboard, Find the "Subscriptions" pane again, and this time you should see something similar to the following.
You now have a payment method with which to purchase your API subscription. From here you can resume at Step 3 of Creating an API Endpoint & Accessing Your Keys aka the first half of this guide.
** Your credit-card must have a billing address located in the country which your Microsoft username/password combo was created in.
For the subscription key, you have to create the cognitive service account in azure portal. Follow the following steps:
If you have not done so already, you will need to sign up for the Face API (preview) service.
Go to the Azure Portal at http://portal.azure.com/ and sign in with your Azure account.
Click on + New.
Select the Intelligence option.
Select the Cognitive Services APIs product. This product will allow you to start a subscription for any of the cognitive services APIs (Face, Text Analytics, Computer Vision, etc.). Today we will focus on the Face API (preview) API.
Enter a Resource name for your Face API subscription. (For instance: "MyFaceAPI"). This name should not have any spaces in it.
On API type, select .
On Pricing tier, you can select a plan. You may select the Free tier for 10,000 transactions/month. This is a free plan, so it is a good way to start trying the system. Once you go to production, we recommend you consider your request volume and change the plan type accordingly.
Select a Resource Group, or create a new one if you don't have one already.
You may change other elements in the Create dialog. We should point out that the resource provider today is only supported from United States data centers. Once you are done with any selections, click Create.
Wait a few minutes for the resource to be deployed. Once it is deployed, you can go to the Keys section in the Settings blade where you will be provided a primary and secondary key to use the API. Copy the primary key, as you'll need it when creating your first model.
Hope this help.
REF:
See this image for the azure portal registration

Using Google Analytics to show subset of data for customers of web application using embed api

I'm developing an application where each 'business' has its own page (or rather many pages):
For example example.com/business/abc/
So, for the logged in business owners in the system I would like to give a feature 'View page analytics'. It would display how many visits (and maybe a couple of other things) that particular page has had.
Is there a way of doing this using the Google Analytics API with my constraints:
I don't want customers to provide their own UA code
I don't want them to require to have GA account
Customers don't need to have Google email account
I don't want to build the entire frontend and backend myself. I would rather use something existing
I've been researching this topic for hours trying to come up with a solution and can't figure out anything.
Here is what I tried and what problems happened to me:
http://ga-dev-tools.appspot.com/demos/embed-api/
This is basically exactly what I want for my customers to be displayed on my site (like in the examples), except that Embed Api tries to authorize users to their own (owned) google analytics. I want it instead to use my own Google Analytics data (or rather part of it)
The way I thought about limiting data access would be for every one of my customers to create a View in GA, Add filter to that View so only customer pages are listed there, assign User to the view, and use the Embed Api to display data from that View only. There are a couple of problems with that:
To assign User to View we need email address. And this must be either google account email, or account from a project created with Google Developers Console (application).
In other words I can't create (in any way that I know) an account that would be a shield account for my customers to a subset of my GA data that they would be interested in. It must be either a real user or a real application email address.
So what I tried to do is... I created an app in Google Developers Console, Created new OAuth Service Account. Using Ruby code (that in production app would be running on backend) I obtained OAuth token. I added this email of my OAuth service account as a User to the View
I wanted this server side generated oauth token to be used by Embed Api. That would achieve the effect that I generate the token for on my backend and user can use it without having GA user in my GA property. So I changed according to documentation the basic Embed Api example to use
gapi.analytics.auth.authorize({
container: 'auth',
clientid: 'xxx.apps.googleusercontent.com',
serverAuth: {
access_token: 'Server side generated token'
}
});
instead of
gapi.analytics.auth.authorize({
container: 'auth',
clientid: 'xxx.apps.googleusercontent.com',
});
The effects are not quite what I expected. The example doesn't show anymore (I can't see my data) but I can see in Netowrking section in Chrome that it is actually receiving real data from GA. But for unknown reason, nothing is appearing.
What I try to avoid is building a solution in which I need to build server side code that is querying GA for data, providing it to the frontend and then JS is responsible for displaying it. I would rather use Embed API but it seems not to be well suited for the use case where I don't want users to play with their UA data but rather with my own UA data limited to some scope. I would like to have at least the frontend or backend part of the solution solved. The solution doesn't need to be even Google Analytics based. Anything else that would let me achieve the use case easily and let the business owners see the effects of their marketing (traffic, sales) would be interesting as well.
Related:
Using google analytics API to show subset of data for customers of web application
Google analytics customer data?
Google Analytics API: filter by URI?
https://embeddedanalytics.com seems like something that could be useful, but their page and graphs look like from a few years ago. I would like something more pretty.
https://oocharts.com seems to be interesting because of what their docs.oocharts.com says about queries. But they don't charge anything for their product so I am skeptical of their business model and whether it is a good long-term solution. update: dead link
I don't have enough karma to post links ;)
TLDR: Displaying subset of my GA data to my customers without forcing them to become GA users and adding them to my GA account.
Any help appreciated!
Without seeing your code it's hard to know where the problem is, but using the serverAuth option definitely works. And when using the serverAuth option, you don't need to specify a client ID or container, all you need to enter is the following:
gapi.analytics.auth.authorize({
serverAuth: {
access_token: 'Server side generated token'
}
});
Here's an example that will work if you enter in a valid access token and the idsfor a view to which you have access:
http://jsbin.com/vukezoheyeco/3/edit
Note: when doing auth like this, it happens sync. This can be a gotcha if you're used to an async auth flow (like normal) and you add an event handler listening for the "success" event after calling .authorize because then your handler will never run.
I think you need the Google Analytics Super Proxy
You download the github package and upload to your own App Engine project, do some minimal configuration and then you have an interface where you can setup Google Analytics API calls which require no user login.
It provides end user URLs that you can use to construct data tables in your front end, it also provides data-table format so it slots right into Google Charts.
So for example, you have a user that needs access to visits, revenue for site section /sectionA/
You set up the GA super proxy to serve them a URL that only includes data for that section - you can try out queries here in the GA query explorer. In this case, metrics=ga:visits,ga:productRevenue and filter~=ga:page=/sectionA/
This produces an end URL with JSON data, that refreshes daily/hourly - your choice. You import this URL into your app.
The end user then logs in to your app, and sees the chart data generated from the end URL for their login. They don't need to know about GA super proxy, they just see the end resulting chart.
You could get more sophisticated by providing dropdowns to select which data chart they see, which changes the GA super proxy URL that is requested.

Why can't I add a developer to a facebook app?

My client has reached their friends limit and so I cannot become a friend.
In the developer section under roles:
https://developers.facebook.com/apps/[longId]/roles
I want to add myself as a developer.
It appears that the field is checking against existing friends as I type.
When I finish adding my email it says I am not a facebook user. Not True.
Has any one run into this?
It appears that I need to be a friend to test on the app.

PayPal sandbox - none of payments in the Business's account history

'm using the project http://www.codeproject.com/Articles/42894/Introduction-to-PayPal-for-C-ASP-NET-developers to test the PayPal's sandbox. I have a sandbox account, inside it I have a business account (for some reason I see Business Unverified) and also a Personal Verified account to do some payments. After running that project, i process to payment using that Personal account data. After the payment completes I still don't see that payment in my Business account. Why ?
Try this to verify your business account
Go to your Test Accounts page
Select the Unverified account.
Click the Enter Sandbox Test Site button.
A new window will pop up that looks very much like the actual www.paypal.com, except it says PayPal Sandbox at the top and a text saying Test Site below it. E-mail of the Test Account should be filled out already.
Enter the password (that you hopefully remember or noted down) and sign in.
Go to the My Account Overview page.
Below the “Welcome, Test User” header, it should say “Status: Unverified. Get verified”.
Click on that “Get verified”-link.
From here the process might vary a bit depending on what country you selected for the test account. I selected United Kingdom (or rather, it was the default and I didn’t bother changing it).
On the “Get verified by linking your bank account”-page, click on the “Link Bank Account”-button.
Routing number and Account number should be filled out already.
Fill out Bank name, if you feel like it
Click Continue.
Put whatever you feel like in the two “Confirm deposits-fields.
Click Submit.
Done. It should say “Bank account confirmed”. Also, if you go back and refresh the Test Accounts page, it should say Verified on the account.
OK, I've figured it out.
I had to provide int the Web.config file my own PayPalUsername (that sandbox business account email),
PDTToken (using that tutorial)
APIUsername,APIPassword,APISignature (using that tutorial)

Resources