PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of gglAdWNetworkTargeting variables
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
gglAdWNetworkTargeting (Type of variable)
In French: gglAdWCiblageRéseau (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 gglAdWNetworkTargeting type is used to describe the network targeting of an AdWords campaign. The characteristics of this type can be defined and modified by several WLanguage properties.
This type of variable is used by:
Note: See Declaring a variable for more details.
Example
// Connection to Google
Cnt is gglAdWConnection
Cnt..Email = "vince@gmail.com"
Cnt..Password = "azerty"
Cnt..UserAgent = "MyApp-01"
Cnt..DeveloperToken = "ABcdeFGH93KL-NOPQ_STUv"
Cnt..ApplicationToken = "ZYXwvu-TSR123_456ABCDE"
Cnt..SandboxMode = True
Cnt..ClientEmail = "Client_1+vince@gmail.com"

// Retrieve the account information
AccountInfo is gglAdWAccountInfo
AccountInfo = GglAdWGetAccountInfo(Cnt)

// Modify the default network targeting
AccountInfo..DefaultNetworkTargeting..Type = "GoogleSearch" + CR + "ContentNetwork"

// Apply the changes to the server
GglWrite(Cnt, AccountInfo)
Remarks

Properties specific to the description of gglAdWNetworkTargeting variables

The following properties can be used to handle the network targeting of an AdWords campaign:
Name Type used Effect
TypeCharacter stringContains the types of targeted networks separated by CR characters (Carriage Return). The available types of networks are as follows:
  • "GoogleSearch": Google search network. The ads may be displayed beside the search results on Google.
  • "SearchNetwork": Search network taking into account the search partners. The search network allows you to publish your ads according to several methods: in association with the search results, on a result page that can be accessed by the Web user via the directory of a site and on any other relevant search page. The global search network includes search sites such as AOL.
  • "ContentNetwork": Content network. Your ad will be published on sites whose content is linked to your ad.
Note: These properties can be handled by using one of the following syntaxes:
  • <Variable Name>..<Property Name>
  • <Variable Name>.<Property Name>
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment