Skip to content

Commit

Permalink
merge main
Browse files Browse the repository at this point in the history
  • Loading branch information
mhuang74 committed Nov 21, 2024
2 parents 245aed2 + 9d2e6ec commit e691599
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "mcc-gaql"
description = "Execute GAQL across MCC child accounts."
version = "0.8.2"
version = "0.9.1"
authors = ["Michael S. Huang <[email protected]>"]
edition = "2021"

Expand All @@ -17,8 +17,8 @@ dirs = "4.0"
figment = { version = "0.10", features = ["toml", "env"] }
flexi_logger = { version = "0.22", features = ["compress"] }
futures = { version = "0.3", default-features = false, features = ["alloc"] }
googleads-rs = { version = "0.8" }
#googleads-rs = { version = "0.8", path = "../googleads-rs" }
googleads-rs = { version = "0.9.0" }
#googleads-rs = { version = "0.9.0", path = "../googleads-rs" }
itertools = "0.10"
log = "0.4"
polars = "0.42"
Expand Down
8 changes: 4 additions & 4 deletions src/googleads.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ use yup_oauth2::{
AccessToken, ApplicationSecret, InstalledFlowAuthenticator, InstalledFlowReturnMethod,
};

use googleads_rs::google::ads::googleads::v17::services::google_ads_field_service_client::GoogleAdsFieldServiceClient;
use googleads_rs::google::ads::googleads::v17::services::google_ads_service_client::GoogleAdsServiceClient;
use googleads_rs::google::ads::googleads::v17::resources::GoogleAdsField;
use googleads_rs::google::ads::googleads::v17::services::{
use googleads_rs::google::ads::googleads::v18::services::google_ads_field_service_client::GoogleAdsFieldServiceClient;
use googleads_rs::google::ads::googleads::v18::services::google_ads_service_client::GoogleAdsServiceClient;
use googleads_rs::google::ads::googleads::v18::resources::GoogleAdsField;
use googleads_rs::google::ads::googleads::v18::services::{
GoogleAdsRow, SearchGoogleAdsFieldsRequest, SearchGoogleAdsFieldsResponse,
SearchGoogleAdsStreamRequest, SearchGoogleAdsStreamResponse,
};
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use anyhow::{Context, Result};
use futures::{stream::FuturesUnordered, StreamExt};

use googleads::GoogleAdsAPIAccess;
use googleads_rs::google::ads::googleads::v17::services::google_ads_service_client::GoogleAdsServiceClient;
use googleads_rs::google::ads::googleads::v18::services::google_ads_service_client::GoogleAdsServiceClient;
use polars::prelude::*;
use thousands::Separable;
use tonic::{codegen::InterceptedService, transport::Channel};
Expand Down
2 changes: 1 addition & 1 deletion src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ where

let lines = BufReader::new(&file).lines();

for line in lines.flatten() {
for line in lines.map_while(Result::ok) {
customer_ids.push(line);
}

Expand Down

0 comments on commit e691599

Please sign in to comment.