Chen Log

陳洛格

request.testDevices Admob

leave a comment »

出現這個訊息的話:

<Google> To get test ads on this device, call: request.testDevices = [NSArray arrayWithObjects:@”GAD_SIMULATOR_ID”, nil];

 

Note: Test ads are not supported on iOS 6 devices; use the simulator instead.

GADRequest*request =[GADRequest request];

// Make the request for a test ad. Put in an identifier for
// the simulator as well as any devices you want to receive test ads.
request
.testDevices =[NSArray arrayWithObjects:
                         
@"YOUR_SIMULATOR_IDENTIFIER",
                         
@"YOUR_DEVICE_IDENTIFIER",
                         
nil];

 

 

請參考下列網頁:

https://developers.google.com/mobile-ads-sdk/docs/admob/best-practices

 

 


Advertisements

Written by chenagw

2013/05/16 at 18:13

Posted in Uncategorized

Tagged with

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: