hi,
i'm trying to get search query report using report definition service
i'm able to download the report in csv format.
But the report is generated for random dates like may 2009 to aug 2010
etc..
Is there any provision to download the search query report within the
specified date range?
If there is any, please give me the sample code for that.
my code looks like this
.........
$url = sprintf('https://adwords.google.com/api/adwords/reportdownload?
__rd=%d',
    $reportDefinitionId);

// Create headers.
$headers = array();
$headers[]= 'Authorization: GoogleLogin auth='. $authToken-
>GetAuthToken();
$headers[]= 'clientEmail: ' . $clientEmail;
$file = fopen($path, 'w');
$ch = curl_init($url);

curl_setopt($ch, CURLOPT_FILE, $file);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_FOLLOWLOCATIO..........
..........................

Thank you,
kushvanth

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

Reply via email to