Python How to set up campaign bid adjustment

38 views
Skip to first unread message

Kieran Eddy

unread,
Mar 10, 2022, 12:58:52 AM3/10/22
to Google Ads API and AdWords API Forum
#bid modifier
# campaign_operation=client.get_type(
# "CampaignOperation"
# )
# campaign_criterion= campaign_criterion_operation_bid.create
# campaign_criterion_operation_bid=client.get_type(
# "CampaignCriterionOperation"
# )
# campaign_criterion= campaign_criterion_operation_bid.create

# campaign_criterion.bid_modifier=0.0
# # campaign_criterion.campaign = campaign_resource_name

# campaign_criterion_operations.append(campaign_criterion_operation_bid)
#修改设备类型
# campaign_criterion_operation_type=client.get_type(
# "CampaignCriterionOperation"
# )
# campaign_criterion= campaign_criterion_operation_type.create
# # campaign_criterion.type=client.enums.TypeEnum.MOBILE_DEVICE
# # campaign_criterion.status=client.enums.CampaignCriterionStatus.ENABLED
# campaign_criterion.campaign = campaign_resource_name
# campaign_criterion_operations.append(campaign_criterion_operation_type)
Why would an error be reported for such a modification? How should I modify it?

Google Ads API Forum Advisor

unread,
Mar 10, 2022, 2:34:49 AM3/10/22
to 05292...@gmail.com, adwor...@googlegroups.com
Hi Kieran,

Thank you for reaching out.

Could you provide more details on the error that you encountered? You may provide to our team the complete request and response logs, and the request-id, generated when the error occurred.

If you haven't yet, logging can be enabled by referring to this guide for Python.

You may then send the requested information via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

Best regards,

Google Logo
Peter Laurence
Google Ads API Team
 


ref:_00D1U1174p._5004Q2XnBkI:ref
Reply all
Reply to author
Forward
0 new messages