LeadFormAssetParameters

  • When applying a lead form asset recommendation, specify the required ad_asset_apply_parameters and whether to set the "Submit Lead Form" campaign goal using set_submit_lead_form_asset_campaign_goal.

  • ad_asset_apply_parameters is a required field used to add lead form assets.

  • set_submit_lead_form_asset_campaign_goal is a boolean field that determines if the "Submit Lead Form" goal is set on the campaign, influencing how ads with lead form assets are shown.

Parameters to use when applying a lead form asset recommendation.

Fields

ad_asset_apply_parameters

AdAssetApplyParameters

Required. Lead form assets to be added. This is a required field.

set_submit_lead_form_asset_campaign_goal

bool

If true, the "Submit Lead Form" goal will be set on the target campaign. As a result, ads will be shown as lead form creative ads. If false, the "Submit Lead Form" goal will not be set on the campaign and ads will contain lead form assets.