Skip to content

Commit 51f601c

Browse files
authored
Update add campaigns example to remove ecpc setting (#902)
1 parent 6c205c4 commit 51f601c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/basic_operations/add_campaigns.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def main(client, customer_id):
7070
campaign.status = client.enums.CampaignStatusEnum.PAUSED
7171

7272
# Set the bidding strategy and budget.
73-
campaign.manual_cpc.enhanced_cpc_enabled = True
73+
campaign.manual_cpc = client.get_type("ManualCpc")
7474
campaign.campaign_budget = campaign_budget_response.results[0].resource_name
7575

7676
# Set the campaign network options.

0 commit comments

Comments
 (0)