Type for setting Ad Parameters

50 views
Skip to first unread message

Ashish Pathak

unread,
Apr 10, 2014, 10:59:49 AM4/10/14
to adwor...@googlegroups.com
Hi,

I'm trying to upload value of keyword ad parameters in bulk.

using following code :


                                              {
                                                'xsi_type':'AdParamService',  
                                                'operator': 'SET',
                                                'operand': {
                                                            'xsi_type':'AdParam',
                                                            'adGroupId': ad_group_id,
                                                            'criterionId': keyword_id,
                                                            'insertionText': price,
                                                            'paramIndex': '1'
                                                            }
                                                 }

but getting error-   Type not found: 'ns0:AdParamService'

what should be xsi_type in the above code?

Thanks in advance!

Regards,
Ashish Pathak

Ashish Pathak

unread,
Apr 11, 2014, 7:30:21 AM4/11/14
to adwor...@googlegroups.com
                                              {                                                  
                                                'xsi_type':'AdParamOperation',
                                                'operator': 'SET',
                                                'operand': {
                                                            'xsi_type':'AdParam',
                                                            'adGroupId': 'ad_group_id',
                                                            'criterionId': 'keyword_id',
                                                            'insertionText': price,
                                                            'paramIndex': '1'
                                                            }
                                                 }

is also not working.

Danial Klimkin

unread,
Apr 11, 2014, 9:20:01 AM4/11/14
to adwor...@googlegroups.com
Hello Ashish,


What service are you using (is it AdParamService or MJS)? Are you using any of our client libraries?


-Danial, AdWords API Team.

Ashish Pathak

unread,
Apr 11, 2014, 9:23:00 AM4/11/14
to adwordsapiad...@google.com, adwor...@googlegroups.com
Yes I'm using Python Adword API library, I wan't to set parameter value using bulk mutate service,
So that I can change value of all parameters in one request. 


--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@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 a topic in the Google Groups "AdWords API Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-api/7ke9FMwy2gc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-api...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

   
   Ashish Pathak
   Software Engineer

   Email: ash...@keywordio.com
   Website: www.keywordio.com
   Address: Keywordio AB, Sjöviksvägen 78, 117 57 Stockholm, Sweden

Danial Klimkin

unread,
Apr 11, 2014, 9:24:26 AM4/11/14
to adwor...@googlegroups.com, adwordsapiad...@google.com
Hello Ashish,


MutateJobService does not support AdParams at the moment. Please use AdParamService.

Note, it still can except multiple (thousands) of ad params in one request.


-Danial, AdWords API Team.


On Friday, April 11, 2014 5:23:00 PM UTC+4, Ashish Pathak wrote:
Yes I'm using Python Adword API library, I wan't to set parameter value using bulk mutate service,
So that I can change value of all parameters in one request. 
Reply all
Reply to author
Forward
0 new messages