Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Version: 1.0.0

Category: Marketing Analytics

Tier: 3

Api version: v16

Type: Source

Types of Authentication:

  • Token-Based

  • OAuth

Resources Supported:

Resource Name

Sub Resource

Description

Parameter

Campaign

All Campaigns - Insights

Lists all Insights on a Campaign level

N.A

Ad

All Ads - Insights

Lists all Insights on an Ad level

N.A

AdGroup

All AdGroups - Insights

Lists all Insights on an AdGroup level

N.A

How to retrieve Customer ID:

  1. Go to your google ads account.

  2. Above your email id at top right corner you will find the ID

    image-20240419-063636.png

How to retrieve developer token:

  1. go to your google ads account.

  2. Browse under tools & settings option.

  3. Under the section of setup > select the option of api center.

  4. Here you will be able to generate the developer token.

How to retrieve client Id & client secret

  1. Login to https://console.cloud.google.com

  2. Create a new project / use existing project.

    1. Select your project.

    2. Click APIs & Services.

    3. Go to Credentials Tab.

      1. Existing OAuth 2.0 Client IDs

        1. You can either click on download or open the client id created.

        2. Here you will find client Id and client secret.

          image-20240419-062547.png

      2. Create New OAuth 2.0 Client ID.

        1. Click on create credentials.

          image-20240419-062918.png

        2. Select OAuth client ID

        3. Select the Application type as Web Application

        4. Give an appropriate name.

        5. Add “app.eazydi.com“ in authorized redirect URIs

        6. Click create.

        7. Refer to the above section to retrieve client id and secret.

How to retrieve Refresh Token:

  1. Go to https://developers.google.com/oauthplayground/

  2. Under Select & authorize APIs > Select the following scopes

    1. https://www.googleapis.com/auth/yt-analytics-monetary.readonly

    2. https://www.googleapis.com/auth/yt-analytics.readonly

    3. https://www.googleapis.com/auth/youtube.readonly

  3. Click on Authorize APIs.

    image-20240419-064446.png

  4. Choose your google account.

  5. Allow the request.

  6. You will be redirect back and on Step 2 > click on Exchange authorization code for tokens button

image-20240419-064911.png

7.A Refresh Token will be generated.

EazyDI create connection:

1. Authentication Mode: Token-based

image-20240416-071610.png

Connection Properties:

Name

Mandatory

Description

Connection Name

Yes

Name of the connection

Description

No

Description of connection

Authentication Type

Yes

Dropdown to choose the type of authentication

Client Id

Yes

Client Id of your application

Client Secret

Yes

Client Secret of your application

Refresh Token

Yes

Refresh token to generate new access token

Developer Token

Yes

Developer Token of your application

Customer Id

Yes

Unique customer Id

Steps to create connection:

  • Fill out the required fields

  • Click on submit button

2. OAuth

image-20240416-072039.png

Connection Properties:

Name

Mandatory

Description

Connection Name

Yes

Name of the connection

Description

No

Description of connection

Authentication Type

Yes

Dropdown to choose the type of authentication

Developer Token

Yes

Developer Token of your application

Customer Id

Yes

Unique customer Id

Steps to create connection:

  • Fill out the required fields

  • Click on Authorize button

  • You will be redirected to google for OAuth

  • Approve the request and you will be redirected to EazyDI

Creating Pipeline:

Step 1: Select Source Connector as Google Ads. 

image-20240416-060139.png

Step 2: Select Connection from the dropdown

image-20240416-061205.png

Step 3: Configure the connection object and click Save button. 

image-20240416-061235.png

Step 4: Verify the connection details in the section and click on Next button. 

image-20240416-061329.png

Step 5: Select the Target connection and connection object and click on Next button.

Step 6: Configure field mapping page and click on Next button. 

Step 7: Select the scheduling and proceed ahead by clicking on Next button.

Step 8: Confirm the details that you have selected for this pipeline and click on Submit and the pipeline will be created.

Reauthorize:

If token has been stale, invalid, uninstalled in your Facebook account, or you are receiving unauthorized error, You can reauthorize your connection by clicking the Reauthorize button for OAuth or manually regenerating a long lived access token as seen above

  • No labels