Publicidade em Aplicativos by Ivan Salina - 2º iphonedevbr

12
Publicidade em Publicidade em aplicativos aplicativos Ivan Salina Fernandes Deal Mobile www.deal.com.br

description

2º iPhoneDevBr Palestrante: Ivan Salina Tema: Publicidade em aplicativos

Transcript of Publicidade em Aplicativos by Ivan Salina - 2º iphonedevbr

Page 1: Publicidade em Aplicativos by Ivan Salina - 2º iphonedevbr

Publicidade em Publicidade em aplicativosaplicativos

Publicidade em Publicidade em aplicativosaplicativosIvan Salina Fernandes

Deal Mobilewww.deal.com.br

Ivan Salina FernandesDeal Mobile

www.deal.com.br

Page 2: Publicidade em Aplicativos by Ivan Salina - 2º iphonedevbr

30-day trial30-day trial

Q1: I like the free version and upgrade to the paid versionQ2: I’ve read good reviewsQ3: World of month (recommendations from friends and colleagues)Q4: The app has high ranking in the App StoreQ5: I’ve liked the app on other plataformQ6: I’ve liked other apps from the same companyQ7: Other

Q1: I like the free version and upgrade to the paid versionQ2: I’ve read good reviewsQ3: World of month (recommendations from friends and colleagues)Q4: The app has high ranking in the App StoreQ5: I’ve liked the app on other plataformQ6: I’ve liked other apps from the same companyQ7: Other

Page 3: Publicidade em Aplicativos by Ivan Salina - 2º iphonedevbr

lite + ADMOB = $lite + ADMOB = $

Principais vantagens:

Promover um aplicativo na rede de aplicativos com AdMob (Exchange);

Promover um aplicativo na sua rede de aplicativos (House Ads);

Ganhar dinheiro através de clicks nos ads pagos.

Principais vantagens:

Promover um aplicativo na rede de aplicativos com AdMob (Exchange);

Promover um aplicativo na sua rede de aplicativos (House Ads);

Ganhar dinheiro através de clicks nos ads pagos.

Page 4: Publicidade em Aplicativos by Ivan Salina - 2º iphonedevbr

Valores e exemplosValores e exemplos

Page 5: Publicidade em Aplicativos by Ivan Salina - 2º iphonedevbr

Como começar?Como começar?

Inscrever-se como desenvolvedor em AdMob.com;

Criar uma nova aplicação iPhone no site;

Fazer download do SDK personalizado;

Implementar o SDK no xCode.

Inscrever-se como desenvolvedor em AdMob.com;

Criar uma nova aplicação iPhone no site;

Fazer download do SDK personalizado;

Implementar o SDK no xCode.

Page 6: Publicidade em Aplicativos by Ivan Salina - 2º iphonedevbr

adicionando admob na sua aplicação

adicionando admob na sua aplicação

Adicione AdMobDelegateProtocol.h, AdMobView.h, libAdMobDevice.a, libAdMobSimulator.a ao seu projeto;

Adicione CoreLocation, CoreGraphics, QuartzCore, AddressBook à sua lista de frameworks;

Adicione AdMobDelegateProtocol.h, AdMobView.h, libAdMobDevice.a, libAdMobSimulator.a ao seu projeto;

Adicione CoreLocation, CoreGraphics, QuartzCore, AddressBook à sua lista de frameworks;

Page 7: Publicidade em Aplicativos by Ivan Salina - 2º iphonedevbr

I ♥ I ♥ Adicione AdViewController.h e AdViewController.m no projeto;

(IB) Crie um UIView de 320 x 48 no local desejado da sua Window;

(IB) Adicione um Objeto e mude seu tipo para AdViewController;

(IB) Crie uma conexão (outlet) entre o view do AdViewController e o UIView criado;

Sem uma linha de código!

Adicione AdViewController.h e AdViewController.m no projeto;

(IB) Crie um UIView de 320 x 48 no local desejado da sua Window;

(IB) Adicione um Objeto e mude seu tipo para AdViewController;

(IB) Crie uma conexão (outlet) entre o view do AdViewController e o UIView criado;

Sem uma linha de código!

Page 8: Publicidade em Aplicativos by Ivan Salina - 2º iphonedevbr

Fine TuningFine Tuning- (void)awakeFromNib {

self.view.hidden = YES; // when there's no ad, let our (placeholder) view be unobstructive

adMobAd = [AdMobView requestAdWithDelegate:self]; // start a new ad request

[adMobAd retain]; // this will be released when it loads (or fails to load)

}

- (void)refreshAd:(NSTimer *)timer {

[adMobAd requestFreshAd];

}

