bug in .NET OAuth sample

2011-10-12 Thread spongman
in the .NET library (v12.6.0) there's an oauth sample. in that sample,
there's a configuration line:

add type=Google.Api.Ads.Common.Lib.SoapListenerExtension,
Common priority=1 group=0/

however, there's no such DLL 'Common', that line should read:


add type=Google.Api.Ads.Common.Lib.SoapListenerExtension,
Google.AdWords priority=1 group=0/


does this mean that the sample hasn't been tested with the library as
released?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: bug in .NET OAuth sample

2011-10-12 Thread spongman
I'm getting AuthorizationError.USER_PERMISSION_DENIED when I click on
the 'Get Campaigns' button in this sample.

I have filled in the following fields:
- UserAgent
- ClientEmail
- DeveloperToken
- OAuthConsumerKey
- OAuthConsumerSecret

what am i missing?

On Oct 12, 12:06 pm, spongman pie...@gmail.com wrote:
 in the .NET library (v12.6.0) there's an oauth sample. in that sample,
 there's a configuration line:

         add type=Google.Api.Ads.Common.Lib.SoapListenerExtension,
 Common priority=1 group=0/

 however, there's no such DLL 'Common', that line should read:

         add type=Google.Api.Ads.Common.Lib.SoapListenerExtension,
 Google.AdWords priority=1 group=0/

 does this mean that the sample hasn't been tested with the library as
 released?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


AdWords API Re: ImageError.INVALID_IMAGE while publishing .SWF

2010-03-19 Thread spongman
yes, it works against production. but we don't want to develop/test
against production. is there any documentation anywhere that lists the
differences between the sandbox and production environments? can you
explain why the sandbox doesn't allow uploading SWFs?

