Created
September 4, 2021 03:23
-
-
Save ojmccall/0974499d920093bdaa322a811eb55982 to your computer and use it in GitHub Desktop.
GCP - SFMC Data Extension Builder 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Additional imports for building a DE in addition to just rows | |
import base64 | |
import pandas as pd | |
import xml.etree.ElementTree as ET | |
#Set Values for DE structure | |
SOAPEndpoint = "https://"+baseURL+".soap.marketingcloudapis.com/Service.asmx" | |
#get DE Name & DE Folder ID | |
DEName = split[0] | |
if len(split)>1: | |
FolderID = split[1] | |
else: | |
FolderID = "" | |
if len(FolderID) >0: | |
Folder = """<CategoryID>""" + FolderID + """</CategoryID> """ | |
else: | |
Folder = "" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment