Re: [PHP] Datas duplicadas

2015-03-23 Thread Josh Radcliff (AdWords API Team)
Hi, You cannot pull *Date* or other Segment fields *and* get zero impressions. When you include a *Segment* field, it implicitly excludes zero impression rows

Re: [PHP] Datas duplicadas

2015-03-23 Thread Desenvolvimento - Grupo Lead Negócios Inteligentes
Hello Josh, sorry come back that topic again, but I forgot to ask you something: How AdWords can pull the date, day of week and zero impressions? Like the image below... -- -- =~=~=~=~=~=~=~=

Re: [PHP] Datas duplicadas

2015-03-23 Thread Desenvolvimento - Grupo Lead Negócios Inteligentes
Hello Josh, sorry come back that topic again, but I forgot to ask you something: How AdWords can pull the date, day of week and zero impressions? Like the image below ... -- -- =~=~=~=~=~=~=~

Re: [PHP] Datas duplicadas

2015-03-20 Thread Desenvolvimento - Grupo Lead Negócios Inteligentes
I understood, Josh. I will rethink my system. Thank you Josh for the quickly answers. :D Em sexta-feira, 20 de março de 2015 14:36:08 UTC-3, Josh Radcliff (AdWords API Team) escreveu: > > Hi, > > Thanks for sending the example - now I understand what you meant by > duplicate rows. > > I've

Re: [PHP] Datas duplicadas

2015-03-20 Thread Josh Radcliff (AdWords API Team)
Hi, Thanks for sending the example - now I understand what you meant by duplicate rows. I've filed an issue with the reporting team on the duplicate rows. I'll post back once I get an update from them. However, as I mentioned earlier, the report should not be returning zero impression rows *a

Re: [PHP] Datas duplicadas

2015-03-20 Thread Desenvolvimento - Grupo Lead Negócios Inteligentes
Good day Josh, I will try to explain better and in english using Google Translate, :D Below are two screen shots with the problem that occurs when i use the script I sent to you in previous answers:

Re: [PHP] Datas duplicadas

2015-03-20 Thread Josh Radcliff (AdWords API Team)
Hi, Could you clarify what you mean by "duplicate"? Which fields specifically are you saying are duplicated in the report? Thanks, Josh, AdWords API Team On Thursday, March 19, 2015 at 4:27:26 PM UTC-4, Desenvolvimento - Grupo Lead Negócios Inteligentes wrote: > > Obrigado pela resposta Josh,

Re: [PHP] Datas duplicadas

2015-03-19 Thread Desenvolvimento - Grupo Lead Negócios Inteligentes
Obrigado pela resposta Josh, O problema só acontece quando utilizo o "DayOfWeek", por que quando utilizo somente o "Date" ele funciona normalmente, ele não duplica nada. Veja abaixo: E, se

Re: [PHP] Datas duplicadas

2015-03-19 Thread Josh Radcliff (AdWords API Team)
Hi, Thanks for sending over your request. The behavior here is a bit strange -- usually, when you include any *Segment* field such as *Date* or *DayOfWeek*, zero impression rows are implicitly excluded

Re: [PHP] Datas duplicadas

2015-03-19 Thread Desenvolvimento - Grupo Lead Negócios Inteligentes
Bom dia galera, Esse é meu script: ID da Campanha: 281-396-0359 $user = new AdWordsUser(); $user->SetClientCustomerId($id); $user->LogDefaults(); $user->LoadService('ReportDefinitionService', 'v201409'); $selector = new Selector(); $selector->fields = array('DayOfWeek', 'Da

Re: [PHP] Datas duplicadas

2015-03-18 Thread Josh Radcliff (AdWords API Team)
Hi, Sorry, but I can only answer in English. The *DayOfWeek* value is the day of the week of each *impression*, so if you have zero impressions then AdWords will usually exclude zero impression rows on any report that requests *DayOfWeek*. Could you describe your use case a bit more? Why do yo

[PHP] Datas duplicadas

2015-03-18 Thread Desenvolvimento - Grupo Lead Negócios Inteligentes
Olá pessoal, Estou com uma dúvida: Quero buscar dados com 0 Impressões e o dia da semana, porém o que é retornado é isso abaixo. A data vem duplicada, só que com o dia da semana diferente, o que pode estar acontecendo? {"@attributes":{"dayOfWeek":"Tuesday","day":"2015-03-07","avgPosition":"0.0"