Hi, pause-ad is for a generic Ad, description, description1 belongs to DynamicSearchAds, how can i change these two fields?
thanks! Il giorno martedì 3 marzo 2020 23:07:50 UTC+1, adsapiforumadvisor ha scritto: > > Hi Roberto, > > Thank you for reaching out. If you're using AdWords API, you can update > the start date and end date by using the CampaignService > <https://developers.google.com/adwords/api/docs/reference/v201809/CampaignService> > > SET operation and assign the Campaign > <https://developers.google.com/adwords/api/docs/reference/v201809/CampaignService.Campaign> > > startDate > <https://developers.google.com/adwords/api/docs/reference/v201809/CampaignService.Campaign#startdate> > > and endDate > <https://developers.google.com/adwords/api/docs/reference/v201809/CampaignService.Campaign#enddate>. > > You can follow this example > <https://developers.google.com/adwords/api/docs/samples/java/basic-operations#update-a-campaign>. > > To update the Ad, you can use the AdGroupAdService > <https://developers.google.com/adwords/api/docs/reference/v201809/AdGroupAdService> > > SET operation and set the description1 > <https://developers.google.com/adwords/api/docs/reference/v201809/AdService.DynamicSearchAd#description1_1> > > and description2 > <https://developers.google.com/adwords/api/docs/reference/v201809/AdService.DynamicSearchAd#description2_1>. > > You can follow this example > <https://developers.google.com/adwords/api/docs/samples/java/basic-operations#pause-an-ad> > . > > If you're using Google Ads API, you will follow a similar format but with > the CampaignService > <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v3.services#campaignservice> > > and AdGroupAdService > <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v3.services#adgroupadservice>. > > You can follow this example > <https://developers.google.com/google-ads/api/docs/samples/update-keyword#java> > > to update the campaign and this example > <https://developers.google.com/google-ads/api/docs/samples/pause-ad> to > update the ad. > > Regards, > Mitchell > Google Ads API Team > > ref:_00D1U1174p._5001UXTvSx: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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/73e80e86-fb3d-4cb0-9bec-6944922b45ff%40googlegroups.com.