Hello, I am working on update campaign adsgroup and adssearch ads. I have updated campaign name using UpdateCampaign API and it is working successfully.
Now my query is I have Campaign ID in page now how to get adsgroup ID on base of Campaign ID? Please see screenshow for more idea : https://prnt.sc/v8knne I have another query for ads create and update. namespace Google\AdsApi\Examples\AdWords\v201809\BasicOperations; In BasicOperations folder i get below list of examples. I have used "AddResponsiveSearchAd" example for ads create. Now i want to update those ads so which update ads example should use? https://prnt.sc/v8kofr For Ads Add two types available 1] AddResponsiveSearchAd ans 2] AddExpandedTextAds Is there any major different in between above ads. Can you please clear my queries and reply me as soon as possible. Thank you in advance On Tuesday, 20 October 2020 at 22:12:24 UTC+5:30 adsapiforumadvisor wrote: > Hi Nancy, > > Thanks for reaching out. Please refer to this code example > <https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201809/BasicOperations/UpdateCampaign.php> > > on how to update a campaign and this code example > <https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201809/BasicOperations/RemoveCampaign.php> > > for how to delete a campaign. For your second question, please try to move > the class AddCampains outside the function. Alternatively, you could call > the methods in the AddCampains class from your customized function. > > > > Thanks and regards, > Xiaoming, Google Ads API Team > > > > [image: Google Logo] > Xiaoming > Google Ads API Team > > > ref:_00D1U1174p._5004Q269mUS:ref > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/0d79c19f-2321-4f9a-b7e5-8a7d04d03fcfn%40googlegroups.com.
