Struct mailchimp_api::reporting::Reporting
source · pub struct Reporting {
pub client: Client,
}
Fields
client: Client
Implementations
sourceimpl Reporting
impl Reporting
sourcepub async fn get_facebook_ads(
&self,
fields: &[String],
exclude_fields: &[String],
count: i64,
offset: i64,
sort_field: GetAllFacebookAdsSortField,
sort_dir: SortDir
) -> Result<GetReportingFacebookAdsResponse>
pub async fn get_facebook_ads(
&self,
fields: &[String],
exclude_fields: &[String],
count: i64,
offset: i64,
sort_field: GetAllFacebookAdsSortField,
sort_dir: SortDir
) -> Result<GetReportingFacebookAdsResponse>
List facebook ads reports.
This function performs a GET
to the /reporting/facebook-ads
endpoint.
Get reports of Facebook ads.
Parameters:
fields: &[String]
– A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.exclude_fields: &[String]
– A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.count: i64
– The number of records to return. Default value is 10. Maximum value is 1000.offset: i64
– Used for pagination, this it the number of records from a collection to skip. Default value is 0.sort_field: crate::types::GetAllFacebookAdsSortField
– Returns files sorted by the specified field.sort_dir: crate::types::SortDir
– Determines the order direction for sorted results.
sourcepub async fn get_facebook_ad(
&self,
fields: &[String],
outreach_id: &str,
exclude_fields: &[String]
) -> Result<GetReportingFacebookAdsResponseAllOf>
pub async fn get_facebook_ad(
&self,
fields: &[String],
outreach_id: &str,
exclude_fields: &[String]
) -> Result<GetReportingFacebookAdsResponseAllOf>
Get facebook ad report.
This function performs a GET
to the /reporting/facebook-ads/{outreach_id}
endpoint.
Get report of a Facebook ad.
Parameters:
fields: &[String]
– A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.outreach_id: &str
– The name of the folder.exclude_fields: &[String]
– A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
sourcepub async fn get_facebook_ads_ecommerce_product_activity(
&self,
fields: &[String],
exclude_fields: &[String],
count: i64,
offset: i64,
outreach_id: &str,
sort_field: GetReportsEcommerceProductActivitySortField
) -> Result<GetReportsEcommerceProductActivityResponse>
pub async fn get_facebook_ads_ecommerce_product_activity(
&self,
fields: &[String],
exclude_fields: &[String],
count: i64,
offset: i64,
outreach_id: &str,
sort_field: GetReportsEcommerceProductActivitySortField
) -> Result<GetReportsEcommerceProductActivityResponse>
List facebook ecommerce report.
This function performs a GET
to the /reporting/facebook-ads/{outreach_id}/ecommerce-product-activity
endpoint.
Get breakdown of product activity for an outreach.
Parameters:
fields: &[String]
– A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.exclude_fields: &[String]
– A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.count: i64
– The number of records to return. Default value is 10. Maximum value is 1000.offset: i64
– Used for pagination, this it the number of records from a collection to skip. Default value is 0.outreach_id: &str
– The name of the folder.sort_field: crate::types::GetReportsEcommerceProductActivitySortField
– Returns files sorted by the specified field.
sourcepub async fn get_landing_page(
&self,
fields: &[String],
outreach_id: &str,
exclude_fields: &[String]
) -> Result<LandingPages>
pub async fn get_landing_page(
&self,
fields: &[String],
outreach_id: &str,
exclude_fields: &[String]
) -> Result<LandingPages>
Get landing page report.
This function performs a GET
to the /reporting/landing-pages/{outreach_id}
endpoint.
Get report of a landing page.
Parameters:
fields: &[String]
– A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.outreach_id: &str
– The name of the folder.exclude_fields: &[String]
– A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
sourcepub async fn get_landing_pages(
&self,
fields: &[String],
exclude_fields: &[String],
count: i64,
offset: i64
) -> Result<GetReportingLandingPagesResponse>
pub async fn get_landing_pages(
&self,
fields: &[String],
exclude_fields: &[String],
count: i64,
offset: i64
) -> Result<GetReportingLandingPagesResponse>
List landing pages reports.
This function performs a GET
to the /reporting/landing-pages
endpoint.
Get reports of landing pages.
Parameters:
fields: &[String]
– A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.exclude_fields: &[String]
– A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.count: i64
– The number of records to return. Default value is 10. Maximum value is 1000.offset: i64
– Used for pagination, this it the number of records from a collection to skip. Default value is 0.