Can't seem to update CampaignAdExtension

2014-08-12 Thread Assaf Magen
Hello,

I'm trying to update phone number on existing CampaignAdExtension of type 
LocationExtension using the SET operator - update fails with following 
error:

OperatorError.OPERATOR_NOT_SUPPORTED @ operations[0]

Couldn't find in Adwords API  docs any restrictions regarding 
CampaignAdExtensionService mutate and the SET operator.

I'm using v201406

thanks for your help...

here's my code (C#)


var setAdExtensionResult = _campaignAdExtService.mutate(new[]
   {
   new CampaignAdExtensionOperation
   {
   operand = locExtension,
   @operator = Operator.SET
   }
   });

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
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 adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Javascript API in sandbox

2014-08-13 Thread Assaf Magen
Hello,

I was wondering if there is a way to work against sandbox with the JS api 
without the need to supply user name or password or some temporary 
generated token to use instead
my goal is to imitate Create campaign location + advanced search with all 
the api calls to LocationCriterionService on the client side against 
sandbox, collect chosen adwords location, send to server and create new 
campaign using adwords api on the server side using my account tokens and 
credentials.

thanks 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
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 adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Can't seem to update CampaignAdExtension

2014-08-13 Thread Assaf Magen
Hi Ray,

thanks for your reply - I'm letting this go I'm just creating new
LocationExtensions whenever I need to and removing the ones I no longer
have use for

thanks

Assaf


On Tue, Aug 12, 2014 at 9:15 PM, Ray Tsang (AdWords API Team) <
adwordsapiadvisor+...@google.com> wrote:

> Assaf,
>
> Please send me the full SOAP request/response in private.
>
> Thanks,
>
> Ray
>
>
> On Tuesday, August 12, 2014 9:31:00 AM UTC-4, Assaf Magen wrote:
>>
>> Hello,
>>
>> I'm trying to update phone number on existing CampaignAdExtension of type
>> LocationExtension using the SET operator - update fails with following
>> error:
>>
>> OperatorError.OPERATOR_NOT_SUPPORTED @ operations[0]
>>
>> Couldn't find in Adwords API  docs any restrictions regarding
>> CampaignAdExtensionService mutate and the SET operator.
>>
>> I'm using v201406
>>
>> thanks for your help...
>>
>> here's my code (C#)
>>
>>
>> var setAdExtensionResult = _campaignAdExtService.mutate(new[]
>>{
>>new CampaignAdExtensionOperation
>>{
>>operand = locExtension,
>>@operator = Operator.SET
>>}
>>});
>>
>>  --
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and Google+:
> https://googleadsdeveloper.blogspot.com/
> https://plus.google.com/+GoogleAdsDevelopers/posts
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> 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
> ---
> 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 adwords-api+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

*Assaf Magen *| Team Leader

Ha'anagar 2nd, Kfar-Sava P.O.Box 7110

Office: +972.9.7486785 Fax:+972.9.7486786 Mobile: +972.54.719

www.msbitsoftware.com  | as...@msbitsoftware.com 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
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 adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Javascript API in sandbox

2014-08-13 Thread Assaf Magen
Hi,

I'm referring to SOAP based AdWords API

thanks
Assaf


On Wed, Aug 13, 2014 at 8:30 PM, Ray Tsang (AdWords API Team) <
adwordsapiadvisor+...@google.com> wrote:

> Assaf,
>
> Are you referring to AdWords script, or AdWords API (SOAP based API)?
>
> Thanks,
>
> Ray
>
>
> On Wednesday, August 13, 2014 4:36:27 AM UTC-4, Assaf Magen wrote:
>>
>> Hello,
>>
>> I was wondering if there is a way to work against sandbox with the JS api
>> without the need to supply user name or password or some temporary
>> generated token to use instead
>> my goal is to imitate Create campaign location + advanced search with all
>> the api calls to LocationCriterionService on the client side against
>> sandbox, collect chosen adwords location, send to server and create new
>> campaign using adwords api on the server side using my account tokens and
>> credentials.
>>
>> thanks
>>
>  --
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and Google+:
> https://googleadsdeveloper.blogspot.com/
> https://plus.google.com/+GoogleAdsDevelopers/posts
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> 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
> ---
> 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 adwords-api+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

*Assaf Magen *| Team Leader

Ha'anagar 2nd, Kfar-Sava P.O.Box 7110

Office: +972.9.7486785 Fax:+972.9.7486786 Mobile: +972.54.719

www.msbitsoftware.com  | as...@msbitsoftware.com 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
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 adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Javascript API in sandbox

2014-08-14 Thread Assaf Magen
Hi,

Got it, thanks for your reply.

Assaf


On Thu, Aug 14, 2014 at 4:20 PM, Anash P. Oommen (AdWords API Team) <
adwordsapiadvisor+an...@google.com> wrote:

> Hi Assaf,
>
> AdWords API is a SOAP API, and doesn't have a Javascript client. It would
> be difficult to do a pure client-side JS implementation, due to the same
> origin policies
> <https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy>
> enforced by modern browsers. You should explore using a server-based
> technology (we support client libraries
> <https://developers.google.com/adwords/api/docs/clientlibraries> in
> multiple languages) or use AdWords Scripts instead.
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.
>
> On Thursday, August 14, 2014 1:06:31 AM UTC-4, Assaf Magen wrote:
>>
>> Hi,
>>
>> I'm referring to SOAP based AdWords API
>>
>> thanks
>> Assaf
>>
>>
>> On Wed, Aug 13, 2014 at 8:30 PM, Ray Tsang (AdWords API Team) <
>> adwordsapiadvisor+...@google.com> wrote:
>>
>>> Assaf,
>>>
>>> Are you referring to AdWords script, or AdWords API (SOAP based API)?
>>>
>>> Thanks,
>>>
>>> Ray
>>>
>>>
>>> On Wednesday, August 13, 2014 4:36:27 AM UTC-4, Assaf Magen wrote:
>>>>
>>>> Hello,
>>>>
>>>> I was wondering if there is a way to work against sandbox with the JS
>>>> api without the need to supply user name or password or some temporary
>>>> generated token to use instead
>>>> my goal is to imitate Create campaign location + advanced search with
>>>> all the api calls to LocationCriterionService on the client side against
>>>> sandbox, collect chosen adwords location, send to server and create new
>>>> campaign using adwords api on the server side using my account tokens and
>>>> credentials.
>>>>
>>>> thanks
>>>>
>>>  --
>>> --
>>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>>> Also find us on our blog and Google+:
>>> https://googleadsdeveloper.blogspot.com/
>>> https://plus.google.com/+GoogleAdsDevelopers/posts
>>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>>>
>>> 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
>>> ---
>>> 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 adwords-api+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>>
>> *Assaf Magen *| Team Leader
>>
>> Ha'anagar 2nd, Kfar-Sava P.O.Box 7110
>>
>> Office: +972.9.7486785 Fax:+972.9.7486786 Mobile: +972.54.719
>>
>> www.msbitsoftware.com  | as...@msbitsoftware.com 
>>
>  --
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and Google+:
> https://googleadsdeveloper.blogspot.com/
> https://plus.google.com/+GoogleAdsDevelopers/posts
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> 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
> ---
> 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 adwords-api+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

*Assaf Magen *| Team Leader

Ha'anagar 2nd, Kfar-Sava P.O.Box 7110

Office: +972.9.7486785 Fax:+972.9.7486786 Mobile: +972.54.719

www.msbitsoftware.com  | as...@msbitsoftware.com 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
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 adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.