Hi, is there any way to modify an expanded_text_ad Ad in an adGroup by
script?
something like this:
function main() {
var adGroupIterator = AdWordsApp.adGroups().withCondition('Name =
"AD_GROUP_NAME"').get();
if (adGroupIterator.hasNext()) {
var adGroup = adGroupIterator.next();
var adsIterator = adGroup.ads().withCondition('Id=345435345').get();
var ad = adsIterator.next().asType().expandedTextAd();
ad.setHeadlinePart2(' A NEW HEADLINE HERE '); // THIS IS WHAT IAM
ASKING FOR..
}
}
Thanks
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/f8a7bd5a-83bf-4bed-abb1-2a8656063887%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.