Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions examples/AdvancedOperations/AddPerformanceMaxCampaign.php
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ private static function createPerformanceMaxCampaignOperation(
'target_roas' => 3.5
]),

// [START add_pmax_asset_automation_settings]
'asset_automation_settings' => [
new AssetAutomationSetting([
'asset_automation_type' => AssetAutomationType::TEXT_ASSET_AUTOMATION,
Expand All @@ -335,6 +336,7 @@ private static function createPerformanceMaxCampaignOperation(
'asset_automation_status' => AssetAutomationStatus::OPTED_IN
])
],
// [END add_pmax_asset_automation_settings]


// Sets if the campaign is enabled for brand guidelines. For more information
Expand Down