#pragma mark AdMobDelegate methods

- (NSString *)publisherId {

return @"a14a2479e89858f"; // this should be prefilled; if not, get it from www.admob.com

}

- (UIColor *)adBackgroundColor {

return [UIColor colorWithRed:0 green:0 blue:0 alpha:1]; // this should be prefilled; if not, provide a UIColor

}

- (UIColor *)adTextColor {

return [UIColor colorWithRed:1 green:1 blue:1 alpha:1]; // this should be prefilled; if not, provide a UIColor

}

- (BOOL)mayAskForLocation {

return YES; // this should be prefilled; if not, see AdMobProtocolDelegate.h for instructions

}

- (void)didReceiveAd:(AdMobView *)adView {

NSLog(@"AdMob: Did receive ad");

self.view.hidden = NO;

adMobAd.frame = [self.view convertRect:self.view.frame fromView:self.view.superview]; // put the ad in the placeholder's location

[self.view addSubview:adMobAd];

[autoslider invalidate];

autoslider = [NSTimer scheduledTimerWithTimeInterval:AD_REFRESH_PERIOD target:self selector:@selector(refreshAd:) userInfo:nil repeats:YES];

}

- (void)didFailToReceiveAd:(AdMobView *)adView {

NSLog(@"AdMob: Did fail to receive ad");

[adMobAd release];

adMobAd = nil;

}

- (void)awakeFromNib {

self.view.hidden = YES; // when there's no ad, let our (placeholder) view be unobstructive

adMobAd = [AdMobView requestAdWithDelegate:self]; // start a new ad request

[adMobAd retain]; // this will be released when it loads (or fails to load)

}

- (void)refreshAd:(NSTimer *)timer {

[adMobAd requestFreshAd];

}

#pragma mark AdMobDelegate methods

- (NSString *)publisherId {

return @"a14a2479e89858f"; // this should be prefilled; if not, get it from www.admob.com

}

- (UIColor *)adBackgroundColor {

return [UIColor colorWithRed:0 green:0 blue:0 alpha:1]; // this should be prefilled; if not, provide a UIColor

}

- (UIColor *)adTextColor {

return [UIColor colorWithRed:1 green:1 blue:1 alpha:1]; // this should be prefilled; if not, provide a UIColor

}

- (BOOL)mayAskForLocation {

return YES; // this should be prefilled; if not, see AdMobProtocolDelegate.h for instructions

}

- (void)didReceiveAd:(AdMobView *)adView {

NSLog(@"AdMob: Did receive ad");

self.view.hidden = NO;

adMobAd.frame = [self.view convertRect:self.view.frame fromView:self.view.superview]; // put the ad in the placeholder's location

[self.view addSubview:adMobAd];

[autoslider invalidate];

autoslider = [NSTimer scheduledTimerWithTimeInterval:AD_REFRESH_PERIOD target:self selector:@selector(refreshAd:) userInfo:nil repeats:YES];

}

- (void)didFailToReceiveAd:(AdMobView *)adView {

NSLog(@"AdMob: Did fail to receive ad");

[adMobAd release];

adMobAd = nil;

}

Page 9: Publicidade em Aplicativos by Ivan Salina - 2º iphonedevbr

RelatóriosRelatórios

Atualizações instantâneas;

Detalhamento com eCPM, CTR, CPC, Requests, Fill Rate;

Detalhamento por região (North America, South America, Asia, Europe, etc).

Atualizações instantâneas;

Detalhamento com eCPM, CTR, CPC, Requests, Fill Rate;

Detalhamento por região (North America, South America, Asia, Europe, etc).

Page 10: Publicidade em Aplicativos by Ivan Salina - 2º iphonedevbr

RelatóriosRelatórios

CPC / Requests = Fill

Rate

CPC / Requests = Fill

Rate

Page 11: Publicidade em Aplicativos by Ivan Salina - 2º iphonedevbr

PagamentosPagamentos

Depósitos realizados na conta do Paypal, dois meses após o mês de geração;

Pagamentos feitos acima de US$ 20;

Depósitos realizados na conta do Paypal, dois meses após o mês de geração;

Pagamentos feitos acima de US$ 20;

Page 12: Publicidade em Aplicativos by Ivan Salina - 2º iphonedevbr

Q & AQ & AQ & AQ & AIvan Salina [email protected]

Deal Mobilewww.deal.com.br

Bright Idea Softwarewww.brightideasoftware.com

Ivan Salina [email protected]

Deal Mobilewww.deal.com.br

Bright Idea Softwarewww.brightideasoftware.com