AdWordsApp.​Language

Represents an AdWords language target.

Methods:

MemberTypeDescription
getCampaign AdWordsApp.Campaign Returns the campaign to which this language belongs.
getCampaignType String Returns the campaign type.
getEntityType String Returns the type of this entity as a String, in this case, "Language".
getId long Returns the ID of the language.
getName String Returns the language name, e.g., "English", "German".
getVideoCampaign AdWordsApp.VideoCampaign Returns the video campaign to which this language belongs.
remove void Removes the language.

getCampaign()

Returns the campaign to which this language belongs.

Return values:

TypeDescription
AdWordsApp.Campaign The campaign to which this language belongs.

getCampaignType()

Returns the campaign type. Possible return values:

SEARCH_OR_DISPLAY, VIDEO, SHOPPING

Return values:

TypeDescription
String Video campaign type.

getEntityType()

Returns the type of this entity as a String, in this case, "Language".

Return values:

TypeDescription
String Type of this entity: "Language".

getId()

Returns the ID of the language.

Return values:

TypeDescription
long The ID of the language.

getName()

Returns the language name, e.g., "English", "German".

Return values:

TypeDescription
String Name of the language.

getVideoCampaign()

Returns the video campaign to which this language belongs.

Return values:

TypeDescription
AdWordsApp.VideoCampaign The video campaign to which this language belongs.

remove()

Removes the language.

Returns nothing.

Enviar comentários sobre…

Precisa de ajuda? Acesse nossa página de suporte.