Hi Wilfried,

If you successfully downloaded and installed the Python client library, you 
should be able to see the operation as it is possible to adjust bid through 
the API. This being said, the possible issue here is specific to the Python 
client library rather than the AdWords API. I would suggest to post your 
issue here <https://github.com/googleads/googleads-python-lib/issues> as 
the client library owners are better equipped to assist you.

Thanks and regards,
Luis
AdWords API Team

On Thursday, August 30, 2018 at 5:23:05 AM UTC+8, wtemmerman wrote:
>
> Hi,
>
> I tried to create a call bid adjustment with the API. So after reading the 
> Adwords API and analyze data return by Adwords API.
> The problem is : 
>
> I create my add operation but the CampaignBidModifierService 
> <https://developers.google.com/adwords/api/docs/reference/v201802/CampaignBidModifierService>
>  doesn't 
> have his CampaignBidModifierOperation present in _OPERATION_MAP (line 641) 
> of googleads/adwords.py 
> <https://github.com/googleads/googleads-python-lib/blob/master/googleads/adwords.py>
> . 
>
> So that raise a KeyError.
>
>
> Stack error : 
>
>> ~/projects/tool/lib/python3.5/site-packages/googleads/adwords.py in 
>> _GenerateRawRequestXML(self, operations)
>
>     891         KeyError: If the given operation type is not supported.
>
>     892       """
>
> --> 893       operation = self._OPERATION_MAP[operations[0]['xsi_type']]
>
>     894       service = self.client.GetService(operation.service, 
>> self._version)
>
>     895       return service.GetRequestXML(operation.method, operations)
>
>
>> KeyError: 'CampaignBidModifierOperation'
>
>
> Do you have an idea why this operation is not present in _OPERATION_MAP ?
> And is it possible to create a call bid adjustement with API ? (it's 
> possible by Google Ads website)
>
> Regards,
>
> Wilfried
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3a5001b7-aacc-41ab-a1b2-76a04c6565b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... wtemmerman
    • ... 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
      • ... wtemmerman
        • ... wtemmerman
          • ... wtemmerman
            • ... 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
              • ... wtemmerman

Reply via email to