Yaniv,
The log looks like the API has returned a proper response. The error
message is "2014-07-08 07:42:45;ERROR;Main: Error with adwords or mysql:
Type not found: 'bid'". This seems to be a custom error message not from
the client library. Please verify the code.
Thanks,
Ray
On Tuesday, July 8, 2014 5:20:39 AM UTC-4, Yaniv wrote:
>
> Alright, I sent
>
> On Monday, July 7, 2014 6:16:10 PM UTC+3, Ray Tsang (AdWords API Team)
> wrote:
>>
>> Yaniv,
>>
>> Please send me the full request/response XML in private (reply to author).
>>
>> Thanks!
>>
>> Ray
>>
>> On Monday, July 7, 2014 11:10:00 AM UTC-4, Yaniv wrote:
>>>
>>> for some reason i get an error of: Type not found: 'bid'
>>>
>>>
>>> operations = [{
>>> 'operator': 'SET',
>>> 'operand': {
>>> 'id': adgid,
>>> 'biddingStrategyConfiguration': {
>>> 'bids': [
>>> {
>>> 'Bids_Type': "CpcBid",
>>> 'bid': {
>>> 'ComparableValue_Type': "Money",
>>> 'microAmount': str(newbid)
>>> },
>>> 'cpcBidSource': "ADGROUP"}]
>>> }
>>> }
>>> }]
>>>
>>>
>>> ad_groups = adgroup_service.mutate(operations)
>>>
>>> # Display results.
>>> for ad_group in ad_groups['value']:
>>> logging.info ('Ad group with name \'%s\' and id \'%s\' was
>>> updated.'
>>> % (ad_group['name'], ad_group['id']))
>>>
>>>
>>> -----------
>>>
>>> now when i print the selector with the bid predicate, it seems like
>>> there is no reason he shouldn't find the bid type.
>>>
>>> [(AdGroup){
>>> id = ***********
>>> biddingStrategyConfiguration =
>>> (BiddingStrategyConfiguration){
>>> bids[] =
>>> (CpcBid){
>>> Bids.Type = "CpcBid"
>>> bid =
>>> (Money){
>>> ComparableValue.Type = "Money"
>>> microAmount = 310000
>>> }
>>> cpcBidSource = "ADGROUP"
>>> },
>>> }
>>> }]
>>>
>>> what could be the problem?
>>> i am able to modify bids on the criteria level but im trying to so in
>>> the adgroup level.
>>>
>>
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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/d/optout.