Hello Filipp,

 I'll update this thread with any information I hear back. In the
meantime, if modifying the proxy class works around the issue I'd
recommend that you keep running with that modified version. It's
obviously something that should be fixed on the server to benefit the
whole developer community, though.

Cheers,
-Jeff Posnick, AdWords API Team


On Jan 6, 1:05 pm, "frakevich...@gmail.com" <frakevich...@gmail.com>
wrote:
> Hi Jeff, please notify me, if possible, when you hear back from the
> API team.
> Thank you!
> Filipp
>
> On Jan 5, 4:28 pm, "frakevich...@gmail.com" <frakevich...@gmail.com>
> wrote:
>
> > Hi Jeff, this is the requestId: 8ea141994bd0d95b830e8da5e04b191d
> > I was going against the adwords.google.com site.
>
> > Thank you!
> > Filipp
>
> > On Jan 5, 4:15 pm, AdWords API Advisor <adwordsapiadvi...@google.com>
> > wrote:
>
> > > Hello Filipp,
>
> > >  Interesting--if the SOAP service isn't honoring the return format
> > > specified in the WSDL then that's something that would need to be
> > > addressed.
>
> > >  Could you pass along the requestId from the SOAP response so that I
> > > can grab the message from the logs and pass it on to the core
> > > engineering team?
>
> > > Cheers,
> > > -Jeff Posnick, AdWords API Team
>
> > > On Jan 5, 4:05 pm, "frakevich...@gmail.com" <frakevich...@gmail.com>
> > > wrote:
>
> > > > Hi Jeff, thank you for getting back to me!
> > > > I am using only the basic geo locations.
> > > > I inspected the response from Google and the geo locations are in fact
> > > > being sent back. This means that the response is not deserializing
> > > > properly.  So I investigated the issue a bit further and found this:
> > > > The wsdl describes GeoTargeting as a sequence with elements being in a
> > > > certain order, but the response from the web service has the geo
> > > > fields in a different order.  At the same time the .Net service proxy
> > > > is generated with elements having a predefined order# like this:
> > > > [System.Xml.Serialization.XmlElementAttribute(Order=0)]
> > > > public CityTargets cityTargets { .............
>
> > > > When I manually fixed the order numbers in the proxy to match the
> > > > response the GeoTarget was properly deserialized.
> > > > But because this is an autogenerated file I would prefer if there were
> > > > some other solution other then manually changing it.
> > > > I am using VS 2008 and .Net framework 3.5 sp1.  I search the web but
> > > > have not found yet a way to disable the element order sequence
> > > > assignment.
> > > > Do you have any recommendations?
>
> > > > Thank you!
>
> > > > Filipp
>
> > > > On Jan 5, 1:37 pm, AdWords API Advisor <adwordsapiadvi...@google.com>
> > > > wrote:
>
> > > > > Hello Filipp,
>
> > > > >  Not all geo-targets can be represented in the AdWords API. For
> > > > > example, the API doesn't support arbitrary polygons as geo-targets,
> > > > > although you can create those using the AdWords web interface. Does
> > > > > that sound like it may be the cause of what you're seeing?
>
> > > > >  If you have one or more geo-targets that are supported by the AdWords
> > > > > API (countries/metros/cities/circles/etc.) and they're not being
> > > > > returned, then I'd need more information to investigate further. Could
> > > > > you pass along the value of the requestId SOAP response header
> > > > > associated with a getCampaign() call that's returning those results?
>
> > > > > Cheers,
> > > > > -Jeff Posnick, AdWords API Team
>
> > > > > On Jan 4, 12:52 am, "frakevich...@gmail.com" <frakevich...@gmail.com>
> > > > > wrote:
>
> > > > > > Hi, I am using C# to retrieve the campaign information.  I can see 
> > > > > > geo
> > > > > > targets for the campaign in the adwords site, but when I retrieve 
> > > > > > the
> > > > > > campaign using the API all of the GeoTargeting fields are null.  I 
> > > > > > am
> > > > > > using v13.  Below is the code:
> > > > > >                 Google.CampaignService.CampaignInterfaceClient 
> > > > > > client
> > > > > > = GetClient();
> > > > > >                 Google.CampaignService.getCampaignRequest request =
> > > > > > new Google.CampaignService.getCampaignRequest();
> > > > > >                 request.applicationToken = _config.ApplicationToken;
> > > > > >                 request.id = (int)id;
> > > > > >                 request.clientEmail = _config.ClientEmail;
> > > > > >                 request.developerToken = _config.DeveloperToken;
> > > > > >                 request.email = _config.Email;
> > > > > >                 request.password = _config.Password;
> > > > > >                 request.useragent = _config.UserAgent;
>
> > > > > >                 Google.CampaignService.getCampaignResponse response 
> > > > > > =
> > > > > > ((Google.CampaignService.CampaignInterface)client).getCampaign
> > > > > > (request);
>
> > > > > > Any idea what I could be doing wrong?
>
> > > > > > Thank you!!!
>
> > > > > > Filipp
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to