|
||||||
|
||||||
let reportDateFormatted = "2021-12-04" var query = "SELECT campaign.id, campaign.name, metrics.impressions, metrics.clicks, metrics.cost_micros, metrics.conversions, customer.currency_code, campaign.status, campaign.serving_status, metrics.ctr, metrics.average_cpc, " + "campaign.campaign_budget, bidding_strategy.type, campaign.advertising_channel_type, campaign.labels, metrics.all_conversions_from_interactions_rate, campaign.start_date FROM campaign " + "WHERE campaign.advertising_channel_type = PERFORMANCE_MAX " + `AND segments.date BETWEEN '${reportDateFormatted}' AND '${reportDateFormatted}' ` + "AND campaign.id = 14803357171"; console.log(query); var result = AdsApp.search(query); while (result.hasNext()) { var row = result.next(); console.log(JSON.stringify(row)); }Thanks,
|
|
--
-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to a topic in the Google Groups "Google Ads Scripts Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-scripts/p2f4V68lqD8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-scrip...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-scripts/wxYPW000000000000000000000000000000000000000000000R3UCF200dbpeetqbSMyGOkRzx5qg9g%40sfdc.net.
--
-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to a topic in the Google Groups "Google Ads Scripts Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-scripts/p2f4V68lqD8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-scrip...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-scripts/aF9Lj000000000000000000000000000000000000000000000R3VTA400fAGY0v1bQpKdDKAJnFXARw%40sfdc.net.
--
-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to a topic in the Google Groups "Google Ads Scripts Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-scripts/p2f4V68lqD8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-scrip...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-scripts/DNR8E000000000000000000000000000000000000000000000R3W6UN00BBNOpPnaSVKoGg8GBVtBKA%40sfdc.net.
--
-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to a topic in the Google Groups "Google Ads Scripts Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-scripts/p2f4V68lqD8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-scrip...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-scripts/BvTxh000000000000000000000000000000000000000000000R43HKY008U0FATX5RWK6v1YUvMaQZA%40sfdc.net.
|
||||||
|
||||||
Hello Matt,
I’m James, a colleague of Harry. Thank you for your patience.
Currently, we haven’t received any updates from the team and there’s no ETA yet regarding the fix of this issue as our team is continuously investigating the root cause of the issue. Having said that, rest assured that we will get back to you once we receive significant feedback from the rest of the team.
Regards,
|
||||||
Hello Giel,
Thank you for chiming in on this thread.
Kindly provide the following details below so that I can take a look closer at the issue you are encountering and raise it to our internal team also if necessary.
You may send the requested information via ‘Reply privately to author’ option. If the private option is not available on your end, then please send it over through this alias <googleadsscr...@google.com> instead.
Regards,
|
||||||
Hello Giel,
Thank you for your patience. I regret to inform you that there are no updates yet from the team as we are continuously investigating the root of the issue. However, I will follow up this to them and rest assured that we will get back to you with an update.
|
||||||
Hello Everyone,
Thanks for sharing your observations regarding the Performance Max campaigns.
It's good to know that you can now retrieve those campaigns on your respective scripts.
For any script-relate concerns, do let our team know and we'll be happy to further assist you.
Regards,
|
||||||
|
||||||
Hello Blaise,
Thank you for reporting this back to us.
I believe the issue is still being investigated and is currently in progress to resolved any relevant misbehaviors. We will update you on this thread once the full fixed has been released.
Regards,
|
||||||
|
||||||
Hello Wesley,
I hope you're doing well. I am Maia from the Google Ads Scripts team.
I just want to circle back in regards to the Performance Max campaign issue and let you know that the issue reported here has been fixed. If you have further questions, let us know and rest assured that we will address them as soon as possible.
Best Regards,
|
||||||
function main() { var nrOfCampaigns = 0; var query = "SELECT " + "campaign.name, campaign.advertising_channel_type, metrics.clicks " + "FROM campaign "+ "WHERE campaign.status = ENABLED AND campaign.advertising_channel_type = PERFORMANCE_MAX AND segments.date DURING THIS_MONTH"; try { var result = AdsApp.search(query); while (result.hasNext()) { var row = result.next(); Logger.log("CampaignName: '"+row.campaign.name+"' , Clicks: "+row.metrics.clicks); nrOfCampaigns++; } } catch (e) { Logger.log("### ERROR: "+e); } Logger.log("\nNumber of enabled PMax campaigns: "+nrOfCampaigns); }
|
||||||
Hello,
James here, a colleague of Teejay. Allow me to assist you further.
I’m afraid that there are no options yet to update the custom parameters of those PMAX campaigns via Google Ads scripts. I said this because there is no specific selector that supports PMAX campaigns in Ads scripts aside from Ads script reporting along with GAQL. However, I believe that you can only set up the custom parameters of those type of campaigns in the Google Ads UI by following this guide. If you have any questions with the said guide, you may contact the Google Ads product support team through this link instead.
Hoping for your understanding. Let me know if you have any questions.
Regards,
|
||||||
Hi,
Thanks for your response. If you have further questions / concerns for our team, please feel free to get back to us. We will be happy to address it.
Regards,
|
||||||
--
-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to the Google Groups "Google Ads Scripts Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-scrip...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-scripts/4ceb1e35-0022-48aa-8b02-e2ef01467571n%40googlegroups.com.
Hello Kai,
Thank you for chiming in. I’m James from the Google Ads scripts support team. Allow me to assist you with your concern.
Based on the given context it appears that your shopping campaigns have been automatically upgraded to PMAX. That being said, to retrieve those performance max campaigns, you may use campaign resource in your query and filter it using campaign.advertising_channel_type, you may refer here for sample query.
Since I observed that you’re still using AWQL query in your reporting, I strongly recommend that you convert it to GAQL using this query migration tool and this resource mapping document as PMAX campaigns are mainly supported in GAQL.
Hope this helps. Let me know if you have any.
Regards,
|
||||||
Hello Parv,
Thank you for chiming in on this thread. Allow me to assist you further.
I believe that you may include the campaign.final_url_suffix field in the SELECT clause of your GAQL query to retrieve the final url associated in each campaign in your account.
Let me know if that’s what you are looking for.
Regards,
Hello,
Thank you for your response. For us to further investigate this issue, can you please provide us with the following information below via `Reply privately to author` option.
If the said option is not available on your end, you may send those through this email alias <googleadsscr...@google.com> instead.
Regards,
Hello Wesley,
Thank you for getting back to us.
Given that the performance max campaigns selector is now available in Google Ads scripts and it utilizes the urls method, I believe that you can now update the custom parameters of your PMAX campaigns. You can achieve this by implementing AdsApp.PerformanceMaxCampaign along with urls method which gives you access to the performance max campaign's URL fields in your account. After that, you may now use the following methods below: