MicrosoftDocs / Advertising-docs

Creative Commons Attribution 4.0 International
15 stars 59 forks source link

Calling GoogleApis results in error #802

Closed luukfiets closed 4 years ago

luukfiets commented 4 years ago

Calling GoogleApis gives back an ReferenceError: 'GoogleApis' is not defined. It's true, but I don't see where and how it should be defined.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

swhite-msft commented 4 years ago

Hello. Sorry for the late reply. GoogleApis is defined further down in the script. Look for this section:

var GoogleApis; (function (GoogleApis) {

// A bunch of function for calling Google services...

})(GoogleApis || (GoogleApis = {}));

Hope this helps.