Re: tracking_url_template can't be removed
Thank you Peter for your answer . Based on the code I wrote you could you tell me exactly how to remove the tracking url template? Maybe a code example (template) to always use, then I adapt it to my code. Also which methods to use and which instances? On Tuesday, March 15, 2022 at 6:31:45 AM UTC+1 adsapi wrote: > Hi Cristiano, > > Thank you for your question. > > To set the said field to null, you may include the tracking URL template > in the field mask without specifying any value. Meaning, it shouldn't > appear in the request body, just in the field mask. Let us know how this > goes on your end. > > Best regards, > > [image: Google Logo] > Peter Laurence > Google Ads API Team > > > ref:_00D1U1174p._5004Q2Yl5RU: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 "Google Ads API and AdWords 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/d23541c1-4825-4c9c-ad01-39ce156c50d7n%40googlegroups.com.
tracking_url_template can't be removed
Hi all, I'm using Google Ads API with php lib, How can I remove the tracking_url_template from a campaign? I tried it passing this arguments to fieldMask: 1.) 'tracking_url_template' => "" 2.) 'tracking_url_template' => null but neither work. How i can do this? *this is my example code:* $resourceName = ResourceNames::forCampaign($client_customer_id, $camp->id_campaign); $campaign = new Campaign([ 'resource_name' => $resourceName, 'tracking_url_template' => "" ]); $campaignOperation = new CampaignOperation(); $campaignOperation->setRemove($campaign); $campaignOperation->setUpdateMask(FieldMasks::allSetFieldsOf($campaign)); $campaignServiceClient = $googleAdsClient->getCampaignServiceClient(); $response = $campaignServiceClient->mutateCampaigns( $client_customer_id, [$campaignOperation] ); -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "Google Ads API and AdWords 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/87b579c5-181b-4615-9966-d5d0de6cabe5n%40googlegroups.com.
Can't get invalid_click metrics. while using segments.device
Hi all, Why I can't use this query to retrieve the number of invalid clicks using also device, when I was using AdWords API this was possibile, why not now? This is my query: SELECT campaign.id, campaign.name, segments.date, metrics.cost_micros, metrics.invalid_clicks, metrics.conversions, metrics.impressions, metrics.interactions, metrics.clicks, segments.ad_network_type, segments.device, metrics.all_conversions FROM campaign WHERE segments.date DURING YESTERDAY -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "Google Ads API and AdWords 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/12a81d2c-dbd1-49c4-9075-89d66064efd0n%40googlegroups.com.
Smart campaign return "UNKNOWN"
I'm using version 55 of the google-ads-php library and when I try to use the campaignService object to fetch a user's campaigns it tells me that the AdvertisingChannelSubType and AdvertisingChannelType fields are both "UNKNOWN". I am sure the campaign is a smart campaign. Can anyone help me? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "Google Ads API and AdWords 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/906e694d-3f21-400d-9168-4b4480d31e24n%40googlegroups.com.