Marketing Cloud ID override - adobe

I'm using the Adobe Marketing Cloud ID Service (MCID) on an Adobe Analytics deployment.
Now I need to overwrite the native ID with a custom one and I'm thinking to exploit the s.visitorID variable.
As stated here: Visitors identification hierarchy , s.visitorID would be considered primarily to the default MID identification, but my question is:
Would the s.visitorID value used exactly like the default MID within the Marketing Cloud Suite (spread across solutions)?

I'm not sure if there is currently an offical way to override the MID.
Something to try though -
If you are using a first-party data collection server (the s_vi cookie is on a domain you own and writable from the app) you could try putting the MID value from the app directly into the s_vi cookie before MC code on the page runs (potentially in webview cookie store?)
MCID Service would then use that cookie value as a 'migrated' visitor ID during an MCID migration period.

Related

Store and alter single variable on vercel serverless functions

For a client I am building a static website rendered with nextjs and deployed on vercel. Everything on this website is static, so I don't need any database. However, this client wants to use the instagram API to show a gallery of their photos on two of their pages. This is with a custom design, so I can't use any embed code, but to the best of my knowledge I have to use the Instagram basic display API
To the problem at hand: I was wondering if there is some way to store a single variable without creating a whole database for it in vercel. I know I can use Environment Variables, but the problem is that the instagram api needs to change the access token every 2 months. To renew the access token for instagram, I was planning to write a CRON job that runs about every month to update this value.
I was wondering if it is possible to somehow store this single value on the deployed site without creating a database just for this single value. For example, is it somehow possible to change an environment variable from within a serverless function?
Any help in the right direction is appreciated!
Thanks
You go to Vercel: settings-> environment variables -> add your variable. In this variable you can store your Instagram API variable and in the code you use process.env.{variable}
Example:
you defined name of variable as instagramAPI in your local files (next.config.js or .env.local)
module.exports = {
env:{
instagramAPI : 'https://instagramapiexample.com'
},
}
you define instagramAPI (exactly the same name of the variable as in the code) on your vercel settings
In your code (local files) you call process.env.instagramAPI variable to have the value of the string.
Your code works as expected.
!IMPORTANT! if you have some secrets or passwords in your process.env.variables you newer saves it in next.config.js. For this purpose you saves your instagramAPI to .env.local (described in point 1). More info here

Kusto.Explorer - Authentication Trouble

I'm having trouble adding a connection in the Kusto.Explorer desktop app 1.0.3.949. I can login via Web UI but in the desktop app it gives me this error:
This normally represents a permanent error, and retrying is unlikely to help.
Please provide the following information when contacting the Kusto team # https://aka.ms/kustosupport :
DataSource='https://m1explorer.westus.kusto.windows.net/v1/rest/mgmt',
DatabaseName='NetDefaultDB',
ClientRequestId='KD2RunCommand;5723fa83-9dd5-48fe-a1ee-5d4ddb7f9cd9',
ActivityId='74b41f5e-be7c-46be-88f5-dae1a6d35c30,
Timestamp='2020-08-02T18:48:13.6846740Z'.
In other applications such as the Kuskus VSCode extension or even the Web UI, the problem seems to be that it uses the "common" tenant/authority id as a default. Is there a way to specify the tenant id when adding the connection? It says you can import an .xml file but I'm not sure where or how this can be generated.
Thanks,
Steven
Please try approach described at:
https://learn.microsoft.com/en-us/azure/data-explorer/kusto/tools/kusto-explorer#control-the-user-identity-connecting-to-kustoexplorer
The default security model for new connections is AAD-Federated
security. Authentication is done through the Azure Active Directory
using the default AAD user experience.
If you need finer control over the authentication parameters, you can
expand the "Advanced: Connection Strings" edit box and provide a valid
Kusto connection string value.
For example, users with a presence in multiple AAD tenants sometimes
need to use a particular "projection" of their identities to a
specific AAD tenant. Do this by providing a connection string, such as
the one below (replace words IN CAPITALS with specific values):
Data Source=https://CLUSTER_NAME.kusto.windows.net;Initial Catalog=DATABASE_NAME;AAD Federated Security=True;Authority Id=AAD_TENANT_OF_CLUSTER;User=USER_DOMAIN

What is difference between meetingTypes and supportedServices in webex system

Request URL -
I tried to get user details from rest API and in that response, i say supportedServices and meetingTypes as below
<use:meetingTypes>
<use:meetingType>220</use:meetingType>
<use:meetingType>564</use:meetingType>
</use:meetingTypes>
<use:supportedServices>
<use:meetingCenter>true</use:meetingCenter>
<use:trainingCenter>true</use:trainingCenter>
<use:supportCenter>true</use:supportCenter>
<use:eventCenter>true</use:eventCenter>
<use:salesCenter>false</use:salesCenter>
</use:supportedServices>
what is a difference between these two on webex manages system
meetingTypes control access to specific meetingTypes. You may have multiple meeting types with different features enabled/disabled. For example, you may not want a certain user to have access to Network Based Recording, so you can explicitly enable or disable a custom session type for the user without NBR enabled.
supportedServices simply controls access to an entire service, such as Meeting Center. You can set any of these to 'false' to disallow a host access to a specific service.

PayFlowPro: 57 Terminal is not programmed for this service

In paypalfunctions.asp, I set Env = "pilot" to test some code changes.
Got this error on an authorize "57 Terminal is not programmed for this service".
My live account has been up and running for years. I'm recoding to work with "paypalfunctions.asp" instead of the old .NET .dll.
Do I need to request or enable the Sandbox with Paypal somewhere?
Most of the demos I've seen to get the sandbox talk about registration as a new customer; but I'm an existing customer.
This Paypal Page says:
**API Endpoint**: When testing, you must submit all API requests, including CREATESECURETOKEN calls, to the endpoint https://pilot-payflowpro.paypal.com.
That's the URL that gets used when the variable ENV is set to "PILOT".
I ran into this issue and according to this site
This error means that your merchant services account does not accept the credit card type that was entered by your customer.
So I believe it could be a matter of trying to submit (for example) an American Express or Discover card while your account is not set up to accept those card types.

REQUEST_DENIED when using Google Maps AutoComplete

I am unable to use Google Maps AutoComplete. I have read all the articles about this problem, and I still get REQUEST_DENIED:
The following services are turned ON:
Google Maps API v3
Places API
Prediction API
Simple API Access:
API key: **
Referers: Any referer allowed
Activated on: (A few days ago)
Activated by: ** – you
I have even activated my credit card (don't know if that makes a difference for traffic under the quota):
The following happens (tested both from a browser and command line cURL):
https://maps.googleapis.com/maps/api/place/autocomplete/json?input=New&types=(cities)&key=$apikey
{
"predictions" : [],
"status" : "REQUEST_DENIED"
}
How do I make this work?
From the documentation
Required parameters
input — The text string on which to search. The Place service will return candidate matches based on this string and order results based on their perceived relevance.
sensor — Indicates whether or not the Place request came from a device using a location sensor (e.g. a GPS) to determine the location sent in this request. This value must be either true or false.
key — Your application's API key. This key identifies your application for purposes of quota management. Visit the APIs Console to select an API Project and obtain your key. Maps API for Business customers must use the API project created for them as part of their Places for Business purchase.
I don't see "sensor" in your example request.

Resources