Google Ads API - permission
Is there a way to allow the Google Ads API token to perform only the following operation:
- adding IP addresses on all campains blacklist.
Tony-Marketing-API.cn is a vibrant community dedicated to Facebook, Meta,Google Ads api, app development, Instagram, and related technologies. It offers valuable bug solutions, troubleshooting cases, and problem-solving strategies shared by users. Stay updated with real-world solutions, development tips, and the latest trends in digital marketing and app development.
Is there a way to allow the Google Ads API token to perform only the following operation:
I am currently trying to integrate single Google Ads account for my client using RestSharp in C# (don't want to use client libraries). I have found the useful link to generate access token by providing client ID , Client secret and Refresh token.
https://developers.google.com/google-ads/api/docs/rest/auth
I am now trying to test on Postman first before I start developing code in C# but failing to get access token. The screen shot below shows the call I am doing to get access token using Post man.
I also tried CURL in postman which was mentioned in the link above but getting the same error.
FYI it is a Desktop app chosen in google console to generate client ID and secrete because I will be creating console app to integrate Google Ads API.
I just added a Remarketing event snippet for a dynamic remarketing campaign to product pages in my store. here is an example of the code rendered on the page:
<script async="" src="https://www.googletagmanager.com/gtag/js?id=AW-XXXXXXXXX"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-XXXXXXXXX'); </script> <script> gtag('event', 'page_view', { 'send_to': 'AW-XXXXXXXXX', 'google_business_vertical' : 'retail', 'id' : 'YYYYYYYYYY', // Google Merchant Center ID 'ecomm_pagetype': 'product', 'ecomm_prodid': 'zzzzzzzzzzzzzz', 'ecomm_totalvalue': '255.00' }); </script>
This looks correct to me, but Google Tag Assistant extension says there's an error:
When I click 'Requests' and go to the 2nd one, it shows the following meta data:
which again, looks correct to me.
Also, when I go Google Ads --> Audience Manager --> Audience Sources --> Google Ads Tag, it tells me there's an issue: Issue: ecomm_prodid never received
This is very confusing since ecomm_prodid is present and has a vale in the meta data above. I'm not sure what else I could be doing wrong. If anyone can help troubleshooting or sees something wrong to begin with, I'd be most appreciative.
The scripts are being added to the tag of a Shopify theme... in case that matters.
Thanks!!
The Company I work with has many clients who uses Google Ads to do marketing for their websites. The company wants to use client's data for Analysis. I am given a project to integrate Google Ads API using C# to get all the data such as Campaigns etc from Google ads and move it to our system for each client. I am only given developer token and customerID for Clients. such as
I am bit lost when I went through the google ads API documentation. In the documentation, the OAuth2.0 needs creating in order to use client library which would generate client ID and Client Secret, Refresh token to integrate the API. My question is. Do I need to create OAuth2.0 for each client or do I need to ask my company to generate Client ID and secret in company's Manager Account or Client that uses Google ads would provide me these?
The following Link I found to create OAuth2.
https://developers.google.com/google-ads/api/docs/oauth/cloud-project
This is what I believe would require in C# Content can be found at https://developers.google.com/adwords/api/docs/guides/first-api-call#.net_1
Would highly appreciate if any one can help me what actually I need to configure google ads using C#
I have always referred to to Adwords API (https://developers.google.com/adwords/api/docs/appendix/reports) as a guide for exporting reports from Google Ads. When moving to new Ads API (https://developers.google.com/google-ads/api/fields/v6/overview) I was confused with the new feature "resources" which is the alternative for "old" reports.
Some reports in Adwords API match these resources in Ads API (Ad Group Performance) but I am unable to find matches for Account Performance Report and Criteria Performance Report. I'm not also sure that Audience Performance Report is similar to Campaign Audience View.
Can someone please explain how I can export these unmatched reports using Ads API? Thanks!