Get refresh token
Hi, I'm currently doing migration of AdWords api to GoogleAds api. Using the library below, I'm able to refresh the token with a single method. *import com.google.api.client.googleapis.auth.oauth2.GoogleCredential;* // Create object GoogleCredential.Builder credentialBuilder = new GoogleCredential.Builder().setJsonFactory(JSON_FACTORY).setTransport(HTTP_TRANSPORT).setClientSecrets("CLIENT_ID", "CLIENT_sECRET"); // Refresh token using the method credential.refreshToken() // Obtain Access Token and refresh token credential.getAccessToken() credential.getRefreshToken() How can I implement the above code using the library below. import com.google.api.client.auth.oauth2.Credential; import com.google.api.ads.common.lib.auth.GoogleClientSecretsBuilder; Thanks, Jessie -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/3fe6ed4d-ad11-4e10-8d17-30fc977234f5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
PROHIBITED SEGMENT WITH METRIC
Hi, Using Google Ads api, I was trying to query a table group_placement_view to build a report, but the problem is I'm getting the error message below. errors { error_code { query_error: PROHIBITED_SEGMENT_WITH_METRIC_IN_SELECT_OR_WHERE_CLAUSE } message: "Cannot select the following segments because at least one unsupported metric is found in SELECT or WHERE clause: \'segments.conversion_action_category\'(unsupported metrics: \'average_cpv\', \'conversions_from_interactions_rate\', \'engagement_rate\', \'average_cost\', \'active_view_impressions\', \'active_view_measurable_cost_micros\', \'interaction_event_types\', \'interactions\', \'cost_micros\', \'video_views\', \'active_view_ctr\', \'cost_per_all_conversions\', \'active_view_measurable_impressions\', \'engagements\', \'all_conversions_from_interactions_rate\', \'cost_per_conversion\', \'ctr\', \'interaction_rate\', \'active_view_cpm\', \'impressions\', \'active_view_viewability\', \'video_view_rate\', \'active_view_measurability\', \'average_cpc\', \'clicks\', \'average_cpm\')." } Thanks, Jessie -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/a0fc0305-0f7c-42de-b01b-5ad5a70dec94%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Google Ads API - Placement Detail Incomplete data
Hi, I'm building an application (using Google ads library) that will retrieve data from detail_placement_view table. Unfortunately, the api doesn't return all the columns data for View rate, Avg. CPV and Cost (screenshot below) which opposite to UI that does return the required information. Is there a way on how to retrieve the data for the columns below? [image: cols.JPG] Thanks, Jessie -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/f78a60bf-576f-44e5-94b9-a256e91c6cb2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Google Ads API joining tables
Hi, Is it possible to join two tables detail_placement_view and detail_placement_group? I'm trying to get the Placement (group) display name as well as Placement (detail) name with a single query using join statement. Thanks, Jessie -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/4ccc0f9d-f1c6-47cd-923f-8156057123f7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Google Ads API library page error
Hi, I would like to enable the Google Ads API library, and when I clicked on the selected library, it redirects me to a page with an error message that says, API solution not found with service name: googleads.googleapis.com. Other user can enable the library using the same email address on different machine or computer. I tried Google incognito mode as what's suggested on different forums but same issue occurs. Another issue is that Google Ads Api library page keeps loading (this is on a different project which the library is already enabled and not related above), and again user can view the library with same email address on different machine. Thanks, Jessie -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/654b043b-0975-4a0f-bf14-bd0fc8b5acc8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
How to get Placement Detail report
Hi, Under Placements tab in the 'WHERE ADS SHOWED' tab, check the Placement checkbox and click the View details. Is there a way to download the report using Adwords api? Thanks, Jessie -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/15cddc98-d4d1-4a61-a94a-7ea554aac4ab%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.