Hey Guys,
Thank you for your help!
Danial: I did see the example, but I'm not using the API, as I don't know
how to utilize it without OAUTH2, which as far as I understand is not
relevant for my use case.
I tried to drill down, to the get_report_request_headers , but there is an
authentication call there, which, i guess isn't suitable.
I'm providing the same ClientCustomerId and autoToken I'm using in the SOAP
request for other Adwords API services(such as DataService, AdGroupService
ETC.)
reqHeaders = {"__rdxml"=>"[reportDefinitionXML]",
"Content-type" => "application/x-www-form-urlencoded" ,
"Authorization"=> 'GoogleLogin auth=[The authToken I use in SOAP req]',
"developerToken"=>'[devToken same as SOAP req]',
"clientCustomerId"=> '[CustomerIds same as SOAP]',
"returnMoneyInMicros"=> true
}
Im trying to make the Post with mechanize
require 'open-uri'
require 'mechanize'
agent=Mechanize.new{|a| a.ssl_version, a.verify_mode = 'SSLv3',
OpenSSL::SSL::VERIFY_NONE}
resp =
agent.post("https://adwords.google.com/api/adwords/reportdownload/v201309",
reqHeaders)
And tried it manually with SOAPUI, same results.
Any clue ? Suggestions?
On Monday, December 9, 2013 11:08:19 PM UTC+2, Danial Klimkin wrote:
>
> Hello MrHuluBanulu,
>
>
> Please make sure you provide AuthToken (for ClientLogin) and
> ClientCustomerId in your request.
>
> Did you see the demo application example that implements the report
> download?
>
> https://github.com/googleads/google-api-ads-ruby/wiki/AdWords-Rails-Demo
>
>
> -Danial, AdWords API Team.
>
> On Monday, December 9, 2013 11:41:29 PM UTC+4, MrHuluBanulu wrote:
>>
>> I have the same exact Problem, I think, How did this resolve?
>> I have a server running a job that pulls data from Google Adword API(I am
>> not using OAUTH2), the SOAP request are working fine. I'm using the same
>> structure as Matthew when posting the request to
>> https://adwords.google.com/api/adwords/reportdownload/v201309, but it
>> resolves in the same error.
>> <reportDownloadError>
>> <ApiError>
>> <type>ReportDownloadError.INVALID_PARAMETER</type>
>> <trigger>Missing client information</trigger>
>> <fieldPath/>
>> </ApiError>
>> </reportDownloadError>
>>
>> What am I missing?
>>
>>
>> Thanks,
>> MrHuluBanulu From Jupiter
>>
>> On Monday, July 8, 2013 9:47:23 PM UTC+3, Matthew Ledom wrote:
>>>
>>> I'm trying to download the CRITERIA_PERFORMANCE_REPORT for all the
>>> fields that are allowed. I keep receiving the following error:
>>>
>>> <reportDownloadError><ApiError><type>ReportDownloadError.INVALID_PARAMETER</type><trigger>Missing
>>>
>>> client
>>> information</trigger><fieldPath></fieldPath></ApiError></reportDownloadError>
>>>
>>> I'm currently setting the clientCustomerId header value and auth params
>>> like so:
>>>
>>> {"Content-Type"=>"application/x-www-form-urlencoded",
>>> "Authorization"=>
>>> "GoogleLogin auth=auth token",
>>> "User-Agent"=>
>>> "test_client (AwApi-Ruby/0.9.1, Common-Ruby/0.9.2, Savon/1.2.0,
>>> ruby/1.9.3, HTTPI/1.1.1, curb)",
>>> "clientCustomerId"=>"xxx-xxx-xxxx",
>>> "developerToken"=>"my_dev_token"}
>>>
>>> Is there something I'm missing with regards to the client information. I
>>> tried adding the client customer id as a predicate for filtering but that
>>> didnt work either. I was trying to follow the examples at
>>> https://code.google.com/p/google-api-ads-ruby/source/browse/adwords_api/examples/v201302/reporting/download_criteria_report.rbbut
>>> I'm not having an luck due to this "Missing Client Information" problem.
>>>
>>
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.