On Mar 19, 11:41 am, AdWords API Advisor
adwordsapiadvi...@google.com wrote:
 Hi,

 Certain image ad formats aren't accepted in the sandbox, and I believe
 flash is one of them.  Have you tried using this same code against a
 production account?

 Best,
 - Eric Koleda, AdWords API Team

 On Mar 18, 6:07 pm, spongman pie...@gmail.com wrote:



  I'm trying to publish a SWF to sandbox, but I'm getting an
  ImageError.INVALID_IMAGE error. what am I doing wrong?

  here's my request:

  ?xml version=1.0 encoding=utf-8?
  soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xmlns:xsd=http://www.w3.org/2001/XMLSchema;
          soap:Header
                  RequestHeader 
  xmlns=https://adwords.google.com/api/adwords/cm/
  v200909
                          authToken{my token{/authToken
                          clientEmailclient_1+{my email}/clientEmail
                          developerToken{my email}++USD/developerToken
                          userAgentAWAPI DotNetLib 7.1 - {my 
  company}/userAgent
                  /RequestHeader
          /soap:Header
          soap:Body
                  mutate 
  xmlns=https://adwords.google.com/api/adwords/cm/v200909;
                          operations
                                  operatorADD/operator
                                  operand
                                          adGroupId3121619235/adGroupId
                                          ad xsi:type=ImageAd
                                                  url{click URL}/url
                                                  displayUrl{click 
  URL}/displayUrl
                                                  image
                                                          
  mimeTypeFLASH/mimeType
                                                          data{base-64 
  encoded SWF}/data
                                                  /image
                                                  
  nameNew_Campaign_300x250_0/name
                                          /ad
                                  /operand
                          /operations
                  /mutate
          /soap:Body
  /soap:Envelope

  and here's the response:

  soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
          soap:Header
                  ResponseHeader 
  xmlns=https://adwords.google.com/api/adwords/cm/
  v200909
                          
  requestIde038a885b90ce2a4b607d3dbb86c5df2/requestId
                          operations1/operations
                          responseTime322/responseTime
                          units40/units
                  /ResponseHeader
          /soap:Header
          soap:Body
                  soap:Fault
                          faultcodesoap:Server/faultcode
                          faultstring[ImageError.INVALID_IMAGE @
  operations[0].operand.ad.image.data]/faultstring
                          detail
                                  ApiExceptionFault 
  xmlns=https://adwords.google.com/api/adwords/
  cm/v200909
                                          message[ImageError.INVALID_IMAGE @
  operations[0].operand.ad.image.data]/message
                                          
  ApplicationException.TypeApiException/
  ApplicationException.Type
                                          errors 
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xsi:type=ImageError
                                                  
  fieldPathoperations[0].operand.ad.image.data/fieldPath
                                                  trigger/trigger
                                                  
  ApiError.TypeImageError/ApiError.Type
                                                  
  reasonINVALID_IMAGE/reason
                                          /errors
                                  /ApiExceptionFault
                          /detail
                  /soap:Fault
          /soap:Body
  /soap:Envelope

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

To unsubscribe from this group, send email to 
adwords-api

AdWords API how to authenticate user?

2010-03-19 Thread spongman
we're building a service that uses a single account to manage
campaigns for multiple users.

one thing I don't understand is how we're supposed to authenticate a
given client email address.

for example:
- user A signs up for our service
- user A gives us access to their AdWords account 'a...@gmail.com'
- user A enters 'a...@gmail.com' into our system so we can make API calls
on their behalf

- user Z signs up for our service
- user Z enters 'a...@gmail.com' into our system and uses A's budget for
publishing campaigns.


How do we verify that user Z actually has access to the 'a...@gmail.com'
account ?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API Re: Enhanced XML validation enabled in the sandbox

2010-03-18 Thread spongman
does this break the .NET client library? i've just started seeing some
authentication errors when working against the sandbox, and I'm
wondering f this might be the cause?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API ImageError.INVALID_IMAGE while publishing .SWF

2010-03-18 Thread spongman
I'm trying to publish a SWF to sandbox, but I'm getting an
ImageError.INVALID_IMAGE error. what am I doing wrong?

here's my request:

?xml version=1.0 encoding=utf-8?
soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xmlns:xsd=http://www.w3.org/2001/XMLSchema;
soap:Header
RequestHeader xmlns=https://adwords.google.com/api/adwords/cm/
v200909
authToken{my token{/authToken
clientEmailclient_1+{my email}/clientEmail
developerToken{my email}++USD/developerToken
userAgentAWAPI DotNetLib 7.1 - {my 
company}/userAgent
/RequestHeader
/soap:Header
soap:Body
mutate 
xmlns=https://adwords.google.com/api/adwords/cm/v200909;
operations
operatorADD/operator
operand
adGroupId3121619235/adGroupId
ad xsi:type=ImageAd
url{click URL}/url
displayUrl{click 
URL}/displayUrl
image

mimeTypeFLASH/mimeType
data{base-64 encoded 
SWF}/data
/image

nameNew_Campaign_300x250_0/name
/ad
/operand
/operations
/mutate
/soap:Body
/soap:Envelope

and here's the response:



soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
soap:Header
ResponseHeader 
xmlns=https://adwords.google.com/api/adwords/cm/
v200909
requestIde038a885b90ce2a4b607d3dbb86c5df2/requestId
operations1/operations
responseTime322/responseTime
units40/units
/ResponseHeader
/soap:Header
soap:Body
soap:Fault
faultcodesoap:Server/faultcode
faultstring[ImageError.INVALID_IMAGE @
operations[0].operand.ad.image.data]/faultstring
detail
ApiExceptionFault 
xmlns=https://adwords.google.com/api/adwords/
cm/v200909
message[ImageError.INVALID_IMAGE @
operations[0].operand.ad.image.data]/message

ApplicationException.TypeApiException/
ApplicationException.Type
errors 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:type=ImageError

fieldPathoperations[0].operand.ad.image.data/fieldPath
trigger/trigger

ApiError.TypeImageError/ApiError.Type
reasonINVALID_IMAGE/reason
/errors
/ApiExceptionFault
/detail
/soap:Fault
/soap:Body
/soap:Envelope

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.