AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

Ads
4.7K members online now
4.7K members online now
Dive into advanced features like Remarketing, Flexible Bid Strategies, AdWords Editor, and AdWords Scripts
Guide Me
star_border
Reply

How to create adgroup and it's keywords in one request

[ Edited ]
Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

From adwords php library examples, I understand that I have to  

  1. get campaigns using "CampaignService"
  2. then create an adgroup using "AdGroupService" using above adgroup id,
  3. create keywordsvia "AdGroupCriterionService" and
  4. finally create a text ad using "AdGroupAdService"

But above process require 4 requests. Is there a way to combine 2,3,4 and make a single request and get the final result?

1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by topic author Asanka L
September 2015

Re: How to create adgroup and it's keywords in one request

Collaborator ✭ ☆ ☆
# 2
Collaborator ✭ ☆ ☆
Hi
Unless you are adding KW to adgroup which is already present in your campaign you will need to make 2nd request before 3 and 4 although i believe you can make 3 and 4 at the same time
Regards
Nik
Regards, Nik
LinkedIn  |   @nikhilparachure | My Blog

View solution in original post

Marked as Best Answer.
Solution
Accepted by topic author Asanka L
September 2015

Re: How to create adgroup and it's keywords in one request

Collaborator ✭ ☆ ☆
# 2
Collaborator ✭ ☆ ☆
Hi
Unless you are adding KW to adgroup which is already present in your campaign you will need to make 2nd request before 3 and 4 although i believe you can make 3 and 4 at the same time
Regards
Nik
Regards, Nik
LinkedIn  |   @nikhilparachure | My Blog