Skip to content

Instantly share code, notes, and snippets.

@ojmccall
Created September 4, 2021 03:23
Show Gist options
  • Save ojmccall/0974499d920093bdaa322a811eb55982 to your computer and use it in GitHub Desktop.
Save ojmccall/0974499d920093bdaa322a811eb55982 to your computer and use it in GitHub Desktop.
GCP - SFMC Data Extension Builder 1
#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