Hi,
  I'm afraid you have the wrong forum.  Try here: 
https://groups.google.com/forum/?fromgroups#!forum/google-calendar-help-dataapi

- Kevin Winter
AdWords API Team

On Monday, July 16, 2012 5:56:57 AM UTC-4, Sy Buena wrote:
>
> currently im developing google calendar with my own version of codes and, 
> lucking i manage's to work with auth and other api rather than this update 
> event that use's put curl
> this is my codes: 
> //this is just an example 
> $url = '
> https://www.googleapis.com/calendar/v3/calendars/sybuena2%40gmail.com/events/jplm392ehi1bv4sjghto3uaitk?access_token=ya29.AHES6ZQ4z4YH3wq0LsAozy7r9iv0v_P-0IJLiSORfAt2qj2YJ7VnL8w&key=AIzaSyBL8l1-TdF7DnYIutuZwVzz2MbgsTF2orM
> ';
> //this is just an example 
> $query = '
> {"end":{"dateTime":"2012-07-17T00:00:00+08:00"},"start":{"dateTime":"2012-07-16T00:00:00+08:00"},"description":"WTF"}
> ';
> $ch = curl_init($url);
> curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
> curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "PUT");
> curl_setopt($ch, CURLOPT_PUT, 1); 
> curl_setopt($ch, CURLOPT_POSTFIELDS,$query);
>  $response = curl_exec($ch);
>
> and for this code im getting an error of :
>
> {
>  "error": {
>   "errors": [
>    {
>     "domain": "global",
>     "reason": "required",
>     "message": "Required"
>    }
>   ],
>   "code": 400,
>   "message": "Required"
>  }
> }
>
>
> and thats the problem... hopefully someone can help me!
>
>

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

Reply via email to