LeadFormAssetParameters

  • To apply a lead form asset recommendation, you need to use the ad_asset_apply_parameters field, which is required and specifies the lead form assets to be added.

  • The set_submit_lead_form_asset_campaign_goal parameter, a boolean, determines if the "Submit Lead Form" goal is set on the campaign, which affects whether ads appear as lead form creative ads or contain lead form assets.

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.