Re: Very Strange Error: always get totalNumEntries0/totalNumEntries
Hi Anash, Yes, you are right, I did not set the ClientCustomerId header. However, I just do some testing today, the program works fine again with or without the clientCustomerid header. Very strange indeed. I will include ClientCustomerid header from now and hope this will fix the problem. Many thanks for you. David On Saturday, August 23, 2014 4:36:13 AM UTC+10, Anash P. Oommen (AdWords API Team) wrote: Hi David, Looks like you are not setting ClientCustomerId header any longer, so all the requests to fetch specific entries are returning zero results. Could you please check your code and confirm if this is the case? Cheers, Anash P. Oommen, AdWords API Advisor. On Friday, August 22, 2014 7:07:20 AM UTC-4, Dave L wrote: Hi, My code has been working fine until recently (about 2 weeks ago), I have experienced a very strange error. I have always got a fresh AccessToken before calling the API. However, I always get totalNumEntries0/totalNumEntries for every service I called. There is not error message, but simply totalNumEntries0/ totalNumEntries. Here is a sample of the response for AdGroupCriterionService: soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;soap:HeaderResponseHeader xmlns=https://adwords.google.com/api/adwords/cm/v201402;requestId00050108ac19b7b00a42662191005c81/requestIdserviceNameAdGroupCriterionService/serviceNamemethodNameget/methodNameoperations0/operationsresponseTime216/responseTime/ResponseHeader/soap:Headersoap:BodygetResponse xmlns=https://adwords.google.com/api/adwords/cm/v201402 rvaltotalNumEntries0/totalNumEntriesPage.TypeAdGroupCriterionPage/Page.Type/rval/getResponse/soap:Body/soap:Envelope After many hours testing, by accident, I changed the AccessToken to a fake AccessToken such as d to try, then I can get the correct response data from the server. I just cannot believe this, it completely does not make any sense. I am not sure if this is my problem, or an error from Google. However, by using a fake AccessToken only works for some accounts, but some accounts still did not work no matter what I do. I really need your help on this. Many thanks. David -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/29c68d6b-d836-4e82-9374-e71fca79c573%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Very Strange Error: always get totalNumEntries0/totalNumEntries
Hi David, If things started working for you, then one possibility is that your OAuth2 headers now resolve to that of an advertiser account instead of an MCC account. I recommend setting the clientCustomerId all the time, so you know for sure what account you are making calls against. Cheers, Anash On Sunday, August 24, 2014 9:41:20 AM UTC-4, David WM Lin wrote: Hi Anash, Yes, you are right, I did not set the ClientCustomerId header. However, I just do some testing today, the program works fine again with or without the clientCustomerid header. Very strange indeed. I will include ClientCustomerid header from now and hope this will fix the problem. Many thanks for you. David On Saturday, August 23, 2014 4:36:13 AM UTC+10, Anash P. Oommen (AdWords API Team) wrote: Hi David, Looks like you are not setting ClientCustomerId header any longer, so all the requests to fetch specific entries are returning zero results. Could you please check your code and confirm if this is the case? Cheers, Anash P. Oommen, AdWords API Advisor. On Friday, August 22, 2014 7:07:20 AM UTC-4, Dave L wrote: Hi, My code has been working fine until recently (about 2 weeks ago), I have experienced a very strange error. I have always got a fresh AccessToken before calling the API. However, I always get totalNumEntries0/totalNumEntries for every service I called. There is not error message, but simply totalNumEntries0/ totalNumEntries. Here is a sample of the response for AdGroupCriterionService: soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;soap:HeaderResponseHeader xmlns=https://adwords.google.com/api/adwords/cm/v201402;requestId00050108ac19b7b00a42662191005c81/requestIdserviceNameAdGroupCriterionService/serviceNamemethodNameget/methodNameoperations0/operationsresponseTime216/responseTime/ResponseHeader/soap:Headersoap:BodygetResponse xmlns=https://adwords.google.com/api/adwords/cm/v201402 rvaltotalNumEntries0/totalNumEntriesPage.TypeAdGroupCriterionPage/Page.Type/rval/getResponse/soap:Body/soap:Envelope After many hours testing, by accident, I changed the AccessToken to a fake AccessToken such as d to try, then I can get the correct response data from the server. I just cannot believe this, it completely does not make any sense. I am not sure if this is my problem, or an error from Google. However, by using a fake AccessToken only works for some accounts, but some accounts still did not work no matter what I do. I really need your help on this. Many thanks. David -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/3393b18b-8f1d-455c-8995-47985f46cd46%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Very Strange Error: always get totalNumEntries0/totalNumEntries
Hi, My code has been working fine until recently (about 2 weeks ago), I have experienced a very strange error. I have always got a fresh AccessToken before calling the API. However, I always get totalNumEntries0/totalNumEntries for every service I called. There is not error message, but simply totalNumEntries0/ totalNumEntries. Here is a sample of the response for AdGroupCriterionService: soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;soap:HeaderResponseHeader xmlns=https://adwords.google.com/api/adwords/cm/v201402;requestId00050108ac19b7b00a42662191005c81/requestIdserviceNameAdGroupCriterionService/serviceNamemethodNameget/methodNameoperations0/operationsresponseTime216/responseTime/ResponseHeader/soap:Headersoap:BodygetResponse xmlns=https://adwords.google.com/api/adwords/cm/v201402;rvaltotalNumEntries0/totalNumEntriesPage.TypeAdGroupCriterionPage/Page.Type/rval/getResponse/soap:Body/soap:Envelope After many hours testing, by accident, I changed the AccessToken to a fake AccessToken such as d to try, then I can get the correct response data from the server. I just cannot believe this, it completely does not make any sense. I am not sure if this is my problem, or an error from Google. However, by using a fake AccessToken only works for some accounts, but some accounts still did not work no matter what I do. I really need your help on this. Many thanks. David -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/68564934-bd2d-4945-8e31-8a717ebc0b2f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Very Strange Error: always get totalNumEntries0/totalNumEntries
Hi Dave, Could you please post a request and response xml where you could get the correct response using a fake OAuth2 access token? And are you using a client library, or your own mechanism to make the API calls? Cheers, Anash P. Oommen, AdWords API Advisor. On Friday, August 22, 2014 7:07:20 AM UTC-4, Dave L wrote: Hi, My code has been working fine until recently (about 2 weeks ago), I have experienced a very strange error. I have always got a fresh AccessToken before calling the API. However, I always get totalNumEntries0/totalNumEntries for every service I called. There is not error message, but simply totalNumEntries0/ totalNumEntries. Here is a sample of the response for AdGroupCriterionService: soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;soap:HeaderResponseHeader xmlns=https://adwords.google.com/api/adwords/cm/v201402;requestId00050108ac19b7b00a42662191005c81/requestIdserviceNameAdGroupCriterionService/serviceNamemethodNameget/methodNameoperations0/operationsresponseTime216/responseTime/ResponseHeader/soap:Headersoap:BodygetResponse xmlns=https://adwords.google.com/api/adwords/cm/v201402 rvaltotalNumEntries0/totalNumEntriesPage.TypeAdGroupCriterionPage/Page.Type/rval/getResponse/soap:Body/soap:Envelope After many hours testing, by accident, I changed the AccessToken to a fake AccessToken such as d to try, then I can get the correct response data from the server. I just cannot believe this, it completely does not make any sense. I am not sure if this is my problem, or an error from Google. However, by using a fake AccessToken only works for some accounts, but some accounts still did not work no matter what I do. I really need your help on this. Many thanks. David -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/64d4fd4b-20cd-40ba-98c2-b0d66826f108%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Very Strange Error: always get totalNumEntries0/totalNumEntries
Hi David, Looks like you are not setting ClientCustomerId header any longer, so all the requests to fetch specific entries are returning zero results. Could you please check your code and confirm if this is the case? Cheers, Anash P. Oommen, AdWords API Advisor. On Friday, August 22, 2014 7:07:20 AM UTC-4, Dave L wrote: Hi, My code has been working fine until recently (about 2 weeks ago), I have experienced a very strange error. I have always got a fresh AccessToken before calling the API. However, I always get totalNumEntries0/totalNumEntries for every service I called. There is not error message, but simply totalNumEntries0/ totalNumEntries. Here is a sample of the response for AdGroupCriterionService: soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;soap:HeaderResponseHeader xmlns=https://adwords.google.com/api/adwords/cm/v201402;requestId00050108ac19b7b00a42662191005c81/requestIdserviceNameAdGroupCriterionService/serviceNamemethodNameget/methodNameoperations0/operationsresponseTime216/responseTime/ResponseHeader/soap:Headersoap:BodygetResponse xmlns=https://adwords.google.com/api/adwords/cm/v201402 rvaltotalNumEntries0/totalNumEntriesPage.TypeAdGroupCriterionPage/Page.Type/rval/getResponse/soap:Body/soap:Envelope After many hours testing, by accident, I changed the AccessToken to a fake AccessToken such as d to try, then I can get the correct response data from the server. I just cannot believe this, it completely does not make any sense. I am not sure if this is my problem, or an error from Google. However, by using a fake AccessToken only works for some accounts, but some accounts still did not work no matter what I do. I really need your help on this. Many thanks. David -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/52b3971c-824b-428b-ab53-b989ccf6de59%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.