PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of gglAdWConnection variables
  • Functions that use the gglAdWConnection type
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
gglAdWConnection (Type of variable)
In French: gglAdWConnexion (Type de variable)
Warning
From version 17, this feature is not available anymore. To use Google AdWords, see the corresponding Google API: https://developers.google.com/adwords/api/docs/guides/start
The gglAdWConnection type is used to describe the data required to communicate with the Google AdWords service. The characteristics of this connection can be defined and modified by several WLanguage properties.
Note: Two types of Google AdWords accounts are available:
  • the "simple" Google AdWords accounts. A Google AdWords account is associated with a company.
  • the "multi-account" accounts used to manage several "simple" accounts.
Note: See Declaring a variable for more details.
Example
// Connection to Google in "Sandbox" mode
Cnt is gglAdWConnection
Cnt..Email = "vince@gmail.com"
Cnt..Password = "azerty"
Cnt..UserAgent = "MyApp-01"
Cnt..SandboxMode = True
Cnt..ClientEmail = "Client_1+vince@gmail.com"
Remarks

Properties specific to the description of gglAdWConnection variables

The following properties can be used to handle a connection to the Google AdWords service:
Name Type used Effect
UserAgentCharacter stringIdentifier of the client that sends the request. This identifier corresponds to an arbitrary string.
This information is mandatory.
EmailCharacter stringGoogle email address of AdWords account.
This information is mandatory.
ClientEmailCharacter stringGoogle email address identifying a client of a multi-account center.
In "Sandbox"; mode (for a simple account or for a multi-account account), this email address has the following format:
"Client_n+Email address of AdWords account".
CustomerIDCharacter stringUnique identifier of a client of a multi-account center.
This property can be used instead of ClientEmail. This identifier is given when creating the multi-account center.
ApplicationTokenCharacter stringUsed to authenticate the application toward the Google AdWords services.
DeveloperTokenCharacter stringUsed to authenticate the developer.
SandboxModeBooleanAllows you to use the Google AdWords service in "sandbox" mode to run tests. ApplicationToken and DeveloperToken are not required if this property is set to True.
PasswordCharacter stringPassword associated with the AdWords account.
This information is mandatory.
Note: These properties can be handled by using one of the following syntaxes:
  • <Variable Name>..<Property Name>
  • <Variable Name>.<Property Name>

Functions that use the gglAdWConnection type

The gglAdWConnection type is used in all the WLanguage functions for handling the AdWords elements.
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment