Skip to content

Commit

Permalink
Send cta text value when creating Blaze campaign
Browse files Browse the repository at this point in the history
  • Loading branch information
JorgeMucientes committed Nov 8, 2024
1 parent ac54e4d commit 54ac46c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ data class BlazeCampaignCreationRequest(
val paymentMethodId: String,
val tagLine: String,
val description: String,
val ctaText: String,
val startDate: Date,
val endDate: Date,
val budget: BlazeCampaignCreationRequestBudget,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ class BlazeCreationRestClient @Inject constructor(
),
"site_name" to request.tagLine,
"text_snippet" to request.description,
"cta_text" to request.ctaText,
"target_url" to request.targetUrl,
"url_params" to request.urlParams.entries.joinToString(separator = "&") { "${it.key}=${it.value}" },
"main_image" to JsonObject().apply {
Expand Down

0 comments on commit 54ac46c

Please sign in to comment.